diff options
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/toastertable-simple.html')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/toastertable-simple.html | 94 |
1 files changed, 50 insertions, 44 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/toastertable-simple.html b/bitbake/lib/toaster/toastergui/templates/toastertable-simple.html index 212318bc53..56cd2ce375 100644 --- a/bitbake/lib/toaster/toastergui/templates/toastertable-simple.html +++ b/bitbake/lib/toaster/toastergui/templates/toastertable-simple.html | |||
@@ -26,37 +26,38 @@ | |||
26 | 26 | ||
27 | {% include 'toastertable-filter.html' %} | 27 | {% include 'toastertable-filter.html' %} |
28 | 28 | ||
29 | <div class="row-fluid" id="no-results-{{table_name}}" style="display:none"> | 29 | <div id="no-results-{{table_name}}" style="display:none"> |
30 | <div class="alert"> | 30 | <div class="alert alert-warning"> |
31 | <form class="no-results input-append"> | 31 | <form class="no-results form-inline"> |
32 | <input class="input-xlarge" id="new-search-input-{{table_name}}" name="search" type="text" placeholder="Search {{title|lower}}" value="{% if request.GET.search %}{{request.GET.search}}{% endif %}"/> | 32 | <div class="form-group"> |
33 | <a href="#" class="add-on btn remove-search-btn-{{table_name}}" tabindex="-1"> | 33 | <div class="btn-group"> |
34 | <i class="icon-remove"></i> | 34 | <input class="form-control" id="new-search-input-{{table_name}}" name="search" type="text" placeholder="Search {{title|lower}}" value="{% if request.GET.search %}{{request.GET.search}}{% endif %}"/> |
35 | </a> | 35 | <span class="remove-search-btn-{{table_name}} glyphicon glyphicon-remove-circle" tabindex="-1"></span> |
36 | <button class="btn search-submit-{{table_name}}" >Search</button> | 36 | </div> |
37 | <button class="btn btn-link remove-search-btn-{{table_name}}">Show {{title|lower}} | 37 | </div> |
38 | </button> | 38 | <button class="btn btn-default search-submit-{{table_name}}">Search</button> |
39 | <button class="btn btn-link remove-search-btn-{{table_name}}">Show all {{title|lower}}</button> | ||
39 | </form> | 40 | </form> |
40 | </div> | 41 | </div> |
41 | </div> | 42 | </div> |
42 | <div id="table-container-{{table_name}}" style="visibility: hidden"> | 43 | <div id="table-container-{{table_name}}" style="visibility: hidden"> |
43 | <!-- control header --> | 44 | <!-- control header --> |
44 | <div class="row-fluid" id="table-chrome-{{table_name}}"> | 45 | <div id="table-chrome-{{table_name}}"> |
45 | <div class="navbar-search input-append pull-left"> | 46 | <div class="container-fluid detail-page-contols"> |
46 | 47 | <form class="navbar-form navbar-left"> | |
47 | <input class="input-xlarge" id="search-input-{{table_name}}" name="search" type="text" placeholder="Search {{title|lower}}" value="{% if request.GET.search %}{{request.GET.search}}{% endif %}"/> | 48 | <div class="form-group"> |
48 | <a href="#" style="display:none" class="add-on btn remove-search-btn-{{table_name}}" tabindex="-1"> | 49 | <div class="btn-group"> |
49 | <i class="icon-remove"></i> | 50 | <input class="form-control" id="search-input-{{table_name}}" name="search" type="text" placeholder="Search {{title|lower}}" value="{% if request.GET.search %}{{request.GET.search}}{% endif %}"/> |
50 | </a> | 51 | <span href="#" style="display:none" class="remove-search-btn-{{table_name}} glyphicon glyphicon-remove-circle" tabindex="-1"></span> |
51 | <button class="btn" id="search-submit-{{table_name}}" >Search</button> | 52 | </div> |
52 | </div> | 53 | </div> |
53 | 54 | <button class="btn btn-default" id="search-submit-{{table_name}}" >Search</button> | |
54 | <div class="pull-right"> | 55 | </form> |
55 | 56 | ||
56 | <div style="display:inline"> | 57 | <form class="navbar-form navbar-right"> |
57 | <span class="divider-vertical"></span> | 58 | <div class="form-group"> |
58 | <span class="help-inline" style="padding-top:5px;">Show rows:</span> | 59 | <label>Show rows:</label> |
59 | <select style="margin-top:5px;margin-bottom:0px;" class="pagesize-{{table_name}}"> | 60 | <select class="form-control pagesize-{{table_name}}"> |
60 | {% with "10 25 50 100 150" as list%} | 61 | {% with "10 25 50 100 150" as list%} |
61 | {% for i in list.split %} | 62 | {% for i in list.split %} |
62 | <option value="{{i}}">{{i}}</option> | 63 | <option value="{{i}}">{{i}}</option> |
@@ -64,31 +65,36 @@ | |||
64 | {% endwith %} | 65 | {% endwith %} |
65 | </select> | 66 | </select> |
66 | </div> | 67 | </div> |
67 | </div> | 68 | </form> |
69 | </div> | ||
68 | </div> | 70 | </div> |
69 | 71 | ||
70 | <!-- The actual table --> | 72 | <!-- The actual table --> |
71 | <table class="table table-bordered table-hover tablesorter" id="{{table_name}}"> | 73 | <div class="table-responsive"> |
72 | <thead> | 74 | <table class="table table-bordered table-hover" id="{{table_name}}"> |
73 | <tr><th></th></tr> | 75 | <thead> |
74 | </thead> | 76 | <tr><th></th></tr> |
75 | <tbody></tbody> | 77 | </thead> |
76 | </table> | 78 | <tbody></tbody> |
79 | </table> | ||
80 | </div> | ||
77 | 81 | ||
78 | <!-- Pagination controls --> | 82 | <!-- Pagination controls --> |
79 | <div class="pagination pagination-centered" id="pagination-{{table_name}}"> | 83 | <div id="pagination-{{table_name}}"> |
80 | <ul class="pagination" style="display: block-inline"> | 84 | <ul class="pagination"> |
81 | </ul> | 85 | </ul> |
82 | 86 | ||
83 | <div class="pull-right"> | 87 | <form class="navbar-form navbar-right"> |
84 | <span class="help-inline" style="padding-top:5px;">Show rows:</span> | 88 | <div class="form-group"> |
85 | <select style="margin-top:5px;margin-bottom:0px;" class="pagesize-{{table_name}}"> | 89 | <label>Show rows:</label> |
86 | {% with "10 25 50 100 150" as list%} | 90 | <select class="form-control pagesize-{{table_name}}"> |
87 | {% for i in list.split %} | 91 | {% with "10 25 50 100 150" as list%} |
88 | <option value="{{i}}">{{i}}</option> | 92 | {% for i in list.split %} |
89 | {% endfor %} | 93 | <option value="{{i}}">{{i}}</option> |
90 | {% endwith %} | 94 | {% endfor %} |
91 | </select> | 95 | {% endwith %} |
92 | </div> | 96 | </select> |
97 | </div> | ||
98 | </form> | ||
93 | </div> | 99 | </div> |
94 | </div> | 100 | </div> |