Changes settings and added dashboard html

This commit is contained in:
teras 2017-10-07 18:34:27 +03:00
parent ae2085d474
commit e60955fc30
2 changed files with 97 additions and 1 deletions

View File

@ -25,7 +25,7 @@ SECRET_KEY = 'gze3mreum6caz26_k2zq8(zn+)v3pdfaup+-e20eu@vca5st=b'
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
ALLOWED_HOSTS = []
ALLOWED_HOSTS = ['k-space.ee']
# Application definition

96
templates/dashboard.html Normal file
View File

@ -0,0 +1,96 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0" />
<title>K-space</title>
<link href="https://fonts.googleapis.com/css?family=Orbitron" rel="stylesheet">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link rel="stylesheet" href="./materialize.min.css">
<link rel="stylesheet" href="./app.css">
</head>
<body>
<div id="container" class="grey lighten-4">
<div class="header section center-align">
<h1 class="section darken-2 z-depth-1 white-text">k-space.ee</h1>
</div>
<br/><br/><br/>
<!-- dashboard custom -->
<h3 class="center-align">Challenges</h3>
<div class="row container challenges">
{% %}
<div class="col s12 m8 offset-m2">
<div class="card">
<div class="card-content">
<div class="card-title">Linnar Viigi muruniiduk lahti muukida</div>
<p>Immo peal, muru on pikk</p>
</br>
<div>
<div class="chip">Electronics</div>
<div class="chip">Physics</div>
<div class="chip">Robotics</div>
</div>
</br>
<div class="center-align">
<a href="#" class="btn-large">I can do it</a>
</div>
</div>
</div>
</div>
</div>
<!-- dashboard custom -->
<footer class="page-footer">
<div class="container">
<div class="row">
<div class="col l6 s12">
<h5 class="white-text">Contact</h5>
<p class="grey-text text-lighten-4">
<i class="material-icons">phone</i>&nbsp;Call Lauri 55 55 5555
</p>
<h5 class="white-text">Sponsors</h5>
<p class="grey-text text-lighten-4">
We have more than 10 companies supporting us financially and by equipment
</br>
<a href="#">I want to become a sponsor</a>
</p>
</div>
<div class="col l4 offset-l2 s12">
<h5 class="white-text">Links</h5>
<ul>
<li><a class="grey-text text-lighten-3" href="#!">Location</a></li>
<li><a class="grey-text text-lighten-3" href="#!">Mission</a></li>
<li><a class="grey-text text-lighten-3" href="#!">People</a></li>
</ul>
</div>
</div>
</div>
<div class="footer-copyright">
<div class="container">
© 2017 k-space
<!-- <a class="grey-text text-lighten-4 right" href="#!">More Links</a> -->
</div>
</div>
</footer>
<div>
</div>
<script src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.98.0/js/materialize.min.js"></script>
<script src="./app.js"></script>
</body>
</html>