Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
CAP
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
tsai
CAP
Commits
b57102d1
Commit
b57102d1
authored
Sep 11, 2017
by
yangxiaodong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add resource.
parent
d28f65ff
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
176 additions
and
149 deletions
+176
-149
cap.css
src/DotNetCore.CAP/Dashboard/Content/css/cap.css
+161
-149
Strings.Designer.cs
...DotNetCore.CAP/Dashboard/Content/resx/Strings.Designer.cs
+9
-0
Strings.resx
src/DotNetCore.CAP/Dashboard/Content/resx/Strings.resx
+3
-0
Strings.zh.resx
src/DotNetCore.CAP/Dashboard/Content/resx/Strings.zh.resx
+3
-0
No files found.
src/DotNetCore.CAP/Dashboard/Content/css/cap.css
View file @
b57102d1
...
@@ -48,11 +48,11 @@ body {
...
@@ -48,11 +48,11 @@ body {
color
:
#fff
;
color
:
#fff
;
}
}
.btn-death
:hover
{
.btn-death
:hover
{
background-color
:
#666
;
background-color
:
#666
;
border-color
:
#555
;
border-color
:
#555
;
color
:
#fff
;
color
:
#fff
;
}
}
.list-group
.list-group-item
.glyphicon
{
.list-group
.list-group-item
.glyphicon
{
margin-right
:
3px
;
margin-right
:
3px
;
...
@@ -82,8 +82,8 @@ body {
...
@@ -82,8 +82,8 @@ body {
}
}
a
:hover
.label-hover
{
a
:hover
.label-hover
{
background-color
:
#2a6496
!important
;
background-color
:
#2a6496
!important
;
color
:
#fff
!important
;
color
:
#fff
!important
;
}
}
.expander
{
.expander
{
...
@@ -108,16 +108,16 @@ a:hover .label-hover {
...
@@ -108,16 +108,16 @@ a:hover .label-hover {
text-align
:
right
;
text-align
:
right
;
}
}
.table
>
tbody
>
tr
.hover
:hover
>
td
,
.table
>
tbody
>
tr
.hover
:hover
>
th
{
.table
>
tbody
>
tr
.hover
:hover
>
td
,
.table
>
tbody
>
tr
.hover
:hover
>
th
{
background-color
:
#f9f9f9
;
background-color
:
#f9f9f9
;
}
}
.table
>
tbody
>
tr
.highlight
>
td
,
.table
>
tbody
>
tr
.highlight
>
th
{
.table
>
tbody
>
tr
.highlight
>
td
,
.table
>
tbody
>
tr
.highlight
>
th
{
background-color
:
#fcf8e3
;
background-color
:
#fcf8e3
;
border-color
:
#fbeed5
;
border-color
:
#fbeed5
;
}
}
.table
>
tbody
>
tr
.highlight
:hover
>
td
,
.table
>
tbody
>
tr
.highlight
:hover
>
th
{
.table
>
tbody
>
tr
.highlight
:hover
>
td
,
.table
>
tbody
>
tr
.highlight
:hover
>
th
{
background-color
:
#f6f2dd
;
background-color
:
#f6f2dd
;
border-color
:
#f5e8ce
;
border-color
:
#f5e8ce
;
}
}
...
@@ -138,10 +138,10 @@ a:hover .label-hover {
...
@@ -138,10 +138,10 @@ a:hover .label-hover {
color
:
#777
;
color
:
#777
;
}
}
#stats
a
.list-group-item
:hover
,
#stats
a
.list-group-item
:hover
,
#stats
a
.list-group-item
:focus
{
#stats
a
.list-group-item
:focus
{
color
:
#333
;
color
:
#333
;
}
}
#stats
.list-group-item.active
,
#stats
.list-group-item.active
,
#stats
.list-group-item.active
:hover
,
#stats
.list-group-item.active
:hover
,
...
@@ -162,14 +162,14 @@ a:hover .label-hover {
...
@@ -162,14 +162,14 @@ a:hover .label-hover {
color
:
#999
;
color
:
#999
;
}
}
.obsolete-data
pre
,
.obsolete-data
.label
{
.obsolete-data
pre
,
.obsolete-data
.label
{
background-color
:
#f5f5f5
;
background-color
:
#f5f5f5
;
}
}
.obsolete-data
.glyphicon-question-sign
{
.obsolete-data
.glyphicon-question-sign
{
font-size
:
80%
;
font-size
:
80%
;
color
:
#999
;
color
:
#999
;
}
}
.stack-trace
{
.stack-trace
{
padding
:
10px
;
padding
:
10px
;
...
@@ -209,9 +209,9 @@ a:hover .label-hover {
...
@@ -209,9 +209,9 @@ a:hover .label-hover {
color
:
#428bca
;
color
:
#428bca
;
}
}
.paginator
.btn.active
{
.paginator
.btn.active
{
color
:
#333
;
color
:
#333
;
}
}
/* Job Snippet styles */
/* Job Snippet styles */
...
@@ -225,16 +225,16 @@ a:hover .label-hover {
...
@@ -225,16 +225,16 @@ a:hover .label-hover {
background-color
:
#f5f5f5
;
background-color
:
#f5f5f5
;
}
}
.job-snippet
>
*
{
.job-snippet
>
*
{
display
:
table-cell
;
display
:
table-cell
;
vertical-align
:
top
;
vertical-align
:
top
;
}
}
.job-snippet-code
{
.job-snippet-code
{
vertical-align
:
top
;
vertical-align
:
top
;
}
}
.job-snippet-code
pre
{
.job-snippet-code
pre
{
border
:
none
;
border
:
none
;
margin
:
0
;
margin
:
0
;
background
:
inherit
;
background
:
inherit
;
...
@@ -242,65 +242,65 @@ a:hover .label-hover {
...
@@ -242,65 +242,65 @@ a:hover .label-hover {
-ms-border-radius
:
0
;
-ms-border-radius
:
0
;
border-radius
:
0
;
border-radius
:
0
;
font-size
:
14px
;
font-size
:
14px
;
}
}
.job-snippet-code
code
{
.job-snippet-code
code
{
display
:
block
;
display
:
block
;
color
:
black
;
color
:
black
;
}
}
.job-snippet-code
pre
.comment
{
.job-snippet-code
pre
.comment
{
color
:
rgb
(
0
,
128
,
0
);
color
:
rgb
(
0
,
128
,
0
);
}
}
.job-snippet-code
pre
.keyword
{
.job-snippet-code
pre
.keyword
{
color
:
rgb
(
0
,
0
,
255
);
color
:
rgb
(
0
,
0
,
255
);
}
}
.job-snippet-code
pre
.string
{
.job-snippet-code
pre
.string
{
color
:
rgb
(
163
,
21
,
21
);
color
:
rgb
(
163
,
21
,
21
);
}
}
.job-snippet-code
pre
.type
{
.job-snippet-code
pre
.type
{
color
:
rgb
(
43
,
145
,
175
);
color
:
rgb
(
43
,
145
,
175
);
}
}
.job-snippet-code
pre
.xmldoc
{
.job-snippet-code
pre
.xmldoc
{
color
:
rgb
(
128
,
128
,
128
);
color
:
rgb
(
128
,
128
,
128
);
}
}
.job-snippet-properties
{
.job-snippet-properties
{
max-width
:
200px
;
max-width
:
200px
;
padding-left
:
5px
;
padding-left
:
5px
;
}
}
.job-snippet-properties
dl
{
.job-snippet-properties
dl
{
margin
:
0
;
margin
:
0
;
}
}
.job-snippet-properties
dl
dt
{
.job-snippet-properties
dl
dt
{
color
:
#999
;
color
:
#999
;
text-shadow
:
0
1px
white
;
text-shadow
:
0
1px
white
;
font-weight
:
normal
;
font-weight
:
normal
;
}
}
.job-snippet-properties
dl
dd
{
.job-snippet-properties
dl
dd
{
margin-left
:
0
;
margin-left
:
0
;
margin-bottom
:
5px
;
margin-bottom
:
5px
;
}
}
.job-snippet-properties
pre
{
.job-snippet-properties
pre
{
background-color
:
white
;
background-color
:
white
;
-webkit-box-shadow
:
none
;
-webkit-box-shadow
:
none
;
-ms-box-shadow
:
none
;
-ms-box-shadow
:
none
;
padding
:
2px
4px
;
padding
:
2px
4px
;
border
:
none
;
border
:
none
;
margin
:
0
;
margin
:
0
;
}
}
.job-snippet-properties
code
{
.job-snippet-properties
code
{
color
:
black
;
color
:
black
;
}
}
.state-card
{
.state-card
{
position
:
relative
;
position
:
relative
;
...
@@ -316,9 +316,9 @@ a:hover .label-hover {
...
@@ -316,9 +316,9 @@ a:hover .label-hover {
margin-bottom
:
0
;
margin-bottom
:
0
;
}
}
.state-card-title
.pull-right
{
.state-card-title
.pull-right
{
margin-top
:
3px
;
margin-top
:
3px
;
}
}
.state-card-text
{
.state-card-text
{
margin-top
:
5px
;
margin-top
:
5px
;
...
@@ -337,27 +337,27 @@ a:hover .label-hover {
...
@@ -337,27 +337,27 @@ a:hover .label-hover {
background-color
:
#f5f5f5
;
background-color
:
#f5f5f5
;
}
}
.state-card-body
dl
{
.state-card-body
dl
{
margin-top
:
5px
;
margin-top
:
5px
;
margin-bottom
:
0
;
margin-bottom
:
0
;
}
}
.state-card-body
pre
{
.state-card-body
pre
{
white-space
:
pre-wrap
;
/* CSS 3 */
white-space
:
pre-wrap
;
/* CSS 3 */
word-wrap
:
break-word
;
/* Internet Explorer 5.5+ */
word-wrap
:
break-word
;
/* Internet Explorer 5.5+ */
background
:
transparent
;
background
:
transparent
;
padding
:
0
;
padding
:
0
;
}
}
.state-card-body
.stack-trace
{
.state-card-body
.stack-trace
{
background-color
:
transparent
;
background-color
:
transparent
;
padding
:
0
20px
;
padding
:
0
20px
;
margin-bottom
:
0px
;
margin-bottom
:
0px
;
}
}
.state-card-body
.exception-type
{
.state-card-body
.exception-type
{
margin-top
:
0
;
margin-top
:
0
;
}
}
/* Job History styles */
/* Job History styles */
...
@@ -366,9 +366,9 @@ a:hover .label-hover {
...
@@ -366,9 +366,9 @@ a:hover .label-hover {
opacity
:
0.8
;
opacity
:
0.8
;
}
}
.job-history.job-history-current
{
.job-history.job-history-current
{
opacity
:
1.0
;
opacity
:
1.0
;
}
}
.job-history-heading
{
.job-history-heading
{
padding
:
5px
10px
;
padding
:
5px
10px
;
...
@@ -436,19 +436,19 @@ span.metric {
...
@@ -436,19 +436,19 @@ span.metric {
transition
:
color
.1s
ease-out
,
background
.1s
ease-out
,
border
.1s
ease-out
;
transition
:
color
.1s
ease-out
,
background
.1s
ease-out
,
border
.1s
ease-out
;
}
}
span
.metric.highlighted
{
span
.metric.highlighted
{
font-weight
:
bold
;
font-weight
:
bold
;
color
:
#fff
!important
;
color
:
#fff
!important
;
}
}
span
.metric-default
{
span
.metric-default
{
color
:
#777
;
color
:
#777
;
border-color
:
#777
;
border-color
:
#777
;
}
}
span
.metric-default.highlighted
{
span
.metric-default.highlighted
{
background-color
:
#777
;
background-color
:
#777
;
}
}
div
.metric
{
div
.metric
{
border
:
solid
1px
transparent
;
border
:
solid
1px
transparent
;
...
@@ -459,20 +459,20 @@ div.metric {
...
@@ -459,20 +459,20 @@ div.metric {
transition
:
color
.1s
ease-out
,
background
.1s
ease-out
,
border
.1s
ease-out
;
transition
:
color
.1s
ease-out
,
background
.1s
ease-out
,
border
.1s
ease-out
;
}
}
div
.metric
.metric-body
{
div
.metric
.metric-body
{
padding
:
15px
15px
0
;
padding
:
15px
15px
0
;
font-size
:
26px
;
font-size
:
26px
;
text-align
:
center
;
text-align
:
center
;
}
}
div
.metric
.metric-description
{
div
.metric
.metric-description
{
padding
:
0
15px
15px
;
padding
:
0
15px
15px
;
text-align
:
center
;
text-align
:
center
;
}
}
div
.metric.metric-default
{
div
.metric.metric-default
{
border-color
:
#ddd
;
border-color
:
#ddd
;
}
}
div
.metric-info
,
div
.metric-info
,
span
.metric-info
{
span
.metric-info
{
...
@@ -480,9 +480,9 @@ span.metric-info {
...
@@ -480,9 +480,9 @@ span.metric-info {
border-color
:
#5bc0de
;
border-color
:
#5bc0de
;
}
}
span
.metric-info.highlighted
{
span
.metric-info.highlighted
{
background-color
:
#5bc0de
;
background-color
:
#5bc0de
;
}
}
div
.metric-warning
,
div
.metric-warning
,
span
.metric-warning
{
span
.metric-warning
{
...
@@ -490,9 +490,9 @@ span.metric-warning {
...
@@ -490,9 +490,9 @@ span.metric-warning {
border-color
:
#f0ad4e
;
border-color
:
#f0ad4e
;
}
}
span
.metric-warning.highlighted
{
span
.metric-warning.highlighted
{
background-color
:
#f0ad4e
;
background-color
:
#f0ad4e
;
}
}
div
.metric-success
,
div
.metric-success
,
span
.metric-success
{
span
.metric-success
{
...
@@ -500,9 +500,9 @@ span.metric-success {
...
@@ -500,9 +500,9 @@ span.metric-success {
border-color
:
#5cb85c
;
border-color
:
#5cb85c
;
}
}
span
.metric-success.highlighted
{
span
.metric-success.highlighted
{
background-color
:
#5cb85c
;
background-color
:
#5cb85c
;
}
}
div
.metric-danger
,
div
.metric-danger
,
span
.metric-danger
{
span
.metric-danger
{
...
@@ -510,9 +510,9 @@ span.metric-danger {
...
@@ -510,9 +510,9 @@ span.metric-danger {
border-color
:
#d9534f
;
border-color
:
#d9534f
;
}
}
span
.metric-danger.highlighted
{
span
.metric-danger.highlighted
{
background-color
:
#d9534f
;
background-color
:
#d9534f
;
}
}
span
.metric-null
,
span
.metric-null
,
div
.metric-null
{
div
.metric-null
{
...
@@ -531,3 +531,15 @@ div.metric-null {
...
@@ -531,3 +531,15 @@ div.metric-null {
width
:
262.5px
;
width
:
262.5px
;
}
}
}
}
table
.margin-bottom-zero
{
margin-bottom
:
0px
;
}
.subscribe-table
td
{
border-top
:
none
!important
;
}
.subscribe-table
tr
+
tr
td
{
border-top
:
1px
solid
#ddd
!important
;
}
\ No newline at end of file
src/DotNetCore.CAP/Dashboard/Content/resx/Strings.Designer.cs
View file @
b57102d1
...
@@ -979,5 +979,14 @@ namespace DotNetCore.CAP.Dashboard.Resources {
...
@@ -979,5 +979,14 @@ namespace DotNetCore.CAP.Dashboard.Resources {
return
ResourceManager
.
GetString
(
"SidebarMenu_Succeeded"
,
resourceCulture
);
return
ResourceManager
.
GetString
(
"SidebarMenu_Succeeded"
,
resourceCulture
);
}
}
}
}
/// <summary>
/// Looks up a localized string similar to Subscribers.
/// </summary>
public
static
string
SubscribersPage_Title
{
get
{
return
ResourceManager
.
GetString
(
"SubscribersPage_Title"
,
resourceCulture
);
}
}
}
}
}
}
src/DotNetCore.CAP/Dashboard/Content/resx/Strings.resx
View file @
b57102d1
...
@@ -431,4 +431,7 @@
...
@@ -431,4 +431,7 @@
<data
name=
"ReceivedPage_Title"
xml:space=
"preserve"
>
<data
name=
"ReceivedPage_Title"
xml:space=
"preserve"
>
<value>
Received Messages
</value>
<value>
Received Messages
</value>
</data>
</data>
<data
name=
"SubscribersPage_Title"
xml:space=
"preserve"
>
<value>
Subscribers
</value>
</data>
</root>
</root>
\ No newline at end of file
src/DotNetCore.CAP/Dashboard/Content/resx/Strings.zh.resx
View file @
b57102d1
...
@@ -449,4 +449,7 @@
...
@@ -449,4 +449,7 @@
<data
name=
"ReceivedPage_Title"
xml:space=
"preserve"
>
<data
name=
"ReceivedPage_Title"
xml:space=
"preserve"
>
<value>
已接收消息
</value>
<value>
已接收消息
</value>
</data>
</data>
<data
name=
"SubscribersPage_Title"
xml:space=
"preserve"
>
<value>
订阅的消息
</value>
</data>
</root>
</root>
\ No newline at end of file
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