From 2c1e4f361206cd5d18e88d46e00d9937db128dce Mon Sep 17 00:00:00 2001 From: Brad Rydzewski Date: Thu, 28 May 2015 22:08:29 -0700 Subject: [PATCH] added style to sub-build page --- .../static/scripts/views/build.html | 52 ++++++++----------- cmd/drone-server/static/styles/drone.css | 28 ++++++++-- 2 files changed, 46 insertions(+), 34 deletions(-) diff --git a/cmd/drone-server/static/scripts/views/build.html b/cmd/drone-server/static/scripts/views/build.html index 9d70e688..dac55dd1 100644 --- a/cmd/drone-server/static/scripts/views/build.html +++ b/cmd/drone-server/static/scripts/views/build.html @@ -36,48 +36,40 @@
-

{{ build.message }}

-

authored {{ build.created_at | fromNow }} by @{{ build.author }}

- +

{{ build.message }}

+

{{ build.author }} pushed {{ build.sha.substr(0,8) }} to {{ build.branch }}

+ {{ build.exit_code }} + {{ build.started_at | fromNow }} {{ build.sha.substr(0,8) }} {{ build.branch }} {{ build.duration | toDuration }} duration - -
- - - - - - - - - - - - - - - - - - - - - - - -
NumberStatusStartedFinishedDurationExit CodeMatrix
{{ task.sequence }}{{ task.state }}{{ task.started_at | fromNow }}{{ task.finished_at | fromNow }}{{ task.duration | toDuration }}{{ task.exit_code }}{{ task.environment }}
+ + +
+
{{task.sequence}}
+
+
+

+
+ {{ key.toUpperCase() }}={{ value }} +
+

+
+
+ + + +
-

+			

 
 
 
diff --git a/cmd/drone-server/static/styles/drone.css b/cmd/drone-server/static/styles/drone.css
index c8330873..68611a0c 100644
--- a/cmd/drone-server/static/styles/drone.css
+++ b/cmd/drone-server/static/styles/drone.css
@@ -1236,6 +1236,7 @@ header .logo {
     height:56px;
     position: sticky;
     top: 0px;
+    z-index:1;
 
     box-shadow: 0 2px 5px 0 rgba(0,0,0,0.26);
     box-shadow: none;
@@ -1298,6 +1299,7 @@ pre.failure {
     background: #424242;
 }
 
+
 article > pre {
     font-family: "Droid Sans Mono","Roboto","Arial";
     font-size: 13px;
@@ -1460,6 +1462,24 @@ section .build-row strong {
     font-weight:normal;
 }
 
+section .build-row.sub-build-row > div {
+    padding-top:20px;
+    padding-bottom:20px;
+}
+section .build-row.sub-build-row h3 {
+    color:#212121;
+    font-size:15px;
+    margin-bottom:0px;
+    margin-top: 12px;
+}
+
+section .build-row.sub-build-row h3 > div {
+    margin-bottom:5px;
+}
+section .build-row.sub-build-row h3 > div:last-child {
+    margin-bottom:0px;
+}
+
 section > .search {
     padding:30px;
 
@@ -1659,8 +1679,8 @@ input:checked + .switch:active::before {
 .btn-remove:before {
     content: "\f102";
     font-family:"Material-Design-Iconic-Font";
-    line-height:25px;
-    width:25px;
+    /*line-height:25px;
+    width:25px;*/
     vertical-align: middle;
     text-align: center;
     display:inline-block;
@@ -1674,8 +1694,8 @@ input:checked + .switch:active::before {
 .btn-admin:before {
     content: "\f08e";
     font-family:"Material-Design-Iconic-Font";
-    line-height:25px;
-    width:25px;
+    /*line-height:25px;
+    width:25px;*/
     vertical-align: middle;
     text-align: center;
     display:inline-block;