Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
凌波微步_大先生
dashboard
提交
c2657ba9
D
dashboard
项目概览
凌波微步_大先生
/
dashboard
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dashboard
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
c2657ba9
编写于
1月 28, 2016
作者:
P
Piotr Bryk
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'master' into use-heapster-inside-cluster
上级
eb50b550
f668a44f
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
25 addition
and
19 deletion
+25
-19
.sass-lint.yml
.sass-lint.yml
+1
-1
src/app/frontend/_variables.scss
src/app/frontend/_variables.scss
+2
-0
src/app/frontend/deploy/createnamespace.html
src/app/frontend/deploy/createnamespace.html
+4
-4
src/app/frontend/replicasetdetail/deletereplicaset.html
src/app/frontend/replicasetdetail/deletereplicaset.html
+5
-5
src/app/frontend/replicasetdetail/replicasetdetail.html
src/app/frontend/replicasetdetail/replicasetdetail.html
+0
-3
src/app/frontend/replicasetdetail/updatereplicas.html
src/app/frontend/replicasetdetail/updatereplicas.html
+6
-6
src/app/frontend/replicasetlist/replicasetlist.scss
src/app/frontend/replicasetlist/replicasetlist.scss
+7
-0
未找到文件。
.sass-lint.yml
浏览文件 @
c2657ba9
...
...
@@ -77,7 +77,7 @@ rules:
hex-notation
:
2
indentation
:
2
leading-zero
:
2
nesting-depth
:
2
nesting-depth
:
3
property-sort-order
:
2
quotes
:
2
shorthand-values
:
2
...
...
src/app/frontend/_variables.scss
浏览文件 @
c2657ba9
...
...
@@ -28,10 +28,12 @@ $caption-font-size-base: rem(1.2) !default;
$toolbar-height-size-base
:
rem
(
6
.4
)
!
default
;
$primary
:
#326de6
;
$secondary
:
#f51200
;
$warning
:
#ffa500
;
$delicate
:
#aaa
;
$muted
:
#888
;
$hover-primary
:
#1254df
;
$hover-secondary
:
#ff1c19
;
$body
:
#eee
;
$emphasis
:
#000
;
$content-background
:
#fff
;
...
...
src/app/frontend/deploy/createnamespace.html
浏览文件 @
c2657ba9
...
...
@@ -14,10 +14,10 @@ See the License for the specific language governing permissions and
limitations under the License.
-->
<md-dialog
aria-label=
"Create a new namespace"
layout=
"column"
layout-padding
>
<md-content
layout-padding
>
<md-dialog
aria-label=
"Create a new namespace"
layout=
"column"
>
<md-
dialog-
content
layout-padding
>
<h4
class=
"md-title"
>
Create a new namespace
</h4>
<
p>
The new namespace will be added to the cluster.
</p
>
<
div>
The new namespace will be added to the cluster.
</div
>
<!-- TODO(maciaszczykm): Missing detailed cluster info. -->
<form
name=
"ctrl.namespaceForm"
ng-submit=
"ctrl.createNamespace()"
novalidate
>
...
...
@@ -38,5 +38,5 @@ limitations under the License.
<md-button
ng-click=
"ctrl.cancel()"
>
Cancel
</md-button>
</md-dialog-actions>
</form>
</md-content>
</md-
dialog-
content>
</md-dialog>
src/app/frontend/replicasetdetail/deletereplicaset.html
浏览文件 @
c2657ba9
...
...
@@ -14,16 +14,16 @@ See the License for the specific language governing permissions and
limitations under the License.
-->
<md-dialog
aria-label=
"Delete Replica Set"
layout=
"column"
layout-padding
>
<md-content
layout-padding
>
<md-dialog
aria-label=
"Delete Replica Set"
layout=
"column"
>
<md-
dialog-
content
layout-padding
>
<h4
class=
"md-title"
>
Delete Replica Set
</h4>
<
p
>
<
div
>
Delete replica set {{::ctrl.replicaSet}} in namespace {{::ctrl.namespace}}.
<br>
Pods managed by the replica set will be also deleted.
</
p
>
</
div
>
<md-dialog-actions>
<md-button
class=
"md-primary"
ng-click=
"ctrl.cancel()"
>
Cancel
</md-button>
<md-button
class=
"md-primary"
ng-click=
"ctrl.remove()"
>
Delete
</md-button>
</md-dialog-actions>
</md-content>
</md-
dialog-
content>
</md-dialog>
src/app/frontend/replicasetdetail/replicasetdetail.html
浏览文件 @
c2657ba9
...
...
@@ -28,9 +28,6 @@ limitations under the License.
</div>
</div>
<div
flex
layout=
"column"
class=
"kd-replicasetdetail-sidebar-item"
>
<span
class=
"kd-replicasetdetail-sidebar-title kd-replicasetdetail-sidebar-info"
>
Replica Set
</span>
<div
layout=
"row"
flex=
"nogrow"
>
<md-button
class=
"md-primary"
ng-click=
"ctrl.handleDeleteReplicaSetDialog()"
>
<md-icon
class=
"material-icons"
>
delete
</md-icon>
...
...
src/app/frontend/replicasetdetail/updatereplicas.html
浏览文件 @
c2657ba9
...
...
@@ -14,16 +14,16 @@ See the License for the specific language governing permissions and
limitations under the License.
-->
<md-dialog
aria-label=
"Create a new namespace"
layout=
"column"
layout-padding
>
<md-content
layout-padding
>
<md-dialog
aria-label=
"Create a new namespace"
layout=
"column"
>
<md-
dialog-
content
layout-padding
>
<h4
class=
"md-title"
>
Set desired number of pods
</h4>
<
p>
Replica set {{ctrl.replicaSet}} will be updated to reflect the desired count.
<br/>
<
div>
Replica set {{ctrl.replicaSet}} will be updated to reflect the desired count.
<br/>
<span
class=
"kd-updatereplicas-pod-status"
>
Current status: {{ctrl.currentPods}}
created, {{ctrl.desiredPods}} desired
</span>
</
p
>
</
div
>
<form
ng-submit=
"ctrl.updateReplicas()"
>
<md-input-container
class=
"md-block"
>
<label>
Number of pods
</label>
...
...
@@ -34,5 +34,5 @@ limitations under the License.
<md-button
class=
"md-primary"
type=
"submit"
>
OK
</md-button>
</md-dialog-actions>
</form>
</md-content>
</md-
dialog-
content>
</md-dialog>
src/app/frontend/replicasetlist/replicasetlist.scss
浏览文件 @
c2657ba9
...
...
@@ -16,8 +16,15 @@
.md-fab
{
&
.kd-replicaset-deploy
{
background-color
:
$secondary
;
position
:
fixed
;
right
:
0
;
top
:
$toolbar-height-size-base
-
$baseline-grid
*
3
.5
-
$baseline-grid
;
&
:not
([
disabled
])
{
&
:hover
{
background-color
:
$hover-secondary
;
}
}
}
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录