mirror of
https://github.com/retspen/webvirtcloud
synced 2025-07-31 12:41:08 +00:00
fix STATIC_URL in templates. static urls should be generated by "static" template tag
This commit is contained in:
parent
d715e996b0
commit
c5f86358be
2 changed files with 9 additions and 7 deletions
|
@ -1,11 +1,12 @@
|
|||
{% load staticfiles %}
|
||||
{% load i18n %}
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<link rel="shortcut icon" href="{{ STATIC_URL }}img/favicon.ico">
|
||||
<link rel="shortcut icon" href="{% static "img/favicon.ico" %}">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="stylesheet" href="{{ STATIC_URL }}css/bootstrap.min.css">
|
||||
<link href="{{ STATIC_URL }}css/webvirtcloud.css" rel="stylesheet">
|
||||
<link rel="stylesheet" href="{% static "css/bootstrap.min.css" %}">
|
||||
<link href="{% static "css/webvirtcloud.css" %}" rel="stylesheet">
|
||||
|
||||
<style>
|
||||
body {
|
||||
|
@ -92,8 +93,8 @@
|
|||
<div id='main_container' class="container">
|
||||
{% block content %}{% endblock %}
|
||||
</div>
|
||||
<script src="{{ STATIC_URL }}js/jquery.js"></script>
|
||||
<script src="{{ STATIC_URL }}js/bootstrap.min.js"></script>
|
||||
<script src="{% static "js/jquery.js" %}"></script>
|
||||
<script src="{% static "js/bootstrap.min.js" %}"></script>
|
||||
|
||||
<script>
|
||||
function log_message(msg,type) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue