aboutsummaryrefslogtreecommitdiff
path: root/app/views/templates/main.scala.html
blob: 5ec9da2f2fb7aa3c2df5deaaf212a9a3e70623ba (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
@(logo: Html)(slogan: Html)(title: String)(accountData: Option[models.Views.Account] = None)(content: Html)(implicit flash: Flash, token: play.filters.csrf.CSRF.Token)

<!DOCTYPE html>

<html>

	<head>

		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">

		<title>@title</title>

		<link rel="stylesheet" media="screen" href="@routes.Assets.at("stylesheets/pure-min.css")">
		<link rel="stylesheet" media="screen" href="@routes.Assets.at("stylesheets/grids-responsive-min.css")">
		<link rel="stylesheet" media="screen" href="@routes.Assets.at("stylesheets/font-awesome.min.css")">

		<link rel="stylesheet" media="screen" href="@routes.Assets.at("stylesheets/konami.css")">
		<link rel="stylesheet" media="screen" href="@routes.Assets.at("stylesheets/main.css")">
		<link rel="stylesheet" media="screen" href="@routes.Assets.at("stylesheets/ebe.css")">
		<link rel="stylesheet" media="screen" href="@routes.Assets.at("stylesheets/pepal.css")">

		<link rel="shortcut icon" type="image/png" href="@routes.Assets.at("images/favicon.png")">

		@if(accountData.isDefined) {
			<script src="@routes.Assets.at("javascripts/konami.js")" type="text/javascript"></script>
			<script src="@routes.Assets.at("javascripts/cheat.js")" type="text/javascript"></script>
		}

	</head>

	<body data-token="@token.value">

		<div class="disclaimer-bar yellow-bg">
			This is a dummy scholar project! Do not use for real serious business stuff!
		</div>

		<div class="page">

			<header>
				<div class="pure-g">
					<div class="logo pure-u-1 pure-u-lg-1-2">
						<h1>
							<a href="@routes.Application.index()">@logo</a>
						</h1>
						<h2>
							<a href="@routes.Application.index()">@slogan</a>
						</h2>
					</div>

					<div class="account-info pure-u-1 pure-u-lg-1-2">@fragments.accountInfos(accountData)</div>
				</div>
			</header>

			<div class="flash-message">@fragments.flashBanner()</div>

			<div class="content">@content</div>

			<footer>
				<span class="copyright">&copy; @logo Inc. All rights reserved.</span>

				<span class="footer-links">
					<a href="@routes.Application.index()">Terms of use</a>
					-
					<a href="@routes.Application.index()">Privacy policy</a>
				</span>
			</footer>

		</div>

	</body>

</html>