diff options
author | Belen Barros Pena <belen.barros.pena@linux.intel.com> | 2016-04-12 15:56:43 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-06-15 08:35:03 +0100 |
commit | 443f7b39158c891015a791814b9b1fe2324edc41 (patch) | |
tree | 3f570a138594273bc7498225e066b7f9a99bf0c5 /bitbake/lib/toaster/toastergui/templates/bpackage.html | |
parent | 79e0eb9e52e9b954aa3b6bc6dee15a75b5eb990c (diff) | |
download | poky-443f7b39158c891015a791814b9b1fe2324edc41.tar.gz |
bitbake: toaster: Migrate project configuration from bootstrap 2 to bootstrap 3
Convert all the HTML templates, JS and CSS in the project parts of
toaster to use bootstrap 3.
(Bitbake rev: 69527a731eada699d3f604ff8f3ae9410981ba9b)
Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com>
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/bpackage.html')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/bpackage.html | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/bpackage.html b/bitbake/lib/toaster/toastergui/templates/bpackage.html index 81973cbc6d..575c27b3b5 100644 --- a/bitbake/lib/toaster/toastergui/templates/bpackage.html +++ b/bitbake/lib/toaster/toastergui/templates/bpackage.html | |||
@@ -12,7 +12,7 @@ | |||
12 | {% endblock %} | 12 | {% endblock %} |
13 | 13 | ||
14 | {% block buildinfomain %} | 14 | {% block buildinfomain %} |
15 | <div class="span10"> | 15 | <div class="col-md-10"> |
16 | 16 | ||
17 | {% if not request.GET.filter and not request.GET.search and not objects.paginator.count %} | 17 | {% if not request.GET.filter and not request.GET.search and not objects.paginator.count %} |
18 | 18 | ||
@@ -43,14 +43,12 @@ | |||
43 | </div> | 43 | </div> |
44 | 44 | ||
45 | {% if objects.paginator.count == 0 %} | 45 | {% if objects.paginator.count == 0 %} |
46 | <div class="row-fluid"> | 46 | <div class="alert"> |
47 | <div class="alert"> | 47 | <form class="no-results input-append" id="searchform"> |
48 | <form class="no-results input-append" id="searchform"> | 48 | <input id="search" name="search" class="input-xxlarge" type="text" value="{{request.GET.search}}"/>{% if request.GET.search %}<a href="javascript:$('#search').val('');searchform.submit()" class="input-append-addon btn" tabindex="-1"><i class="glyphicon glyphicon-remove"></i></a>{% endif %} |
49 | <input id="search" name="search" class="input-xxlarge" type="text" 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 %} | 49 | <button class="btn" type="submit" value="Search">Search</button> |
50 | <button class="btn" type="submit" value="Search">Search</button> | 50 | <button class="btn btn-link" onclick="javascript:$('#search').val('');searchform.submit()">Show all packages</button> |
51 | <button class="btn btn-link" onclick="javascript:$('#search').val('');searchform.submit()">Show all packages</button> | 51 | </form> |
52 | </form> | ||
53 | </div> | ||
54 | </div> | 52 | </div> |
55 | 53 | ||
56 | {% else %} | 54 | {% else %} |
@@ -82,7 +80,7 @@ | |||
82 | <!-- Layer commit --> | 80 | <!-- Layer commit --> |
83 | <td class="recipe__layer_version__layer__commit"> | 81 | <td class="recipe__layer_version__layer__commit"> |
84 | <a class="btn" | 82 | <a class="btn" |
85 | data-content="<ul class='unstyled'> | 83 | data-content="<ul class='list-unstyled'> |
86 | <li>{{package.recipe.layer_version.commit}}</li> | 84 | <li>{{package.recipe.layer_version.commit}}</li> |
87 | </ul>"> | 85 | </ul>"> |
88 | {{package.recipe.layer_version.commit|truncatechars:13}} | 86 | {{package.recipe.layer_version.commit|truncatechars:13}} |