Icon optimization
Browse files- static/icons/icon.jpg +0 -0
- static/icons/icon.png +0 -3
- templates/base.html +12 -4
- templates/index.html +2 -0
static/icons/icon.jpg
ADDED
|
|
static/icons/icon.png
DELETED
Git LFS Details
|
templates/base.html
CHANGED
|
@@ -5,8 +5,10 @@
|
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
<title>{% block title %}Rankmate{% endblock %}</title>
|
| 7 |
|
| 8 |
-
<link
|
|
|
|
| 9 |
|
|
|
|
| 10 |
<link rel="stylesheet" href="{{ url_for('static', path='css/base.css') }}">
|
| 11 |
|
| 12 |
{% block extra_css %}{% endblock %}
|
|
@@ -47,9 +49,15 @@
|
|
| 47 |
</div>
|
| 48 |
|
| 49 |
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 53 |
{% block scripts %}{% endblock %}
|
| 54 |
</body>
|
| 55 |
</html>
|
|
|
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
<title>{% block title %}Rankmate{% endblock %}</title>
|
| 7 |
|
| 8 |
+
<link rel="icon" type="image/x-icon" href="{{ url_for('static', path='icons/icon.ico') }}">
|
| 9 |
+
<link rel="shortcut icon" href="{{ url_for('static', path='icons/icon.jpg') }}" type="image/jpg">
|
| 10 |
|
| 11 |
+
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
|
| 12 |
<link rel="stylesheet" href="{{ url_for('static', path='css/base.css') }}">
|
| 13 |
|
| 14 |
{% block extra_css %}{% endblock %}
|
|
|
|
| 49 |
</div>
|
| 50 |
|
| 51 |
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
|
| 52 |
+
<script>
|
| 53 |
+
function openNav() {
|
| 54 |
+
document.getElementById("mySidepanel").style.width = "250px";
|
| 55 |
+
}
|
| 56 |
+
|
| 57 |
+
function closeNav() {
|
| 58 |
+
document.getElementById("mySidepanel").style.width = "0";
|
| 59 |
+
}
|
| 60 |
+
</script>
|
| 61 |
{% block scripts %}{% endblock %}
|
| 62 |
</body>
|
| 63 |
</html>
|
templates/index.html
CHANGED
|
@@ -5,6 +5,8 @@
|
|
| 5 |
<meta charset="UTF-8">
|
| 6 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 7 |
<title>Rankmate | Academic Analytics</title>
|
|
|
|
|
|
|
| 8 |
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap" rel="stylesheet">
|
| 9 |
<link rel="stylesheet" href="{{ url_for('static', path='css/index.css') }}">
|
| 10 |
</head>
|
|
|
|
| 5 |
<meta charset="UTF-8">
|
| 6 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 7 |
<title>Rankmate | Academic Analytics</title>
|
| 8 |
+
<link rel="icon" type="image/x-icon" href="{{ url_for('static', path='icons/icon.ico') }}">
|
| 9 |
+
<link rel="shortcut icon" href="{{ url_for('static', path='icons/icon.jpg') }}" type="image/jpg">
|
| 10 |
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap" rel="stylesheet">
|
| 11 |
<link rel="stylesheet" href="{{ url_for('static', path='css/index.css') }}">
|
| 12 |
</head>
|