base.html 4.48 KB
Newer Older
1
{% load static %}<!DOCTYPE html>
Bruno Meyer's avatar
Bruno Meyer committed
2 3 4
<html>
  <head>
    <meta charset="utf-8">
5
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
6 7
    <link rel="icon" href="{% static 'favicon.ico' %}" type="image/x-icon" />
    <title>{% if title %}{{ title}} | {% endif %}A.D.E.G.A.</title>
8

9 10
    
    <!-- <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"/> -->
11
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js">
12 13 14
    
    <link rel="stylesheet" href="{% static 'bootstrap4/css/bootstrap.min.css' %}"/>
    
15 16 17
    <link rel="stylesheet" href="{% static 'flatly/bootstrap.css' %}"/>

    <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.8/css/all.css">
18 19
    <link rel="stylesheet" href="{% static 'fontawesome5/css/fa-regular.min.css' %}"/>
    <link rel="stylesheet" href="{% static 'adega/css/styles.css' %}"/>
20

21
    
22 23

    <link rel="preload" href="https://fonts.googleapis.com/css?family=Lato:400,700,400italic" as="style"/>
24
    <!-- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.12.1/css/bootstrap-select.css" /> -->
25
    
26
    <link rel="stylesheet" href="{% static 'bootstrap-select/css/bootstrap-select.min.css' %}"/>
27
    
28
    <link rel="stylesheet" href="https://cdn.datatables.net/1.10.19/css/dataTables.bootstrap4.min.css"/>
Bruno Meyer's avatar
Bruno Meyer committed
29 30
  </head>
  <body>
31 32 33 34 35
    <section id="header">
        {% include 'adega/navbar.html' %}
    </section>
    <section id="wrap-page" class="container-fluid">
      <div class="row" style="min-height:100%">
36
        <nav class="col-md-2 sidebar">
37 38 39
            {% if not hide_navbar %}
              {% include 'adega/sidebar.html' %}
            {% endif %}
40
        </nav>
Jomaro Rodrigues's avatar
Jomaro Rodrigues committed
41 42 43 44 45 46 47 48 49 50 51 52
        <section class="col-md-10">
          {% if messages %}
          <div id="messages">
            {% for message in messages %}
            <div class="alert alert-{{ message.tags }}" role="alert">
                <div class="container">{{ message }}</div>
            </div>
            {% endfor %}
          </div>
          {% endif %}
          <div id="content">
            {% block content %}
53

Jomaro Rodrigues's avatar
Jomaro Rodrigues committed
54 55
            {% endblock %}
          </div>
56 57
        </section>
      </div>
58
    </section>
59
    <footer>
Jomaro Rodrigues's avatar
Jomaro Rodrigues committed
60 61 62 63 64
      <div class="container container-fluid">
        <div class="row">
          <div class="col-md-4">
            <h3>Links</h3>
            <ul>
65 66 67
              <li><a href="http://pet.inf.ufpr.br/doku.php?id=adega">Página oficial do projeto</a></li>
              <li><a href="https://gitlab.c3sl.ufpr.br/adega/adega">Código fonte</a></li>
              <!-- <li><a href="#">Desenvolvedores</a></li> -->
Jomaro Rodrigues's avatar
Jomaro Rodrigues committed
68 69 70 71 72
            </ul>
          </div>
          <div class="col-md-4 offset-md-4">
            <h3>Mantido por</h3>
            <a href="http://pet.inf.ufpr.br">
73
              <img src="{% static 'pet/logo_pet_h_branco.png' %}" width="50%">
Jomaro Rodrigues's avatar
Jomaro Rodrigues committed
74 75
            </a>
          </div>
76 77
        </div>
      </div>
78
    </footer>
Bruno Meyer's avatar
Bruno Meyer committed
79
  </body>
80

81 82 83 84

  <script src="https://code.jquery.com/jquery-3.3.1.js"></script>
  <!-- <script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script> -->
  
85
  <script src="https://cdn.datatables.net/1.10.19/js/jquery.dataTables.min.js"></script>
86 87 88 89 90 91 92 93 94 95 96
  <!-- <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script> -->
  
  <script src="{% static 'bootstrap4/js/bootstrap.bundle.min.js' %}"></script>
  
  <script src="{% static 'adega/js/scripts.js' %}"></script>
  

  <script src="{% static 'adega/js/plotly-latest.min.js' %}"></script>
  
  
  <script src="https://cdn.datatables.net/1.10.19/js/dataTables.bootstrap4.min.js"></script>
97
  
98
  <script src="{% static 'adega/js/adega-chart.js' %}"></script>
99 100 101


  <script src="{% static 'datatables/jquery.dataTables.min.js' %}"></script>
102
  <script src="{% static 'bootstrap-select/js/bootstrap-select.min.js' %}"></script>
103 104
    
  
105 106 107 108
  <!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.12.1/js/bootstrap-select.js"></script> -->
  <script>
    $.fn.selectpicker.Constructor.BootstrapVersion = '4';
  </script>
109

110 111 112 113 114 115 116 117
  <script charset="utf-8">
      $(function () {
       $('.fa-info-circle').popover({
       placement: 'top',
       trigger: 'hover'
       })
  })
  </script>
118 119 120
  {% block js-foot %}
    
  {% endblock js-foot %}
121
</html>