{% extends 'base.html' %}
	{% load static %}

{% block optionalParams %} <link rel="stylesheet" href="{% static 'home/css/upload.css' %}"> {% endblock %}

{% block title %} Upload? {% endblock %}

{% block content %}
{% if user.is_authenticated %}

        <div class="container-fluid">
            <div class="row" id="choices" name="choices">
                <div class="col-sm-6 col-md-6">
                    <a href="/upload_image/"><button class="fancyButton" style="cursor: pointer;"><span class="fa fa-upload"></span><br>Upload Image </button></a>
                </div>
                <div class="col-md-6">
                    <a href="/upload_video/"><button value="video" class="fancyButton" style="cursor: pointer;"><span class="fa fa-upload"></span><br>Upload Video </button></a>
                </div>
            </div>
        </div>

{% else %}
<div class="centered">
  <p>Не сте влезли!</p>
  <a href="{% url 'login' %}">Влезте</a> или си <a href="{%url 'signup' %}>">направете акаунт</a>!
  </div>
{% endif %}
{% endblock %}
