-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
133 lines (124 loc) · 4.05 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
<!DOCTYPE html>
<html class="no-js" lang="en">
<head>
<title>CDS</title>
<meta charset="utf-8" />
<meta name="description" content="CDS - cds.cern.ch" />
<meta name="viewport" content="width=device-width" />
<link rel="shortcut icon" href="/bkp-favicon.ico" />
<!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
<link
rel="stylesheet"
href="//stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css"
integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh"
crossorigin="anonymous"
/>
<link
rel="stylesheet"
href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css"
/>
<link rel="stylesheet" href="/bkp-styles/main.css" />
</head>
<body>
<div class="container">
<div class="cds-logo">
<div class="row">
<div class="col-md-12">
<h1>CDS</h1>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="cds-message">
<div id="main"></div>
<br />
<br />
<p class="lead">
For more information visit:
</p>
<div class="cds-button-group">
<a
href="https://cern.service-now.com/service-portal?id=service_status_board"
target="_blank"
class="btn btn-link btn-lg"
rel="noreferrer"
>
<i class="fa fa-heartbeat"></i> CERN IT Service Status Board
</a>
<br /><br />
<a
href="https://cern.service-now.com/service-portal?id=functional_element&name=CDS"
target="_blank"
class="btn btn-link btn-lg"
rel="noreferrer"
>
<i class="fa fa-medkit"></i> CERN Help desk (for any user)
</a>
<br /><br />
<a
href="https://mattermost.web.cern.ch/it-dep/channels/cds"
target="_blank"
class="btn btn-link btn-lg"
rel="noreferrer"
>
<i class="fa fa-comments"></i> Support chat (for CERN users)
</a>
</div>
</div>
</div>
</div>
<div id="statuses"></div>
<div class="cds-footer"></div>
</div>
</body>
<script id="template-main" type="text/x-handlebars-template">
{{#if title}}
<h1>{{{title}}}</h1>
{{/if}}
{{#if description}}
<p class="lead">{{{description}}}</p>
{{/if}}
</script>
<script id="template-statuses" type="text/x-handlebars-template">
{{#if statuses}}
<div class="d-block cds-status">
{{else}}
<div class="d-none cds-status">
{{/if}}
<div class="row">
<div class="col-md-2"></div>
<div class="col-md-8">
<div class="row">
<div class="col-md-12 text-center cds-status-title">
<h2>Incident Status</h2>
</div>
</div>
<div class="cds-status-container">
{{#each statuses}}
<div class="row cds-status-section">
{{#if title}}
<div class="col-md-4 my-auto">
<h4>{{{title}}}</h4>
</div>
{{/if}}
<div class="col-md-8">
{{#if description}}
<div class="cds-status-message">
{{{description}}}
</div>
{{/if}}
{{#if date}}
<small>{{{date}}}</small>
{{/if}}
</div>
</div>
{{/each}}
</div>
<div class="col-md-2"></div>
</div>
</div>
</script>
<script src="//cdnjs.cloudflare.com/ajax/libs/handlebars.js/4.7.6/handlebars.min.js" integrity="sha512-zT3zHcFYbQwjHdKjCu6OMmETx8fJA9S7E6W7kBeFxultf75OPTYUJigEKX58qgyQMi1m1EgenfjMXlRZG8BXaw==" crossorigin="anonymous"></script>
<script src="/bkp-scripts/main.js"></script>
</html>