From b7cb6ffc3f81bb8c6d37d187bb41e5e7118ab09e Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Thu, 25 Feb 2016 15:52:32 +0100 Subject: Add a screen to view own solutions --- css/codeq.css | 8 +++++-- index.html | 15 ++++++++++++++ js/codeq/comms.js | 7 +++++++ js/codeq/problem_list.js | 54 ++++++++++++++++++++++++++++++++++++------------ js/codeq/solutions.js | 49 +++++++++++++++++++++++++++++++++++++++++++ res/en.json | 3 ++- res/sl.json | 1 + 7 files changed, 121 insertions(+), 16 deletions(-) create mode 100644 js/codeq/solutions.js diff --git a/css/codeq.css b/css/codeq.css index 0c30f62..9e4bd2e 100644 --- a/css/codeq.css +++ b/css/codeq.css @@ -158,14 +158,18 @@ div.vertical-line{ margin: 0 1% 0 1%; } - -/* screen problems*/ +/* screen problems */ .block { padding: 0; min-height: 4em; overflow: hidden; } +/* screen solutions */ +h2.group-title a.view-solutions { + font-size: small; +} + /* description */ .block.block1 { border-bottom: 1px solid #ddd; diff --git a/index.html b/index.html index 6234e3f..4640f19 100644 --- a/index.html +++ b/index.html @@ -319,6 +319,20 @@ + + +