Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Sharkey
Manage
Activity
Members
Labels
Plan
Issues
338
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
23
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TransFem.org
Sharkey
Commits
7aea902b
Commit
7aea902b
authored
7 years ago
by
syuilo
Browse files
Options
Downloads
Patches
Plain Diff
[Client] いい感じに
parent
8560e105
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/web/app/desktop/tags/home-widgets/server.tag
+4
-4
4 additions, 4 deletions
src/web/app/desktop/tags/home-widgets/server.tag
with
4 additions
and
4 deletions
src/web/app/desktop/tags/home-widgets/server.tag
+
4
−
4
View file @
7aea902b
...
...
@@ -2,8 +2,8 @@
<p class="title"><i class="fa fa-server"></i>%i18n:desktop.tags.mk-server-home-widget.title%</p>
<button onclick={ toggle } title="%i18n:desktop.tags.mk-server-home-widget.toggle%"><i class="fa fa-sort"></i></button>
<p class="initializing" if={ initializing }><i class="fa fa-spinner fa-pulse fa-fw"></i>%i18n:common.loading%<mk-ellipsis/></p>
<mk-server-home-widget-stats if={ !initializing
&&
view == 0 }/>
<mk-server-home-widget-info if={ !initializing
&&
view == 1 } meta={ meta }/>
<mk-server-home-widget-stats if={ !initializing
} show={
view == 0 }/>
<mk-server-home-widget-info if={ !initializing
} show={
view == 1 } meta={ meta }/>
<style>
:scope
display block
...
...
@@ -73,7 +73,6 @@
<mk-server-home-widget-stats>
<svg riot-viewBox="0 0 { viewBoxX } { viewBoxY }" preserveAspectRatio="none">
<text dx="1" dy="5">CPU <tspan>{ cpuP }%</tspan></text>
<polygon
riot-points={ cpuPolygonPoints }
riot-fill={ cpuColor }
...
...
@@ -83,9 +82,9 @@
fill="none"
stroke-width="1"
riot-stroke={ cpuColor }/>
<text dx="1" dy="5">CPU <tspan>{ cpuP }%</tspan></text>
</svg>
<svg riot-viewBox="0 0 { viewBoxX } { viewBoxY }" preserveAspectRatio="none">
<text dx="1" dy="5">MEM <tspan>{ memP }%</tspan></text>
<polygon
riot-points={ memPolygonPoints }
riot-fill={ memColor }
...
...
@@ -95,6 +94,7 @@
fill="none"
stroke-width="1"
riot-stroke={ memColor }/>
<text dx="1" dy="5">MEM <tspan>{ memP }%</tspan></text>
</svg>
<style>
:scope
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment