Introduce mobile responsiveness (#194)

This commit is contained in:
Arseniy authored and GitHub committed 2024-03-07 18:19:20 -05:00
1 parent 989305997b
commit b768f9f5c3
3 files changed
+125 -24

No files matched your search

+14 -3
View File
@@ -5,6 +5,8 @@
{% load static %}
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="image/svg+xml" href="{% static 'logo.svg' %}">
<link rel="stylesheet" href="{% static 'style.css' %}">
<link rel="stylesheet" href="{% static 'base.css' %}">
@@ -54,6 +56,10 @@
}
}, false);
function toggleSidebar() {
document.body.classList.toggle('sidebar-open')
}
</script>
</head>
@@ -124,9 +130,14 @@
<div id="content-parent">
<div id="content" class="pb-5">
<h2>
<a class="site-title" href="/">OpenBench Testing Framework</a>
</h2>
<div id="content-header">
<button id="sidebar-toggle" onclick="toggleSidebar()">
<i class="fa-solid fa-bars fa-fw"></i>
</button>
<h2>
<a class="site-title" href="/">OpenBench Testing&nbsp;Framework</a>
</h2>
</div>
{% if request.session.error_message %}
<div class="error-message">
+4
View File
@@ -9,6 +9,8 @@
{% block content %}
<div class="workload-container">
<div id="config" style="display: block; overflow-x: auto;">
<table class="test-config left-align wrappable" style="table-layout: auto; width: 100%;">
@@ -233,4 +235,6 @@
</table>
</div>
</div>
{% endblock %}