This repository has been archived on 2022-03-12. You can view files and clone it, but cannot push or open issues or pull requests.
Lateinicus/public/index.html
Alexander Polynomdivision f5b2483b1b Initial commit
2018-08-15 21:15:12 +02:00

49 lines
1.9 KiB
HTML

<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{Arbeitstitel}</title>
<link rel="stylesheet" href="./index.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<link rel="stylesheet" href="https://code.getmdl.io/1.3.0/material.indigo-pink.min.css">
<script defer src="https://code.getmdl.io/1.3.0/material.min.js"></script>
</head>
<body>
<script>
// Just show a happy little snackbar
function showSnackbar() {
const sb = document.querySelector("#info-sb");
const data = {
message: 'Coming (hopefully) soon!'
};
sb.MaterialSnackbar.showSnackbar(data);
}
</script>
<!-- Flexbox needs a height to be set -->
<div class="center content" style="height: 100%">
<div class="demo-card-wide mdl-card mdl-shadow--2dp">
<div class="card-body">
<h1>{Arbeitstitel}</h1>
<h2>A fun way to studying Latin</h2>
A project for the Seminarfach of year 12.
</div>
<div class="mdl-card__actions mdl-card--border">
<button id="start-btn" onClick="showSnackbar()" class="mdl-button mdl-js-button mdl-button--primary">
Start learning
</button>
<div class="mdl-tooltip" data-mdl-for="start-btn">
Coming (hopefully) soon!
</div>
</div>
</div>
</div>
<div id="info-sb" class="mdl-js-snackbar mdl-snackbar">
<div class="mdl-snackbar__text"></div>
<button class="mdl-snackbar__action" type="button"></button>
</div>
</body>
</html>