Timo Tijhof | 51516cd | 2013-04-09 01:32:29 +0200 | [diff] [blame] | 1 | <!-- |
| 2 | Copyright 2013 OpenStack Foundation |
| 3 | Copyright 2013 Timo Tijhof |
| 4 | Copyright 2013 Wikimedia Foundation |
| 5 | |
| 6 | Licensed under the Apache License, Version 2.0 (the "License"); you may |
| 7 | not use this file except in compliance with the License. You may obtain |
| 8 | a copy of the License at |
| 9 | |
| 10 | http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | |
| 12 | Unless required by applicable law or agreed to in writing, software |
| 13 | distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |
| 14 | WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the |
| 15 | License for the specific language governing permissions and limitations |
| 16 | under the License. |
| 17 | --> |
| 18 | <!DOCTYPE html> |
| 19 | <html dir="ltr" lang="en"> |
| 20 | <head> |
| 21 | <title>Zuul Status</title> |
| 22 | <link rel="stylesheet" href="bootstrap/css/bootstrap.min.css"> |
| 23 | <link rel="stylesheet" href="bootstrap/css/bootstrap-responsive.min.css"> |
| 24 | <style> |
| 25 | .zuul-container { |
| 26 | transition-property: opacity, background-color; |
| 27 | transition-duration: 1s; |
| 28 | transition-timing-function: ease-in-out; |
| 29 | clear: both; |
| 30 | opacity: 0; |
| 31 | cursor: progress; |
| 32 | min-height: 400px; |
| 33 | background-color: #f8ffaa; |
| 34 | } |
| 35 | |
| 36 | .zuul-container-ready { |
| 37 | opacity: 1; |
| 38 | cursor: auto; |
| 39 | background-color: #fff; |
| 40 | } |
| 41 | |
| 42 | .zuul-spinner, |
| 43 | .zuul-spinner:hover { |
| 44 | opacity: 0; |
| 45 | transition: opacity 3s ease-out; |
| 46 | cursor: default; |
| 47 | pointer-events: none; |
| 48 | } |
| 49 | |
| 50 | .zuul-spinner-on, |
| 51 | .zuul-spinner-on:hover { |
| 52 | opacity: 1; |
| 53 | transition-duration: 0.4s; |
| 54 | cursor: progress; |
| 55 | } |
| 56 | |
| 57 | .zuul-change-arrow { |
| 58 | text-align: center; |
| 59 | font-size: 16pt; |
| 60 | line-height: 1.0; |
| 61 | } |
| 62 | |
| 63 | .zuul-change-id { |
| 64 | text-transform: none; |
| 65 | } |
| 66 | |
| 67 | .zuul-change-job a { |
| 68 | overflow: auto; |
| 69 | } |
| 70 | |
| 71 | .zuul-result { |
| 72 | text-shadow: none; |
| 73 | font-weight: normal; |
| 74 | background-color: #E9E9E9; |
| 75 | color: #555; |
| 76 | } |
| 77 | |
| 78 | .zuul-result.label-success { |
| 79 | background-color: #CDF0CD; |
| 80 | color: #468847; |
| 81 | } |
| 82 | |
| 83 | .zuul-result.label-important { |
| 84 | background-color: #F1DBDA; |
| 85 | color: #B94A48; |
| 86 | } |
| 87 | |
| 88 | .zuul-result.label-warning { |
| 89 | background-color: #F3E6D4; |
| 90 | color: #F89406; |
| 91 | } |
| 92 | |
| 93 | .zuul-msg-wrap { |
| 94 | max-height: 150px; |
| 95 | overflow: hidden; |
| 96 | } |
| 97 | |
| 98 | .zuul-container-ready .zuul-msg-wrap { |
| 99 | transition: max-height 1s ease-in; |
| 100 | } |
| 101 | |
| 102 | .zuul-msg-wrap-off { |
| 103 | max-height: 0; |
| 104 | } |
| 105 | |
| 106 | .zuul-msg p { |
| 107 | margin: 0; |
| 108 | } |
| 109 | |
| 110 | /** |
| 111 | * Styles for Bootstrap only |
| 112 | * (remove when not using Bootstrap) |
| 113 | */ |
| 114 | |
| 115 | .zuul-change-id { |
| 116 | float: right; |
| 117 | } |
| 118 | |
| 119 | .zuul-change-job-link { |
| 120 | overflow: auto; |
| 121 | display: block; |
| 122 | } |
| 123 | |
| 124 | .zuul-result { |
| 125 | float: right; |
| 126 | } |
| 127 | |
| 128 | </style> |
| 129 | </head> |
| 130 | <body> |
| 131 | <div class="container"> |
| 132 | <h1>Zuul Status</h1> |
Joshua Hesketh | e898716 | 2014-03-13 13:05:33 +1100 | [diff] [blame] | 133 | <p>Real-time status monitor of Zuul, the pipeline manager between Gerrit and Workers.</p> |
Timo Tijhof | 51516cd | 2013-04-09 01:32:29 +0200 | [diff] [blame] | 134 | |
| 135 | <div class="zuul-container" id="zuul-container"></div> |
| 136 | </div> |
| 137 | <script src="jquery.min.js"></script> |
| 138 | <script src="jquery-visibility.min.js"></script> |
| 139 | <script src="app.js"></script> |
| 140 | </body> |
| 141 | </html> |