Commit 5dd03406 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

WebUI:

- Corrected Grafana port
- Populated/Removed text placeholders
- Corrected labels in "Service" page
parent 22269879
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -144,7 +144,7 @@
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-kQtW33rZJAHjgefvhyyzcGF3C5TFyBQBA13V1RKPf4uH+bwyzQxZ6CmMZHmNBEfJ" crossorigin="anonymous"></script>
    <!-- <script src="{{ url_for('static', filename='site.js') }}"/> -->
    <script>
      document.getElementById("grafana_link").href = window.location.protocol + "//" + window.location.hostname + ":3000"
      document.getElementById("grafana_link").href = window.location.protocol + "//" + window.location.hostname + ":30300"
    </script>
    <!-- Option 2: Separate Popper and Bootstrap JS -->
    <!--
+1 −2
Original line number Diff line number Diff line
@@ -17,8 +17,7 @@
{% extends 'base.html' %}

{% block content %}
    <h1>This is the home page</h1>
    <p>Here we have have several things.</p>
    <h1>TeraFlow OS SDN Controller</h1>

    {% for field, message in context_form.errors.items() %}
        <div class="alert alert-dismissible fade show" role="alert">
+3 −3
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@
        <div class="col-sm-3">
            <button type="button" class="btn btn-success" onclick="window.location.href = '/service/'">
                <i class="bi bi-box-arrow-in-left"></i>
                Back to device list
                Back to service list
            </button>
        </div>
        <div class="col-sm-3">
@@ -33,7 +33,7 @@
            </a>
        </div>
        <div class="col-sm-3">
            <!-- <button type="button" class="btn btn-danger"><i class="bi bi-x-square"></i>Delete device</button> -->
            <!-- <button type="button" class="btn btn-danger"><i class="bi bi-x-square"></i>Delete service</button> -->
            <button type="button" class="btn btn-danger" data-bs-toggle="modal" data-bs-target="#deleteModal">
                <i class="bi bi-x-square"></i>Delete service
              </button>
@@ -82,7 +82,7 @@
    <div class="modal-dialog">
      <div class="modal-content">
        <div class="modal-header">
          <h5 class="modal-title" id="staticBackdropLabel">Delete device?</h5>
          <h5 class="modal-title" id="staticBackdropLabel">Delete service?</h5>
          <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
        </div>
        <div class="modal-body">