Repository navigation
Expand file tree
/
Copy pathtemplate.html
More file actions
145 lines (120 loc) · 3.22 KB
/
Copy pathtemplate.html
File metadata and controls
145 lines (120 loc) · 3.22 KB
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
134
135
136
137
138
139
140
141
142
143
<html>
<head>
<title>{%block head_title %}FTS-Light{% endblock %}</title>
<style type="text/css">
body, td, th {
font-family: Verdana, Arial, Verdana, Tahoma;
font-size: 12px;
vertical-align: top;
}
td, th {
border: 1px solid #aaaaaa;
padding: 5px;
}
td {
border: 1px solid #aaaaaa;
}
th {
border-bottom: 1px solid #aaaaaa;
text-align: left;
b-ackground-color: #eeeeee;
color: gray;
}
table {
border-collapse: collapse;
border: 1px solid #aaaaaa;
}
table.formatting {
border: 0;
}
.formatting td, .formatting th {
border: 0;
}
table.log {
border: 0;
}
.log td, .log th {
vertical-align: top;
border: 0;
}
.log td.message {
white-space: pre;
}
table.config {
border: 0;
}
.config td, .config th {
vertical-align: top;
border: 0;
}
.config td.option {
text-align: right;
}
.config td.value {
text-align: left;
}
table.states {
border: 0;
}
.states th {
text-align: right;
color: black;
}
.states td, .states th {
font-weight: normal;
vertical-align: top;
align: right;
border: 0;
}
div.log_line {
white-space: nowrap;
font-size:10px;
}
.red {
color: #FF4444;
}
.yellow {
color: #AA3333;
}
.none {
border-left: 0;
border-right: 0;
}
.right {
border-left: 0;
}
.left {
border-right: 0;
}
p.connection_log {
font-family: Courier;
}
{% block extra_head %}{% endblock %}
</style>
{% block head %}{% endblock %}
</head>
<body>
<h1>{{GLOBAL_SiteTitle}}</h1>
{% set menu = [("index","home"), ("log","log"), ("history","history"), ("config","configuration"), ("charts","charts"), ("input_dir","input location")] %}
<p id="template_menu">
{%- for url, label in menu -%}
<a href="{{GLOBAL_URLPrefix}}/{{url}}">{{label}}</a>
{%- endfor -%}
{% if held %}
<span style="color:red;">FTS-light is held</span>
{% endif %}
<span id="time_display" style="float:right"></span>
</p>
<script type="text/javascript">
setInterval(
function() {
var o = document.getElementById("time_display");
var d = new Date();
o.innerHTML = "" + d.toUTCString();
},
1000);
</script>
<div style="padding: 10px 50px">{% block contents %}{% endblock %}</div>
<div style="position:fixed; bottom:5px; right:10px; font-style:italic; color:gray">Version: {{GLOBAL_Version}}</div>
</body>
</html>