Переглянути джерело

moved options (checked by default first)

Gildas 7 роки тому
батько
коміт
ae06fb3427
2 змінених файлів з 24 додано та 24 видалено
  1. 16 16
      extension/ui/pages/help.html
  2. 8 8
      extension/ui/pages/options.html

+ 16 - 16
extension/ui/pages/help.html

@@ -41,6 +41,14 @@
 					<img src="../resources/icon_19.png" class="icon"> in the browser toolbar and select "Options" in the context menu to open the options page.</p>
 				<p>Details :</p>
 				<ul>
+					<li>
+						<span class="option">append save date to the filename</span>
+						<p>Check this option to append the save date of the webpage to the filename.
+						</p>
+						<p class="notice">It is recommended to
+							<u>check</u> this option</p>
+					</li>
+
 					<li>
 						<span class="option">compress HTML</span>
 						<p>Check this option to remove all HTML comments, and unneeded spaces or returns. This helps to reduce the size of the
@@ -50,7 +58,7 @@
 					</li>
 
 					<li>
-						<span class="option">compress HTML</span>
+						<span class="option">compress CSS</span>
 						<p>Check this option to minify the CSS content. This helps to reduce the size of the file without altering the document.</p>
 						<p class="notice">It is recommended to
 							<u>check</u> this option</p>
@@ -72,6 +80,13 @@
 							<u>check</u> this option</p>
 					</li>
 
+					<li>
+						<span class="option">remove scripts</span>
+						<p>Check this option to remove all scripts. Unchecking this option may alter the document.</p>
+						<p class="notice">It is recommended to
+							<u>check</u> this option</p>
+					</li>
+
 					<li>
 						<span class="option">remove hidden elements</span>
 						<p>Check this option to remove all hidden elements (
@@ -91,13 +106,6 @@
 							<u>uncheck</u> this option</p>
 					</li>
 
-					<li>
-						<span class="option">remove scripts</span>
-						<p>Check this option to remove all scripts. Unchecking this option may alter the document.</p>
-						<p class="notice">It is recommended to
-							<u>check</u> this option</p>
-					</li>
-
 					<li>
 						<span class="option">save raw page</span>
 						<p>Check this option to save the page without interpreting JavaScript. Checking this option may alter the document.</p>
@@ -113,14 +121,6 @@
 							<u>check</u> this option</p>
 					</li>
 
-					<li>
-						<span class="option">append save date to the filename</span>
-						<p>Check this option to append the save date of the webpage to the filename.
-						</p>
-						<p class="notice">It is recommended to
-							<u>check</u> this option</p>
-					</li>
-
 					<li>
 						<span class="option">Reset to default options</span>
 						<p>Reset all the options to their default value.</p>

+ 8 - 8
extension/ui/pages/options.html

@@ -11,6 +11,10 @@
 	<div>
 		<div id="popupContent">
 			<h4>Options</h4>
+			<div class="option">
+				<label for="contextMenuEnabledInput">append save date to the filename</label>
+				<input type="checkbox" id="appendSaveDateInput">
+			</div>
 			<div class="option">
 				<label for="compressHTMLInput">compress HTML</label>
 				<input type="checkbox" id="compressHTMLInput">
@@ -27,6 +31,10 @@
 				<label for="removeFramesInput">remove frames</label>
 				<input type="checkbox" id="removeFramesInput">
 			</div>
+			<div class="option">
+				<label for="removeScriptsInput">remove scripts</label>
+				<input type="checkbox" id="removeScriptsInput">
+			</div>
 			<div class="option">
 				<label for="removeHiddenInput">remove hidden elements</label>
 				<input type="checkbox" id="removeHiddenInput">
@@ -35,10 +43,6 @@
 				<label for="removeUnusedCSSRulesInput">remove unused CSS rules</label>
 				<input type="checkbox" id="removeUnusedCSSRulesInput">
 			</div>
-			<div class="option">
-				<label for="removeScriptsInput">remove scripts</label>
-				<input type="checkbox" id="removeScriptsInput">
-			</div>
 			<div class="option">
 				<label for="saveRawPageInput">save raw page</label>
 				<input type="checkbox" id="saveRawPageInput">
@@ -47,10 +51,6 @@
 				<label for="contextMenuEnabledInput">add SingleFile entry in the context menu</label>
 				<input type="checkbox" id="contextMenuEnabledInput">
 			</div>
-			<div class="option">
-				<label for="contextMenuEnabledInput">append save date to the filename</label>
-				<input type="checkbox" id="appendSaveDateInput">
-			</div>
 			<div class="option bottom">
 				<a href="help.html" target="SingleFileHelpPage">help</a>
 				<button id="resetButton" title="Reset all the options to default values">Reset</button>