diff options
author | ankitjavalkar | 2016-02-09 18:19:37 +0530 |
---|---|---|
committer | ankitjavalkar | 2016-02-12 13:07:50 +0530 |
commit | ce36eb04c0b6089e3a4ec85252046951019086cc (patch) | |
tree | e0acdbba06bdc8392c582b795554dc632ca4f91e /yaksh/static | |
parent | e1009230a8d3bf2cf3385b478cd5f7f48d8dca25 (diff) | |
download | online_test-ce36eb04c0b6089e3a4ec85252046951019086cc.tar.gz online_test-ce36eb04c0b6089e3a4ec85252046951019086cc.tar.bz2 online_test-ce36eb04c0b6089e3a4ec85252046951019086cc.zip |
Frontend interface changes:
- Current question in nav bar highlighted with green
- Submitted question in nav bar disabled, greyed out
- Timer display size increased
- Timer warning display, blinking
Diffstat (limited to 'yaksh/static')
-rw-r--r-- | yaksh/static/yaksh/css/base.css | 6 | ||||
-rw-r--r-- | yaksh/static/yaksh/css/question.css | 5 | ||||
-rw-r--r-- | yaksh/static/yaksh/js/question.js | 2 |
3 files changed, 9 insertions, 4 deletions
diff --git a/yaksh/static/yaksh/css/base.css b/yaksh/static/yaksh/css/base.css index 3570098..e3d5f26 100644 --- a/yaksh/static/yaksh/css/base.css +++ b/yaksh/static/yaksh/css/base.css @@ -2312,15 +2312,15 @@ button.btn::-moz-focus-inner, input[type=submit].btn::-moz-focus-inner { text-decoration: none; } .pagination a:hover, .pagination .active a { - background-color: #c7eefe; + background-color: #00CC66; } /*custom classes*/ .pagination .done a { background-color: #00CC66; } .pagination .disabled a, .pagination .disabled a:hover { - background-color: transparent; - color: #bfbfbf; + background-color: #bfbfbf; + color: #ffffff; } .pagination .next a { border: 0; diff --git a/yaksh/static/yaksh/css/question.css b/yaksh/static/yaksh/css/question.css index 4bf5913..b26d49c 100644 --- a/yaksh/static/yaksh/css/question.css +++ b/yaksh/static/yaksh/css/question.css @@ -4,9 +4,11 @@ padding: 8px; color: #5DFC0A; vertical-align:middle; - width:150px; + width: 160px; + height: 30px; float:right; border-radius: 6px 6px 6px 6px; + font-size:20px; } .td1-class { @@ -15,6 +17,7 @@ .td2-class { width:50px; + padding: 5px 10px 9px; } .page-header { height:50px; diff --git a/yaksh/static/yaksh/js/question.js b/yaksh/static/yaksh/js/question.js index 75baf76..ccedbaf 100644 --- a/yaksh/static/yaksh/js/question.js +++ b/yaksh/static/yaksh/js/question.js @@ -6,7 +6,9 @@ function submitCode() x = document.getElementById("check"); x.disabled = true; x.value = "Checking Answer ..."; + if (document.getElementById("skip")!=null) { document.getElementById("skip").disabled = true; + } } function setSelectionRange(input, selectionStart, selectionEnd) |