Skip to content
Snippets Groups Projects
Commit aa388945 authored by Thijs Kinkhorst's avatar Thijs Kinkhorst
Browse files

Re-add some missing resources but now in Twig assets dir

post.* has been added directly under assets for now, tried it
via webpack but this added a several times overhead to these
very small files, so this seemed the cleanest solution for now.
But might be improved upon.
parent 457bd7ad
No related branches found
No related tags found
No related merge requests found
......@@ -4,8 +4,10 @@
/cert/
/www/assets/fonts/*
/www/assets/js/*.js
!/www/assets/js/post.js
/www/assets/js/*.map
/www/assets/css/*.css
!/www/assets/css/post.css
/www/assets/css/*.map
.phpunit.result.cache
......
......@@ -4,7 +4,7 @@
</div>
<div class="logo-footer-right show-for-large">
<div class="logo-footer">
<img class="pure-img" src="/{{ baseurlpath }}resources/icons/ssplogo-fish-small.png" alt="Small fish logo">
<img class="pure-img" src="{{ asset("icons/ssplogo-fish-small.png") }}" alt="Small fish logo">
</div>
</div>
</div>
......
......@@ -6,7 +6,7 @@
<meta name="viewport" content="initial-scale=1.0">
<title>{{ pagetitle }}</title>
<link rel="stylesheet" href="{{ asset("css/stylesheet.css") }}">
<link rel="icon" href="/{{ baseurlpath }}resources/icons/favicon.ico">
<link rel="icon" href="{{ asset("icons/favicon.ico") }}">
{% if isRTL %}
<link rel="stylesheet" href="{{ asset("assets/css/src/default-rtl.css") }}">
{% endif %}
......
......@@ -4,10 +4,10 @@
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Content-Security-Policy" content="default-src 'self'">
<link rel="icon" href="/{{ baseurlpath }}resources/icons/favicon.ico">
<link rel="icon" href="{{ asset("icons/favicon.ico") }}">
<title>{% trans %}Sending message{% endtrans %}</title>
<link rel="stylesheet" href="/{{ baseurlpath }}resources/post.css">
<script src="/{{ baseurlpath }}resources/post.js"></script>
<link rel="stylesheet" href="{{ asset("css/post.css") }}">
<script src="{{ asset("js/post.js") }}"></script>
</head>
<body>
<form method="post" action="{{ destination }}">
......
input#postLoginSubmitButton {
display:none;
}
www/assets/icons/favicon.ico

1.12 KiB

www/assets/icons/ssplogo-fish-small.png

2.94 KiB

/**
* Automatically click the input button to redirect the user to
* the SSO
*/
window.onload = function () {
document.getElementById('postLoginSubmitButton').click();
};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment