summaryrefslogtreecommitdiffstats
path: root/docker/storperf-reporting/src/templates/index.html
blob: ab4e539d8ae73ab423319bcb5f1c7167c5e3d6bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<!DOCTYPE html>
<html>

<head>
    <title>Graphing Module | Storperf</title>
    <link rel="icon" href="/reporting/images/OPNVF_ProjectIcons_2400x2400_Storperf.png">
    <link rel="stylesheet" href="/reporting/css/bootstrap.min.css">
    <script src="/reporting/js/jquery-2.1.3.min.js"></script>
    <script src="/reporting/js/bootstrap.min.js"></script>
    <script src="/reporting/js/jquery.bootpag.min.js"></script>
</head>

<body>
    <div class="container">
        <div class="content">
            {% include 'header.html' %}
            <div class="row center">
                <br>
                <form action="{{ url_for('url') }}" method="post">
                    <div class="form-group">
                        <label for="url">Enter URL:</label>
                        <br>
                        <input type="text" name="url" id="url" class="form-control">
                        <br>
                        <button type="submit" class="btn btn-default">Submit</button>
                    </div>
                </form>
            </div>
            {% with messages = get_flashed_messages() %} {% if messages %} {% for message in messages %}
            <div class="alert alert-danger alert-dismissible" role="alert">
                <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span>
                </button>
                {{ message }}
            </div>
            {% endfor %} {% endif %} {% endwith %}
        </div>
    </div>
</body>

</html>