aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ignis/views.py2
-rw-r--r--static/css/sidebar.css8
-rw-r--r--templates/blog/partials/sidebar.html15
3 files changed, 24 insertions, 1 deletions
diff --git a/ignis/views.py b/ignis/views.py
index 4414bdb0..56043499 100644
--- a/ignis/views.py
+++ b/ignis/views.py
@@ -180,7 +180,7 @@ def get_screenshot(request):
options = webdriver.FirefoxOptions()
options.headless = True
driver = webdriver.Firefox(options=options)
- driver.set_window_size(1280, 1440)
+ driver.set_window_size(1600, 2560)
url = 'http://localhost:8000'
diff --git a/static/css/sidebar.css b/static/css/sidebar.css
index fc795fd4..d9ac75ae 100644
--- a/static/css/sidebar.css
+++ b/static/css/sidebar.css
@@ -149,3 +149,11 @@
background-size: 150px;
background-position: center;
}
+
+.vc {
+ padding: 4px;
+ border-radius: 4px;
+ font-size: 16px;
+ font-weight: bold;
+ background: linear-gradient(0deg, #8663e570 60%, #8663e595 60%);
+}
diff --git a/templates/blog/partials/sidebar.html b/templates/blog/partials/sidebar.html
index 31ea7604..b96b41c2 100644
--- a/templates/blog/partials/sidebar.html
+++ b/templates/blog/partials/sidebar.html
@@ -402,5 +402,20 @@
</div>
</div>
{% endif %}
+
+<div style="text-align: center;" id="vcount" class="mtctitem">
+ <h2>You are Visitor #</h2>
+ <div>
+ <span class="vc">0</span>
+ <span class="vc">0</span>
+ <span class="vc">6</span>
+ <span class="vc">9</span>
+ <span class="vc">4</span>
+ <span class="vc">2</span>
+ <span class="vc">0</span>
+ </div>
+ <p class="mtsbitem"><small>____________________________________<br>This is just a fake random number!</small></p>
+</div>
+
<div id="google_translate_element"></div>