From 68bdd26426269ff641ef97bdecb3d2cff38fb6b5 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Tue, 13 Dec 2016 10:09:26 +0100 Subject: simplify wikilist widget --- view/tpl/wikilist_widget.tpl | 39 +-------------------------------------- 1 file changed, 1 insertion(+), 38 deletions(-) (limited to 'view') diff --git a/view/tpl/wikilist_widget.tpl b/view/tpl/wikilist_widget.tpl index 51eccad90..1f92b5807 100644 --- a/view/tpl/wikilist_widget.tpl +++ b/view/tpl/wikilist_widget.tpl @@ -1,45 +1,8 @@

{{$header}}

- {{if $owner}} - - {{/if}}
-{{$acl}} -- cgit v1.2.3 From 0979f11cc32e581ed42f8b42302605a31887be67 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Tue, 13 Dec 2016 10:23:56 +0100 Subject: do not increase opacity to more than 1 --- view/tpl/cover_photo_widget.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'view') diff --git a/view/tpl/cover_photo_widget.tpl b/view/tpl/cover_photo_widget.tpl index 2b47270c9..bc1f421bd 100755 --- a/view/tpl/cover_photo_widget.tpl +++ b/view/tpl/cover_photo_widget.tpl @@ -53,7 +53,7 @@ } } } - if($('#cover-photo').length) { + if($('#cover-photo').length && $('main').css('opacity') < 1) { $('main').css('opacity', ($(window).scrollTop()/$('#cover-photo').height()).toFixed(1)); } }); -- cgit v1.2.3 From 0927af40c36083f95c5833971e07646f63d073cc Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Tue, 13 Dec 2016 11:14:22 +0100 Subject: bring lockview to wikilist --- view/css/mod_wiki.css | 8 ++++---- view/tpl/wikilist.tpl | 9 ++++++++- 2 files changed, 12 insertions(+), 5 deletions(-) (limited to 'view') diff --git a/view/css/mod_wiki.css b/view/css/mod_wiki.css index 83f17c820..49eb89ecc 100644 --- a/view/css/mod_wiki.css +++ b/view/css/mod_wiki.css @@ -38,13 +38,13 @@ padding: 7px 3px 7px 10px; } -#wikis-index th:nth-child(3), -#wikis-index td:nth-child(3){ +#wikis-index th:nth-child(4), +#wikis-index td:nth-child(4){ padding: 7px 10px 7px 7px; } -#wikis-index th:nth-child(4), -#wikis-index td:nth-child(4){ +#wikis-index th:nth-child(5), +#wikis-index td:nth-child(5){ padding: 7px 10px 7px 7px; } diff --git a/view/tpl/wikilist.tpl b/view/tpl/wikilist.tpl index 1fb7dbec1..eeaf7cd7e 100644 --- a/view/tpl/wikilist.tpl +++ b/view/tpl/wikilist.tpl @@ -27,9 +27,10 @@
- + + {{if $owner}} {{/if}} @@ -38,6 +39,12 @@ + {{if $owner}} -- cgit v1.2.3 From b24b3d21e1d4999e03d4e268261bd190c6d02441 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Tue, 13 Dec 2016 11:24:03 +0100 Subject: dropdown position fixes --- view/css/bootstrap-red.css | 3 +-- view/tpl/photo_view.tpl | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'view') diff --git a/view/css/bootstrap-red.css b/view/css/bootstrap-red.css index b68517e25..cea911440 100644 --- a/view/css/bootstrap-red.css +++ b/view/css/bootstrap-red.css @@ -60,8 +60,7 @@ aside .nav-pills > li > a, padding: 6px 10px; } -.wall-item-tools .dropdown-menu, -.section-title-wrapper .dropdown-menu { +.wall-item-tools .dropdown-menu { min-width: auto; } diff --git a/view/tpl/photo_view.tpl b/view/tpl/photo_view.tpl index db5ffe3f5..967abea71 100755 --- a/view/tpl/photo_view.tpl +++ b/view/tpl/photo_view.tpl @@ -7,7 +7,7 @@ -
{{$name}}{{$name}} {{$type}}
{{$wiki.title}} {{$wiki.mimeType}}