Commit a7a7ae57 authored by Cédric Le Ninivin's avatar Cédric Le Ninivin

Move tools out of the header into the tool place

parent 059580ec
...@@ -53,9 +53,7 @@ ...@@ -53,9 +53,7 @@
<div class="collapse navbar-collapse"> <div class="collapse navbar-collapse">
<ul class="nav navbar-nav"> <ul class="nav navbar-nav">
<li><a class="url_list" href="#page=url_list">Editor</a></li> <li><a class="url_list" href="#page=url_list">Editor</a></li>
<li><a class="save_load" href="#page=save_load">Export/Import</a></li>
<li><a class="tools" href="#page=tools">Tools</a></li> <li><a class="tools" href="#page=tools">Tools</a></li>
<li><a class="mass_remove" href="#page=mass_remove">Remove</a></li>
</ul> </ul>
<ul class="nav navbar-nav navbar-right"> <ul class="nav navbar-nav navbar-right">
<li><li><a class="rotate loader" style="font-size: xx-large;">🌀</a></li> <li><li><a class="rotate loader" style="font-size: xx-large;">🌀</a></li>
......
...@@ -79,7 +79,7 @@ ...@@ -79,7 +79,7 @@
}) })
.declareMethod('render', function (options) { .declareMethod('render', function (options) {
var gadget = this, var gadget = this,
page_list = ["cribjs_home", "url_list", "save_load", "tools", "mass_remove"], page_list = ["cribjs_home", "url_list", "tools"],
promise_list = []; promise_list = [];
if (gadget.stats.loaded) { if (gadget.stats.loaded) {
gadget.props.element.querySelector(".loader").style.display = "none"; gadget.props.element.querySelector(".loader").style.display = "none";
......
...@@ -21,6 +21,8 @@ ...@@ -21,6 +21,8 @@
<li><a class="mass_remove" href="#page=mass_remove">Remove</a> uncessary URLs</li> <li><a class="mass_remove" href="#page=mass_remove">Remove</a> uncessary URLs</li>
<li><a class="select_site" href="#page=select_site">Select Site to Edit</a></li> <li><a class="select_site" href="#page=select_site">Select Site to Edit</a></li>
<li><a class="grep" href="#page=grep">Grep</a> among js and html files</li> <li><a class="grep" href="#page=grep">Grep</a> among js and html files</li>
<li><a class="save_load" href="#page=save_load">Import and Export</a> Data. You can even share it with WebTorrent.</li>
<li><a class="crib_loader" href="#page=crib_loader">Load</a> your own crib.</li>
</ul> </ul>
</div> </div>
</body> </body>
......
...@@ -22,7 +22,8 @@ ...@@ -22,7 +22,8 @@
.declareAcquiredMethod("getUrlFor", "getUrlFor") .declareAcquiredMethod("getUrlFor", "getUrlFor")
.declareMethod('render', function (options) { .declareMethod('render', function (options) {
var gadget = this, var gadget = this,
page_list = ["select_site", "jslint", "mass_remove", "grep"], page_list = ["select_site", "jslint", "mass_remove", "grep",
"save_load", "crib_loader"],
promise_list = []; promise_list = [];
page_list.forEach(function (page) { page_list.forEach(function (page) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment