diff options
Diffstat (limited to 'view/tpl')
-rwxr-xr-x | view/tpl/admin_aside.tpl | 36 | ||||
-rw-r--r-- | view/tpl/app_select.tpl | 2 | ||||
-rwxr-xr-x | view/tpl/categories_widget.tpl | 6 | ||||
-rwxr-xr-x | view/tpl/fileas_widget.tpl | 6 | ||||
-rwxr-xr-x | view/tpl/generic_links_widget.tpl | 4 | ||||
-rwxr-xr-x | view/tpl/group_side.tpl | 2 | ||||
-rwxr-xr-x | view/tpl/message_side.tpl | 17 | ||||
-rwxr-xr-x | view/tpl/posted_date_widget.tpl | 30 | ||||
-rw-r--r-- | view/tpl/saved_searches.tpl | 10 | ||||
-rwxr-xr-x | view/tpl/saved_searches_aside.tpl | 4 | ||||
-rw-r--r-- | view/tpl/searchbox.tpl | 12 |
11 files changed, 74 insertions, 55 deletions
diff --git a/view/tpl/admin_aside.tpl b/view/tpl/admin_aside.tpl index cb3827bf2..b1838ece1 100755 --- a/view/tpl/admin_aside.tpl +++ b/view/tpl/admin_aside.tpl @@ -10,35 +10,35 @@ }); }); </script> -<h4><a href="{{$admurl}}">{{$admtxt}}</a></h4> -<ul class='admin linklist'> - <li class='admin link button {{$admin.site.2}}'><a href='{{$admin.site.0}}'>{{$admin.site.1}}</a></li> - <li class='admin link button {{$admin.users.2}}'><a href='{{$admin.users.0}}'>{{$admin.users.1}}</a><span id='pending-update' title='{{$h_pending}}'></span></li> - <li class='admin link button {{$admin.channels.2}}'><a href='{{$admin.channels.0}}'>{{$admin.channels.1}}</a></li> - <li class='admin link button {{$admin.plugins.2}}'><a href='{{$admin.plugins.0}}'>{{$admin.plugins.1}}</a></li> - <li class='admin link button {{$admin.themes.2}}'><a href='{{$admin.themes.0}}'>{{$admin.themes.1}}</a></li> - <li class='admin link button {{$admin.hubloc.2}}'><a href='{{$admin.hubloc.0}}'>{{$admin.hubloc.1}}</a></li> - <li class='admin link button {{$admin.dbsync.2}}'><a href='{{$admin.dbsync.0}}'>{{$admin.dbsync.1}}</a></li> +<h3>{{$admtxt}}</h3> +<ul class="nav nav-pills nav-stacked"> + <li><a href='{{$admin.site.0}}'>{{$admin.site.1}}</a></li> + <li><a href='{{$admin.users.0}}'>{{$admin.users.1}}<span id='pending-update' title='{{$h_pending}}'></span></a></li> + <li><a href='{{$admin.channels.0}}'>{{$admin.channels.1}}</a></li> + <li><a href='{{$admin.plugins.0}}'>{{$admin.plugins.1}}</a></li> + <li><a href='{{$admin.themes.0}}'>{{$admin.themes.1}}</a></li> + <li><a href='{{$admin.hubloc.0}}'>{{$admin.hubloc.1}}</a></li> + <li><a href='{{$admin.dbsync.0}}'>{{$admin.dbsync.1}}</a></li> </ul> {{if $admin.update}} -<ul class='admin linklist'> - <li class='admin link button {{$admin.update.2}}'><a href='{{$admin.update.0}}'>{{$admin.update.1}}</a></li> - <li class='admin link button {{$admin.update.2}}'><a href='https://kakste.com/profile/inthegit'>Important Changes</a></li> +<ul class="nav nav-pills nav-stacked"> + <li><a href='{{$admin.update.0}}'>{{$admin.update.1}}</a></li> + <li><a href='https://kakste.com/profile/inthegit'>Important Changes</a></li> </ul> {{/if}} -{{if $admin.plugins_admin}}<h4>{{$plugadmtxt}}</h4>{{/if}} -<ul class='admin linklist'> +{{if $admin.plugins_admin}}<h3>{{$plugadmtxt}}</h3>{{/if}} +<ul class="nav nav-pills nav-stacked"> {{foreach $admin.plugins_admin as $l}} - <li class='admin link button {{$l.2}}'><a href='{{$l.0}}'>{{$l.1}}</a></li> + <li><a href='{{$l.0}}'>{{$l.1}}</a></li> {{/foreach}} </ul> -<h4>{{$logtxt}}</h4> -<ul class='admin linklist'> - <li class='admin link button {{$admin.logs.2}}'><a href='{{$admin.logs.0}}'>{{$admin.logs.1}}</a></li> +<h3>{{$logtxt}}</h3> +<ul class="nav nav-pills nav-stacked"> + <li><a href='{{$admin.logs.0}}'>{{$admin.logs.1}}</a></li> </ul> diff --git a/view/tpl/app_select.tpl b/view/tpl/app_select.tpl index 5cf3f40d6..527d01eae 100644 --- a/view/tpl/app_select.tpl +++ b/view/tpl/app_select.tpl @@ -1,7 +1,7 @@ {{if $authed}} <div class="widget"> <h3>{{$title}}</h3> -<ul> +<ul class="nav nav-pills nav-stacked"> <li><a href="appman">{{$new}}</a></li> <li><a href="apps/edit">{{$edit}}</a></li> </ul> diff --git a/view/tpl/categories_widget.tpl b/view/tpl/categories_widget.tpl index 2c0b3bcc2..ea6d28dfc 100755 --- a/view/tpl/categories_widget.tpl +++ b/view/tpl/categories_widget.tpl @@ -2,10 +2,10 @@ <h3>{{$title}}</h3> <div id="categories-sidebar-desc">{{$desc}}</div> - <ul class="categories-ul"> - <li class="tool"><a href="{{$base}}" class="categories-link categories-all{{if $sel_all}} categories-selected{{/if}}">{{$all}}</a></li> + <ul class="nav nav-pills nav-stacked"> + <li><a href="{{$base}}"{{if $sel_all}} class="categories-selected"{{/if}}>{{$all}}</a></li> {{foreach $terms as $term}} - <li class="tool"><a href="{{$base}}?f=&cat={{$term.name}}" class="categories-link{{if $term.selected}} categories-selected{{/if}}">{{$term.name}}</a></li> + <li><a href="{{$base}}?f=&cat={{$term.name}}"{{if $term.selected}} class="categories-selected"{{/if}}>{{$term.name}}</a></li> {{/foreach}} </ul> diff --git a/view/tpl/fileas_widget.tpl b/view/tpl/fileas_widget.tpl index 70d68c56e..a92440cb0 100755 --- a/view/tpl/fileas_widget.tpl +++ b/view/tpl/fileas_widget.tpl @@ -2,10 +2,10 @@ <h3>{{$title}}</h3> <div id="nets-desc">{{$desc}}</div> - <ul class="fileas-ul"> - <li class="tool"><a href="{{$base}}" class="fileas-link fileas-all{{if $sel_all}} fileas-selected{{/if}}">{{$all}}</a></li> + <ul class="nav nav-pills nav-stacked"> + <li><a href="{{$base}}"{{if $sel_all}} class="fileas-selected"{{/if}}>{{$all}}</a></li> {{foreach $terms as $term}} - <li class="tool"><a href="{{$base}}?f=&file={{$term.name}}" class="fileas-link{{if $term.selected}} fileas-selected{{/if}}">{{$term.name}}</a></li> + <li><a href="{{$base}}?f=&file={{$term.name}}"{{if $term.selected}} class="fileas-selected"{{/if}}>{{$term.name}}</a></li> {{/foreach}} </ul> diff --git a/view/tpl/generic_links_widget.tpl b/view/tpl/generic_links_widget.tpl index 5ae52aa8a..d7c234a84 100755 --- a/view/tpl/generic_links_widget.tpl +++ b/view/tpl/generic_links_widget.tpl @@ -2,9 +2,9 @@ {{if $title}}<h3>{{$title}}</h3>{{/if}} {{if $desc}}<div class="desc">{{$desc}}</div>{{/if}} - <ul> + <ul class="nav nav-pills nav-stacked"> {{foreach $items as $item}} - <li class="tool"><a href="{{$item.url}}" class="{{if $item.selected}}active{{/if}}">{{$item.label}}</a></li> + <li><a href="{{$item.url}}" class="{{if $item.selected}}active{{/if}}">{{$item.label}}</a></li> {{/foreach}} </ul> diff --git a/view/tpl/group_side.tpl b/view/tpl/group_side.tpl index 9037e0871..3701f979e 100755 --- a/view/tpl/group_side.tpl +++ b/view/tpl/group_side.tpl @@ -14,7 +14,7 @@ {{if $group.edit}} <a class="pull-right group-edit-icon" href="{{$group.edit.href}}" title="{{$edittext}}"><i class="icon-pencil"></i></a> {{/if}} - <a class="{{if $group.selected}}group-selected{{/if}}" href="{{$group.href}}">{{$group.text}}</a> + <a{{if $group.selected}} class="group-selected"{{/if}} href="{{$group.href}}">{{$group.text}}</a> </li> {{/foreach}} <li> diff --git a/view/tpl/message_side.tpl b/view/tpl/message_side.tpl index 723a64019..3e32eae14 100755 --- a/view/tpl/message_side.tpl +++ b/view/tpl/message_side.tpl @@ -1,11 +1,14 @@ -<div id="message-sidebar" class="widget"> - <div id="message-check" class="btn btn-default"><a href="{{$check.url}}" class="{{if $check.sel}}checkmessage-selected{{/if}}">{{$check.label}}</a> </div> - <div id="message-new" class="btn btn-default"><a href="{{$new.url}}" class="{{if $new.sel}}newmessage-selected{{/if}}">{{$new.label}}</a> </div> - - <ul class="message-ul"> +<div class="widget"> + <h3>{{$title}}</h3> + <ul class="nav nav-pills nav-stacked"> + <li><a href="{{$check.url}}"{{if $check.sel}} class="checkmessage-selected"{{/if}}>{{$check.label}}</a></li> + <li><a href="{{$new.url}}"{{if $new.sel}} class="newmessage-selected"{{/if}}>{{$new.label}}</a></li> + </ul> + {{if $tabs}} + <ul class="nav nav-pills nav-stacked"> {{foreach $tabs as $t}} - <li class="tool"><a href="{{$t.url}}" class="message-link{{if $t.sel}}message-selected{{/if}}">{{$t.label}}</a></li> + <li><a href="{{$t.url}}"{{if $t.sel}} class="message-selected"{{/if}}>{{$t.label}}</a></li> {{/foreach}} </ul> - + {{/if}} </div> diff --git a/view/tpl/posted_date_widget.tpl b/view/tpl/posted_date_widget.tpl index 0867ab392..1104d61bb 100755 --- a/view/tpl/posted_date_widget.tpl +++ b/view/tpl/posted_date_widget.tpl @@ -1,16 +1,20 @@ <div id="datebrowse-sidebar" class="widget"> <h3>{{$title}}</h3> -<script>function dateSubmit(dateurl) { window.location.href = dateurl; } </script> -<ul id="posted-date-selector"> -{{foreach $dates as $y => $arr}} -<li id="posted-date-selector-year-{{$y}}" class="fakelink" onclick="openClose('posted-date-selector-{{$y}}');">{{$y}}</li> -<div id="posted-date-selector-{{$y}}" style="display: none;"> -<ul class="posted-date-selector-months"> -{{foreach $arr as $d}} -<li class="posted-date-li"><a href="#" onclick="dateSubmit('{{$url}}?f=&dend={{$d.1}}&dbegin={{$d.2}}'); return false;">{{$d.0}}</a></li> -{{/foreach}} -</ul> -</div> -{{/foreach}} -</ul> + <script>function dateSubmit(dateurl) { window.location.href = dateurl; } </script> + <ul id="posted-date-selector" class="nav nav-pills nav-stacked"> + {{foreach $dates as $y => $arr}} + <li id="posted-date-selector-year-{{$y}}"> + <a href="#" onclick="openClose('posted-date-selector-{{$y}}'); return false;">{{$y}}</a> + </li> + <div id="posted-date-selector-{{$y}}" style="display: none;"> + <ul class="posted-date-selector-months nav nav-pills nav-stacked"> + {{foreach $arr as $d}} + <li> + <a href="#" onclick="dateSubmit('{{$url}}?f=&dend={{$d.1}}&dbegin={{$d.2}}'); return false;">{{$d.0}}</a> + </li> + {{/foreach}} + </ul> + </div> + {{/foreach}} + </ul> </div> diff --git a/view/tpl/saved_searches.tpl b/view/tpl/saved_searches.tpl index 1a9f51af9..ee797ea9d 100644 --- a/view/tpl/saved_searches.tpl +++ b/view/tpl/saved_searches.tpl @@ -1,12 +1,12 @@ -<div class="widget" id="saved-search-list"> +<div class="widget"> <h3 id="search">{{$title}}</h3> {{$searchbox}} - <ul id="saved-search-ul"> + <ul id="saved-search-list" class="nav nav-pills nav-stacked"> {{foreach $saved as $search}} - <li id="search-term-{{$search.id}}" class="saved-search-li clear"> - <a title="{{$search.delete}}" onclick="return confirmDelete();" id="drop-saved-search-term-{{$search.id}}" href="{{$search.dellink}}"><i id="dropicon-saved-search-term-{{$search.id}}" class="icon-remove drop-icons iconspacer saved-search-icon" ></i></a> - <a id="saved-search-term-{{$search.id}}" class="savedsearchterm{{if $search.selected}} search-selected{{/if}}" href="{{$search.srchlink}}">{{$search.displayterm}}</a> + <li id="search-term-{{$search.id}}"> + <a class="pull-right group-edit-icon" title="{{$search.delete}}" onclick="return confirmDelete();" id="drop-saved-search-term-{{$search.id}}" href="{{$search.dellink}}"><i id="dropicon-saved-search-term-{{$search.id}}" class="icon-remove" ></i></a> + <a id="saved-search-term-{{$search.id}}"{{if $search.selected}} class="search-selected"{{/if}} href="{{$search.srchlink}}">{{$search.displayterm}}</a> </li> {{/foreach}} </ul> diff --git a/view/tpl/saved_searches_aside.tpl b/view/tpl/saved_searches_aside.tpl index 0258a7632..e0983f0dd 100755 --- a/view/tpl/saved_searches_aside.tpl +++ b/view/tpl/saved_searches_aside.tpl @@ -2,10 +2,10 @@ <h3 id="search">{{$title}}</h3> {{$searchbox}} - <ul id="saved-search-ul"> + <ul id="saved-search-ul" class="nav nav-pills nav-stacked" > {{foreach $saved as $search}} <li id="search-term-{{$search.id}}" class="saved-search-li clear"> - <a title="{{$search.delete}}" onclick="return confirmDelete();" id="drop-saved-search-term-{{$search.id}}" href="network/?f=&remove=1&search={{$search.encodedterm}}"><i id="dropicon-saved-search-term-{{$search.id}}" class="icon-remove drop-icons iconspacer savedsearchdrop saved-search-icon" ></i></a> + <a title="{{$search.delete}}" class="pull-right" onclick="return confirmDelete();" id="drop-saved-search-term-{{$search.id}}" href="network/?f=&remove=1&search={{$search.encodedterm}}"><i id="dropicon-saved-search-term-{{$search.id}}" class="icon-remove drop-icons iconspacer savedsearchdrop saved-search-icon" ></i></a> <a id="saved-search-term-{{$search.id}}" class="savedsearchterm{{if $search.selected}} search-selected{{/if}}" href="network/?f=&search={{$search.encodedterm}}">{{$search.displayterm}}</a> </li> {{/foreach}} diff --git a/view/tpl/searchbox.tpl b/view/tpl/searchbox.tpl new file mode 100644 index 000000000..02b2d4a50 --- /dev/null +++ b/view/tpl/searchbox.tpl @@ -0,0 +1,12 @@ +<form action="{{$action_url}}" method="get" > + <input type="hidden" name="f" value="" /> + <div id="{{$id}}" class="input-group"> + <input type="text" name="search" id="search-text" value="{{$s}}" onclick="this.submit();" /> + <div class="input-group-btn"> + <button type="submit" name="submit" class="btn btn-default btn-sm" id="search-submit" value="{{$search_label}}"><i class="icon-search"></i></button> + {{if $savedsearch}} + <button type="submit" name="searchsave" class="btn btn-default btn-sm" id="search-save" value="{{$save_label}}"><i class="icon-save"></i></button> + {{/if}} + </div> + </div> +</form> |