summaryrefslogtreecommitdiff
path: root/www/templates
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2019-10-31 13:23:51 -0400
committerPliable Pixels <pliablepixels@gmail.com>2019-10-31 13:23:51 -0400
commit7a6b426ab2f6309a3be276166b395198e96c445e (patch)
treecd0ae14d2056c767f2ddd08b0b4a4a20234fa59f /www/templates
parent20e35612d7577fb8616bf95cdeacdbc8c8b6a290 (diff)
#857 api caching layer
Diffstat (limited to 'www/templates')
-rw-r--r--www/templates/devoptions.html6
-rw-r--r--www/templates/menu.html5
2 files changed, 11 insertions, 0 deletions
diff --git a/www/templates/devoptions.html b/www/templates/devoptions.html
index e9d719d4..bd8d6e3b 100644
--- a/www/templates/devoptions.html
+++ b/www/templates/devoptions.html
@@ -230,6 +230,12 @@
</label>
<label>
+ <ion-toggle ng-model="loginData.useHTTPCaching" toggle-class="toggle-calm">
+ <span class="item-text-wrap">{{'kUseHTTPCaching' | translate}}</span>
+ </ion-toggle>
+ </label>
+
+ <label>
<ion-toggle ng-model="loginData.enableLogs" toggle-class="toggle-calm">
<span class="item-text-wrap">{{'kEnableLogs' | translate}}</span>
</ion-toggle>
diff --git a/www/templates/menu.html b/www/templates/menu.html
index f621424c..f00578b3 100644
--- a/www/templates/menu.html
+++ b/www/templates/menu.html
@@ -124,6 +124,11 @@
</span> {{'kMenuWizard'|translate}}
</ion-item>
+ <ion-item ng-click="flushAPICache()" nav-clear menu-close>
+ <span class=" item-icon-left">
+ <i class="icon ion-trash-a"></i>
+ </span> {{'kFlushAllCaches'|translate}}
+ </ion-item>
<div ng-if="$root.showBlog && 0">