diff options
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/toastertable.html')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/toastertable.html | 50 |
1 files changed, 18 insertions, 32 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/toastertable.html b/bitbake/lib/toaster/toastergui/templates/toastertable.html index 4e6c4ce4d2..5c79ab4ae1 100644 --- a/bitbake/lib/toaster/toastergui/templates/toastertable.html +++ b/bitbake/lib/toaster/toastergui/templates/toastertable.html | |||
@@ -24,37 +24,23 @@ | |||
24 | }); | 24 | }); |
25 | </script> | 25 | </script> |
26 | 26 | ||
27 | <!-- filter modal --> | 27 | {% include 'toastertable-filter.html' %} |
28 | <div id="filter-modal" class="modal hide fade" tabindex="-1" role="dialog" aria-hidden="false"> | ||
29 | <form id="filter-modal-form" style="margin-bottom: 0px"> | ||
30 | <div class="modal-header"> | ||
31 | <button type="button" class="close" data-dismiss="modal" aria-hidden="true">x</button> | ||
32 | <h3 id="filter-modal-title"> </h3> | ||
33 | </div> | ||
34 | <div class="modal-body"> | ||
35 | <p>Show:</p> | ||
36 | <span id="filter-actions"></span> | ||
37 | </div> | ||
38 | <div class="modal-footer"> | ||
39 | <button class="btn btn-primary" type="submit">Apply</button> | ||
40 | </div> | ||
41 | </form> | ||
42 | </div> | ||
43 | <button id="clear-filter-btn" style="display:none"></button> | ||
44 | 28 | ||
45 | <div class="row-fluid alert" id="no-results-{{table_name}}" style="display:none"> | 29 | <div class="row-fluid" id="no-results-{{table_name}}" style="display:none"> |
46 | <form class="no-results input-append"> | 30 | <div class="alert"> |
47 | <input class="input-xxlarge" id="new-search-input-{{table_name}}" name="search" type="text" placeholder="Search {{title|lower}}" value="{{request.GET.search}}"/> | 31 | <form class="no-results input-append"> |
48 | <a href="#" class="add-on btn remove-search-btn-{{table_name}}" tabindex="-1"> | 32 | <input class="input-xxlarge" id="new-search-input-{{table_name}}" name="search" type="text" placeholder="Search {{title|lower}}" value="{{request.GET.search}}"/> |
49 | <i class="icon-remove"></i> | 33 | <a href="#" class="add-on btn remove-search-btn-{{table_name}}" tabindex="-1"> |
50 | </a> | 34 | <i class="icon-remove"></i> |
51 | <button class="btn search-submit-{{table_name}}" >Search</button> | 35 | </a> |
52 | <button class="btn btn-link remove-search-btn-{{table_name}}">Show {{title|lower}} | 36 | <button class="btn search-submit-{{table_name}}" >Search</button> |
53 | </button> | 37 | <button class="btn btn-link remove-search-btn-{{table_name}}">Show {{title|lower}} |
54 | </form> | 38 | </button> |
39 | </form> | ||
40 | </div> | ||
55 | </div> | 41 | </div> |
56 | 42 | ||
57 | <div id="table-container-{{table_name}}"> | 43 | <div id="table-container-{{table_name}}" style="visibility: hidden"> |
58 | <!-- control header --> | 44 | <!-- control header --> |
59 | <div class="navbar" id="table-chrome-{{table_name}}"> | 45 | <div class="navbar" id="table-chrome-{{table_name}}"> |
60 | <div class="navbar-inner"> | 46 | <div class="navbar-inner"> |
@@ -78,7 +64,7 @@ | |||
78 | <div style="display:inline"> | 64 | <div style="display:inline"> |
79 | <span class="divider-vertical"></span> | 65 | <span class="divider-vertical"></span> |
80 | <span class="help-inline" style="padding-top:5px;">Show rows:</span> | 66 | <span class="help-inline" style="padding-top:5px;">Show rows:</span> |
81 | <select style="margin-top:5px;margin-bottom:0px;" class="pagesize"> | 67 | <select style="margin-top:5px;margin-bottom:0px;" class="pagesize-{{table_name}}"> |
82 | {% with "10 25 50 100 150" as list%} | 68 | {% with "10 25 50 100 150" as list%} |
83 | {% for i in list.split %} | 69 | {% for i in list.split %} |
84 | <option value="{{i}}">{{i}}</option> | 70 | <option value="{{i}}">{{i}}</option> |
@@ -99,13 +85,13 @@ | |||
99 | </table> | 85 | </table> |
100 | 86 | ||
101 | <!-- Pagination controls --> | 87 | <!-- Pagination controls --> |
102 | <div class="pagination pagination-centered"> | 88 | <div class="pagination pagination-centered" id="pagination-{{table_name}}"> |
103 | <ul id="pagination-{{table_name}}" class="pagination" style="display: block-inline"> | 89 | <ul class="pagination" style="display: block-inline"> |
104 | </ul> | 90 | </ul> |
105 | 91 | ||
106 | <div class="pull-right"> | 92 | <div class="pull-right"> |
107 | <span class="help-inline" style="padding-top:5px;">Show rows:</span> | 93 | <span class="help-inline" style="padding-top:5px;">Show rows:</span> |
108 | <select style="margin-top:5px;margin-bottom:0px;" class="pagesize"> | 94 | <select style="margin-top:5px;margin-bottom:0px;" class="pagesize-{{table_name}}"> |
109 | {% with "10 25 50 100 150" as list%} | 95 | {% with "10 25 50 100 150" as list%} |
110 | {% for i in list.split %} | 96 | {% for i in list.split %} |
111 | <option value="{{i}}">{{i}}</option> | 97 | <option value="{{i}}">{{i}}</option> |