-
Notifications
You must be signed in to change notification settings - Fork 302
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
skeleton for helm-dashboard-v2 (#266)
* skeleton for helm-dashboard-v2 * made-necessary changes
- Loading branch information
Showing
8 changed files
with
216 additions
and
1,215 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
.app-header{ | ||
display: flex; | ||
justify-content: space-between; | ||
margin: 5px; | ||
padding: 10px; | ||
} | ||
.header-left{ | ||
display: flex; | ||
align-items: center; | ||
justify-content: space-evenly; | ||
flex: 0.6; | ||
} | ||
.header-items{ | ||
display: flex; | ||
flex: 0.8; | ||
justify-content: space-evenly; | ||
} | ||
.header-right{ | ||
display: flex; | ||
align-items: center; | ||
flex: 0.2; | ||
justify-content: space-around; | ||
} | ||
.redirect{ | ||
display: flex; | ||
flex: 0.8; | ||
} | ||
.redirect>img{ | ||
margin-right: 5px; | ||
} | ||
.card{ | ||
display: flex; | ||
height: 100vh; | ||
} | ||
.card-left{ | ||
flex: 0.2; | ||
margin-top: 5px; | ||
margin-left: 4px; | ||
margin-right: 4px; | ||
} | ||
.card-left>h2,form{ | ||
margin-bottom: 10px; | ||
} | ||
.btn{ | ||
margin-bottom: 10px; | ||
} | ||
.card-right{ | ||
flex: 0.8; | ||
margin-top: 5px; | ||
margin-left: 4px; | ||
margin-right: 1px; | ||
} | ||
.card-right-header{ | ||
display: flex; | ||
justify-content: space-between; | ||
margin-bottom: 20px; | ||
} | ||
.card-right-header-right-btn{ | ||
display: flex; | ||
justify-content: space-between; | ||
margin-bottom: 10px; | ||
|
||
} | ||
.content-header{ | ||
display: flex; | ||
justify-content: space-between; | ||
margin-bottom: 10px; | ||
} | ||
.title{ | ||
flex: 0.2; | ||
} | ||
.description{ | ||
flex: 0.6; | ||
} | ||
.version{ | ||
flex: 0.2; | ||
} | ||
.charts{ | ||
display: flex; | ||
justify-content: space-between; | ||
} | ||
.charts>h3{ | ||
flex: 0.2; | ||
} |
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,14 @@ | ||
import "../App.css" | ||
import Body_content from './Body_content' | ||
import Body_header from './Body_header' | ||
|
||
function Body():JSX.Element { | ||
return ( | ||
<div className="card-right"> | ||
<Body_header/> | ||
<Body_content/> | ||
</div> | ||
) | ||
} | ||
|
||
export default Body |
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,20 @@ | ||
import "../App.css" | ||
|
||
function Body_content():JSX.Element { | ||
return ( | ||
<div className="card-right-content"> | ||
<div className="content-header"> | ||
<h3 className="title">ChartName</h3> | ||
<h3 className="description">Description</h3> | ||
<h3 className="version">Version</h3> | ||
</div> | ||
<div className="charts"> | ||
<h3>Airflow</h3> | ||
<p className="description">Desccription about chart</p> | ||
<p className="version">14.0.14</p> | ||
</div> | ||
</div> | ||
) | ||
} | ||
|
||
export default Body_content |
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,22 @@ | ||
import '../App.css' | ||
|
||
function Body_header() :JSX .Element{ | ||
return ( | ||
<div className="card-right-header"> | ||
<div className="card-right-header-left"> | ||
<h6>Repo</h6> | ||
<h3>bitnami</h3> | ||
<p>URL:<a href=""/></p> | ||
</div> | ||
<div className="card-right-header-right"> | ||
<div className="card-right-header-right-btn"> | ||
<button>Update</button> | ||
<button>Remove</button> | ||
</div> | ||
<input placeholder="Filter" type='text'/> | ||
</div> | ||
</div> | ||
) | ||
} | ||
|
||
export default Body_header |
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,39 @@ | ||
import "../App.css" | ||
|
||
function Header():JSX.Element { | ||
return ( | ||
<header className="app-header"> | ||
<div className="header-left"> | ||
<div className="logo"> | ||
<img src="" alt='Helm-DashBoard'/> | ||
</div> | ||
<div className="vertical-seperator"> | ||
| | ||
</div> | ||
<div className="header-items"> | ||
<h3>Installed</h3> | ||
<h3>Repository</h3> | ||
<h3>Help</h3> | ||
<h3>Upgrade</h3> | ||
</div> | ||
</div> | ||
<div className="header-right"> | ||
<div className="redirect"> | ||
<img className='komodor-img'src="" alt='Komodor'/> | ||
<span> | ||
<a href="" /> | ||
<p>Some Content</p> | ||
</span> | ||
</div> | ||
<div className="vertical-seperator"> | ||
| | ||
</div> | ||
<div className="signout-btn"> | ||
<button>Signout</button> | ||
</div> | ||
</div> | ||
</header> | ||
) | ||
} | ||
|
||
export default Header |
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,27 @@ | ||
import '../App.css' | ||
|
||
function Sidebar():JSX.Element { | ||
return ( | ||
<div className="card-left"> | ||
<h2>Repositories</h2> | ||
<form> | ||
<div className="options"> | ||
<label> | ||
<input type="radio" value=""/> | ||
bitnami | ||
</label> | ||
</div> | ||
<div className="options"> | ||
<label> | ||
<input type="radio" value=""/> | ||
bitnami | ||
</label> | ||
</div> | ||
</form> | ||
<button className="btn">Add Repository</button> | ||
<p>Some text that describes chart</p> | ||
</div> | ||
) | ||
} | ||
|
||
export default Sidebar |
Oops, something went wrong.