Browse Source

credit at footers and todo message on ntp read only yet

Roberto Berto 5 years ago
parent
commit
98db423def

+ 2 - 0
vycontrol/ntp/templates/ntp/list.html

@@ -12,6 +12,8 @@
 
 <h3>Servers</h3>
 
+<p>Todo: edit ntp servers</p>
+
 {% if ntp_servers %}
 <ul>
 {% for server in ntp_servers %}

+ 3 - 1
vycontrol/s/main.css

@@ -201,7 +201,9 @@ input[type=submit] {
 .msgs_error {
   background-color: rgb(160, 73, 73);
 }
-
+#credits {
+  text-align: right;
+}
 
 
 

+ 5 - 0
vycontrol/vycontrol/templates/base.html

@@ -133,6 +133,11 @@
 </pre>
 </div>
 
+<hr>
+<div class="container" id="credits">
+  <a href="https://vycontrol.com/">VyControl VyOS FrontEnd</a>
+</div></hr>
+
     <!-- Optional JavaScript -->
     <!-- jQuery first, then Popper.js, then Bootstrap JS -->
     <script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>

+ 7 - 1
vycontrol/vycontrol/templates/base_not_installed.html

@@ -8,7 +8,7 @@
 
     <!-- Bootstrap CSS -->
     <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
-    <link rel="stylesheet" href="{% static "main.css" %}">
+    <link rel="stylesheet" href="{% static "main.css" %}?{% random_int 100000 500000 %} ">
 
     <title>{% block header_title %}{% endblock %} - VyControl</title>
 
@@ -66,6 +66,12 @@
 </pre>
 </div>
 
+<hr>
+<div class="container" id="credits">
+  <a href="https://vycontrol.com/">VyControl VyOS FrontEnd</a>
+</div></hr>
+
+
     <!-- Optional JavaScript -->
     <!-- jQuery first, then Popper.js, then Bootstrap JS -->
     <script src="https://code.jquery.com/jquery-3.4.1.slim.min.js" integrity="sha384-J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n" crossorigin="anonymous"></script>

+ 7 - 1
vycontrol/vycontrol/templates/base_not_logged.html

@@ -8,7 +8,7 @@
 
     <!-- Bootstrap CSS -->
     <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
-    <link rel="stylesheet" href="{% static "main.css" %}?x1">
+    <link rel="stylesheet" href="{% static "main.css" %}?{% random_int 100000 500000 %} ">
 
     <title>{% block header_title %}{% endblock %} - VyControl</title>
 
@@ -67,6 +67,12 @@
 </pre>
 </div>
 
+<hr>
+<div class="container" id="credits">
+  <a href="https://vycontrol.com/">VyControl VyOS FrontEnd</a>
+</div></hr>
+
+
     <!-- Optional JavaScript -->
     <!-- jQuery first, then Popper.js, then Bootstrap JS -->
     <script src="https://code.jquery.com/jquery-3.4.1.slim.min.js" integrity="sha384-J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n" crossorigin="anonymous"></script>