-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3ba114e
commit 2b9d160
Showing
2 changed files
with
45 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<template> | ||
<nav id="main-navbar" class="navbar is-fixed-top"> | ||
<div class="navbar-brand"> | ||
<h1 style="padding: 14px 14px 11px 14px" class="title is-5">Terjang</h1> | ||
</div> | ||
<div class="navbar-end"> | ||
<div class="navbar-item"> | ||
<strong>{{ serverInfo.state }}</strong> | ||
</div> | ||
<div class="navbar-item"> | ||
<strong>{{ serverInfo.num_of_workers }}</strong> Worker Nodes connected | ||
</div> | ||
</div> | ||
</nav> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
name: 'Navbar', | ||
props: { | ||
serverInfo: Object, | ||
}, | ||
} | ||
</script> | ||
|
||
<style scoped> | ||
#main-navbar { | ||
border-bottom: 1px solid rgba(14, 16, 18, 0.06); | ||
background-color: #16304e; | ||
background-image: linear-gradient(to bottom, #192d3d, #162a3a); | ||
color: #dedede !important; | ||
} | ||
#main-navbar * { | ||
color: #dedede !important; | ||
} | ||
</style> |