|
9 | 9 | <div class="col-md-6 col-sm-6 header-namespace"> |
10 | 10 | <span class="cursor-pointer" |
11 | 11 | data-toggle="collapse" data-target="#BODY{{namespace.id}}" aria-expanded="false" |
12 | | - ng-click="namespace.displayControl.show = !namespace.displayControl.show"> |
| 12 | + ng-click="namespace.displayControl.show = !namespace.displayControl.show"> |
13 | 13 | <span class="glyphicon glyphicon-triangle-bottom small" |
14 | | - ng-show="namespace.displayControl.show"></span> |
| 14 | + ng-show="namespace.displayControl.show"></span> |
15 | 15 | <span class="glyphicon glyphicon-triangle-top small" |
16 | | - ng-show="!namespace.displayControl.show"></span> |
| 16 | + ng-show="!namespace.displayControl.show"></span> |
17 | 17 | <b class="namespace-name" ng-bind="namespace.viewName" |
18 | 18 | data-tooltip="tooltip" data-placement="bottom" title="点击展开/收缩Namespace"></b> |
19 | 19 |
|
|
75 | 75 | </a> |
76 | 76 |
|
77 | 77 | <div class="btn-group" |
78 | | - ng-show="namespace.hasModifyPermission || namespace.hasReleasePermission || hasAssignUserPermission"> |
| 78 | + ng-show="namespace.hasModifyPermission || namespace.hasReleasePermission || hasAssignUserPermission"> |
79 | 79 | <button type="button" class="btn btn-default btn-sm dropdown-toggle" |
80 | 80 | data-toggle="dropdown" |
81 | 81 | aria-haspopup="true" aria-expanded="false"> |
|
129 | 129 | </ul> |
130 | 130 | </div> |
131 | 131 | <div class="col-md-6 col-sm-6 text-right"> |
132 | | - <a class="clipboard" |
133 | | - data-clipboard-text="{{namespace.text}}" |
134 | | - data-tooltip="tooltip" data-placement="bottom" title="复制文本" |
135 | | - ng-show="!namespace.isTextEditing && namespace.viewType == 'text' && namespace.hasModifyPermission"> |
136 | | - <img src="img/copy.png" class="ns_btn"> |
137 | | - </a> |
| 132 | + <img src="img/copy.png" class="ns_btn clipboard cursor-pointer" |
| 133 | + data-clipboard-text="{{namespace.text}}" |
| 134 | + data-tooltip="tooltip" data-placement="bottom" title="复制文本" |
| 135 | + ng-show="!namespace.isTextEditing && namespace.viewType == 'text' && namespace.hasModifyPermission"> |
138 | 136 | |
139 | | - <a data-tooltip="tooltip" data-placement="bottom" title="取消修改" |
140 | | - ng-show="namespace.isTextEditing && namespace.viewType == 'text'" |
141 | | - ng-click="toggleTextEditStatus(namespace)"> |
142 | | - <img src="img/cancel.png" class="ns_btn"> |
143 | | - </a> |
144 | | - <a data-tooltip="tooltip" data-placement="bottom" title="修改配置" |
145 | | - ng-show="!namespace.isTextEditing && namespace.viewType == 'text' && namespace.hasModifyPermission" |
146 | | - ng-click="toggleTextEditStatus(namespace)"> |
147 | | - <img src="img/edit.png" class="ns_btn"> |
148 | | - </a> |
| 137 | + <img src="img/cancel.png" class="ns_btn cursor-pointer" |
| 138 | + data-tooltip="tooltip" data-placement="bottom" title="取消修改" |
| 139 | + ng-show="namespace.isTextEditing && namespace.viewType == 'text'" |
| 140 | + ng-click="toggleTextEditStatus(namespace)"> |
| 141 | + <img src="img/edit.png" class="ns_btn cursor-pointer" |
| 142 | + data-tooltip="tooltip" data-placement="bottom" title="修改配置" |
| 143 | + ng-show="!namespace.isTextEditing && namespace.viewType == 'text' && namespace.hasModifyPermission" |
| 144 | + ng-click="toggleTextEditStatus(namespace)"> |
149 | 145 |
|
150 | 146 | |
151 | | - <a data-tooltip="tooltip" data-placement="bottom" title="提交修改" |
152 | | - data-toggle="modal" data-target="#commitModal" |
153 | | - ng-show="namespace.isTextEditing && namespace.viewType == 'text'" |
154 | | - ng-click="modifyByText(namespace)"> |
155 | | - <img src="img/submit.png" class="ns_btn"> |
156 | | - </a> |
| 147 | + <img src="img/submit.png" class="ns_btn cursor-pointer" |
| 148 | + data-tooltip="tooltip" data-placement="bottom" title="提交修改" |
| 149 | + data-toggle="modal" data-target="#commitModal" |
| 150 | + ng-show="namespace.isTextEditing && namespace.viewType == 'text'" |
| 151 | + ng-click="modifyByText(namespace)"> |
157 | 152 |
|
158 | 153 | <button type="button" class="btn btn-default btn-sm" |
159 | 154 | data-tooltip="tooltip" data-placement="bottom" title="按Key过滤配置" |
|
0 commit comments