libreschool-startpage/root/usr/share/startpage/templates/default.jinja2

104 lines
2.0 KiB
Django/Jinja

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<link href="/noindex/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="/noindex/css/open-sans.css" type="text/css" />
<title>Libreschool start page</title>
<style type="text/css"><!--
body {
font-family: "Open Sans", Helvetica, sans-serif;
font-weight: 100;
color: #ccc;
background: #3D4547;
font-size: 16px;
text-align: center;
}
h2, h3, h4 {
font-weight: 200;
}
h2 {
font-size: 28px;
}
.jumbotron {
margin-bottom: 0;
color: #ccc;
background: #3D4547;
}
.jumbotron h1 {
font-size: 128px;
font-weight: 700;
color: white;
text-shadow: 0px 2px 0px #abc,
0px 4px 10px rgba(0,0,0,0.15),
0px 5px 2px rgba(0,0,0,0.1),
0px 6px 30px rgba(0,0,0,0.1);
}
.jumbotron p {
font-size: 28px;
font-weight: 100;
}
.main {
background: white;
color: #234;
border-top: 1px solid rgba(0,0,0,0.12);
padding-top: 30px;
padding-bottom: 40px;
}
.footer {
border-top: 1px solid rgba(255,255,255,0.2);
padding-top: 30px;
}
.col-right {
text-align: right;
}
--></style>
</head>
<body>
<div class="jumbotron text-center">
<div class="container">
<p class="lead">LibreSchool project - Start page</p>
</div>
</div>
<div class="main">
<div class="container">
<div class="row">
{% for l in links %}
<div class="col-sm-6">
<h2>{{ l.props.title }}</h2>
<p><a href="{{ l.props.link }}"><img src="{{ l.props.imagelink }}" alt="{{ l.props.title }}" /></a></p>
</div>
{% endfor %}
</div>
</div>
</div>
</div>
<div class="footer">
<div class="container">
<div class="row">
<div class="col-sm-12 centered">
<p>Puoi personalizzare questi link dall'interfaccia di amministrazione.</p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>