|
| 1 | +<html> |
| 2 | + |
| 3 | +<head> |
| 4 | + |
| 5 | + <!-- <link rel="shortcut icon" href="{{GLOBAL_AppTopPath}}/static/images/favicon.png" type="image/x-icon"/> --> |
| 6 | + |
| 7 | + <style type="text/css"> |
| 8 | + |
| 9 | + body, td, th, p, div { |
| 10 | + font: 14px arial; |
| 11 | + } |
| 12 | + td, th { |
| 13 | + vertical-align: top |
| 14 | + } |
| 15 | + div#content { |
| 16 | + margin-right: 30px; |
| 17 | + margin-left: 30px; |
| 18 | + margin-top: 20px; |
| 19 | + width: 100%; |
| 20 | + } |
| 21 | + |
| 22 | + div#banner { |
| 23 | + padding: 30px 10px; |
| 24 | + } |
| 25 | + |
| 26 | + #b-anner td { |
| 27 | + vertical-align: middle; |
| 28 | + padding: 0px 20px; |
| 29 | + } |
| 30 | + |
| 31 | + div#body { |
| 32 | + margin-right: 30px; |
| 33 | + margin-left: 30px; |
| 34 | + margin-top: 20px; |
| 35 | + padding: 10px 10px; |
| 36 | + } |
| 37 | + |
| 38 | + |
| 39 | + table.data, table.file_metadata { |
| 40 | + border-collapse: collapse; |
| 41 | + } |
| 42 | + |
| 43 | + .placement td, th { |
| 44 | + p-adding: 5px; |
| 45 | + } |
| 46 | + |
| 47 | + .placement th { |
| 48 | + font-weight: bold; |
| 49 | + text-align: left; |
| 50 | + } |
| 51 | + |
| 52 | + .link_menu td { |
| 53 | + padding: 5px; |
| 54 | + } |
| 55 | + |
| 56 | + .file_metadata td, .file_metadata th { |
| 57 | + padding: 3px 5px; |
| 58 | + b-order-top: 1px solid #CCC; |
| 59 | + b-order-bottom: 1px solid #CCC; |
| 60 | + } |
| 61 | + |
| 62 | + .tabular td, .tabular th { |
| 63 | + padding: 5px; |
| 64 | + } |
| 65 | + |
| 66 | + .tabular th { |
| 67 | + font-weight: bold; |
| 68 | + text-align: right; |
| 69 | + } |
| 70 | + |
| 71 | + td.left { |
| 72 | + text-align: left; |
| 73 | + } |
| 74 | + td.right { |
| 75 | + text-align: right; |
| 76 | + } |
| 77 | + |
| 78 | + .form th { |
| 79 | + font-weight: bold; |
| 80 | + text-align: right; |
| 81 | + } |
| 82 | + |
| 83 | + .form td { |
| 84 | + text-align: left; |
| 85 | + } |
| 86 | + .form td, .form th { |
| 87 | + padding: 5px; |
| 88 | + } |
| 89 | + |
| 90 | + .data td, .data th { |
| 91 | + padding: 3px 5px; |
| 92 | + border: 1px solid #CCC; |
| 93 | + } |
| 94 | + |
| 95 | + .data th { |
| 96 | + font-weight: bold; |
| 97 | + text-align: left; |
| 98 | + } |
| 99 | + |
| 100 | + textarea { |
| 101 | + font: 14px courier; |
| 102 | + } |
| 103 | + |
| 104 | + i-nput { |
| 105 | + font: 400 14px verdana; |
| 106 | + } |
| 107 | + |
| 108 | + div#version { |
| 109 | + color: gray; |
| 110 | + font-size: 10px; |
| 111 | + font-style: italic; |
| 112 | + |
| 113 | + position: fixed; |
| 114 | + bottom: 3px; |
| 115 | + right: 5px; |
| 116 | + } |
| 117 | + |
| 118 | + div.headline { |
| 119 | + border-top: 1px solid black; |
| 120 | + border-bottom: 1px solid black; |
| 121 | + font-weight: bold; |
| 122 | + padding: 5px 15px; |
| 123 | + font-size: 14pt; |
| 124 | + margin-top: 15px; |
| 125 | + margin-bottom: 15px; |
| 126 | + } |
| 127 | + |
| 128 | + #main_menu td, #main_menu th { |
| 129 | + white-space: nowrap; |
| 130 | + } |
| 131 | + |
| 132 | + .code { |
| 133 | + font: 12px monospace; |
| 134 | + } |
| 135 | + |
| 136 | + pre.code { |
| 137 | + b-ackground-color: #F8F8F8; |
| 138 | + padding: 5px; |
| 139 | + b-order: solid 1px #E0E0E0; |
| 140 | + } |
| 141 | + |
| 142 | + p.message { |
| 143 | + border: solid 1px #117711; |
| 144 | + padding: 5px 15px; |
| 145 | + } |
| 146 | + |
| 147 | + .error { |
| 148 | + color: #A11; |
| 149 | + } |
| 150 | + |
| 151 | + p.error { |
| 152 | + border-left: solid 5px #A11; |
| 153 | + padding: 0px 5px; |
| 154 | + } |
| 155 | + |
| 156 | + a.button { |
| 157 | + text-decoration: none; |
| 158 | + } |
| 159 | + |
| 160 | + .file_metadata th { |
| 161 | + text-align: left; |
| 162 | + font-weight: bold; |
| 163 | + color: #888; |
| 164 | + } |
| 165 | + |
| 166 | + .filename { |
| 167 | + font-family: source_code, monospace; |
| 168 | + font-size: 12px; |
| 169 | + } |
| 170 | + |
| 171 | + .file_metadata td.attr_name, .file_metadata td.meta_whole { |
| 172 | + padding-left:50px; |
| 173 | + } |
| 174 | + |
| 175 | + .file_metadata td.attr_name, .file_metadata td.attr_value, pre.metadata { |
| 176 | + font-family: source_code, monospace; |
| 177 | + font-size: 11px; |
| 178 | + } |
| 179 | + |
| 180 | + .file_metadata td.fid, .file_metadata td.filename { |
| 181 | + font-family: source_code, monospace; |
| 182 | + font-size: 12px; |
| 183 | + } |
| 184 | + |
| 185 | + .file_metadata a:link, .file_metadata a:visited { |
| 186 | + text-decoration: none; |
| 187 | + color: #44A; |
| 188 | + } |
| 189 | + |
| 190 | + #meta_stats_toggle { |
| 191 | + font: 16px monospace; |
| 192 | + } |
| 193 | + |
| 194 | + .query_text { |
| 195 | + font-family: source_code, monospace; |
| 196 | + |
| 197 | + } |
| 198 | + |
| 199 | + .attributes td, .attributes th { |
| 200 | + font-family: source_code, monospace; |
| 201 | + } |
| 202 | + |
| 203 | + .dense td, .dense th { |
| 204 | + padding: 1px 3px; |
| 205 | + } |
| 206 | + |
| 207 | + td.nopadding { |
| 208 | + padding: 0; |
| 209 | + } |
| 210 | + |
| 211 | + .disabled td { |
| 212 | + color: #AAA; |
| 213 | + } |
| 214 | + |
| 215 | + .failed { |
| 216 | + background-color: #F44; |
| 217 | + } |
| 218 | + |
| 219 | + .done { |
| 220 | + background-color: #4A4; |
| 221 | + } |
| 222 | + |
| 223 | + .cancelled { |
| 224 | + background-color: #FCC; |
| 225 | + } |
| 226 | + |
| 227 | + .initial { |
| 228 | + background-color: #EEE; |
| 229 | + } |
| 230 | + |
| 231 | + .reserved, .active { |
| 232 | + background-color: #AAF; |
| 233 | + } |
| 234 | + |
| 235 | + .found { |
| 236 | + background-color: #CCC; |
| 237 | + } |
| 238 | + |
| 239 | + .available { |
| 240 | + background-color: #8F8; // #8F8 |
| 241 | + } |
| 242 | + |
| 243 | + .unavailable { |
| 244 | + background-color: #FF8; |
| 245 | + } |
| 246 | + |
| 247 | + a, a:visited { |
| 248 | + color: #228; |
| 249 | + } |
| 250 | + |
| 251 | + a.button, a.button:visited { |
| 252 | + color: gray; |
| 253 | + font-weight: bold; |
| 254 | + padding: 3px 5px; |
| 255 | + } |
| 256 | + |
| 257 | + </style> |
| 258 | + |
| 259 | + |
| 260 | + {% block html_head %}{% endblock %} |
| 261 | + |
| 262 | + <title>{% block page_title %}{{GLOBAL_SiteTitle}}{% endblock %}</title> |
| 263 | + |
| 264 | + <!-- <script src="{{GLOBAL_AppTopPath}}/static/js/request.js"></script> --> |
| 265 | + |
| 266 | +</head> |
| 267 | + |
| 268 | +<body> |
| 269 | + |
| 270 | +<!-- Globals |
| 271 | + APP_URL: "{{APP_URL}}" |
| 272 | + MY_PATH: "{{MY_PATH}}" |
| 273 | + GLOBAL_PathPrefix: "{{GLOBAL_PathPrefix}}" |
| 274 | + GLOBAL_AppTopPath: "{{GLOBAL_AppTopPath}}" |
| 275 | + GLOBAL_AppDirPath: "{{GLOBAL_AppDirPath}}" |
| 276 | + GLOBAL_ImagesPath: "{{GLOBAL_ImagesPath}}" |
| 277 | + GLOBAL_AppVersion: "{{GLOBAL_AppVersion}}" |
| 278 | + GLOBAL_AppObject: "{{GLOBAL_AppObject}}" |
| 279 | + GLOBAL_User: "{{GLOBAL_User}}" |
| 280 | +--> |
| 281 | + |
| 282 | +<div id="title" style="padding:30px 30px"> |
| 283 | + <h1>{{GLOBAL_SiteTitle}}</h1> |
| 284 | +</div> |
| 285 | + |
| 286 | +<div id="main_menu"> |
| 287 | + <table class="placement link_menu" width="100%"> |
| 288 | + <tr> |
| 289 | + <td><a class=button href="{{GLOBAL_PathPrefix}}/P/projects">projects</a></td> |
| 290 | + <td><a class=button href="{{GLOBAL_PathPrefix}}/R/index">RSEs</a></td> |
| 291 | + <td><a class=button href="{{GLOBAL_PathPrefix}}/R/proximity_map">CPU/RSE proximity map</a></td> |
| 292 | + <td style="width:100%"></td> |
| 293 | + <td><span style="color:#AAA; padding-right: 10px"><i>All times in UTC</i></span></td> |
| 294 | + <td> |
| 295 | + {% if GLOBAL_User %} |
| 296 | + <span style="color:#AAA">logged in as {{GLOBAL_User.Name or ""}} {{GLOBAL_User.Username}} </span><a class=button href="{{GLOBAL_PathPrefix}}/A/logout?redirect={{GLOBAL_PathPrefix}}}/index">log out</a> |
| 297 | + {% else %} |
| 298 | + <a class=button href="{{GLOBAL_PathPrefix}}/A/login?redirect={{GLOBAL_PathPrefix}}/index">log in</a> |
| 299 | + {% endif %} |
| 300 | + </td> |
| 301 | + </tr> |
| 302 | + </table> |
| 303 | +</div> |
| 304 | + |
| 305 | + |
| 306 | +<div id="body"> |
| 307 | + |
| 308 | + <div id="headline" style="clear:both"> |
| 309 | + {% if message is defined and message %} |
| 310 | + <p class=message>{{message}}</p> |
| 311 | + {% endif %} |
| 312 | + {% if error is defined and error %} |
| 313 | + <p class=error>{{error}}</p> |
| 314 | + {% endif %} |
| 315 | + <h2>{% block headline %}{% endblock %}</h2> |
| 316 | + </div> |
| 317 | + <div id=content style="clear:both">{% block content %}{% endblock %}</div> |
| 318 | +</div> <!-- body --> |
| 319 | + |
| 320 | +<div id="version">Version: {{GLOBAL_Version}}</div> |
| 321 | +</body> |
| 322 | + |
| 323 | +</html> |
0 commit comments