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/projecttopbar.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/projecttopbar.html')
| -rw-r--r-- | bitbake/lib/toaster/toastergui/templates/projecttopbar.html | 86 |
1 files changed, 43 insertions, 43 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/projecttopbar.html b/bitbake/lib/toaster/toastergui/templates/projecttopbar.html index e878caba8b..2734af0c95 100644 --- a/bitbake/lib/toaster/toastergui/templates/projecttopbar.html +++ b/bitbake/lib/toaster/toastergui/templates/projecttopbar.html | |||
| @@ -16,64 +16,64 @@ | |||
| 16 | }); | 16 | }); |
| 17 | </script> | 17 | </script> |
| 18 | 18 | ||
| 19 | <div class="alert alert-success lead" id="project-created-notification" style="margin-top:15px; display:none"> | 19 | <div class="col-md-12"> |
| 20 | <button type="button" class="close" data-dismiss="alert">×</button> | 20 | <div class="alert alert-success alert-dismissible change-notification" id="project-created-notification" style="display:none"> |
| 21 | Your project <strong>{{project.name}}</strong> has been created. You can now <a href="{% url 'projectmachines' project.id %}">select your target machine</a> and <a href="{% url 'projectimagerecipes' project.id %}">choose image recipes</a> to build. | 21 | <button type="button" class="close" data-dismiss="alert">×</button> |
| 22 | </div> | 22 | <p>Your project <strong>{{project.name}}</strong> has been created. You can now <a class="alert-link" href="{% url 'projectmachines' project.id %}">select your target machine</a> and <a class="alert-link" href="{% url 'projectimagerecipes' project.id %}">choose image recipes</a> to build.</p> |
| 23 | 23 | </div> | |
| 24 | <!-- project name --> | 24 | <!-- project name --> |
| 25 | <div class="page-header"> | 25 | <div class="page-header"> |
| 26 | <h1 id="project-name-container"> | 26 | <h1 id="project-name-container"> |
| 27 | <span id="project-name">{{project.name}}</span> | 27 | <span id="project-name">{{project.name}}</span> |
| 28 | 28 | ||
| 29 | <i class="icon-pencil" data-original-title="" id="project-change-form-toggle" title=""></i> | 29 | <span class="glyphicon glyphicon-edit" id="project-change-form-toggle"></i> |
| 30 | 30 | ||
| 31 | {% if project.is_default %} | 31 | {% if project.is_default %} |
| 32 | <i class="icon-question-sign get-help heading-help" title="" data-original-title="This project shows information about the builds you start from the command line while Toaster is running"></i> | 32 | <span class="glyphicon glyphicon-question-sign get-help" title="This project shows information about the builds you start from the command line while Toaster is running"></span> |
| 33 | {% endif %} | 33 | {% endif %} |
| 34 | </h1> | 34 | </h1> |
| 35 | <form id="project-name-change-form" style="margin-bottom: 0px; display: none;"> | 35 | <form id="project-name-change-form" class="form-inline" style="display: none;"> |
| 36 | <div class="input-append" id="validate-project-name"> | 36 | <div class="form-group"> |
| 37 | <input class="huge input-xxlarge" type="text" id="project-name-change-input" autocomplete="off" value="{{project.name}}"> | 37 | <input class="form-control input-lg" type="text" id="project-name-change-input" autocomplete="off" value="{{project.name}}"> |
| 38 | <button id="project-name-change-btn" class="btn btn-large" type="button">Save</button> | 38 | </div> |
| 39 | <a href="#" id="project-name-change-cancel" class="btn btn-large btn-link">Cancel</a> | 39 | <button id="project-name-change-btn" class="btn btn-default btn-lg" type="button">Save</button> |
| 40 | </div> | 40 | <a href="#" id="project-name-change-cancel" class="btn btn-lg btn-link">Cancel</a> |
| 41 | <p class="help-block error" style="display: none;margin-top: 10px;" id="hint-error-project-name">A project with this name exists. Project names must be unique.</p> | 41 | </form> |
| 42 | </form> | 42 | </div> |
| 43 | </div> | ||
| 44 | 43 | ||
| 45 | {% if not project.is_default %} | 44 | {% if not project.is_default %} |
| 46 | <div id="project-topbar"> | 45 | <div id="project-topbar"> |
| 47 | <ul class="nav nav-pills"> | 46 | <ul class="nav nav-tabs"> |
| 48 | <li id="topbar-configuration-tab"> | 47 | <li id="topbar-configuration-tab"> |
| 49 | <a href="{% url 'project' project.id %}"> | 48 | <a href="{% url 'project' project.id %}"> |
| 50 | Configuration | 49 | Configuration |
| 51 | </a> | 50 | </a> |
| 52 | </li> | 51 | </li> |
| 53 | <li> | 52 | <li> |
| 54 | <a href="{% url 'projectbuilds' project.id %}"> | 53 | <a href="{% url 'projectbuilds' project.id %}"> |
| 55 | Builds ({{project.get_number_of_builds}}) | 54 | Builds ({{project.get_number_of_builds}}) |
| 56 | </a> | 55 | </a> |
| 57 | </li> | 56 | </li> |
| 58 | <li> | 57 | <li> |
| 59 | <a href="{% url 'importlayer' project.id %}"> | 58 | <a href="{% url 'importlayer' project.id %}"> |
| 60 | Import layer | 59 | Import layer |
| 61 | </a> | 60 | </a> |
| 62 | </li> | 61 | </li> |
| 63 | <li> | 62 | <li> |
| 64 | <a href="{% url 'newcustomimage' project.id %}"> | 63 | <a href="{% url 'newcustomimage' project.id %}"> |
| 65 | New custom image | 64 | New custom image |
| 66 | </a> | 65 | </a> |
| 67 | </li> | 66 | </li> |
| 68 | <li class="pull-right"> | 67 | <li class="pull-right"> |
| 69 | <form class="form-inline" style="margin-bottom:0px;"> | 68 | <form class="form-inline"> |
| 70 | <i class="icon-question-sign get-help heading-help" data-placement="left" title="" data-original-title="Type the name of one or more recipes you want to build, separated by a space. You can also specify a task by appending a colon and a task name to the recipe name, like so: <code>busybox:clean</code>"></i> | 69 | <div class="form-group"> |
| 71 | <div class="input-append"> | 70 | <span class="glyphicon glyphicon-question-sign get-help" data-placement="left" title="Type the name of one or more recipes you want to build, separated by a space. You can also specify a task by appending a colon and a task name to the recipe name, like so: <code>busybox:clean</code>"></span> |
| 72 | <input id="build-input" type="text" class="input-xlarge input-lg build-target-input" placeholder="Type the recipe you want to build" autocomplete="off" disabled> | 71 | <input id="build-input" type="text" class="form-control input-lg" placeholder="Type the recipe you want to build" autocomplete="off" disabled> |
| 73 | <button id="build-button" class="btn btn-primary btn-large build-button" data-project-id="{{project.id}}" disabled>Build</button> | ||
| 74 | </div> | 72 | </div> |
| 73 | <button id="build-button" class="btn btn-primary btn-lg" data-project-id="{{project.id}}" disabled>Build</button> | ||
| 75 | </form> | 74 | </form> |
| 76 | </li> | 75 | </li> |
| 77 | </ul> | 76 | </ul> |
| 78 | </div> | 77 | </div> |
| 79 | {% endif %} | 78 | {% endif %} |
| 79 | </div> | ||
