Skip to content

Commit

Permalink
给一些图标添加提示信息
Browse files Browse the repository at this point in the history
  • Loading branch information
liying2008 committed Jun 29, 2019
1 parent c2e2ff0 commit f8ef272
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 11 deletions.
10 changes: 7 additions & 3 deletions computer.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,12 @@
<li role="presentation"><a href="monitor.html">{{strings.monitor}}</a></li>
<li role="presentation"><a href="params.html">{{strings.params}}</a></li>
<li role="presentation" class="active"><a href="computer.html">{{strings.computer}}</a></li>
<li role="presentation"><a href="#" @click="openJobList"><i class="glyphicon glyphicon-list"></i></a></li>
<li role="presentation"><a href="#" @click="openOptions"><i class="glyphicon glyphicon-cog"></i></a></li>
<li role="presentation" title="Open Job Statistics">
<a href="#" @click="openJobList"><i class="glyphicon glyphicon-list"></i></a>
</li>
<li role="presentation" title="Open Options"><a href="#" @click="openOptions">
<i class="glyphicon glyphicon-cog"></i></a>
</li>
</ul>

<div class="info-block">
Expand All @@ -41,7 +45,7 @@
<h4>
<span class="no-wrap">{{decodeURIComponent(jenkinsUrl)}}</span>
<br>
<button type="button" class="small btn btn-link" style="padding: unset"
<button type="button" class="small btn btn-link" style="padding: unset; line-height: 1.1"
@click="openNodesManager(jenkinsUrl)">
<span class="no-wrap">{{strings.openManagerPage}}</span>
</button>
Expand Down
8 changes: 6 additions & 2 deletions monitor.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,12 @@
<li role="presentation" class="active"><a href="monitor.html">{{strings.monitor}}</a></li>
<li role="presentation"><a href="params.html">{{strings.params}}</a></li>
<li role="presentation"><a href="computer.html">{{strings.computer}}</a></li>
<li role="presentation"><a href="#" @click="openJobList"><i class="glyphicon glyphicon-list"></i></a></li>
<li role="presentation"><a href="#" @click="openOptions"><i class="glyphicon glyphicon-cog"></i></a></li>
<li role="presentation" title="Open Job Statistics"><a href="#" @click="openJobList">
<i class="glyphicon glyphicon-list"></i></a>
</li>
<li role="presentation" title="Open Options"><a href="#" @click="openOptions">
<i class="glyphicon glyphicon-cog"></i></a>
</li>
</ul>

<form id="url-form" class="info-block" ref="formUrl" name="url-form" @submit.prevent="addJenkinsUrl">
Expand Down
20 changes: 14 additions & 6 deletions params.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,12 @@
<li role="presentation"><a href="monitor.html">{{strings.monitor}}</a></li>
<li role="presentation" class="active"><a href="params.html">{{strings.params}}</a></li>
<li role="presentation"><a href="computer.html">{{strings.computer}}</a></li>
<li role="presentation"><a href="#" @click="openJobList"><i class="glyphicon glyphicon-list"></i></a></li>
<li role="presentation"><a href="#" @click="openOptions"><i class="glyphicon glyphicon-cog"></i></a></li>
<li role="presentation" title="Open Job Statistics"><a href="#" @click="openJobList">
<i class="glyphicon glyphicon-list"></i></a>
</li>
<li role="presentation" title="Open Options"><a href="#" @click="openOptions">
<i class="glyphicon glyphicon-cog"></i></a>
</li>
</ul>
<ul class="list-group info-block" v-show="fullDisplayName">
<li class="list-group-item">
Expand Down Expand Up @@ -48,9 +52,11 @@
<div class="col-xs-6"><i class="glyphicon glyphicon-time"></i>
<span style="margin-left: 8px">{{buildTime}}</span></div>
<div class="col-xs-6" v-show="builtOn">{{strings.runLabel_}}<span ref="builtOnSpan">{{builtOn}}</span>
<a style="margin-left: 8px;cursor: pointer" class="glyphicon glyphicon-duplicate" @click="copyBuiltOn"></a>
<a style="margin-left: 8px;cursor: pointer" class="glyphicon glyphicon-duplicate" @click="copyBuiltOn"
title="Copy"></a>
<span ref="copiedSpan"
style="color: #3c763d;font-size:smaller;margin-left: 10px;visibility: hidden">{{strings.copied}}</span>
style="color: #3c763d;font-size:smaller;margin-left: 10px;visibility: hidden">{{strings.copied}}
</span>
</div>
</div>
</div>
Expand All @@ -76,9 +82,11 @@
<!--Prev/Next/Rebuild Button-->
<div class="row" v-show="fullDisplayName">
<div class="btn-group col-xs-6" role="group" aria-label="prevOrNext">
<button type="button" class="btn btn-default" @click="prevBuild"><i class="glyphicon glyphicon-menu-left"></i>
<button type="button" class="btn btn-default" @click="prevBuild" title="Previous Build">
<i class="glyphicon glyphicon-menu-left"></i>
</button>
<button type="button" class="btn btn-default" @click="nextBuild"><i class="glyphicon glyphicon-menu-right"></i>
<button type="button" class="btn btn-default" @click="nextBuild" title="Next Build">
<i class="glyphicon glyphicon-menu-right"></i>
</button>
</div>
<div class="col-xs-6">
Expand Down

0 comments on commit f8ef272

Please sign in to comment.