diff options
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/basetable_top.html')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/basetable_top.html | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/basetable_top.html b/bitbake/lib/toaster/toastergui/templates/basetable_top.html index fcd2f036ec..8dd56ed224 100644 --- a/bitbake/lib/toaster/toastergui/templates/basetable_top.html +++ b/bitbake/lib/toaster/toastergui/templates/basetable_top.html | |||
@@ -162,7 +162,7 @@ | |||
162 | <div class="navbar"> | 162 | <div class="navbar"> |
163 | <div class="navbar-inner"> | 163 | <div class="navbar-inner"> |
164 | <form class="navbar-search input-append pull-left" id="searchform"> | 164 | <form class="navbar-search input-append pull-left" id="searchform"> |
165 | <input class="input-xxlarge" id="search" name="search" type="text" placeholder="Search {%if object_search_display %}{{object_search_display}}{%else%}{{objectname}}{%endif%}" value="{{request.GET.search}}"/>{% if request.GET.search %}<a href="javascript:$('#search').val('');searchform.submit()" class="add-on btn" tabindex="-1"><i class="icon-remove"></i></a>{%endif%} | 165 | <input class="input-xxlarge" id="search" name="search" type="text" placeholder="Search {%if object_search_display %}{{object_search_display}}{%else%}{{objectname}}{%endif%}" value="{%if request.GET.search %}{{request.GET.search}}{% endif %}"/>{% if request.GET.search %}<a href="javascript:$('#search').val('');searchform.submit()" class="add-on btn" tabindex="-1"><i class="icon-remove"></i></a>{%endif%} |
166 | <input type="hidden" name="orderby" value="{{request.GET.orderby}}"> | 166 | <input type="hidden" name="orderby" value="{{request.GET.orderby}}"> |
167 | <input type="hidden" name="page" value="1"> | 167 | <input type="hidden" name="page" value="1"> |
168 | <button class="btn" type="submit" value="Search">Search</button> | 168 | <button class="btn" type="submit" value="Search">Search</button> |
@@ -191,7 +191,12 @@ | |||
191 | onclick="showhideTableColumn( | 191 | onclick="showhideTableColumn( |
192 | $(this).attr('id'), | 192 | $(this).attr('id'), |
193 | $(this).is(':checked'), | 193 | $(this).is(':checked'), |
194 | '{{i.orderkey}}' )" | 194 | {% if i.ordericon %} |
195 | '{{i.orderkey}}' | ||
196 | {% else %} | ||
197 | undefined | ||
198 | {% endif %} | ||
199 | )" | ||
195 | {%else%} | 200 | {%else%} |
196 | checked disabled | 201 | checked disabled |
197 | {% endif %}/> {{i.name}} | 202 | {% endif %}/> {{i.name}} |
@@ -221,7 +226,7 @@ | |||
221 | <thead> | 226 | <thead> |
222 | <!-- Table header row; generated from "tablecols" entry in the context dict --> | 227 | <!-- Table header row; generated from "tablecols" entry in the context dict --> |
223 | <tr> | 228 | <tr> |
224 | {% for tc in tablecols %}<th class="{{tc.dclass}} {{tc.clclass}}"> | 229 | {% for tc in tablecols %}<th class="{%if tc.dclass%}{{tc.dclass}}{%endif%} {% if tc.clclass %}{{tc.clclass}}{% endif %}"> |
225 | {%if tc.qhelp%}<i class="icon-question-sign get-help" title="{{tc.qhelp}}"></i>{%endif%} | 230 | {%if tc.qhelp%}<i class="icon-question-sign get-help" title="{{tc.qhelp}}"></i>{%endif%} |
226 | {%if tc.orderfield%}<a {%if tc.ordericon%} class="sorted" {%endif%}href="javascript:reload_params({'page': 1, 'orderby' : '{{tc.orderfield}}' })">{{tc.name}}</a>{%else%}<span class="muted">{{tc.name}}</span>{%endif%} | 231 | {%if tc.orderfield%}<a {%if tc.ordericon%} class="sorted" {%endif%}href="javascript:reload_params({'page': 1, 'orderby' : '{{tc.orderfield}}' })">{{tc.name}}</a>{%else%}<span class="muted">{{tc.name}}</span>{%endif%} |
227 | {%if tc.ordericon%} <i class="icon-caret-{{tc.ordericon}}"></i>{%endif%} | 232 | {%if tc.ordericon%} <i class="icon-caret-{{tc.ordericon}}"></i>{%endif%} |