diff options
author | Michael Wood <michael.g.wood@intel.com> | 2015-07-31 15:09:04 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-08-01 11:26:11 +0100 |
commit | d826d4e800245d7a0df61a145b8688e9e7a2e32f (patch) | |
tree | 16581a0581180bfc0aa9deb0089c49b1c3571074 /bitbake | |
parent | b06a633f25aec303e867c6109fb97d63d9ee1f73 (diff) | |
download | poky-d826d4e800245d7a0df61a145b8688e9e7a2e32f.tar.gz |
bitbake: toastergui: base Fix html indentation
(Bitbake rev: 37364e671ad1897bef818239a8e289b3d4c93925)
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/base.html | 240 |
1 files changed, 120 insertions, 120 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/base.html b/bitbake/lib/toaster/toastergui/templates/base.html index 6c3e1a3823..8def2daf8e 100644 --- a/bitbake/lib/toaster/toastergui/templates/base.html +++ b/bitbake/lib/toaster/toastergui/templates/base.html | |||
@@ -10,54 +10,54 @@ | |||
10 | <link rel="stylesheet" href="{% static 'css/prettify.css' %}" type='text/css'/> | 10 | <link rel="stylesheet" href="{% static 'css/prettify.css' %}" type='text/css'/> |
11 | <link rel="stylesheet" href="{% static 'css/default.css' %}" type='text/css'/> | 11 | <link rel="stylesheet" href="{% static 'css/default.css' %}" type='text/css'/> |
12 | 12 | ||
13 | <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | 13 | <meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
14 | <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" /> | 14 | <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" /> |
15 | <script src="{% static 'js/jquery-2.0.3.min.js' %}"> | 15 | <script src="{% static 'js/jquery-2.0.3.min.js' %}"> |
16 | </script> | 16 | </script> |
17 | <script src="{% static 'js/jquery.cookie.js' %}"> | 17 | <script src="{% static 'js/jquery.cookie.js' %}"> |
18 | </script> | 18 | </script> |
19 | <script src="{% static 'js/bootstrap.min.js' %}"> | 19 | <script src="{% static 'js/bootstrap.min.js' %}"> |
20 | </script> | 20 | </script> |
21 | <script src="{% static 'js/prettify.js' %}"> | 21 | <script src="{% static 'js/prettify.js' %}"> |
22 | </script> | 22 | </script> |
23 | <script src="{% static 'js/libtoaster.js' %}"> | 23 | <script src="{% static 'js/libtoaster.js' %}"> |
24 | </script> | 24 | </script> |
25 | {% if DEBUG %} | 25 | {% if DEBUG %} |
26 | <script> | 26 | <script> |
27 | libtoaster.debug = true; | 27 | libtoaster.debug = true; |
28 | </script> | 28 | </script> |
29 | {% endif %} | ||
30 | <script> | ||
31 | libtoaster.ctx = { | ||
32 | jsUrl : "{% static 'js/' %}", | ||
33 | htmlUrl : "{% static 'html/' %}", | ||
34 | projectsUrl : "{% url 'all-projects' %}", | ||
35 | {% if project.id %} | ||
36 | projectId : {{project.id}}, | ||
37 | projectPageUrl : {% url 'project' project.id as purl%}{{purl|json}}, | ||
38 | projectName : {{project.name|json}}, | ||
39 | projectTargetsUrl: {% url 'projectavailabletargets' project.id as paturl%}{{paturl|json}}, | ||
40 | projectBuildsUrl: {% url 'projectbuilds' project.id as pburl %}{{pburl|json}}, | ||
41 | projectId : {{project.id}}, | ||
42 | {% else %} | ||
43 | projectId : undefined, | ||
44 | projectPageUrl : undefined, | ||
45 | projectName : undefined, | ||
46 | projectId : undefined, | ||
47 | {% endif %} | 29 | {% endif %} |
48 | }; | 30 | <script> |
49 | </script> | 31 | libtoaster.ctx = { |
50 | <script src="{% static 'js/base.js' %}"></script> | 32 | jsUrl : "{% static 'js/' %}", |
51 | <script> | 33 | htmlUrl : "{% static 'html/' %}", |
52 | $(document).ready(function () { | 34 | projectsUrl : "{% url 'all-projects' %}", |
53 | /* Vars needed for base.js */ | 35 | {% if project.id %} |
54 | var ctx = {}; | 36 | projectId : {{project.id}}, |
55 | ctx.numProjects = {{projects|length}}; | 37 | projectPageUrl : {% url 'project' project.id as purl%}{{purl|json}}, |
56 | ctx.currentUrl = "{{request.path|escapejs}}"; | 38 | projectName : {{project.name|json}}, |
39 | projectTargetsUrl: {% url 'projectavailabletargets' project.id as paturl%}{{paturl|json}}, | ||
40 | projectBuildsUrl: {% url 'projectbuilds' project.id as pburl %}{{pburl|json}}, | ||
41 | projectId : {{project.id}}, | ||
42 | {% else %} | ||
43 | projectId : undefined, | ||
44 | projectPageUrl : undefined, | ||
45 | projectName : undefined, | ||
46 | projectId : undefined, | ||
47 | {% endif %} | ||
48 | }; | ||
49 | </script> | ||
50 | <script src="{% static 'js/base.js' %}"></script> | ||
51 | <script> | ||
52 | $(document).ready(function () { | ||
53 | /* Vars needed for base.js */ | ||
54 | var ctx = {}; | ||
55 | ctx.numProjects = {{projects|length}}; | ||
56 | ctx.currentUrl = "{{request.path|escapejs}}"; | ||
57 | 57 | ||
58 | basePageInit(ctx); | 58 | basePageInit(ctx); |
59 | }); | 59 | }); |
60 | </script> | 60 | </script> |
61 | 61 | ||
62 | {% block extraheadcontent %} | 62 | {% block extraheadcontent %} |
63 | {% endblock %} | 63 | {% endblock %} |
@@ -69,80 +69,80 @@ | |||
69 | Loading <i class="fa-pulse icon-spinner"></i> | 69 | Loading <i class="fa-pulse icon-spinner"></i> |
70 | </div> | 70 | </div> |
71 | 71 | ||
72 | <div class="navbar navbar-fixed-top"> | 72 | <div class="navbar navbar-fixed-top"> |
73 | <div class="navbar-inner"> | 73 | <div class="navbar-inner"> |
74 | <div class="container-fluid"> | 74 | <div class="container-fluid"> |
75 | <a class="brand logo" href="#"><img src="{% static 'img/logo.png' %}" class="" alt="Yocto logo project"/></a> | 75 | <a class="brand logo" href="#"><img src="{% static 'img/logo.png' %}" class="" alt="Yocto logo project"/></a> |
76 | <span class="brand"> | 76 | <span class="brand"> |
77 | <a href="/">Toaster</a> | 77 | <a href="/">Toaster</a> |
78 | {% if DEBUG %} | 78 | {% if DEBUG %} |
79 | <i class="icon-info-sign" title="<strong>Toaster version information</strong>" data-content="<dl><dt>Branch</dt><dd>{{TOASTER_BRANCH}}</dd><dt>Revision</dt><dd>{{TOASTER_REVISION}}</dd></dl>"></i> | 79 | <i class="icon-info-sign" title="<strong>Toaster version information</strong>" data-content="<dl><dt>Branch</dt><dd>{{TOASTER_BRANCH}}</dd><dt>Revision</dt><dd>{{TOASTER_REVISION}}</dd></dl>"></i> |
80 | {% endif %} | 80 | {% endif %} |
81 | </span> | 81 | </span> |
82 | <ul class="nav"> | 82 | <ul class="nav"> |
83 | <li {% if "builds" in request.path %} | 83 | <li {% if "builds" in request.path %} |
84 | class="active" | 84 | class="active" |
85 | {% endif %}> | 85 | {% endif %}> |
86 | <a href="{% url 'all-builds' %}"> | 86 | <a href="{% url 'all-builds' %}"> |
87 | <i class="icon-tasks"></i> | 87 | <i class="icon-tasks"></i> |
88 | All builds | 88 | All builds |
89 | </a> | 89 | </a> |
90 | </li> | 90 | </li> |
91 | <li {% if "projects" in request.path %} | 91 | <li {% if "projects" in request.path %} |
92 | class="active" | 92 | class="active" |
93 | {% endif %}> | 93 | {% endif %}> |
94 | <a href="{% url 'all-projects' %}"> | 94 | <a href="{% url 'all-projects' %}"> |
95 | <i class="icon-folder-open"></i> | 95 | <i class="icon-folder-open"></i> |
96 | All projects | 96 | All projects |
97 | </a> | 97 | </a> |
98 | </li> </ul> | 98 | </li> </ul> |
99 | <a class="pull-right manual" target="_blank" href="http://www.yoctoproject.org/docs/latest/toaster-manual/toaster-manual.html"> | 99 | <a class="pull-right manual" target="_blank" href="http://www.yoctoproject.org/docs/latest/toaster-manual/toaster-manual.html"> |
100 | <i class="icon-book"></i> | 100 | <i class="icon-book"></i> |
101 | Toaster manual | 101 | Toaster manual |
102 | </a> | 102 | </a> |
103 | <div class="btn-group pull-right"> | 103 | <div class="btn-group pull-right"> |
104 | <a class="btn" id="new-project-button" href="{% url 'newproject' %}">New project</a> | 104 | <a class="btn" id="new-project-button" href="{% url 'newproject' %}">New project</a> |
105 | </div> | 105 | </div> |
106 | <!-- New build popover --> | 106 | <!-- New build popover --> |
107 | <div class="btn-group pull-right" id="new-build-button" style="display:none"> | 107 | <div class="btn-group pull-right" id="new-build-button" style="display:none"> |
108 | <button class="btn dropdown-toggle" data-toggle="dropdown"> | 108 | <button class="btn dropdown-toggle" data-toggle="dropdown"> |
109 | New build | 109 | New build |
110 | <i class="icon-caret-down"></i> | 110 | <i class="icon-caret-down"></i> |
111 | </button> | 111 | </button> |
112 | <ul class="dropdown-menu new-build multi-select"> | 112 | <ul class="dropdown-menu new-build multi-select"> |
113 | <li> | 113 | <li> |
114 | <h3>New build</h3> | 114 | <h3>New build</h3> |
115 | <h6>Project:</h6> | 115 | <h6>Project:</h6> |
116 | <span id="project"> | 116 | <span id="project"> |
117 | {% if project.id %} | 117 | {% if project.id %} |
118 | <a class="lead" href="{% url 'project' project.id %}">{{project.name}}</a> | 118 | <a class="lead" href="{% url 'project' project.id %}">{{project.name}}</a> |
119 | <i class="icon-pencil"></i> | 119 | <i class="icon-pencil"></i> |
120 | {% endif %} | 120 | {% endif %} |
121 | </span> | 121 | </span> |
122 | <form id="change-project-form" style="display:none;"> | 122 | <form id="change-project-form" style="display:none;"> |
123 | <div class="input-append"> | 123 | <div class="input-append"> |
124 | <input type="text" class="input-medium" id="project-name-input" placeholder="Type a project name" autocomplete="off" data-minLength="1" data-autocomplete="off" data-provide="typeahead"/> | 124 | <input type="text" class="input-medium" id="project-name-input" placeholder="Type a project name" autocomplete="off" data-minLength="1" data-autocomplete="off" data-provide="typeahead"/> |
125 | <button id="save-project-button" class="btn" type="button">Save</button> | 125 | <button id="save-project-button" class="btn" type="button">Save</button> |
126 | <a href="#" id="cancel-change-project" class="btn btn-link" style="display: none">Cancel</a> | 126 | <a href="#" id="cancel-change-project" class="btn btn-link" style="display: none">Cancel</a> |
127 | </div> | 127 | </div> |
128 | <p><a id="view-all-projects" href="{% url 'all-projects' %}">View all projects</a></p> | 128 | <p><a id="view-all-projects" href="{% url 'all-projects' %}">View all projects</a></p> |
129 | </form> | 129 | </form> |
130 | </li> | 130 | </li> |
131 | <li style="display: none"> | 131 | <li style="display: none"> |
132 | This project's configuration is incomplete,<br/>so you cannot run builds.<br/> | 132 | This project's configuration is incomplete,<br/>so you cannot run builds.<br/> |
133 | <p><a href="{% if project.id %}{% url 'project' project.id %}{% endif %}">View project configuration</a></p> | 133 | <p><a href="{% if project.id %}{% url 'project' project.id %}{% endif %}">View project configuration</a></p> |
134 | </li> | 134 | </li> |
135 | <li id="targets-form"> | 135 | <li id="targets-form"> |
136 | <h6>Recipe(s):</h6> | 136 | <h6>Recipe(s):</h6> |
137 | <form> | 137 | <form> |
138 | <input type="text" class="input-xlarge build-target-input" placeholder="Type a recipe name" autocomplete="off" data-minLength="1" data-autocomplete="off" data-provide="typeahead" disabled/> | 138 | <input type="text" class="input-xlarge build-target-input" placeholder="Type a recipe name" autocomplete="off" data-minLength="1" data-autocomplete="off" data-provide="typeahead" disabled/> |
139 | <div> | 139 | <div> |
140 | <button class="btn btn-primary" id="build-button" disabled>Build</button> | 140 | <button class="btn btn-primary" id="build-button" disabled>Build</button> |
141 | </div> | 141 | </div> |
142 | </form> | 142 | </form> |
143 | </li> | 143 | </li> |
144 | </ul> | 144 | </ul> |
145 | </div> | 145 | </div> |
146 | 146 | ||
147 | 147 | ||
148 | </div> | 148 | </div> |