Add tooltips to know which projects are showed

This commit adds tooltips to the homepage to know which projects are
showed with the filter. And also, this adds 'with regex' words to the
search boxes. It's better to know the function of the boxes for users.

Change-Id: I56a962e93871782a8752ef71f0f2621386eaae19
Closes-Bug: #1577461
This commit is contained in:
Masayuki Igawa 2016-05-09 15:00:54 +09:00
parent 1f00cfe937
commit 692ea48b3e
4 changed files with 10 additions and 8 deletions

View File

@ -81,7 +81,7 @@
<div class="input-group-addon"><i class="fa fa-search"></i></div>
<input type="text"
class="form-control"
placeholder="Search for job"
placeholder="Search for job with regex"
ng-model="groupedRuns.searchJob"
ng-change="groupedRuns.onSearchChange()">
</div>

View File

@ -27,10 +27,11 @@
<div class="input-group">
<div class="input-group-addon"><i class="fa fa-search"></i></div>
<input type="text" class="form-control"
placeholder="Search for {{ home.groupKey }}"
placeholder="Search for {{ home.groupKey }} with regex"
ng-model="home.searchProject"
ng-model-options="{debounce: 250}"
ng-change="home.onSearchChange()">
ng-change="home.onSearchChange()"
uib-tooltip="You can see {{home.projects.length}} {{ home.groupKey }}(s). Details are at the bottom.">
</div>
</div>
<div class="panel-body">
@ -44,10 +45,11 @@
<div class="input-group">
<div class="input-group-addon"><i class="fa fa-search"></i></div>
<input type="text" class="form-control"
placeholder="Search for {{ home.groupKey }}"
placeholder="Search for {{ home.groupKey }} with regex"
ng-model="home.searchProject"
ng-model-options="{debounce: 250}"
ng-change="home.onSearchChange()">
ng-change="home.onSearchChange()"
uib-tooltip="You can see {{home.projects.length}} {{ home.groupKey }}(s). Details are at the bottom.">
</div>
</div>
<div class="panel-body">
@ -104,7 +106,7 @@
<div class="input-group">
<div class="input-group-addon"><i class="fa fa-search"></i></div>
<input type="text" class="form-control"
placeholder="Search for {{ home.groupKey }}"
placeholder="Search for {{ home.groupKey }} with regex"
ng-model="home.searchProject"
ng-model-options="{debounce: 250}"
ng-change="home.onSearchChange()">

View File

@ -80,7 +80,7 @@
<div class="input-group-addon"><i class="fa fa-search"></i></div>
<input type="text"
class="form-control"
placeholder="Search for test"
placeholder="Search for test with regex"
ng-model="job.searchTest"
ng-change="job.onSearchChange()">
</div>

View File

@ -20,7 +20,7 @@
<div class="input-group">
<div class="input-group-addon"><i class="fa fa-search"></i></div>
<input type="text" class="form-control"
placeholder="Search for prefix"
placeholder="Search for prefix with regex"
ng-model="tests.filter"
ng-model-options="{debounce: 250}">
</div>