Coverage for templates/header.html: 91%

45 statements  

« prev     ^ index     » next       coverage.py v7.5.1, created at 2024-05-18 23:09 +0000

1{% load static %} 

2{% load i18n %} 

3<link rel="author" type="text/plain" href="{% static 'humans.txt' %}"> 

4<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico"> 

5<link rel="apple-touch-icon" href="{% static '/img/nobody/57.png' %}">{# iPhone #} 

6<link rel="apple-touch-icon" sizes="60x60" href="{% static '/img/nobody/60.png' %}"> 

7<link rel="apple-touch-icon" sizes="72x72" href="{% static '/img/nobody/72.png' %}">{# iPad #} 

8<link rel="apple-touch-icon" sizes="76x76" href="{% static '/img/nobody/76.png' %}"> 

9<link rel="apple-touch-icon" sizes="114x114" href="{% static '/img/nobody/114.png' %}">{# iPhone (hi-res) #} 

10<link rel="apple-touch-icon" sizes="120x120" href="{% static '/img/nobody/120.png' %}">{# iPhone (retina) #} 

11<link rel="apple-touch-icon" sizes="144x144" href="{% static '/img/nobody/144.png' %}">{# iPad (hi-res) #} 

12<link rel="apple-touch-icon" sizes="152x152" href="{% static '/img/nobody/152.png' %}">{# iPad #} 

13<link rel="apple-touch-icon" sizes="167x167" href="{% static '/img/nobody/167.png' %}">{# iPad (retina) #} 

14<link rel="apple-touch-icon" sizes="180x180" href="{% static '/img/nobody/180.png' %}">{# iPhone (retina) #} 

15<link rel="icon" type="image/png" href="{% static '/img/nobody/16.png' %}" sizes="16x16"> 

16<link rel="icon" type="image/png" href="{% static '/img/nobody/32.png' %}" sizes="32x32"> 

17<link rel="icon" type="image/png" href="{% static '/img/nobody/96.png' %}" sizes="96x96"> 

18<link rel="icon" type="image/png" href="{% static '/img/nobody/128.png' %}" sizes="128x128"> 

19<link rel="icon" type="image/png" href="{% static '/img/nobody/195.png' %}" sizes="195x195"> 

20<link rel="mask-icon" href="{% static '/img/safari-pinned-tab.svg' %}" color="#fa711f"> 

21<link rel="stylesheet" href="{% static '/css/bootstrap.min.css' %}" type="text/css"> 

22  

23<link rel="stylesheet" href="{% static '/css/fontawesome.min.css' %}"> 

24  

25<!-- Libravatar CSS --> 

26<link rel="stylesheet" href="{% static "css/libravatar_base.css" %}" type="text/css" media="screen"> 

27  

28<!-- Viewport --> 

29<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover"> 

30  

31<script src="{% static '/js/jquery-3.3.1.slim.min.js' %}"></script> 

32{% if user.is_authenticated %} 

33 {% if user.userpreference and user.userpreference.theme != 'default' %} 

34 {% with 'css/'|add:user.userpreference.theme|add:'.css' as theme_css %} 

35 <link rel="stylesheet" href="{% static theme_css %}" type="text/css"> 

36 {% endwith %} 

37 {% endif %} 

38{% endif %} 

39  

40<meta name="viewport" content="width=device-width, initial-scale=1.0"> 

41<meta name="msapplication-TileImage" content="{% static '/img/nobody/144.png' %}"> 

42<meta name="msapplication-TileColor" content="#36b7d7"> 

43<meta name="apple-mobile-web-app-title" content="ivatar"> 

44<meta name="application-name" content="ivatar"> 

45<meta name="theme-color" content="#36b7d7"> 

46{% block header %}{% endblock header %}