mirror of
https://github.com/klaussilveira/gitlist.git
synced 2026-01-22 23:42:45 +01:00
Fixed #775: Stylesheet include paths and CSP MIME types.
This commit is contained in:
@@ -4,28 +4,28 @@
|
||||
<meta charset="UTF-8" />
|
||||
<title>{% block title %}Welcome!{% endblock %}</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" type="text/css" href="{{ global.request.basepath }}/themes/{{ theme }}/css/style.css">
|
||||
<link rel="stylesheet" type="text/css" href="{{ global.request.basepath }}/themes/{{ theme }}/css/fontawesome.css">
|
||||
<link rel="stylesheet" type="text/css" href="{{ global.request.basepath }}/themes/{{ theme }}/css/gitgraph.css">
|
||||
<link rel="shortcut icon" type="image/png" href="{{ global.request.basepath }}/themes/{{ theme }}/img/favicon.png" />
|
||||
<link rel="stylesheet" type="text/css" href="{{ app.request.basepath }}/themes/{{ theme }}/css/style.css">
|
||||
<link rel="stylesheet" type="text/css" href="{{ app.request.basepath }}/themes/{{ theme }}/css/fontawesome.css">
|
||||
<link rel="stylesheet" type="text/css" href="{{ app.request.basepath }}/themes/{{ theme }}/css/gitgraph.css">
|
||||
<link rel="shortcut icon" type="image/png" href="{{ app.request.basepath }}/themes/{{ theme }}/img/favicon.png" />
|
||||
<!--[if lt IE 9]>
|
||||
<script src="{{ global.request.basepath }}/themes/{{ theme }}/js/html5.js"></script>
|
||||
<script type="application/javascript" src="{{ app.request.basepath }}/themes/{{ theme }}/js/html5.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
|
||||
<body>
|
||||
{% block body %}{% endblock %}
|
||||
{% block javascripts %}
|
||||
<script src="{{ global.request.basepath }}/themes/{{ theme }}/js/jquery.js"></script>
|
||||
<script src="{{ global.request.basepath }}/themes/{{ theme }}/js/raphael.js"></script>
|
||||
<script src="{{ global.request.basepath }}/themes/{{ theme }}/js/bootstrap.js"></script>
|
||||
<script src="{{ global.request.basepath }}/themes/{{ theme }}/js/codemirror.js"></script>
|
||||
<script src="{{ global.request.basepath }}/themes/{{ theme }}/js/showdown.js"></script>
|
||||
<script src="{{ global.request.basepath }}/themes/{{ theme }}/js/table.js"></script>
|
||||
<script src="{{ global.request.basepath }}/themes/{{ theme }}/js/main.js"></script>
|
||||
<script src="{{ global.request.basepath }}/themes/{{ theme }}/js/networkGraph.js"></script>
|
||||
<script src="{{ global.request.basepath }}/themes/{{ theme }}/js/gitgraph.js"></script>
|
||||
<script src="{{ global.request.basepath }}/themes/{{ theme }}/js/draw.js"></script>
|
||||
<script type="application/javascript" src="{{ app.request.basepath }}/themes/{{ theme }}/js/jquery.js"></script>
|
||||
<script type="application/javascript" src="{{ app.request.basepath }}/themes/{{ theme }}/js/raphael.js"></script>
|
||||
<script type="application/javascript" src="{{ app.request.basepath }}/themes/{{ theme }}/js/bootstrap.js"></script>
|
||||
<script type="application/javascript" src="{{ app.request.basepath }}/themes/{{ theme }}/js/codemirror.js"></script>
|
||||
<script type="application/javascript" src="{{ app.request.basepath }}/themes/{{ theme }}/js/showdown.js"></script>
|
||||
<script type="application/javascript" src="{{ app.request.basepath }}/themes/{{ theme }}/js/table.js"></script>
|
||||
<script type="application/javascript" src="{{ app.request.basepath }}/themes/{{ theme }}/js/main.js"></script>
|
||||
<script type="application/javascript" src="{{ app.request.basepath }}/themes/{{ theme }}/js/networkGraph.js"></script>
|
||||
<script type="application/javascript" src="{{ app.request.basepath }}/themes/{{ theme }}/js/gitgraph.js"></script>
|
||||
<script type="application/javascript" src="{{ app.request.basepath }}/themes/{{ theme }}/js/draw.js"></script>
|
||||
{% endblock %}
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -3,28 +3,28 @@
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>{{ title }}{% if title %} - {% endif %}{% block title %}Welcome!{% endblock %}</title>
|
||||
<link rel="stylesheet" type="text/css" href="{{ global.request.basepath }}/themes/{{ theme }}/css/style.css">
|
||||
<link rel="stylesheet" type="text/css" href="{{ global.request.basepath }}/themes/{{ theme }}/css/gitgraph.css">
|
||||
<link rel="shortcut icon" type="image/png" href="{{ global.request.basepath }}/themes/{{ theme }}/img/favicon.png" />
|
||||
<link rel="stylesheet" type="text/css" href="{{ app.request.basepath }}/themes/{{ theme }}/css/style.css">
|
||||
<link rel="stylesheet" type="text/css" href="{{ app.request.basepath }}/themes/{{ theme }}/css/gitgraph.css">
|
||||
<link rel="shortcut icon" type="image/png" href="{{ app.request.basepath }}/themes/{{ theme }}/img/favicon.png" />
|
||||
<!--[if lt IE 9]>
|
||||
<script src="{{ global.request.basepath }}/themes/{{ theme }}/js/html5.js"></script>
|
||||
<script type="application/javascript" src="{{ app.request.basepath }}/themes/{{ theme }}/js/html5.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
|
||||
<body>
|
||||
{% block body %}{% endblock %}
|
||||
{% block javascripts %}
|
||||
<script src="{{ global.request.basepath }}/themes/{{ theme }}/js/jquery.js"></script>
|
||||
<script src="{{ global.request.basepath }}/themes/{{ theme }}/js/raphael.js"></script>
|
||||
<script src="{{ global.request.basepath }}/themes/{{ theme }}/js/bootstrap.js"></script>
|
||||
<script src="{{ global.request.basepath }}/themes/{{ theme }}/js/codemirror.js"></script>
|
||||
<script src="{{ global.request.basepath }}/themes/{{ theme }}/js/showdown.js"></script>
|
||||
<script src="{{ global.request.basepath }}/themes/{{ theme }}/js/table.js"></script>
|
||||
<script src="{{ global.request.basepath }}/themes/{{ theme }}/js/list.min.js"></script>
|
||||
<script src="{{ global.request.basepath }}/themes/{{ theme }}/js/main.js"></script>
|
||||
<script src="{{ global.request.basepath }}/themes/{{ theme }}/js/networkGraph.js"></script>
|
||||
<script src="{{ global.request.basepath }}/themes/{{ theme }}/js/gitgraph.js"></script>
|
||||
<script src="{{ global.request.basepath }}/themes/{{ theme }}/js/draw.js"></script>
|
||||
<script type="application/javascript" src="{{ app.request.basepath }}/themes/{{ theme }}/js/jquery.js"></script>
|
||||
<script type="application/javascript" src="{{ app.request.basepath }}/themes/{{ theme }}/js/raphael.js"></script>
|
||||
<script type="application/javascript" src="{{ app.request.basepath }}/themes/{{ theme }}/js/bootstrap.js"></script>
|
||||
<script type="application/javascript" src="{{ app.request.basepath }}/themes/{{ theme }}/js/codemirror.js"></script>
|
||||
<script type="application/javascript" src="{{ app.request.basepath }}/themes/{{ theme }}/js/showdown.js"></script>
|
||||
<script type="application/javascript" src="{{ app.request.basepath }}/themes/{{ theme }}/js/table.js"></script>
|
||||
<script type="application/javascript" src="{{ app.request.basepath }}/themes/{{ theme }}/js/list.min.js"></script>
|
||||
<script type="application/javascript" src="{{ app.request.basepath }}/themes/{{ theme }}/js/main.js"></script>
|
||||
<script type="application/javascript" src="{{ app.request.basepath }}/themes/{{ theme }}/js/networkGraph.js"></script>
|
||||
<script type="application/javascript" src="{{ app.request.basepath }}/themes/{{ theme }}/js/gitgraph.js"></script>
|
||||
<script type="application/javascript" src="{{ app.request.basepath }}/themes/{{ theme }}/js/draw.js"></script>
|
||||
{% endblock %}
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user