Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
wrr-cat
apollo
提交
94d583d9
apollo
项目概览
wrr-cat
/
apollo
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
apollo
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
94d583d9
编写于
5月 10, 2016
作者:
L
lepdou
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #183 from lepdou/namespace
pull search bar to right
上级
5e8881f9
47bf5b42
变更
2
显示空白变更内容
内联
并排
Showing
2 changed file
with
13 addition
and
12 deletion
+13
-12
apollo-portal/src/main/resources/static/scripts/directive.js
apollo-portal/src/main/resources/static/scripts/directive.js
+1
-1
apollo-portal/src/main/resources/static/views/common/nav.html
...lo-portal/src/main/resources/static/views/common/nav.html
+12
-11
未找到文件。
apollo-portal/src/main/resources/static/scripts/directive.js
浏览文件 @
94d583d9
...
@@ -70,7 +70,7 @@ directive_module.directive('apollonav', function ($compile, $window, AppService,
...
@@ -70,7 +70,7 @@ directive_module.directive('apollonav', function ($compile, $window, AppService,
scope
.
copyedApps
[
--
selectedAppIdx
].
selected
=
true
;
scope
.
copyedApps
[
--
selectedAppIdx
].
selected
=
true
;
}
}
}
else
if
(
event
.
keyCode
==
13
)
{
}
else
if
(
event
.
keyCode
==
13
)
{
if
(
scope
.
shouldShowAppList
){
if
(
scope
.
shouldShowAppList
&&
selectedAppIdx
>
-
1
){
select
(
scope
.
copyedApps
[
selectedAppIdx
]);
select
(
scope
.
copyedApps
[
selectedAppIdx
]);
event
.
preventDefault
();
event
.
preventDefault
();
}
else
{
}
else
{
...
...
apollo-portal/src/main/resources/static/views/common/nav.html
浏览文件 @
94d583d9
...
@@ -9,7 +9,17 @@
...
@@ -9,7 +9,17 @@
</style>
</style>
<div
class=
"collapse navbar-collapse"
id=
"bs-example-navbar-collapse-1"
>
<div
class=
"collapse navbar-collapse"
id=
"bs-example-navbar-collapse-1"
>
<form
class=
"navbar-form navbar-left form-inline"
role=
"search"
>
<ul
class=
"nav navbar-nav navbar-right"
>
<li
class=
"dropdown"
>
<a
href=
"#"
class=
"dropdown-toggle"
data-toggle=
"dropdown"
role=
"button"
aria-haspopup=
"true"
aria-expanded=
"false"
>
用户
<span
class=
"caret"
></span></a>
<ul
class=
"dropdown-menu"
>
<li><a
href=
"#"
>
退出
</a></li>
</ul>
</li>
</ul>
<form
class=
"navbar-form navbar-right form-inline"
role=
"search"
>
<div
class=
"form-group"
>
<div
class=
"form-group"
>
<input
type=
"text"
class=
"form-control search-input"
placeholder=
"应用ID/应用名"
style=
"width: 350px"
<input
type=
"text"
class=
"form-control search-input"
placeholder=
"应用ID/应用名"
style=
"width: 350px"
ng-model=
"searchKey"
ng-change=
"changeSearchKey()"
ng-focus=
"changeSearchKey()"
ng-model=
"searchKey"
ng-change=
"changeSearchKey()"
ng-focus=
"changeSearchKey()"
...
@@ -20,19 +30,10 @@
...
@@ -20,19 +30,10 @@
ng-click=
"selectApp(app)"
>
{{app.appId}} / {{app.name}}
ng-click=
"selectApp(app)"
>
{{app.appId}} / {{app.name}}
</div>
</div>
</div>
</div>
</div>
</div>
<button
type=
"submit"
class=
"btn btn-default"
ng-click=
"jumpToConfigPage()"
>
Go
</button>
<button
type=
"submit"
class=
"btn btn-default"
ng-click=
"jumpToConfigPage()"
>
Go
</button>
</form>
</form>
<ul
class=
"nav navbar-nav navbar-right"
>
<li
class=
"dropdown"
>
<a
href=
"#"
class=
"dropdown-toggle"
data-toggle=
"dropdown"
role=
"button"
aria-haspopup=
"true"
aria-expanded=
"false"
>
用户
<span
class=
"caret"
></span></a>
<ul
class=
"dropdown-menu"
>
<li><a
href=
"#"
>
退出
</a></li>
</ul>
</li>
</ul>
</div>
</div>
</div>
</div>
</nav>
</nav>
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录