-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbase.html
68 lines (68 loc) · 1.68 KB
/
base.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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<style>
.page {
width: 153mm;
height: 195mm;
background: rgb(204,204,204);
}
* {
max-width:100%;
word-wrap:break-word;
}
table {
border-collapse: collapse;
height: 100%;
}
.summary {
position: absolute;
right: 0;
bottom: -20mm;
left: 0;
border-top: 1px solid black;
padding: 1rem;
background-color: #efefef
}
.contents {
height: 80%;
background-color: #efefef;
}
.subject {
max-width: 40mm;
background-color: white;
border-top: 1px solid gray;
border-right:1px solid black;
}
</style>
<title>Hello World!</title>
</head>
<body>
<div class="page">
<div class="top">
<p>Notes taken with the cornelly notetaking app v0.1 - by @peakBreaker</p>
</div>
<div class="contents">
<h2>Notes</h2>
<table>
{{#mainContents}}
<tr>
<td class="subject">{{parsedSubject}}</td>
<td style="border-top: 1px solid gray; max-width:113mm; background-color:#d1d1d1;">{{parsedContent}}</td>
</tr>
{{/mainContents}}
<tr style="height:90%; min-height:10mm;">
<td class="subject" style="height:100%;"></td>
<td style="border-top: 1px solid gray; background-color:#d1d1d1;"></td>
</tr>
</table>
</div>
<div class="summary">
Summary: {{summary}}
</div>
</div>
<script src="js/knockout-3.4.2.js"></script>
<script src="js/app.js"></script>
</body>
</html>