summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ogcp/templates/dashboard.html10
-rw-r--r--ogcp/views.py2
2 files changed, 6 insertions, 6 deletions
diff --git a/ogcp/templates/dashboard.html b/ogcp/templates/dashboard.html
index 3ec2cd8..6f3c2cc 100644
--- a/ogcp/templates/dashboard.html
+++ b/ogcp/templates/dashboard.html
@@ -93,7 +93,7 @@
<div class="row">
<!-- disk stats -->
- <div class="col-{{ colsize }}">
+ <div class="col-6">
<div class="card text-center">
<div class="card-header">
{{ _('Disk stats') }}
@@ -129,7 +129,7 @@
</div>
<!-- Memory stats -->
- <div class="col-{{ colsize }}">
+ <div class="col-6">
<div class="card text-center">
<div class="card-header">
{{ _('Memory') }}
@@ -165,7 +165,7 @@
</div>
<!-- Swap stats -->
- <div class="col-{{ colsize }}">
+ <div class="col-6">
<div class="card text-center">
<div class="card-header">
{{ _('Swap') }}
@@ -205,7 +205,7 @@
</div>
<!-- latest images -->
- <div class="col-{{ colsize }}">
+ <div class="col-6">
<div class="card text-center">
<div class="card-header">
{{ _('Latest images') }}
@@ -224,7 +224,7 @@
</div>
<!-- ogLives -->
- <div class="col-{{ colsize }}">
+ <div class="col-6">
<div class="card text-center">
<div class="card-header">
{{ _('ogLive images') }}
diff --git a/ogcp/views.py b/ogcp/views.py
index f6c1933..a624dab 100644
--- a/ogcp/views.py
+++ b/ogcp/views.py
@@ -535,7 +535,7 @@ def index():
dashboard_servers = {}
timestamp = datetime.datetime.today()
now = timestamp.strftime('%Y-%m-%d %H:%M:%S')
- return render_template('dashboard.html', servers=dashboard_servers, now=now, colsize="6")
+ return render_template('dashboard.html', servers=dashboard_servers, now=now)
@app.route('/login', methods=['GET', 'POST'])
def login():