Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dashboard & Build UI refresh #988

Merged
merged 33 commits into from
Sep 6, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
01e3d75
Partial progress on dashboard redesign
oliversalzburg Aug 31, 2016
0ebf835
New dashboard
oliversalzburg Sep 1, 2016
4b4f39f
Remove useless media query
oliversalzburg Sep 1, 2016
b8ec1aa
Support running tasks
oliversalzburg Sep 1, 2016
60f3c3d
Change shade of red
oliversalzburg Sep 1, 2016
7b486b4
Convert dashboard project list to ul+li
Sep 1, 2016
ba029b9
Bring back the build history
oliversalzburg Sep 2, 2016
f7b62d5
Update state colors
Sep 2, 2016
b750c64
Fix dash responsiveness
Sep 2, 2016
60350f9
Fix hover colors for projects and change errored color
Sep 2, 2016
752f853
Inverse colors and remove border around
Sep 2, 2016
e008865
Change buttons and use strider-colors
Sep 2, 2016
af3b9c5
Make config wrench a button too
Sep 2, 2016
32ed8ce
Text decoration on buttons removed
Sep 2, 2016
c10df76
Actually fix text decoration
Sep 2, 2016
4cabdad
Cleaned up styles for build page
oliversalzburg Sep 2, 2016
2cf4e79
Clean up styles
oliversalzburg Sep 2, 2016
0dcc8a8
More CSS cleanup
oliversalzburg Sep 2, 2016
98e8c65
More build history cleanup
oliversalzburg Sep 2, 2016
ce6db30
Style history items, add hover and remove icon
Sep 2, 2016
23e37c6
Update state-text colors
Sep 2, 2016
3a75808
Increase history item's progress margin
Sep 2, 2016
b28c0cc
Fix waiting and running text
Sep 2, 2016
c726b94
Fix border and spacing on metadata/console
Sep 2, 2016
331f9c5
Fix metadata radius
Sep 2, 2016
f195093
Fix metadata padding
Sep 2, 2016
86cda4e
Phase margin tweak
Sep 2, 2016
a54d536
Build history cleanup
oliversalzburg Sep 5, 2016
2b188c2
Build history tweaks
oliversalzburg Sep 5, 2016
b58e0bf
Fix missing closing tag
oliversalzburg Sep 5, 2016
bee5856
Better indicator for pending tasks
oliversalzburg Sep 5, 2016
29a3fc0
Build latest
Sep 6, 2016
6dfb689
Add seperator between dates and flatten config button
Sep 6, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
484 changes: 328 additions & 156 deletions client/styles/build.less

Large diffs are not rendered by default.

530 changes: 530 additions & 0 deletions client/styles/button.less

Large diffs are not rendered by default.

222 changes: 202 additions & 20 deletions client/styles/dashboard.less
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
@import "strider-colors";
@import "button";

.no-projects {
margin-top: 20px;
margin-bottom: 25px;
}

.project-list {
margin: 0;
}

.finished-at time {
line-height: 27px;
}
Expand All @@ -12,45 +18,221 @@
line-height: 29px;
}

.icon.no-text {
margin-left: 0 !important;
}

#dashboard .finished-at .cancel-job {
font-size: 18px;
line-height: 36px;
}

#dashboard table tr {
.progress-meter {
margin-top: 10px;
}
}

#dashboard {
a, .clickable {
a.clickable {
cursor: pointer;
&:hover {
text-decoration: none;
color: #999;
}
}
.btn:hover {
color: white;
}
}

#dashboard {
a.add-repo {
color: #fff;
}

.history {
width:70px;
width: 70px;
}
.last-builds {
tr td {
width:10px;
height:10px;
padding:0;
overflow:hidden;
border-top:none;

#job-list-yours,
#job-list-public {
// We add a border on the left of each row, indicating the state of the last build.
li, td ~ td {
background-color: #fff;
transition: .3s;
margin-bottom: 10px;
border-left: 6px solid #BBB;
}

.running {
border-left-width: 6px;
border-color: @strider-bg-running;
background-color: lighten(@strider-bg-running, 25%);

&:hover {
background-color: lighten(@strider-bg-running, 35%);
}
}

.passed {
border-left-width: 6px;
border-color: @strider-bg-passed;
background-color: lighten(@strider-bg-passed, 25%);

&:hover {
background-color: lighten(@strider-bg-passed, 35%);
}
}

.failed {
border-left-width: 6px;
border-color: @strider-bg-failed;
background-color: lighten(@strider-bg-failed, 25%);

&:hover {
background-color: lighten(@strider-bg-failed, 35%);
}
}

.errored {
border-left-width: 6px;
border-color: @strider-bg-errored;
background-color: lighten(@strider-bg-errored, 25%);

&:hover {
background-color: lighten(@strider-bg-errored, 35%);
}
}
}
}

.dashboard-row,
#dashboard ul li {
padding: 10px;
position: relative;
overflow: hidden;

.inline-block {
display: inline-block;
}

.job-id {
font-family: monospace;
}

.btn-link {
color: #333;
}

& > a,
& > span {
display: inline-block;
padding: 5px 10px;
}

span.clickable,
a:not(.button) {
color: black;
cursor: pointer;
}

.github-link {
margin-left: 5px;
}

&:hover {
.action-buttons {
& > div {
visibility: visible;
}
}
}

.small-text {
display: inline-block;
}

.action-buttons {
width: 100px;
text-align: center;
.btn-group {
padding-top: 4px;
}
}

.progress-meter {
.progress {
margin-bottom: 0;
}
}

.committer {
a {
padding: 0;
}
img {
width: 35px;
height: 35px;
max-width: inherit;
margin: 10px 10px 10px 0;
}
}

.project-name {
a {
font-size: 18px;
line-height: 27px;
width: 100%;
}
}

.run-time {
text-align: center;
}
}

@media (max-width: 980px) {
#dashboard {
.triggered-by-header,
.commit-url,
.committer,
.job-link a span {
display: none;
}
}
}

@media (max-width: 767px) {
#dashboard {
.finished-at {
display: none;
}
}

#build-page .job-title h3 {
margin-bottom: 0.5em;
}

.navbar-fixed-top {
margin-bottom: 0;
}
}

@media (max-width: 650px) {
#dashboard {
overflow: auto;

.deploy,
.deploy-header,
.refresh,
.refresh-header,
.configure,
.configure-header,
.committer,
.committer-header,
.github-header,
.github-link {
display: none;
}
}
}

@media (max-width: 450px) {
#dashboard {
ul li .project-name a {
font-size: 14px;
font-weight: normal;
line-height: 25px;
}
}
}
8 changes: 4 additions & 4 deletions client/styles/strider-colors.less
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

// background status
@strider-bg-failed: #FFD2D0;
@strider-bg-errored: #DDD;
@strider-bg-passed: #CFFFD2;
@strider-bg-running: #D7F3FF;
@strider-bg-failed: #e84135;
@strider-bg-errored: #fbda41;
@strider-bg-passed: #7bbf51;
@strider-bg-running: #5eaaad;
Loading