/
index.html
57 lines (51 loc) · 1.39 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
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:py="http://genshi.edgewall.org/"
xmlns:xi="http://www.w3.org/2001/XInclude"
py:strip="">
<py:def function="page_title">Home</py:def>
<py:def function="page_specific_css">
<style>
div.buttons {
margin-top: 0.8em;
margin-left: 2em;
}
div.buttons a {
margin-top: 0.8em;
margin-left: 0.8em;
width: 220px;
text-align: center;
}
#content {
margin-right: 20px;
}
#content table, #content tr {
border: none;
background: transparent;
}
#content tr td {
border: solid 10px white;
width: 50%;
margin-right: 100px;
-moz-border-radius: 30px;
border-radius: 40px;
}
</style>
</py:def>
<div py:match="content">
<div class="buttons large">
<p>
<a href="${h.url_for(controller='work', action='index')}">Read texts</a>
<a href="${h.url_for(controller='search', action='index')}">Search texts</a>
</p>
<p>
<a href="${h.url_for(controller='multi', action='index')}">
Compare texts side-by-side</a>
<a href="${h.url_for(controller='stats', action='index')}">View statistics</a>
</p>
<p>
<a href="${h.url_for('about')}" style="width: 476px">Find out more about the project »</a>
</p>
</div>
</div>
<xi:include href="layout.html" />
</html>