From 3cfbd5f586b27f889f9fc86cd27a5b5ce0222a47 Mon Sep 17 00:00:00 2001 From: Frank Ronny Larsen Date: Fri, 25 Jan 2013 10:22:47 +0100 Subject: [PATCH] Changes to default styles for QuestionSets --- css/img/Paper-clean.png | Bin 0 -> 6679 bytes css/img/mark-fail.png | Bin 0 -> 3520 bytes css/img/mark-pass.png | Bin 0 -> 3220 bytes css/questionset.css | 94 +++++++++++++++++++++++++++++++++- js/questionset.js | 26 +++++----- library.json | 2 +- schema.json | 10 ++++ views/questionset-intro.ejs | 5 -- views/questionset-results.ejs | 4 +- views/questionset.ejs | 20 ++++---- 10 files changed, 129 insertions(+), 32 deletions(-) create mode 100644 css/img/Paper-clean.png create mode 100644 css/img/mark-fail.png create mode 100644 css/img/mark-pass.png delete mode 100644 views/questionset-intro.ejs diff --git a/css/img/Paper-clean.png b/css/img/Paper-clean.png new file mode 100644 index 0000000000000000000000000000000000000000..3552d55ff72f70171798cac886be0019f59e8ce9 GIT binary patch literal 6679 zcmeHMdpOkl*8jE3Wrw6Tg9(+cZlkRziPPRiB2Ed_Fh6&d%OtnVO%atzwr+}pYNDEn zaoHiv3 zG*;`c1^__A`N*LY0Pq7A09MSXDnpdRwtN-nLoep=sTdD*NKCx{#bDrI5IP`uqjQ9R zXz+<(|Dc4Z_rZ1$&uiyH2Txx5I>F*(_;~x*P3EEHII2dS-1K6#^(o3OuD@4bi0g>ukY&p%kZkl>$s0M-S9ZO?$HUE#w~oWY6S%L+d&9bMhJas964gZDb-n@JtPFZg6l7-ER}keS z8~`x2vFApMx(;z}Y0$m$J1F}@Rv7`7+a6cmHfYiKR5_GH9bc&3Js0x9IIn%RJ>cj1 zD|+Al&tkIUeB8;25faAg^u)()&8|9E0yKf%Hf~EGLZh}|`fM6KV7n40{1{LSXGzE0 z6Bp|D3v0h`mnW_O0zC=2rXS~;;Ap$ViQdx0onMqm7Cl!3aN(18xj98QYG<-(eevvs z(2(}L1C2H8S&JnKaJh6fttATqEArxJ8ZAkhm&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26 zjpc3Cs8{QX;}ahU%qc7IP^hfl_9;8qxu0%z0PL(|relWh*gFsB7=*Yf?TXX6U&5>< z17^VR&nhb`^G}lbgh3X^CrpxaprBJ$z-^PLCOn{iaEJU>Unl#}1c02KabVD#V`ez! zozGbrq8K$V!vH@8fI7N8#w98GP0n~hii51g^{ac(%KUZm z^#0&|#)(KLCYrjsItx0E=m?D>VFqf_bo#6#z%=u0?KJ{4%!R%iQ6-wVu+DgTRuh0_Sc27hnL^*dMtuGOzLg0000' + -' <% if (introPage.showIntroPage) { %>' + -'

' + -'
<%= introPage.title %>
' + -'
<%= introPage.introduction %>
' + -'
' + -'
' + -' <%} %>' + +'<% if (introPage.showIntroPage) { %>' + +'
' + +'
<%= introPage.title %>
' + +'
<%= introPage.introduction %>
' + +'
' + +'
' + +'<%} %>' + +'