diff options
author | Thomas Citharel <tcit@tcit.fr> | 2015-10-15 20:06:59 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas.loeuillet@smile.fr> | 2015-11-09 16:32:48 +0100 |
commit | 03690d138792dde6405e3d2eb3c53f6572eb3c43 (patch) | |
tree | a2700157311b8e83dac9c3bdbe26a8719a4a3ad2 /src/Wallabag/CoreBundle/Resources/views/themes/material/public/js | |
parent | f1eccfd63f214dcc730ab0d18a694a5465f425db (diff) | |
download | wallabag-03690d138792dde6405e3d2eb3c53f6572eb3c43.tar.gz wallabag-03690d138792dde6405e3d2eb3c53f6572eb3c43.tar.zst wallabag-03690d138792dde6405e3d2eb3c53f6572eb3c43.zip |
Start work on export
For now:
- ebook
- mobi
- pdf
- csv
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources/views/themes/material/public/js')
-rwxr-xr-x | src/Wallabag/CoreBundle/Resources/views/themes/material/public/js/init.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/public/js/init.js b/src/Wallabag/CoreBundle/Resources/views/themes/material/public/js/init.js index edfdee82..491a7916 100755 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/public/js/init.js +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/public/js/init.js | |||
@@ -11,6 +11,14 @@ function init_filters() { | |||
11 | } | 11 | } |
12 | } | 12 | } |
13 | 13 | ||
14 | function init_export() { | ||
15 | // no display if export not aviable | ||
16 | if ($("div").is("#export")) { | ||
17 | $('#button_export').show(); | ||
18 | $('.button-collapse-right').sideNav({ edge: 'right' }); | ||
19 | } | ||
20 | } | ||
21 | |||
14 | $(document).ready(function(){ | 22 | $(document).ready(function(){ |
15 | // sideNav | 23 | // sideNav |
16 | $('.button-collapse').sideNav(); | 24 | $('.button-collapse').sideNav(); |
@@ -26,6 +34,7 @@ $(document).ready(function(){ | |||
26 | format: 'dd/mm/yyyy', | 34 | format: 'dd/mm/yyyy', |
27 | }); | 35 | }); |
28 | init_filters(); | 36 | init_filters(); |
37 | init_export(); | ||
29 | 38 | ||
30 | $('#nav-btn-add-tag').on('click', function(){ | 39 | $('#nav-btn-add-tag').on('click', function(){ |
31 | $(".nav-panel-add-tag").toggle(100); | 40 | $(".nav-panel-add-tag").toggle(100); |