diff options
author | zotlabs <mike@macgirvin.com> | 2017-10-11 15:13:57 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-10-11 15:13:57 -0700 |
commit | 48d2b3afa88feefa4718803408e289af6379dffe (patch) | |
tree | 405481302fc6a7b2054c713865d67541cb32b46e /view | |
parent | f273815d8ff45a28b36bd5121c58422dfc28d0ff (diff) | |
parent | 56a675f713f3e971b1c9ccb60ab818f583dfc29e (diff) | |
download | volse-hubzilla-48d2b3afa88feefa4718803408e289af6379dffe.tar.gz volse-hubzilla-48d2b3afa88feefa4718803408e289af6379dffe.tar.bz2 volse-hubzilla-48d2b3afa88feefa4718803408e289af6379dffe.zip |
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev_merge
Diffstat (limited to 'view')
-rw-r--r-- | view/css/widgets.css | 8 | ||||
-rw-r--r-- | view/pdl/mod_network.pdl | 2 | ||||
-rw-r--r-- | view/theme/redbasic/css/style.css | 2 | ||||
-rw-r--r-- | view/theme/redbasic/js/redbasic.js | 2 | ||||
-rw-r--r-- | view/tpl/app_nav.tpl | 2 | ||||
-rwxr-xr-x | view/tpl/main_slider.tpl | 8 | ||||
-rwxr-xr-x | view/tpl/navbar_default.tpl (renamed from view/tpl/nav.tpl) | 9 | ||||
-rw-r--r-- | view/tpl/notifications_widget.tpl | 12 | ||||
-rw-r--r-- | view/tpl/pdledit.tpl | 3 |
9 files changed, 36 insertions, 12 deletions
diff --git a/view/css/widgets.css b/view/css/widgets.css index 6cd61ae6f..cea3a3820 100644 --- a/view/css/widgets.css +++ b/view/css/widgets.css @@ -57,7 +57,13 @@ li:hover .widget-nav-pills-icons { /* affinity slider */ #main-slider { - margin: 10px 7px 45px 7px; + margin: 10px 7px 4rem 7px; +} + +@media screen and (max-width: 767px) { + #main-slider { + margin: 4rem 7px 4rem 7px; + } } /* posted date */ diff --git a/view/pdl/mod_network.pdl b/view/pdl/mod_network.pdl index 24cf65b3c..44e29ffbd 100644 --- a/view/pdl/mod_network.pdl +++ b/view/pdl/mod_network.pdl @@ -1,5 +1,3 @@ -[region=nav]$nav[/region] - [region=aside] [widget=collections][/widget] [widget=forums][/widget] diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index 8b4a6ac82..aea75df65 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -50,7 +50,7 @@ main { height: 100%; background: rgba(0, 0, 0, .5); cursor: pointer; - z-index: 1029; + z-index: 1028; } h1, .h1 { diff --git a/view/theme/redbasic/js/redbasic.js b/view/theme/redbasic/js/redbasic.js index 4f71c1e73..04199ea95 100644 --- a/view/theme/redbasic/js/redbasic.js +++ b/view/theme/redbasic/js/redbasic.js @@ -83,7 +83,7 @@ $(document).ready(function() { }); var notifications_parent = $('#notifications_wrapper')[0].parentElement.id; - $('#notifications-btn-1').click(function() { + $('#notifications-btn').click(function() { if($('#notifications_wrapper').hasClass('fs')) $('#notifications_wrapper').prependTo('#' + notifications_parent); else diff --git a/view/tpl/app_nav.tpl b/view/tpl/app_nav.tpl index 1ee5adb70..046cd7237 100644 --- a/view/tpl/app_nav.tpl +++ b/view/tpl/app_nav.tpl @@ -1 +1 @@ -<a class="navbar-app nav-link{{if $app.active}} active{{/if}}" href="{{$app.url}}" title="{{$app.name}}" >{{if $icon}}<i class="generic-icons-nav fa fa-fw fa-{{$icon}}"></i>{{else}}<img src="{{$app.photo}}" width="16" height="16" />{{/if}}</a> +<a class="navbar-app nav-link{{if $app.active}} active{{/if}}" href="{{$app.url}}" title="{{$app.name}}" >{{if $icon}}<i class="fa fa-fw fa-{{$icon}}"></i>{{else}}<img src="{{$app.photo}}" width="16" height="16" />{{/if}}</a> diff --git a/view/tpl/main_slider.tpl b/view/tpl/main_slider.tpl index 4cc265f59..f5c573970 100755 --- a/view/tpl/main_slider.tpl +++ b/view/tpl/main_slider.tpl @@ -1,5 +1,9 @@ -<div id="main-slider" class="slider" ><input id="main-range" type="text" name="cminmax" value="{{$val}}" /></div> -<div id="profile-jot-text-loading" class="spinner-wrapper"><div class="spinner m"></div></div> +<div id="main-slider" class="slider" > + <input id="main-range" type="text" name="cminmax" value="{{$val}}" /> + <div id="profile-jot-text-loading" class="spinner-wrapper"> + <div class="spinner m"></div> + </div> +</div> <script> $(document).ready(function() { var old_cmin = 0; diff --git a/view/tpl/nav.tpl b/view/tpl/navbar_default.tpl index b6faad0c2..cf7235b14 100755 --- a/view/tpl/nav.tpl +++ b/view/tpl/navbar_default.tpl @@ -67,7 +67,7 @@ <i class="fa fa-arrow-circle-right" id="expand-aside-icon"></i> </button> {{if $localuser || $nav.pubs}} - <button id="notifications-btn-1" type="button" class="navbar-toggler border-0 text-white"> + <button id="notifications-btn" type="button" class="navbar-toggler border-0 text-white"> <i class="fa fa-exclamation-circle"></i> </button> {{/if}} @@ -107,6 +107,13 @@ </div> </li> {{/if}} + {{if $navbar_apps}} + {{foreach $navbar_apps as $navbar_app}} + <li> + {{$navbar_app}} + </li> + {{/foreach}} + {{/if}} <li class="nav-item dropdown" id="app-menu"> <a class="nav-link" href="#" data-toggle="dropdown"><i class="fa fa-fw fa-bars"></i></a> <div id="dropdown-menu" class="dropdown-menu dropdown-menu-right"> diff --git a/view/tpl/notifications_widget.tpl b/view/tpl/notifications_widget.tpl index 73cf24071..6865879ad 100644 --- a/view/tpl/notifications_widget.tpl +++ b/view/tpl/notifications_widget.tpl @@ -17,7 +17,7 @@ width: 100%; max-width: 100%; height: 100%; - z-index: 1025; + z-index: 1029; overflow: auto; } @@ -26,6 +26,7 @@ } </style> +{{if $notifications}} <div id="notifications_wrapper"> <div id="notifications" class="navbar-nav" data-children=".nav-item"> <div id="nav-notifications-template" rel="template"> @@ -43,10 +44,14 @@ </a> <div id="nav-{{$notification.type}}-menu" class="collapse notification-content" rel="{{$notification.type}}"> {{if $notification.viewall}} - <a class="list-group-item" id="nav-{{$notification.type}}-see-all" href="{{$notification.viewall.url}}">{{$notification.viewall.label}}</a> + <a class="list-group-item text-dark" id="nav-{{$notification.type}}-see-all" href="{{$notification.viewall.url}}"> + <i class="fa fa-fw fa-external-link"></i> {{$notification.viewall.label}} + </a> {{/if}} {{if $notification.markall}} - <a class="list-group-item" id="nav-{{$notification.type}}-mark-all" href="{{$notification.markall.url}}" onclick="markRead('{{$notification.type}}'); return false;">{{$notification.markall.label}}</a> + <a class="list-group-item text-dark" id="nav-{{$notification.type}}-mark-all" href="{{$notification.markall.url}}" onclick="markRead('{{$notification.type}}'); return false;"> + <i class="fa fa-fw fa-check"></i> {{$notification.markall.label}} + </a> {{/if}} {{$loading}} </div> @@ -54,3 +59,4 @@ {{/foreach}} </div> </div> +{{/if}} diff --git a/view/tpl/pdledit.tpl b/view/tpl/pdledit.tpl index cef93d324..2ea89b6c1 100644 --- a/view/tpl/pdledit.tpl +++ b/view/tpl/pdledit.tpl @@ -5,6 +5,9 @@ <br /> <a href="help/comanche" target="hubzilla-help">{{$help}}</a> +<br> +<br> +<a href="pdledit">{{$another}}</a> <br /> <br /> |