| |
@@ -4,36 +4,20 @@
|
| |
<title>{{ title|default('testdays') }}</title>
|
| |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| |
<!-- Bootstrap -->
|
| |
- <link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
|
| |
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css" integrity="sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2" crossorigin="anonymous">
|
| |
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='css/style.css') }}">
|
| |
+
|
| |
+ <link rel="shortcut icon" href="{{ url_for('static', filename='favicon.ico') }}">
|
| |
+ <link rel="apple-touch-icon" href="{{ url_for('static', filename='td-icon-128x128.png') }}">
|
| |
+ <meta property="og:image" content="{{ url_for('static', filename='td-icon-128x128.png') }}" />
|
| |
</head>
|
| |
|
| |
<body>
|
| |
|
| |
- {# <div class="navbar navbar-default navbar-fixed-top">
|
| |
- <div class="container-fluid">
|
| |
- <div class="navbar-header">
|
| |
- <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
|
| |
- <span class="icon-bar"></span>
|
| |
- <span class="icon-bar"></span>
|
| |
- <span class="icon-bar"></span>
|
| |
- </button>
|
| |
- <span class="navbar-brand"><b>testdays</b></span>
|
| |
- </div>
|
| |
- <div class="navbar-collapse collapse">
|
| |
-
|
| |
- <ul class="nav navbar-nav">
|
| |
- <li><a href="{{ url_for('admin.admin_index') }}">Admin</a></li>
|
| |
- </ul>
|
| |
-
|
| |
- <!-- <div class="navbar-right">
|
| |
- <input type="button" class="btn btn-default navbar-btn" value="Search" onclick="location.href='';">
|
| |
- </div> -->
|
| |
-
|
| |
- </div><!--/.nav-collapse -->
|
| |
- </div><!--/.container -->
|
| |
- </div><!--/.navbar --> #}
|
| |
-
|
| |
+ <nav class="navbar navbar-dark bg-dark">
|
| |
+ <a class="navbar-brand" href="{{ url_for('main.index') }}"><i class="fas fa-vial"></i> Fedora Testdays</a>
|
| |
+ <a href="https://fedoraproject.org/wiki/QA/Test_Days" target="_blank"><i class="fas fa-question-circle white-color"></i></a>
|
| |
+ </nav>
|
| |
|
| |
<div class="container-fluid">
|
| |
{% for category, message in get_flashed_messages(with_categories=True) %}
|
| |
@@ -44,24 +28,54 @@
|
| |
{% endfor %}
|
| |
</div>
|
| |
|
| |
-
|
| |
-
|
| |
<div class="container-fluid">
|
| |
{% block body %}
|
| |
<h1> My First Flask Application! </h1>
|
| |
{% endblock %}
|
| |
</div>
|
| |
|
| |
-
|
| |
-
|
| |
<div class="container-fluid">
|
| |
{% block footer %}
|
| |
{% endblock %}
|
| |
</div>
|
| |
|
| |
+ <div class="footer bg-dark">
|
| |
+ <div class="container">
|
| |
+ <p class="text-light text-center">Copyright © 2015-2020 Red Hat, Inc. and others.</p>
|
| |
+ <p class="text-light text-center">
|
| |
+ <a href="https://pagure.io/fedora-qa/testdays-web" class="text-white-50">Testdays</a> and
|
| |
+ <a href="https://pagure.io/taskotron/resultsdb" class="text-white-50">ResultsDB (results back-end)</a> are Free Software under GPL.
|
| |
+ </p>
|
| |
+ <p class="text-light text-center">
|
| |
+ Please <a href="https://pagure.io/fedora-qa/testdays-web/issues" class="text-white-50">file issues and PRs</a> if you have ideas.
|
| |
+ </p>
|
| |
+ <p class="text-light text-center">
|
| |
+ <span>•</span> <a href="https://fedoraproject.org/wiki/Legal:Main" class="text-white-50">Legal</a>
|
| |
+ <span>•</span> <a href="https://fedoraproject.org/wiki/Legal:PrivacyPolicy" class="text-white-50">Privacy policy</a>
|
| |
+ </p>
|
| |
+ </div>
|
| |
+ </div>
|
| |
+
|
| |
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
|
| |
- <script src="//code.jquery.com/jquery.js"></script>
|
| |
+ <script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
|
| |
<!-- Include all compiled plugins -->
|
| |
- <script src="//netdna.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
|
| |
+ <script src="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ho+j7jyWK8fNQe+A12Hb8AhRq26LrZ/JpcUGGOn+Y7RsweNrtN/tE3MoK7ZeZDyx" crossorigin="anonymous"></script>
|
| |
+ <!-- FontAwesome Icons -->
|
| |
+ <script src="https://kit.fontawesome.com/ab19c0c775.js" crossorigin="anonymous"></script>
|
| |
+ <!-- DataTables -->
|
| |
+ <script src="https://cdn.datatables.net/1.10.22/js/jquery.dataTables.min.js"></script>
|
| |
+ <script src="https://cdn.datatables.net/1.10.22/js/dataTables.bootstrap4.min.js"></script>
|
| |
+ <script>
|
| |
+ $(document).ready(function() {
|
| |
+ $('#all_events_table').DataTable( {
|
| |
+ "paging": true,
|
| |
+ "ordering": false,
|
| |
+ "info": false,
|
| |
+ "searching": false,
|
| |
+ "lengthChange": false,
|
| |
+ "pageLength": 15
|
| |
+ } );
|
| |
+ } );
|
| |
+ </script>
|
| |
</body>
|
| |
</html>
|
| |