summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorMihail Stanciu <stanciux.mihail@intel.com>2015-08-12 15:37:55 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-08-17 08:48:28 +0100
commit645435a645a0817cec94ce1433eb74fbe7388416 (patch)
tree1bebc6f8c3a115603792036abaf3271f2eb1ff13 /bitbake
parent91d8f88bb77e37cb3b4de0c7cf280cbb746e6c4b (diff)
downloadpoky-645435a645a0817cec94ce1433eb74fbe7388416.tar.gz
bitbake: toastergui: Added IDs to elements used in testing
Added static IDs to elements commonly used in the testing process so that future UI modifications would not break tests as easily. [YOCTO #7380] (Bitbake rev: 04e896d7fb170271fb09dae5c2a42acb4b68f513) Signed-off-by: Mihail Stanciu <stanciux.mihail@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')
-rw-r--r--bitbake/lib/toaster/toastergui/templates/basetable_top.html4
-rw-r--r--bitbake/lib/toaster/toastergui/templates/newproject.html2
-rw-r--r--bitbake/lib/toaster/toastergui/templates/projecttopbar.html4
3 files changed, 5 insertions, 5 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/basetable_top.html b/bitbake/lib/toaster/toastergui/templates/basetable_top.html
index d4bac36d77..33ede66872 100644
--- a/bitbake/lib/toaster/toastergui/templates/basetable_top.html
+++ b/bitbake/lib/toaster/toastergui/templates/basetable_top.html
@@ -165,12 +165,12 @@
165 <input class="input-xxlarge" id="search" name="search" type="text" placeholder="Search {%if object_search_display %}{{object_search_display}}{%else%}{{objectname}}{%endif%}" value="{%if request.GET.search %}{{request.GET.search}}{% endif %}"/>{% if request.GET.search %}<a href="javascript:$('#search').val('');searchform.submit()" class="add-on btn" tabindex="-1"><i class="icon-remove"></i></a>{%endif%} 165 <input class="input-xxlarge" id="search" name="search" type="text" placeholder="Search {%if object_search_display %}{{object_search_display}}{%else%}{{objectname}}{%endif%}" value="{%if request.GET.search %}{{request.GET.search}}{% endif %}"/>{% if request.GET.search %}<a href="javascript:$('#search').val('');searchform.submit()" class="add-on btn" tabindex="-1"><i class="icon-remove"></i></a>{%endif%}
166 <input type="hidden" name="orderby" value="{{request.GET.orderby}}"> 166 <input type="hidden" name="orderby" value="{{request.GET.orderby}}">
167 <input type="hidden" name="page" value="1"> 167 <input type="hidden" name="page" value="1">
168 <button class="btn" type="submit" value="Search">Search</button> 168 <button class="btn" id="search-button" type="submit" value="Search">Search</button>
169 </form> 169 </form>
170 <div class="pull-right"> 170 <div class="pull-right">
171{% if tablecols %} 171{% if tablecols %}
172 <div class="btn-group"> 172 <div class="btn-group">
173 <button class="btn dropdown-toggle" data-toggle="dropdown">Edit columns 173 <button id="edit-columns-button" class="btn dropdown-toggle" data-toggle="dropdown">Edit columns
174 <span class="caret"></span> 174 <span class="caret"></span>
175 </button> 175 </button>
176<!-- 176<!--
diff --git a/bitbake/lib/toaster/toastergui/templates/newproject.html b/bitbake/lib/toaster/toastergui/templates/newproject.html
index 745b79b1a1..997390bcf0 100644
--- a/bitbake/lib/toaster/toastergui/templates/newproject.html
+++ b/bitbake/lib/toaster/toastergui/templates/newproject.html
@@ -59,7 +59,7 @@
59 {% endif %} 59 {% endif %}
60 60
61 <div class="form-actions"> 61 <div class="form-actions">
62 <input type="submit" class="btn btn-primary btn-large" value="Create project"/> 62 <input type="submit" id="create-project-button" class="btn btn-primary btn-large" value="Create project"/>
63 <span class="help-inline" style="vertical-align:middle;">To create a project, you need to enter a project name</span> 63 <span class="help-inline" style="vertical-align:middle;">To create a project, you need to enter a project name</span>
64 </div> 64 </div>
65 </form> 65 </form>
diff --git a/bitbake/lib/toaster/toastergui/templates/projecttopbar.html b/bitbake/lib/toaster/toastergui/templates/projecttopbar.html
index 220ca7202b..7412e4c2b4 100644
--- a/bitbake/lib/toaster/toastergui/templates/projecttopbar.html
+++ b/bitbake/lib/toaster/toastergui/templates/projecttopbar.html
@@ -47,8 +47,8 @@
47 </i> 47 </i>
48 <div class="input-append"> 48 <div class="input-append">
49 <form class="form-inline" style="margin-bottom: 0"> 49 <form class="form-inline" style="margin-bottom: 0">
50 <input type="text" class="input-xlarge input-lg build-target-input" placeholder="Type the recipe you want to build" autocomplete="off" disabled> 50 <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>
51 <button class="btn btn-primary btn-large build-button" data-project-id="{{project.id}}" disabled>Build 51 <button id="build-button" class="btn btn-primary btn-large build-button" data-project-id="{{project.id}}" disabled>Build
52 </button> 52 </button>
53 </form> 53 </form>
54 </div> 54 </div>