Skip to content

Commit

Permalink
remove config toggle
Browse files Browse the repository at this point in the history
  • Loading branch information
dboudro committed Aug 7, 2019
1 parent d6911e8 commit 1bf852b
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,10 @@ <h1 class="page-title"><a href=".">Roots Network</a></h1>

<div id="config-bar">
<p id="results-count">{{filteredBookmarks.length}} bookmarks</p>
<button id="config-button" v-on:click="toggleConfig"><i class="fas dl fa-tools"></i> Config</button>
<button id="new-bookmark-button" v-on:click="toggleShow()"><i class="fas dl fa-bookmark"></i> New Bookmark</button>
<button id="config-button" v-if='configurable' v-on:click="toggleEdit"><i class="far dl fa-edit"></i> Edit Bookmarks
<button id="config-button" v-on:click="toggleEdit"><i class="far dl fa-edit"></i> Edit Bookmarks
</button>
<button v-if="configurable" id="update-button" v-on:click="put()"><i class="dl fas fa-database"></i>
<button id="update-button" v-on:click="put()"><i class="dl fas fa-database"></i>
Update Database
</button>

Expand Down Expand Up @@ -88,7 +87,6 @@ <h1 class="page-title"><a href=".">Roots Network</a></h1>
data: {
show: false,
editable: false,
configurable: false,
newlinkname: "",
newlinkurl: "",
newlinkdescription: "",
Expand Down Expand Up @@ -279,9 +277,6 @@ <h1 class="page-title"><a href=".">Roots Network</a></h1>
toggleEdit: function () {
app.editable = !app.editable
},
toggleConfig: function () {
app.configurable = !app.configurable
},
favoriteBookmark: function (link, event) {
if (link.favorited) {
this.unfavorite(link);
Expand Down

0 comments on commit 1bf852b

Please sign in to comment.