Browse Source

grouped options

Gildas 7 years ago
parent
commit
6abb3cfd3a
2 changed files with 18 additions and 15 deletions
  1. 9 9
      extension/ui/pages/help.html
  2. 9 6
      extension/ui/pages/options.html

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

@@ -42,7 +42,7 @@
 				<p>Details :</p>
 				<ul>
 					<li>
-						<span class="option">add SingleFile entry in the context menu</span>
+						<span class="option">add entry in the context menu</span>
 						<p>Check this option to display an entry in the context menu of the webpage to save the entire page or the selected part.
 						</p>
 						<p class="notice">It is recommended to
@@ -58,24 +58,24 @@
 					</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
-							file without altering the document.</p>
+						<span class="option">load lazy loaded images</span>
+						<p>Check this option to try loading all the images that are not already loaded. This helps to get all the images without
+							scrolling the page.</p>
 						<p class="notice">It is recommended to
 							<u>check</u> this option</p>
 					</li>
 
 					<li>
-						<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>
+						<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
+							file without altering the document.</p>
 						<p class="notice">It is recommended to
 							<u>check</u> this option</p>
 					</li>
 
 					<li>
-						<span class="option">load lazy loaded images</span>
-						<p>Check this option to try loading all the images that are not already loaded. This helps to get all the images without
-							scrolling the page.</p>
+						<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>
 					</li>

+ 9 - 6
extension/ui/pages/options.html

@@ -10,15 +10,22 @@
 <body>
 	<div>
 		<div id="popupContent">
-			<h4>Options</h4>
+			<h3>Options</h3>
+			<h4>User interface</h4>
 			<div class="option">
-				<label for="contextMenuEnabledInput">add SingleFile entry in the context menu</label>
+				<label for="contextMenuEnabledInput">add entry in the context menu</label>
 				<input type="checkbox" id="contextMenuEnabledInput">
 			</div>
+			<h4>Filename</h4>
 			<div class="option">
 				<label for="contextMenuEnabledInput">append save date to the filename</label>
 				<input type="checkbox" id="appendSaveDateInput">
 			</div>
+			<h4>Page content</h4>
+			<div class="option">
+				<label for="lazyLoadImagesInput">load lazy loaded images</label>
+				<input type="checkbox" id="lazyLoadImagesInput">
+			</div>
 			<div class="option">
 				<label for="compressHTMLInput">compress HTML</label>
 				<input type="checkbox" id="compressHTMLInput">
@@ -27,10 +34,6 @@
 				<label for="compressCSSInput">compress CSS</label>
 				<input type="checkbox" id="compressCSSInput">
 			</div>
-			<div class="option">
-				<label for="lazyLoadImagesInput">load lazy loaded images</label>
-				<input type="checkbox" id="lazyLoadImagesInput">
-			</div>
 			<div class="option">
 				<label for="removeFramesInput">remove frames</label>
 				<input type="checkbox" id="removeFramesInput">