blob: 365485580621e97c8ddcfe3cb64f6d60595edbd1 (
plain)
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
|
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Tidsreg</title>
<style>
.flex {
display: flex;
}
.flex-grow {
flex-grow: 1;
}
.just-start {
justify-content: flex-start;
}
.week-bar {
margin-left: 10px;
border: 1px solid black;
}
.status-started {
border-color: green;
}
.entry-bar {
border-width: 3px;
border-style: solid;
padding: 10px;
}
.entry-box {
}
#controls-bar {
margin-bottom: 10px;
}
</style>
</head>
<body>
<div id="controls-bar">
<button>I går</button>
<input type="date"</input>
<button>I morgen</button>
</div>
<div class="flex">
<div class="status-started entry-bar">
<div class="flex just-start">
<div class="entry-box">
<b>Interval</b>
<div>
<label for="fromTime">Fra: </label>
<input id="fromTime" type="time" class="form-control" aria-label="Time start">
</div>
<div>
<label for="toTime">Til: </label>
<input id="toTime" type="time" class="form-control" aria-label="Time stop">
</div>
</div>
<div class="entry-box">
<b>Mærker</b><br>
<select>
<option value="-">-</option>
<option value="SVT-232">SVT-232</option>
<option value="Ferie">Ferie</option>
</select><br>
<select>
<option value="-">-</option>
<option value="SVT-232">SVT-232</option>
<option value="Ferie">Ferie</option>
</select>
</div>
<div class="entry-box">
<b>Kommentar</b><br>
<textarea></textarea>
</div>
<div class="entry-box">
<b>Status</b><br>
<i class="status-started">I gang</i><br>
<span>1:34 timer</span>
</div>
</div>
<button>Start ny</button>
</div>
<div class="flex-grow week-bar">
<b>Uge 42</b>
</div>
</div>
<div class="flex">
<div class="flex-grow">
<table>
<thead>
<th>-</th>
<th>Fra</th>
<th>Til</th>
<th>Mærker</th>
<th>Beskrivelse</th>
</thead>
<tbody>
<tr>
<td><input type="checkbox" /></td>
<td><input type="time" /></td>
<td></td>
<td>Ferie, SVT-232</td>
<td>Ting og sager</td>
</tbody>
</table>
</div>
</div>
</body>
</html>
|