first commit
This commit is contained in:
@@ -0,0 +1,56 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
{% block title %}<title>Gabriel's DRM</title>{% endblock %}
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css" integrity="sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2" crossorigin="anonymous">
|
||||
<!--Add additional CSS in static file -->
|
||||
{% load static %}
|
||||
<link rel="stylesheet" href="{% static 'css/styles.css' %}">
|
||||
<link rel="shortcut icon" type="image/png" href="{% static 'favicon.png' %}"/>
|
||||
<style>
|
||||
{% load static %}
|
||||
body {
|
||||
background-image: url('{% static "images/wall.jpg" %}');
|
||||
color: black;
|
||||
}
|
||||
|
||||
.col-sm-5{
|
||||
|
||||
margin-top: 20px;
|
||||
border-radius: 25px;
|
||||
padding: 20px;
|
||||
box-shadow: 0 10px 20px rgba(0, 0, 0, .7);
|
||||
backdrop-filter: blur(6px);
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<div class="col-sm-2">
|
||||
{% block sidebar %}
|
||||
<ul class="sidebar-nav">
|
||||
<li><a href="{% url 'index' %}">Home</a></li>
|
||||
{% if user.is_authenticated %}
|
||||
<li> Username: {{ user.get_username }}</li>
|
||||
<li> Folder ID: {{ user.folderinfo }}</li>
|
||||
<li><a href="{% url 'create-license' user.folderinfo.id %}">Create License</a></li>
|
||||
<li><a href="{% url 'given-licenses' %}">Given Licenses</a></li>
|
||||
<li><a href="{% url 'my-licenses' %}">My Licenses</a></li>
|
||||
<li><a href="{% url 'logout'%}?next={{request.path}}">Logout</a></li>
|
||||
{% else %}
|
||||
<li><a href="{% url 'login'%}?next={{request.path}}">Login</a></li>
|
||||
{% endif %}
|
||||
<li id="app"></li>
|
||||
</ul>
|
||||
{% endblock %}
|
||||
</div>
|
||||
<div class="col-sm-5">{% block content %}{% endblock %}</div>
|
||||
</div>
|
||||
</div>
|
||||
<script src="{% static 'frontend/main.js' %}"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user