aboutsummaryrefslogtreecommitdiffstats
path: root/src/pages/options
diff options
context:
space:
mode:
authorManeraKai <manerakai@protonmail.com>2022-02-27 20:19:09 +0300
committerManeraKai <manerakai@protonmail.com>2022-02-27 20:19:09 +0300
commita6fb964e993abd0a568c763e7cdf48e1ed14ac80 (patch)
tree56734946b71b46bc78d00546f759ba29ab186759 /src/pages/options
parentFixed a bug in exceptions (diff)
downloadlibredirect-a6fb964e993abd0a568c763e7cdf48e1ed14ac80.zip
Refined design. Bump version to 1.4.4
Diffstat (limited to 'src/pages/options')
-rw-r--r--src/pages/options/general/general.html51
1 files changed, 26 insertions, 25 deletions
diff --git a/src/pages/options/general/general.html b/src/pages/options/general/general.html
index a4e6f295..852283d0 100644
--- a/src/pages/options/general/general.html
+++ b/src/pages/options/general/general.html
@@ -96,6 +96,32 @@
</select>
</div>
+
+ <div class="some-block option-block">
+ <h4>Exceptions</h4>
+ </div>
+
+ <form id="custom-exceptions-instance-form">
+ <div class="some-block option-block">
+ <div class="some-block" style="padding:0;">
+ <input id="exceptions-custom-instance" placeholder="https://www.google.com" type="url" />
+ &nbsp;
+ <select id="exceptions-custom-instance-type">
+ <option value="url">URL</option>
+ <option value="regex">Regex</option>
+ </select>
+ &nbsp;
+ </div>
+ <button type="submit" class="add" id="exceptions-add-instance">
+ <svg xmlns="http://www.w3.org/2000/svg" height="20px" viewBox="0 0 24 24" width="20px" fill="currentColor">
+ <path d="M0 0h24v24H0V0z" fill="none" />
+ <path d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z" />
+ </svg>
+ </button>
+ </div>
+ </form>
+ <div class="checklist" id="exceptions-custom-checklist"></div>
+
<div class="buttons buttons-inline">
<a class="button button-inline" id="update-instances">
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="currentColor">
@@ -137,31 +163,6 @@
</a>
</div>
- <div class="some-block option-block">
- <h4>Exceptions</h4>
- </div>
-
- <form id="custom-exceptions-instance-form">
- <div class="some-block option-block">
- <div class="some-block" style="padding:0;">
- <input id="exceptions-custom-instance" placeholder="https://www.google.com" type="url" />
- &nbsp;
- <select id="exceptions-custom-instance-type">
- <option value="url">URL</option>
- <option value="regex">Regex</option>
- </select>
- &nbsp;
- </div>
- <button type="submit" class="add" id="exceptions-add-instance">
- <svg xmlns="http://www.w3.org/2000/svg" height="20px" viewBox="0 0 24 24" width="20px" fill="currentColor">
- <path d="M0 0h24v24H0V0z" fill="none" />
- <path d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z" />
- </svg>
- </button>
- </div>
- </form>
- <div class="checklist" id="exceptions-custom-checklist"></div>
- </a>
</section>
<script type="module" src="../init.js"></script>