summaryrefslogtreecommitdiffstats
path: root/templates/main.php
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-02-12 11:22:18 +0100
committerBernhard Posselt <nukeawhale@gmail.com>2013-02-12 11:22:40 +0100
commita75e37f56963bc55faf182811237cee8a4172fb7 (patch)
tree2c4048d9ffc6188d6886cafa4f4c4c38b089a1a8 /templates/main.php
parenta1e85b1e4cc145e65575c08702f2e72f5ced1235 (diff)
slide areas with jquery and slide click directive
Diffstat (limited to 'templates/main.php')
-rw-r--r--templates/main.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/templates/main.php b/templates/main.php
index 5e3fec9b1..2b8cc1188 100644
--- a/templates/main.php
+++ b/templates/main.php
@@ -10,12 +10,14 @@
<?php print_unescaped($this->inc('part.showall')); ?>
</ul>
- <div id="app-settings" ng-class="{open: showSettings==true}"
- ng-controller="SettingsController" hide-settings-when-focus-lost>
+ <div id="app-settings" ng-controller="SettingsController">
<div id="app-settings-header">
<button name="app settings"
class="settings-button"
- ng-click="showSettings=!showSettings"></button>
+ click-slide-toggle="{
+ selector: '#app-settings-content',
+ hideOnFocusLost: true
+ }"></button>
</div>
<div id="app-settings-content">
<?php print_unescaped($this->inc('part.settings')) ?>