summaryrefslogtreecommitdiff
path: root/yaksh/static
diff options
context:
space:
mode:
authorPrabhu Ramachandran2016-04-26 17:15:31 +0530
committerPrabhu Ramachandran2016-04-26 17:15:31 +0530
commit825f8464ef1b2853c029cc23bf7fb89f6a9c1c09 (patch)
tree0b94516d5a969dce5bc0750e405ca45850880f21 /yaksh/static
parent97bdb23fbacc3e625beb96efdf58431f42604a81 (diff)
parent3be13f4868a881cbe591e9eb686872875272ac1d (diff)
downloadonline_test-825f8464ef1b2853c029cc23bf7fb89f6a9c1c09.tar.gz
online_test-825f8464ef1b2853c029cc23bf7fb89f6a9c1c09.tar.bz2
online_test-825f8464ef1b2853c029cc23bf7fb89f6a9c1c09.zip
Merge pull request #89 from adityacp/Editprofile
Profile change, Enroll students and change password
Diffstat (limited to 'yaksh/static')
-rw-r--r--yaksh/static/yaksh/css/base.css9
-rw-r--r--yaksh/static/yaksh/css/question.css5
-rw-r--r--yaksh/static/yaksh/js/course.js38
3 files changed, 44 insertions, 8 deletions
diff --git a/yaksh/static/yaksh/css/base.css b/yaksh/static/yaksh/css/base.css
index af3ba8b..2273263 100644
--- a/yaksh/static/yaksh/css/base.css
+++ b/yaksh/static/yaksh/css/base.css
@@ -221,7 +221,7 @@ body {
box-shadow: 0 1px 2px rgba(0,0,0,.15);
}
.content .span10,
-.content {
+.content .span14{
min-height: 475px;
}
.content .span4 {
@@ -495,8 +495,6 @@ h4 small {
}
h5 {
font-size: 14px;
- color:white;
- text-align:left;
}
h6 {
font-size: 13px;
@@ -1796,7 +1794,6 @@ footer {
-ms-transition: 0.1s linear all;
-o-transition: 0.1s linear all;
transition: 0.1s linear all;
- margin-right:50px
}
.btn:hover {
background-position: 0 -15px;
@@ -2360,7 +2357,6 @@ height:100px;
width:730px;
resize:None;
overflow:hidden;
-
}
.bash{
padding:0;
@@ -2370,3 +2366,6 @@ resize:none;
overflow:hidden;
background-color:white;
}
+textarea[readonly]{
+cursor: not-allowed;
+}
diff --git a/yaksh/static/yaksh/css/question.css b/yaksh/static/yaksh/css/question.css
index 06109e5..5d5607a 100644
--- a/yaksh/static/yaksh/css/question.css
+++ b/yaksh/static/yaksh/css/question.css
@@ -13,11 +13,11 @@
}
.td1-class
{
- width:300px;
+ width:300px;
}
.td2-class
{
- width:50px;
+ width:50px;
padding: 5px 10px 9px;
}
.page-header {
@@ -43,4 +43,3 @@
.lineObj{
color: grey;
}
-
diff --git a/yaksh/static/yaksh/js/course.js b/yaksh/static/yaksh/js/course.js
new file mode 100644
index 0000000..3a21f0d
--- /dev/null
+++ b/yaksh/static/yaksh/js/course.js
@@ -0,0 +1,38 @@
+$(document).ready(function(){
+$(".checkall").click( function(){
+ if($(this).attr("checked")) {
+ $("#enroll-all input:checkbox").each(function(index, element) {
+ $(this).attr('checked', true);
+ });
+ }
+ else {
+ $("#enroll-all input:checkbox").each(function(index, element) {
+ $(this).attr('checked', false);
+ });
+ }
+ });
+$(".enroll").click( function(){
+ if($(this).attr("checked")) {
+ $("#enroll input:checkbox").each(function(index, element) {
+ $(this).attr('checked', true);
+ });
+ }
+ else {
+ $("#enroll input:checkbox").each(function(index, element) {
+ $(this).attr('checked', false);
+ });
+ }
+ });
+$(".reject").click( function(){
+ if($(this).attr("checked")) {
+ $("#reject input:checkbox").each(function(index, element) {
+ $(this).attr('checked', true);
+ });
+ }
+ else {
+ $("#reject input:checkbox").each(function(index, element) {
+ $(this).attr('checked', false);
+ });
+ }
+ });
+});