-
Notifications
You must be signed in to change notification settings - Fork 0
/
videolist.html
132 lines (111 loc) · 2.7 KB
/
videolist.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
<!doctype html>
<html ng-app="demo">
<head>
<title>{% block title %}{{ systemInfo.hostname }} files{% endblock %}</title>
<link rel="stylesheet" href="/static/hello.css">
<link rel="stylesheet" href="/static/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="/static/font-awesome-4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="/static/angular-ui-switch.min.css">
<script src="/static/angular/angular.min.js"></script>
<script src="/static/bootstrap/js/bootstrap.min.js"></script>
<script src="/static/angular-ui-switch.min.js"></script>
<script src="/static/hello.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
.videoTable {
border-collapse: collapse;
width: 65%;
//table-layout: fixed;
}
.videoTable tbody tr:nth-child(even){
background-color: #EEEEEE;
/* color: #fff; */
}
.videoTable td {
font-size: 1.1em;
padding: 8px;
}
.videoTable th {
font-size: 1.1em;
padding: 8px;
text-align:left;
}
.headerTable {
border-collapse: collapse;
width: 65%;
//table-layout: fixed;
}
/*
.headerTable tbody tr:nth-child(even){
background-color: #EEEEEE;
/* color: #fff; */
}
*/
.headerTable td {
font-size: 1.1em;
padding: 8px;
}
.headerTable th {
font-size: 1.1em;
padding: 8px;
text-align:left;
color: #000;
background-color: #EEEEEE;
}
.headerParagraph {
width: 65%;
}
</style>
</head>
<body>
<!--
<video src="http://192.168.1.15:5000/videolist/20171201_091431.mp4" controls>
</video>
-->
<p class="headerParagraph">
<B>Please Note</B>. Do not play video files in your browser during an experiment! This may disrupt ongoing video recording. This is a very simple interface to play recorded video but requires the entire video file to be downloaded first, this is not a streaming interface.
</p>
<TABLE class="headerTable">
<TR>
<TH>Hostname</TH>
<TH>IP</TH>
<TH>path</TH>
</TR>
<TR>
<TD>{{ systemInfo.hostname }}</TD>
<TD><B>{{ systemInfo.ip }}</TD>
<TD><B>{{ abs_path }}</TD>
</TR>
</TABLE>
<BR>
<table class="videoTable">
<tr>
<th>File</th>
<!--
<th>Width</th>
<th>Height</th>
<th>FPS</th>
<th>Duration (sec)</th>
-->
<th>Size</th>
</tr>
{% for file in files %}
<!--
<tr>
{{ file }}
</tr>
-->
<tr>
<td><a href="/videolist{{ file.path }}">{{ file.file }}</a></td>
<!--
<td> {{ file.width }}</td>
<td> {{ file.height }}</td>
<td> {{ file.fps }}</td>
<td> {{ file.duration }}</td>
-->
<td> {{ file.size }}</td>
</tr>
{% endfor %}
</table>
</body>
</html>