Verified Commit 00ef18bc by Freyja

Fix template url/static and gunicorn basic conf

- Enclose call to url/static in quotes - Conf for gunicorn
parent d658b361
Pipeline #103 failed with stage
in 10 seconds
bind = 'unix:/run/gunicorn/trans-cec.sock'
......@@ -4,15 +4,15 @@
<meta charset="UTF-8">
<title>Trans Administratif</title>
<!-- Safari -->
<link rel="mask-icon" size="192x192" href={{ static('trans_pride_flag192x192.png') }}/>
<link rel="mask-icon" size="192x192" href="{{ static('trans_pride_flag192x192.png') }}"/>
<!-- iOS >= 5 -->
<link rel="apple-touch-icon" href={{ static('trans_pride_flag128x128.png') }}/>
<link rel="shortcut icon" size="48x48" href={{ static('trans_pride_flag48x48.png') }}/>
<link rel="shortcut icon" size="192x192" href={{ static('trans_pride_flag192x192.png') }}/>
<link rel="apple-touch-icoe" href="{{ static('trans_pride_flag128x128.png') }}"/>
<link rel="shortcut icon" size="48x48" href="{{ static('trans_pride_flag48x48.png') }}"/>
<link rel="shortcut icon" size="192x192" href="{{ static('trans_pride_flag192x192.png') }}"/>
<!-- Latest compiled and minified CSS -->
<!-- <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/css/bootstrap.min.css"> -->
<link rel="stylesheet" href={{ static('css/bootstrap.min.css') }}/>
<link rel="stylesheet" href={{ static('css/custom.css') }}/>
<link rel="stylesheet" href="{{ static('css/bootstrap.min.css') }}"/>
<link rel="stylesheet" href="{{ static('css/custom.css') }}"/>
<script src="{{ static('js/memory.js') }}"></script>
</head>
<body class="center">
......@@ -24,14 +24,16 @@
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href={{ url('list_letters_type') }}>Trans Administratif</a>
<a class="navbar-brand" href="{{ url('list_letters_type') }}">Trans Administratif</a>
</div>
<div class="collapse navbar-collapse" id="myNavbar">
<ul class="nav navbar-nav">
{% for category, list in lists %}
<li><a href={{ url('list', kwargs={'category': category}) }}>{{ list.title }}</a></li>
<li><a href="{{ url('list', kwargs={'category': category}) }}">{{ list.title }}</a></li>
{% endfor %}
<li><a href={{ url('form', kwargs={'category': 'attestation', 'id': 'chgmtprenom'}) }}>Changement de prénom</a></li>
<li><a href="{{ url('form', kwargs={
'category': 'attestation', 'id':
'chgmtprenom'}) }}">Changement de prénom</a></li>
</ul>
<ul id="memory" class="nav navbar-nav">
<li><span title="{{ strings.enableMemory }}" class="icon" id="save">&#128062;&#xfe0e;</span></li>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment