Digital Rights Management für elektronische Patientenakten
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

base_generic.html 1.9KB

3 years ago
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. {% block title %}<title>Gabriel's DRM</title>{% endblock %}
  5. <meta charset="utf-8">
  6. <meta name="viewport" content="width=device-width, initial-scale=1">
  7. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css" integrity="sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2" crossorigin="anonymous">
  8. <!--Add additional CSS in static file -->
  9. {% load static %}
  10. <link rel="stylesheet" href="{% static 'css/styles.css' %}">
  11. <link rel="shortcut icon" type="image/png" href="{% static 'favicon.png' %}"/>
  12. <style>
  13. {% load static %}
  14. body {
  15. background-image: url('{% static "images/wall.jpg" %}');
  16. color: black;
  17. }
  18. .col-sm-5{
  19. margin-top: 20px;
  20. border-radius: 25px;
  21. padding: 20px;
  22. box-shadow: 0 10px 20px rgba(0, 0, 0, .7);
  23. backdrop-filter: blur(6px);
  24. }
  25. </style>
  26. </head>
  27. <body>
  28. <div class="container-fluid">
  29. <div class="row">
  30. <div class="col-sm-2">
  31. {% block sidebar %}
  32. <ul class="sidebar-nav">
  33. <li><a href="{% url 'index' %}">Home</a></li>
  34. {% if user.is_authenticated %}
  35. <li> Username: {{ user.get_username }}</li>
  36. <li> Folder ID: {{ user.folderinfo }}</li>
  37. <li><a href="{% url 'create-license' user.folderinfo.id %}">Create License</a></li>
  38. <li><a href="{% url 'given-licenses' %}">Given Licenses</a></li>
  39. <li><a href="{% url 'my-licenses' %}">My Licenses</a></li>
  40. <li><a href="{% url 'logout'%}?next={{request.path}}">Logout</a></li>
  41. {% else %}
  42. <li><a href="{% url 'login'%}?next={{request.path}}">Login</a></li>
  43. {% endif %}
  44. <li id="app"></li>
  45. </ul>
  46. {% endblock %}
  47. </div>
  48. <div class="col-sm-5">{% block content %}{% endblock %}</div>
  49. </div>
  50. </div>
  51. <script src="{% static 'frontend/main.js' %}"></script>
  52. </body>
  53. </html>