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
9c0fe442
Commit
9c0fe442
authored
Sep 06, 2016
by
zhangle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugfix: nav search bar link
parent
5935296f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
11 deletions
+5
-11
directive.js
.../src/main/resources/static/scripts/directive/directive.js
+3
-6
nav.html
...lo-portal/src/main/resources/static/views/common/nav.html
+1
-4
namespace-panel.html
...ain/resources/static/views/component/namespace-panel.html
+1
-1
No files found.
apollo-portal/src/main/resources/static/scripts/directive/directive.js
View file @
9c0fe442
...
...
@@ -43,14 +43,11 @@ directive_module.directive('apollonav', function ($compile, $window, toastr, App
scope
.
jumpToConfigPage
=
function
()
{
if
(
selectedApp
.
appId
)
{
var
needReloadPage
=
false
;
if
(
$window
.
location
.
href
.
indexOf
(
"config.html"
)
>
-
1
)
{
needReloadPage
=
true
;
}
$window
.
location
.
href
=
'/config.html?#appid='
+
selectedApp
.
appId
;
if
(
needReloadPage
)
{
$window
.
location
.
hash
=
"appid="
+
selectedApp
.
appId
;
$window
.
location
.
reload
();
}
else
{
$window
.
location
.
href
=
'/config.html?#appid='
+
selectedApp
.
appId
;
}
}
};
...
...
apollo-portal/src/main/resources/static/views/common/nav.html
View file @
9c0fe442
...
...
@@ -4,15 +4,12 @@
<a
class=
"navbar-brand logo"
href=
"/"
></a>
</div>
<style>
</style>
<div
class=
"collapse navbar-collapse"
id=
"bs-example-navbar-collapse-1"
>
<ul
class=
"nav navbar-nav navbar-right"
>
<li>
<a
href=
"http://conf.ctripcorp.com/display/FRAM/Apollo"
target=
"_blank"
>
<span
class=
"glyphicon glyphicon-question-sign"
></span>
Help
<span
class=
"glyphicon glyphicon-question-sign"
></span>
帮助
</a>
</li>
...
...
apollo-portal/src/main/resources/static/views/component/namespace-panel.html
View file @
9c0fe442
...
...
@@ -31,7 +31,7 @@
</button>
<button
type=
"button"
class=
"btn btn-default btn-sm J_tableview_btn"
data-tooltip=
"tooltip"
data-placement=
"bottom"
title=
"回滚配置"
data-tooltip=
"tooltip"
data-placement=
"bottom"
title=
"回滚
已发布
配置"
ng-show=
"namespace.hasReleasePermission"
ng-click=
"preRollback(namespace)"
>
<img
src=
"img/rollback.png"
>
...
...
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