From d2e1bcccecbc0df1e50e0c26263f1fc801364976 Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Mon, 5 Oct 2015 15:48:15 +0200 Subject: [PATCH] TMP start transitioning to bootstrap modals --- symbolon/index.html | 258 +++++++++++++++++++++++--------------------- 1 file changed, 136 insertions(+), 122 deletions(-) diff --git a/symbolon/index.html b/symbolon/index.html index 824296c..aa95d1b 100644 --- a/symbolon/index.html +++ b/symbolon/index.html @@ -2,160 +2,174 @@ --- - - - Symbolon - - - - - - - + img { + border: 0 none; + } + + - + + + + +
+ - + -
+ -
+
+ +
{% assign list = site.data.symbolon | sort:'number'%} {% for s in list %} {% assign image = '0' | append: s.number %} +{% comment %} +Using image|slice:-2,2 would be much easier here. However, it seems the +slice filer is not working for some time now… +{% endcomment %} {% assign len = image | size %} {% if len == 3 %} {% assign image = '' | append: s.number %} {% endif %} -
- - {{s.name}} - -

{{s.number}}. {{s.name}}

-
+
+ + {{s.name}} + +

{{s.number}}. {{s.name}}

+
{% endfor %} -
+
+
- - + draw_num = Math.floor(Math.random() * count) + 1; + num_str = (draw_num < 10) ? '0' + draw_num : draw_num; + + $('#draw-one-body').html(''); + }); + +