Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
apollo
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
openSource
apollo
Commits
093d5892
Commit
093d5892
authored
Feb 16, 2017
by
Jason Song
Committed by
GitHub
Feb 16, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #546 from lepdou/optimize_ui
remove text modal operate button 'a' tag
parents
10b9cb71
b084ef2d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
26 deletions
+21
-26
namespace-panel-master-tab.html
...es/static/views/component/namespace-panel-master-tab.html
+21
-26
No files found.
apollo-portal/src/main/resources/static/views/component/namespace-panel-master-tab.html
View file @
093d5892
...
...
@@ -9,11 +9,11 @@
<div
class=
"col-md-6 col-sm-6 header-namespace"
>
<span
class=
"cursor-pointer"
data-toggle=
"collapse"
data-target=
"#BODY{{namespace.id}}"
aria-expanded=
"false"
ng-click=
"namespace.displayControl.show = !namespace.displayControl.show"
>
ng-click=
"namespace.displayControl.show = !namespace.displayControl.show"
>
<span
class=
"glyphicon glyphicon-triangle-bottom small"
ng-show=
"namespace.displayControl.show"
></span>
ng-show=
"namespace.displayControl.show"
></span>
<span
class=
"glyphicon glyphicon-triangle-top small"
ng-show=
"!namespace.displayControl.show"
></span>
ng-show=
"!namespace.displayControl.show"
></span>
<b
class=
"namespace-name"
ng-bind=
"namespace.viewName"
data-tooltip=
"tooltip"
data-placement=
"bottom"
title=
"点击展开/收缩Namespace"
></b>
...
...
@@ -75,7 +75,7 @@
</a>
<div
class=
"btn-group"
ng-show=
"namespace.hasModifyPermission || namespace.hasReleasePermission || hasAssignUserPermission"
>
ng-show=
"namespace.hasModifyPermission || namespace.hasReleasePermission || hasAssignUserPermission"
>
<button
type=
"button"
class=
"btn btn-default btn-sm dropdown-toggle"
data-toggle=
"dropdown"
aria-haspopup=
"true"
aria-expanded=
"false"
>
...
...
@@ -129,31 +129,26 @@
</ul>
</div>
<div
class=
"col-md-6 col-sm-6 text-right"
>
<a
class=
"clipboard"
data-clipboard-text=
"{{namespace.text}}"
data-tooltip=
"tooltip"
data-placement=
"bottom"
title=
"复制文本"
ng-show=
"!namespace.isTextEditing && namespace.viewType == 'text' && namespace.hasModifyPermission"
>
<img
src=
"img/copy.png"
class=
"ns_btn"
>
</a>
<img
src=
"img/copy.png"
class=
"ns_btn clipboard cursor-pointer"
data-clipboard-text=
"{{namespace.text}}"
data-tooltip=
"tooltip"
data-placement=
"bottom"
title=
"复制文本"
ng-show=
"!namespace.isTextEditing && namespace.viewType == 'text' && namespace.hasModifyPermission"
>
<a
data-tooltip=
"tooltip"
data-placement=
"bottom"
title=
"取消修改"
ng-show=
"namespace.isTextEditing && namespace.viewType == 'text'"
ng-click=
"toggleTextEditStatus(namespace)"
>
<img
src=
"img/cancel.png"
class=
"ns_btn"
>
</a>
<a
data-tooltip=
"tooltip"
data-placement=
"bottom"
title=
"修改配置"
ng-show=
"!namespace.isTextEditing && namespace.viewType == 'text' && namespace.hasModifyPermission"
ng-click=
"toggleTextEditStatus(namespace)"
>
<img
src=
"img/edit.png"
class=
"ns_btn"
>
</a>
<img
src=
"img/cancel.png"
class=
"ns_btn cursor-pointer"
data-tooltip=
"tooltip"
data-placement=
"bottom"
title=
"取消修改"
ng-show=
"namespace.isTextEditing && namespace.viewType == 'text'"
ng-click=
"toggleTextEditStatus(namespace)"
>
<img
src=
"img/edit.png"
class=
"ns_btn cursor-pointer"
data-tooltip=
"tooltip"
data-placement=
"bottom"
title=
"修改配置"
ng-show=
"!namespace.isTextEditing && namespace.viewType == 'text' && namespace.hasModifyPermission"
ng-click=
"toggleTextEditStatus(namespace)"
>
<a
data-tooltip=
"tooltip"
data-placement=
"bottom"
title=
"提交修改"
data-toggle=
"modal"
data-target=
"#commitModal"
ng-show=
"namespace.isTextEditing && namespace.viewType == 'text'"
ng-click=
"modifyByText(namespace)"
>
<img
src=
"img/submit.png"
class=
"ns_btn"
>
</a>
<img
src=
"img/submit.png"
class=
"ns_btn cursor-pointer"
data-tooltip=
"tooltip"
data-placement=
"bottom"
title=
"提交修改"
data-toggle=
"modal"
data-target=
"#commitModal"
ng-show=
"namespace.isTextEditing && namespace.viewType == 'text'"
ng-click=
"modifyByText(namespace)"
>
<button
type=
"button"
class=
"btn btn-default btn-sm"
data-tooltip=
"tooltip"
data-placement=
"bottom"
title=
"按Key过滤配置"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment