@@ -71,8 +71,10 @@
setup_menu_entry("Timeline", "setup_timeline",
"Timeline display preferences");
setup_menu_entry("Tickets", "tktsetup",
"Configure the trouble-ticketing system for this repository");
+ setup_menu_entry("Skins", "setup_skin",
+ "Select from a menu of prepackaged \"skins\" for the web interface");
setup_menu_entry("CSS", "setup_editcss",
"Edit the Cascading Style Sheet used by all pages of this repository");
setup_menu_entry("Header", "setup_header",
"Edit HTML text inserted at the top of every page");
@@ -724,8 +726,17 @@
@ for incoming web connections on internet addresses other than
@ 127.0.0.1.</p></li>
@ <hr>
+ onoff_attribute("Show javascript button to fill in CAPTCHA",
+ "auto-captcha", "autocaptcha", 0);
+ @ <p>When enabled, a button appears on the login screen for user
+ @ "anonymous" that will automatically fill in the CAPTCHA password.
+ @ This is less secure that forcing the user to do it manually, but is
+ @ probably secure enough and it is certainly more convenient for
+ @ anonymous users.</p>
+
+ @ <hr>
entry_attribute("Login expiration time", 6, "cookie-expire", "cex", "8766");
@ <p>The number of hours for which a login is valid. This must be a
@ positive number. The default is 8760 hours which is approximately equal
@ to a year.</p>
@@ -817,9 +828,10 @@
"auto-captcha", "autocaptcha", 0);
@ <p>When enabled, a button appears on the login screen for user
@ "anonymous" that will automatically fill in the CAPTCHA password.
@ This is less secure that forcing the user to do it manually, but is
- @ usually secure enough.</p>
+ @ probably secure enough and it is certainly more convenient for
+ @ anonymous users.</p>
@ <hr>
onoff_attribute("Sign all commits with GPG",
"clearsign", "clearsign", 1);
@@ -944,16 +956,17 @@
}
style_header("Edit CSS");
@ <form action="%s(g.zBaseURL)/setup_editcss" method="POST">
login_insert_csrf_secret();
- @ Edit the CSS:<br />
+ @ Edit the CSS below:<br />
textarea_attribute("", 40, 80, "css", "css", zDefaultCSS);
@ <br />
@ <input type="submit" name="submit" value="Apply Changes">
@ <input type="submit" name="clear" value="Revert To Default">
@ </form>
@ <hr>
- @ Here is the default CSS:
+ @ The default CSS is shown below for reference. Other examples
+ @ of CSS files can be seen on the <a href="setup_skin">skins page</a>.
@ <blockquote><pre>
@ %h(zDefaultCSS)
@ </pre></blockquote>
style_footer();
@@ -986,9 +999,10 @@
@ <input type="submit" name="submit" value="Apply Changes">
@ <input type="submit" name="clear" value="Revert To Default">
@ </form>
@ <hr>
- @ Here is the default page header:
+ @ The default header is shown below for reference. Other examples
+ @ of headers can be seen on the <a href="setup_skin">skins page</a>.
@ <blockquote><pre>
@ %h(zDefaultHeader)
@ </pre></blockquote>
style_footer();
@@ -1020,9 +1034,10 @@
@ <input type="submit" name="submit" value="Apply Changes">
@ <input type="submit" name="clear" value="Revert To Default">
@ </form>
@ <hr>
- @ Here is the default page footer:
+ @ The default footer is shown below for reference. Other examples
+ @ of footers can be seen on the <a href="setup_skin">skins page</a>.
@ <blockquote><pre>
@ %h(zDefaultFooter)
@ </pre></blockquote>
style_footer();
@@ -1068,13 +1083,17 @@
@ <p>The current project logo has a MIME-Type of <b>%h(zMime)</b> and looks
@ like this:</p>
@ <blockquote><img src="%s(g.zTop)/logo" alt="logo"></blockquote>
@
- @ <form action="%s(g.zBaseURL)/setup_logo" method="POST"
- @ enctype="multipart/form-data">
@ <p>The logo is accessible to all users at this URL:
@ <a href="%s(g.zBaseURL)/logo">%s(g.zBaseURL)/logo</a>.
- @ To set a new logo image, select a file to use as the logo using
+ @ The logo may or may not appear on each
+ @ page depending on the <a href="setup_editcss">CSS</a> and
+ @ <a href="setup_header">header setup</a>.</p>
+ @
+ @ <form action="%s(g.zBaseURL)/setup_logo" method="POST"
+ @ enctype="multipart/form-data">
+ @ <p>To set a new logo image, select a file to use as the logo using
@ the entry box below and then press the "Change Logo" button.</p>
login_insert_csrf_secret();
@ Logo Image file:
@ <input type="file" name="im" size="60" accepts="image/*"><br>