Euler has design of a homepage and there is a link back to the overview for each solution.

This commit is contained in:
2018-06-14 20:11:26 -04:00
parent 894160d1a0
commit c34ebd6181
48 changed files with 1134 additions and 2394 deletions

View File

@@ -1,47 +1,50 @@
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<title>Project Euler Solutions</title>
<meta name="description" content="Felix Martin's Homepage">
<link rel="shortcut icon" type="image/png" href="https://www.felixm.de/static/mannaz.png"/>
<title>Euler - Felix Martin</title>
<meta name="author" content="Felix Martin">
<link href="https://www.felixm.de/static/template.css" rel="stylesheet">
</head>
<body>
<header>
<div class="navbar navbar-dark bg-dark box-shadow">
<div class="container d-flex justify-content-between">
<a href="#" class="navbar-brand d-flex align-items-center">
<strong>My Project Euler Solutions</strong>
</a>
<div class="container">
<div class="row">
<div class="col">
<h1><a href="https://www.felixm.de">Felix Martin</a></h1>
</div>
</div>
</header>
<main role="main">
<div class="container">
<div class="row" style="padding-top: 40px;">
<div class="row">
<div class="col">
<table class="table">
<h2>Project Euler</h2>
</div>
</div>
<div class="row">
<div class="col">
<table class="table table-hover table-striped">
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Completion date</th>
<th scope="col">Link</th>
<th scope="col">Tags</th>
<th style="width: 20%" scope="col">Link</th>
<th style="width: 30%" scope="col">Completion date</th>
<th style="width: 50%" scope="col">Tags</th>
</tr>
</thead>
<tbody>
{% for s in solutions %}
{% if not s.metadata.completion_date %}
<tr class="table-warning">
{% else %}
<tr>
<td>{{s.name}}</td>
<td>{{s.metadata.completion_date}}</td>
{% endif %}
<td><a href="{{s.html}}">{{s.name}}</a></td>
<td>{{s.metadata.completion_date}}</td>
<td>
{% for t in s.metadata.tags %}
<kbd>{{t}}</kbd>
@@ -53,20 +56,16 @@
</table>
</div>
</div>
</div><!-- /.container -->
<div class="row" style="padding-top: 40px;">
</div>
</div>
<!-- FOOTER -->
<footer class="container">
<p class="float-right"><a href="#">Back to top</a></p>
<p>&copy; 2017-2018 Felix Martin &middot;
<a href="#">Impressum</a> &middot;
<a href="https://code.felixm.de">Code</a>
</p>
</footer>
</main>
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
</body>
</html>