aboutsummaryrefslogtreecommitdiff
path: root/redirector.html
diff options
context:
space:
mode:
authorNick Colletti <gnomish@gmail.com>2020-01-21 11:55:30 -0500
committerNick Colletti <gnomish@gmail.com>2020-01-21 11:55:30 -0500
commit2294b97365f343f3dd5f36f2a6632b5bca31d148 (patch)
tree8e5a007c1a37c37ee156a0bacf974eeeebc340b6 /redirector.html
parent5a52a13850607443d8f76ecad92e498a66d13166 (diff)
added move to First and Last buttons
Diffstat (limited to 'redirector.html')
-rw-r--r--redirector.html14
1 files changed, 8 insertions, 6 deletions
diff --git a/redirector.html b/redirector.html
index af11b6b..6a2e492 100644
--- a/redirector.html
+++ b/redirector.html
@@ -10,7 +10,7 @@
<body>
<div id="cover">
</div>
-
+
<!-- Confirmation form for deleting redirects -->
<div id="delete-redirect-form">
<h3>Are you sure you want to delete this redirect?</h3>
@@ -39,7 +39,7 @@
<button id="cancel-delete" class="btn grey large">No, don't delete it</button>
</div>
</div>
-
+
<!-- Form for creating and editing redirects -->
<div id="edit-redirect-form">
@@ -124,20 +124,20 @@
<div id="blur-wrapper">
-
+
<h1>REDIRECTOR</h1>
<h5>Go where <em>YOU</em> want!</h5>
<div id="menu">
<a id="create-new-redirect" class="btn blue large">Create new redirect</a>
-
+
<!-- Importing/Exporting of redirects -->
<span>
<input type="file" id="import-file" accept=".rjson,.json,.txt" />
<label for="import-file" class="btn blue large">Import</label>
<a class="btn blue large" id="export-link" download="Redirector.json">Export</a>
</span>
-
+
<a class="btn blue large" href="help.html" target="_blank">Help</a>
</div>
@@ -177,8 +177,10 @@
<button class="btn medium blue" data-action="toggleDisabled"><span data-show="disabled">Enable</span><span data-show="!disabled">Disable</span></button>
<button class="btn medium green" data-action="editRedirect">Edit</button>
<button class="btn medium red" data-action="confirmDeleteRedirect">Delete</button>
+ <button class="btn medium grey move-uptop-btn" data-action="moveUpTop" data-disabled="$first">⟰</button>
<button class="btn medium grey move-up-btn" data-action="moveUp" data-disabled="$first">▲</button>
<button class="btn medium grey move-down-btn" data-action="moveDown" data-disabled="$last">▼</button>
+ <button class="btn medium grey move-downbottom-btn" data-action="moveDownBottom" data-disabled="$last">⟱</button>
<button class="btn medium grey" data-action="duplicateRedirect">Duplicate</button>
</div>
</div>
@@ -189,7 +191,7 @@
<footer>
<small>Redirector is created by <a target="_blank" href="http://einaregilsson.com">Einar Egilsson</a></small>
</footer>
-
+
</div>
<script src="js/stub.js"></script>