rug-website/rugwebsite/templates/rugwebsite/base.html

92 lines
6.7 KiB
HTML
Raw Normal View History

2017-11-14 09:51:57 +01:00
{% load staticfiles %}
2018-05-04 15:09:27 +02:00
2017-11-14 09:51:57 +01:00
<!DOCTYPE html>
<html lang="en" style="background: #fff;">
<head>
<meta charset="utf-8"/>
2017-11-15 14:59:24 +01:00
<title>{% block title %}Awesomeness{% endblock %}</title>
2017-11-14 09:51:57 +01:00
<link href='https://fonts.googleapis.com/css?family=Arvo' rel='stylesheet' type='text/css'/>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/css/bootstrap.min.css" integrity="sha384-PsH8R72JQ3SOdhVi3uxftmaW6Vc51MKb0q5P2rRUpPvrszuE4W1povHYgTpBfshb" crossorigin="anonymous">
2018-05-14 11:51:39 +02:00
<link rel="stylesheet" href="{% static 'css/font-awesome.min.css' %}" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous"/>
<link rel="stylesheet" href="{% static 'css/bootstrap-theme.css' %}" integrity="sha384-s6VGeJubGke2hQrB/YDNi30BNtb6XouaCtN38JpFTI9v6nvNHbI7HGvrtY5OmYuV" crossorigin="anonymous"/>
<link rel="stylesheet" href="{% static 'css/bootstrap-tagsinput.css' %}" integrity="sha384-Rek+1LyOfvb7slWDvUOfdsTFArZbI89fFVHIdMboEsconuw4I7Zt07aknf3GbQS0" crossorigin="anonymous"/>
2018-05-16 12:00:24 +02:00
<link rel="stylesheet" href="{% static 'css/rug-2017.css' %}" integrity="sha384-kJtoxMdHlyhwqatovNuhdOaRZxYa5xq/yFGTOko89Sh4FNrIgyTsLnaI0iexQlfM" crossorigin="anonymous"/>
<link rel="stylesheet" href="{% static 'css/rug-herbert.css' %}" integrity="sha384-sgDr8zcNPlaP2IHJN4OFtZfcD/uVLMWf56lSaLVs+lEZrdCvB3lgOewHakOuVndY" crossorigin="anonymous"/>
2017-11-14 09:51:57 +01:00
<!-- jQuery library -->
2018-05-14 11:38:24 +02:00
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js" integrity="sha384-3ceskX3iaEnIogmQchP8opvBy3Mi7Ce34nWjpBIwVTHfGYWQS9jwHDVRnpKKHJg7" crossorigin="anonymous"></script>
<script src="//code.jquery.com/ui/1.11.4/jquery-ui.js" integrity="sha384-YwCdhNQ2IwiYajqT/nGCj0FiU5SR4oIkzYP3ffzNWtu39GKBddP0M0waDU7Zwco0" crossorigin="anonymous"></script>
2018-05-14 11:51:39 +02:00
<script src="{% static 'js/bootstrap-tagsinput.min.js' %}" integrity="sha384-tdV8t2dotVFchDO14eaQSu2SFqeytqAO84BwLadSgzuLvs6fiFcrqb2CjxDSaUyX" crossorigin="anonymous"></script>
2017-11-28 17:36:34 +01:00
{% block extrahead %}{% endblock %}
2017-11-14 09:51:57 +01:00
</head>
2017-11-28 18:30:09 +01:00
<body style="background: #fff;" {% if user.is_authenticated %}class="small-header"{% endif %}>
2017-11-14 09:51:57 +01:00
<header data-toggle-group="mainmenu" data-toggle-class="rug-site-header--open" data-toggle-id="menu-show" class="rug-site-header js--togglable-item">
<div class="rug-wrapper rug-wrapper--big rug-wrapper--flush">
<div class="rug-site-header__bar">
2017-11-15 14:59:24 +01:00
<a class="rug-site-header__item" accesskey="1" href="http://www.rug.nl/"><img class="rug-site-logo" src="{% static 'images/logo--en.png' %}" alt="Rijksuniversiteit Groningen"><span class="rug-hidden-visually">Rijksuniversiteit Groningen</span></a><span class="rug-site-header__item"><span class="rug-site-header__text rug-hidden-l">founded in 1614 &nbsp;-&nbsp; top 100 university</span></span>
2017-11-14 09:51:57 +01:00
<div class="rug-site-header__item rug-site-header__item--close">
<a href="#" data-toggle-group="mainmenu" data-toggle-class="rug-toggleable" data-toggle-id="menu-hide" class="rug-button rug-font-white rug-button--nav js--togglable-switch">Sluiten<span class="rug-icon rug-icon--l rug-icon--close rug-ml-xxs" aria-hidden="true"></span></a>
</div>
<nav class="rug-site-header__item">
<ul class="rug-nav--meta rug-list--inline">
<li class="rug-nav--meta__item rug-nav--meta__item--mobile">
<a href="#" data-toggle-group="mainmenu" data-toggle-class="rug-toggleable" data-toggle-id="menu-show" class="js-id--main_menu_toggle js--togglable-switch rug-font-black"><span class="rug-icon rug-icon--menu rug-mr-s" aria-hidden="true"></span><span class="rug-icon rug-icon--search" aria-hidden="true"></span><span class="rug-hidden-visually">Menu en zoeken</span></a>
</li>
<li class="rug-nav--meta__item">
<a href="http://www.rug.nl/society-business/centre-for-information-technology/research/organisation/" accesskey="5" class="rug-nav--meta__link js--main-menu-clone">Contact Research and Innovation Support</a>
</li>
{% if user.is_authenticated %}
<li class="rug-nav--meta__item rug-mr-xs">
2017-12-14 18:44:38 +01:00
{% block accountlink %}<a href="#" class=""><span class="rug-icon rug-icon--user rug-mr-xs" aria-hidden="true"></span><span>Welcome {{ user.get_username }}</span></a>{% endblock %}
2018-05-04 15:09:27 +02:00
<div class="rug-nav--meta__flyout">
2017-11-14 09:51:57 +01:00
<ul class="rug-list--unstyled">
<li>
<a href="{% url 'logout' %}?next={{ request.path }}" data-opener="logout" class="js--popup-opener"><span aria-hidden="true" class="rug-icon rug-icon--caret-right rug-mr-xs"></span>Log out</a>
</li>
2018-05-04 15:09:27 +02:00
</ul>
2017-11-14 09:51:57 +01:00
</div>
</li>
2018-05-04 15:09:27 +02:00
<li class="rug-nav--meta__item rug-mr-xs">
<a href="{% url 'gdpr' %}" class=""><span class="rug-icon rug-icon--user rug-mr-xs" aria-hidden="true"></span><span>About personal data</span></a>
</li>
2017-11-24 17:41:58 +01:00
{% else %}
<li class="rug-nav--meta__item rug-mr-xs">
2017-12-14 18:49:07 +01:00
<a href="{% url 'saml:saml2_auth' %}?provider=RuG" class=""><span class="rug-icon rug-icon--user rug-mr-xs" aria-hidden="true"></span><span>Login via the University of Groningen Single Sign on.</span></a>
2017-11-24 17:41:58 +01:00
</li>
2018-05-04 15:09:27 +02:00
<li class="rug-nav--meta__item rug-mr-xs">
<a href="{% url 'gdpr' %}" class=""><span class="rug-icon rug-icon--user rug-mr-xs" aria-hidden="true"></span><span>About personal data</span></a>
</li>
2017-11-14 09:51:57 +01:00
{% endif %}
</ul>
</nav>
</div>
</div>
2018-05-04 15:09:27 +02:00
{% if user.is_authenticated or shownav %}
2017-11-14 09:51:57 +01:00
<div class="rug-background-menu rug-shadow-box-inset">
<div class="rug-nav-left-white"></div>
<div class="rug-nav-center-1600">
<div class="rug-nav-caption">
2017-11-15 14:59:24 +01:00
{% block navtitle %}Also Awesome{% endblock %}&nbsp;
2017-11-14 09:51:57 +01:00
</div>
{% block nav %}
2017-11-14 14:31:39 +01:00
<div class="rug-nav-item rug-nav-item-active">
2017-11-15 14:59:24 +01:00
<a href="#">Home</a>
2017-11-14 09:51:57 +01:00
</div>
{% endblock %}
</div>
{% endif %}
</div>
</header>
<div style="height: 30px"></div>
2017-11-24 17:45:57 +01:00
<div id="main" class="container" style="margin-bottom: 200px; ">
2017-11-14 09:51:57 +01:00
{% block content %}
{% endblock content %}
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.3/umd/popper.min.js" integrity="sha384-vFJXuSJphROIrBnz7yo7oB41mKfc8JzQZiCq4NCceLEaO4IHwicKwpJf9c9IpFgh" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/js/bootstrap.min.js" integrity="sha384-alpBpkh1PFOepccYVYDB4do5UnbKysX5WZXm3XxPqe5iKTfUKjNkCk9SaVuEZflJ" crossorigin="anonymous"></script>
</body>
</html>