Fixing the caching issue
This commit is contained in:
1 parent
5a90ce51d8
commit
ea343f7943
6 files changed
+11
-11
No files matched your search
@@ -18,5 +18,5 @@
|
||||
</div>
|
||||
{% endblock %}
|
||||
{% block scripts %}
|
||||
<script src="/static/js/alerts.js"></script>
|
||||
<script src="/static/js/alerts.js?v=3"></script>
|
||||
{% endblock %}
|
||||
@@ -5,8 +5,8 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>{% block title %}UPS Dashboard{% endblock %}</title>
|
||||
<meta name="csrf-token" content="{{ request.cookies.get('csrf_token', '') }}" />
|
||||
<link rel="stylesheet" href="/static/css/base.css" />
|
||||
<link rel="stylesheet" href="/static/css/style.css" />
|
||||
<link rel="stylesheet" href="/static/css/base.css?v=3" />
|
||||
<link rel="stylesheet" href="/static/css/style.css?v=3" />
|
||||
{% block head_extra %}{% endblock %}
|
||||
</head>
|
||||
<body>
|
||||
@@ -29,7 +29,7 @@
|
||||
<main class="site-main">
|
||||
{% block content %}{% endblock %}
|
||||
</main>
|
||||
<script src="/static/js/app.js"></script>
|
||||
<script src="/static/js/app.js?v=3"></script>
|
||||
{% block scripts %}{% endblock %}
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,7 +1,7 @@
|
||||
{% extends "base.html" %}
|
||||
{% block title %}UPS Configuration{% endblock %}
|
||||
{% block head_extra %}
|
||||
<link rel="stylesheet" href="/static/css/config.css" />
|
||||
<link rel="stylesheet" href="/static/css/config.css?v=3" />
|
||||
{% endblock %}
|
||||
{% block content %}
|
||||
<div class="page-header">
|
||||
@@ -22,8 +22,8 @@
|
||||
<form id="ups-form">
|
||||
<div class="form-group">
|
||||
<label for="ups-name">Name *</label>
|
||||
<input type="text" id="ups-name" name="name" required pattern="[A-Za-z0-9_-]{1,32}" maxlength="32">
|
||||
<small>1-32 alphanumeric, underscore, dash</small>
|
||||
<input type="text" id="ups-name" name="name" required pattern="[A-Za-z0-9_.\- ]{1,32}" maxlength="32">
|
||||
<small>1-32 chars (letters, digits, space, dot, underscore, dash)</small>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="ups-host">Host/IP *</label>
|
||||
@@ -84,5 +84,5 @@
|
||||
<div id="toast-container"></div>
|
||||
{% endblock %}
|
||||
{% block scripts %}
|
||||
<script src="/static/js/config.js"></script>
|
||||
<script src="/static/js/config.js?v=3"></script>
|
||||
{% endblock %}
|
||||
@@ -50,5 +50,5 @@
|
||||
</div>
|
||||
{% endblock %}
|
||||
{% block scripts %}
|
||||
<script src="/static/js/dashboard.js?v=2"></script>
|
||||
<script src="/static/js/dashboard.js?v=3"></script>
|
||||
{% endblock %}
|
||||
@@ -17,5 +17,5 @@
|
||||
</div>
|
||||
{% endblock %}
|
||||
{% block scripts %}
|
||||
<script src="/static/js/events.js"></script>
|
||||
<script src="/static/js/events.js?v=3"></script>
|
||||
{% endblock %}
|
||||
@@ -40,5 +40,5 @@
|
||||
</div>
|
||||
{% endblock %}
|
||||
{% block scripts %}
|
||||
<script src="/static/js/settings.js"></script>
|
||||
<script src="/static/js/settings.js?v=3"></script>
|
||||
{% endblock %}
|
||||
Reference in new issue
Block a user