god damn! it's starting to look like a website

This commit is contained in:
Yamozha
2021-02-28 04:41:31 +02:00
parent 00748020be
commit 06f6f0d473
12 changed files with 280 additions and 29 deletions

View File

@ -1,13 +1,12 @@
{% extends 'base.html' %}
{% load static %}
{% block optionalParams %} <link rel="stylesheet" href="{% static 'home/css/upload.css' %}"> {% endblock %}
{% block optionalParams %} <link rel="stylesheet" href="/static/home/css/upload.css"> {% endblock %}
{% block title %} Upload? {% endblock %}
{% block content %}
{% if user.is_authenticated %}
<h1 style="text-align:center;">Hi {{ user.username }}!</h1>
<div class="container-fluid">
<div class="row" id="choices" name="choices">
@ -21,7 +20,9 @@
</div>
{% else %}
<p>You are not logged in</p>
<a href="{% url 'login' %}">Log In</a>
<div class="centered">
<p>Не сте влезли!</p>
<a href="{% url 'login' %}">Влезте</a> или си <a href="{%url 'signup' %}>">направете акаунт</a>!
</div>
{% endif %}
{% endblock %}