Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
Goshimmer_without_tipselection
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
COLLET Ismael
Goshimmer_without_tipselection
Commits
8ee9468f
Commit
8ee9468f
authored
4 years ago
by
COLLET Ismael
Browse files
Options
Downloads
Patches
Plain Diff
Update Dashboard.tsx
parent
1bfa13b2
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#454
failed
4 years ago
Stage: build
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
plugins/dashboard/frontend/src/app/components/Dashboard.tsx
+63
-63
63 additions, 63 deletions
plugins/dashboard/frontend/src/app/components/Dashboard.tsx
with
63 additions
and
63 deletions
plugins/dashboard/frontend/src/app/components/Dashboard.tsx
+
63
−
63
View file @
8ee9468f
import
*
as
React
from
'
react
'
;
import
Container
from
"
react-bootstrap/Container
"
;
import
Row
from
"
react-bootstrap/Row
"
;
import
Col
from
"
react-bootstrap/Col
"
;
import
Uptime
from
"
app/components/Uptime
"
;
import
Version
from
"
app/components/Version
"
;
import
Synced
from
"
app/components/Synced
"
;
import
MPSChart
from
"
app/components/MPSChart
"
;
import
TipsChart
from
"
app/components/TipsChart
"
;
import
NodeStore
from
"
app/stores/NodeStore
"
;
import
{
inject
,
observer
}
from
"
mobx-react
"
;
import
ListGroup
from
"
react-bootstrap/ListGroup
"
;
import
Card
from
"
react-bootstrap/Card
"
;
import
MemChart
from
"
app/components/MemChart
"
;
interface
Props
{
nodeStore
?:
NodeStore
;
}
@
inject
(
"
nodeStore
"
)
@
observer
export
class
Dashboard
extends
React
.
Component
<
Props
,
any
>
{
render
()
{
return
(
<
Container
>
<
h3
>
Dashboard
</
h3
>
<
Row
className
=
{
"
mb-3
"
}
>
<
Col
>
<
Card
>
<
Card
.
Body
>
<
Card
.
Title
>
Node:
{
this
.
props
.
nodeStore
.
status
.
id
}
</
Card
.
Title
>
<
Row
>
<
Col
>
<
ListGroup
variant
=
{
"
flush
"
}
>
<
ListGroup
.
Item
><
Uptime
/></
ListGroup
.
Item
>
</
ListGroup
>
</
Col
>
<
Col
>
<
ListGroup
variant
=
{
"
flush
"
}
>
<
ListGroup
.
Item
><
Version
/></
ListGroup
.
Item
>
</
ListGroup
>
</
Col
>
</
Row
>
</
Card
.
Body
>
</
Card
>
</
Col
>
</
Row
>
<
Row
className
=
{
"
mb-3
"
}
>
<
Col
><
Synced
/></
Col
>
</
Row
>
<
Row
className
=
{
"
mb-3
"
}
>
<
Col
><
MPSChart
/></
Col
>
</
Row
>
<
Row
className
=
{
"
mb-3
"
}
>
<
Col
><
TipsChart
/></
Col
>
</
Row
>
<
Row
className
=
{
"
mb-3
"
}
>
<
Col
><
MemChart
/></
Col
>
</
Row
>
</
Container
>
);
}
}
import
*
as
React
from
'
react
'
;
import
Container
from
"
react-bootstrap/Container
"
;
import
Row
from
"
react-bootstrap/Row
"
;
import
Col
from
"
react-bootstrap/Col
"
;
import
Uptime
from
"
app/components/Uptime
"
;
import
Version
from
"
app/components/Version
"
;
import
Synced
from
"
app/components/Synced
"
;
import
MPSChart
from
"
app/components/MPSChart
"
;
import
TipsChart
from
"
app/components/TipsChart
"
;
import
NodeStore
from
"
app/stores/NodeStore
"
;
import
{
inject
,
observer
}
from
"
mobx-react
"
;
import
ListGroup
from
"
react-bootstrap/ListGroup
"
;
import
Card
from
"
react-bootstrap/Card
"
;
import
MemChart
from
"
app/components/MemChart
"
;
interface
Props
{
nodeStore
?:
NodeStore
;
}
@
inject
(
"
nodeStore
"
)
@
observer
export
class
Dashboard
extends
React
.
Component
<
Props
,
any
>
{
render
()
{
return
(
<
Container
>
<
h3
>
Dashboard
(MODIFIED)
</
h3
>
<
Row
className
=
{
"
mb-3
"
}
>
<
Col
>
<
Card
>
<
Card
.
Body
>
<
Card
.
Title
>
Node:
{
this
.
props
.
nodeStore
.
status
.
id
}
</
Card
.
Title
>
<
Row
>
<
Col
>
<
ListGroup
variant
=
{
"
flush
"
}
>
<
ListGroup
.
Item
><
Uptime
/></
ListGroup
.
Item
>
</
ListGroup
>
</
Col
>
<
Col
>
<
ListGroup
variant
=
{
"
flush
"
}
>
<
ListGroup
.
Item
><
Version
/></
ListGroup
.
Item
>
</
ListGroup
>
</
Col
>
</
Row
>
</
Card
.
Body
>
</
Card
>
</
Col
>
</
Row
>
<
Row
className
=
{
"
mb-3
"
}
>
<
Col
><
Synced
/></
Col
>
</
Row
>
<
Row
className
=
{
"
mb-3
"
}
>
<
Col
><
MPSChart
/></
Col
>
</
Row
>
<
Row
className
=
{
"
mb-3
"
}
>
<
Col
><
TipsChart
/></
Col
>
</
Row
>
<
Row
className
=
{
"
mb-3
"
}
>
<
Col
><
MemChart
/></
Col
>
</
Row
>
</
Container
>
);
}
}
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