From c508b712fd5f9dc22c2ee14dbf28794cacc05243 Mon Sep 17 00:00:00 2001 From: Frank Ronny Larsen Date: Wed, 30 Jan 2013 19:55:33 +0100 Subject: [PATCH] Converted buttons to a's --- css/questionset.css | 10 ++++------ js/questionset.js | 10 +++++----- views/questionset-results.ejs | 2 +- views/questionset.ejs | 8 ++++---- 4 files changed, 14 insertions(+), 16 deletions(-) diff --git a/css/questionset.css b/css/questionset.css index 83e6722..1dd1011 100644 --- a/css/questionset.css +++ b/css/questionset.css @@ -31,12 +31,14 @@ height: 10px; border-radius: 50%; border: 1px solid #494949; + margin: 0 3px; } .progress-dot.answered { background: #494949; } .progress-dot.current { - box-shadow: 0px 0px 6px #494949; + box-shadow: 1px 1px 4px #494949; + margin: -1px 4px 1px 2px; } .intro-page { /*background-color: rgba(255,255,255,0.9);*/ @@ -84,14 +86,10 @@ padding: 0; } .qs-footer .button { - width: 80px; - height: 40px; - border: 1px solid #bababa; - border-radius: 4px; position: absolute; top: 0; - cursor: pointer; } + .qs-footer .button.next { right: 100px; } diff --git a/js/questionset.js b/js/questionset.js index 98c57c2..001fb74 100644 --- a/js/questionset.js +++ b/js/questionset.js @@ -24,7 +24,7 @@ H5P.QuestionSet = function (options, contentId) { '
' + '
<%= introPage.title %>
' + '
<%= introPage.introduction %>
' + -'
' + +' ' + '
' + '<%} %>' + '' + -' ' + -' ' + -' ' + +' ' + +' ' + +' <%= texts.finishButton %>' + ' ' + '' + ''; @@ -58,7 +58,7 @@ H5P.QuestionSet = function (options, contentId) { '
<%= greeting %>
' + '
<%= score %>
' + '
<%= resulttext %>
' + -'
' + +'
<%= finishButtonText %>' + '
' + ''; diff --git a/views/questionset-results.ejs b/views/questionset-results.ejs index 170b60a..722776d 100644 --- a/views/questionset-results.ejs +++ b/views/questionset-results.ejs @@ -2,5 +2,5 @@
<%= greeting %>
<%= score %>
<%= resulttext %>
-
+
<%= finishButtonText %>
diff --git a/views/questionset.ejs b/views/questionset.ejs index ddd133f..6d0278e 100644 --- a/views/questionset.ejs +++ b/views/questionset.ejs @@ -2,7 +2,7 @@
<%= introPage.title %>
<%= introPage.introduction %>
-
+
<%} %> - - - + + + <%= texts.finishButton %>