-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[YUNIKORN-2342] Skeleton of the new UI (#177)
Implement skeleton of the new UI. Closes: #177 Signed-off-by: Yu-Lin Chen <[email protected]>
- Loading branch information
1 parent
aaaaaf1
commit 45b4cc4
Showing
9 changed files
with
671 additions
and
0 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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,31 @@ | ||
<!-- | ||
* Licensed to the Apache Software Foundation (ASF) under one | ||
* or more contributor license agreements. See the NOTICE file | ||
* distributed with this work for additional information | ||
* regarding copyright ownership. The ASF licenses this file | ||
* to you under the Apache License, Version 2.0 (the | ||
* "License"); you may not use this file except in compliance | ||
* with the License. You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
--> | ||
|
||
<div class="queue-container"> | ||
<div class="queue-content-box"> | ||
<div class="header"> | ||
<div class="title-group"> | ||
<div>Partition</div> | ||
</div> | ||
</div> | ||
<div class="body"> | ||
<div class="visualize-area"> | ||
</div> | ||
</div> | ||
</div> | ||
</div> |
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,61 @@ | ||
/** | ||
* Licensed to the Apache Software Foundation (ASF) under one | ||
* or more contributor license agreements. See the NOTICE file | ||
* distributed with this work for additional information | ||
* regarding copyright ownership. The ASF licenses this file | ||
* to you under the Apache License, Version 2.0 (the | ||
* "License"); you may not use this file except in compliance | ||
* with the License. You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
.queue-content-box { | ||
width: calc(100% - 2rem); /* Subtract padding from the total width */ | ||
height: calc(100vh - 2rem); /* Subtract padding from the total height to ensure it's nearly as tall as the container */ | ||
border-radius: 0.5rem; | ||
background-color: white; | ||
padding: 20px; /* Adjust padding to your preference */ | ||
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); | ||
overflow: auto; /* Add scroll for overflow content */ | ||
} | ||
|
||
.header .title-group { | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
padding-bottom: 1rem; | ||
} | ||
|
||
.title-group .icon { | ||
height: 2rem; | ||
width: 2rem; | ||
margin-right: 10px; | ||
} | ||
|
||
.title-group div { | ||
font-size: 1.25rem; | ||
font-weight: 600; | ||
color: #010407; | ||
} | ||
|
||
.visualize-area { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
justify-content: center; | ||
height: 600px; | ||
max-height: 80%; /* Ensure there's space around the area within the content box */ | ||
width: 100%; | ||
border-radius: 0.5rem; | ||
border: 2px dashed #d1d5db; | ||
background-color: #f9fafb; | ||
gap: 0.2rem; | ||
padding: 20px; | ||
} |
Oops, something went wrong.