This commit is contained in:
Yamozha
2021-03-15 04:24:13 +02:00
parent b74f05ba6a
commit 2a8fe5c3f5
84 changed files with 363 additions and 123 deletions

View File

@ -23,13 +23,24 @@
<body>
<div class="navview">
<nav class="navbar navbar-expand-lg bg-success">
<a style="color: white; font-size: 200%;" class="navbar-brand mb-0 h1" href="/"> reValuate </a>
<a style="color: white; font-size: 200%;" class="navbar-brand mb-0 h1" href="/"> reValuate | </a>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav">
<li class="nav-item d-none d-md-block" >
{% if user.is_authenticated %}
<a class="nav-link" href="/upload/">Качи</a>
{% endif %}
</li>
<li class="nav-item d-none d-md-block" >
{% if user.is_superuser %}
<a class="nav-link" href="/admin/">Админ</a>
{% endif %}
</li>
</ul>
<ul class="navbar-nav ml-auto">
<li class="nav-item dropdown ">
@ -67,41 +78,46 @@
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" crossorigin="anonymous"></script>
<style>
.odometer {
font-size: 50px;
}
</style>
<style>
.odometer {
font-size: 50px;
}
</style>
<body class="is-preload">
<!-- Header -->
<section id="header">
<div class="inner">
<img src="static/home/images/white.png" width="200" height="200">
<h1><strong>reValuate</strong><br />
</h1>
{% if user.is_authenticated %}
<p>Здравей, {{ user.username }}!</p><br>
<p>Баланса ти е: {{ userBalance }} reCoins</p>
<ul class="actions special">
<section id="header">
<div class="inner">
<img src="static/home/images/white.png" width="200" height="200">
<h1><strong>reValuate</strong><br />
</h1>
{% if user.is_authenticated %}
<p>Здравей, {{ user.username }}!</p>
{% if userBalance %}
<br><p>Баланса ти е: {{ userBalance }} reCoins</p>
{% endif %}
<ul class="actions special">
<li><a href="/upload/" class="button scrolly">Качи!</a></li>
<li><a href="/view_media/" class="button scrolly">Виж прогреса си!</a></li>
<li><a href="/view_media/" class="button scrolly">Виж прогреса си!</a></li>
<li><a href="{% url 'logout' %}" class="button scrolly">Излез!</a></li>
</ul>
{% else %}
<p>Проект на тема разделно събиране.<br> Разработено от ученици от <a style="color:white; " href="https://edutech.bg">ЧПГ "Образователни технологии"</a></p>
<ul class="actions special">
<li><a href="#one" class="button scrolly">Кои сме ние</a></li>
<li><a href="{% url 'logout' %}" class="button scrolly">Излез!</a></li>
</ul>
{% else %}
<p>Проект на тема разделно събиране.<br> Разработено от ученици от <a style="color:white; " href="https://edutech.bg">ЧПГ "Образователни технологии"</a></p>
<ul class="actions special">
<li><a href="#one" class="button scrolly">Кои сме ние</a></li>
{% endif %}
</ul>
</div>
</section>
<!-- One -->
<section id="one" class="main style1">
<div class="container">
@ -212,7 +228,6 @@
<li>&copy; edutech</li><li>Design: <a href="https://github.com/yamozha">yamozha</a> and <a href=https://github.com/vassdeniss>vassdeniss</a></li>
</ul>
</section>
{% endif %}
<!-- Scripts -->
<script src="/static/home/js/jquery.min.js"></script>
<script src=" /static/home/js/jquery.scrolly.min.js"></script>