Added paper_trail, also starting work on the scheduler

This commit is contained in:
Matt Barringer 2013-01-07 16:45:48 +01:00
parent 90b30db9e8
commit f86232bedf
35 changed files with 523 additions and 32137 deletions

View file

@ -47,6 +47,21 @@ $(function() {
}
});
$("#conference-reg-start-datepicker").datepicker({
dateFormat: 'yy/mm/dd',
numberOfMonths: 2,
onSelect: function(selected) {
$("#conference-reg-end-datepicker").datepicker("option","minDate", selected)
}
});
$("#conference-reg-end-datepicker").datepicker({
dateFormat: 'yy/mm/dd',
numberOfMonths: 2,
onSelect: function(selected) {
$("#conference-reg-start-datepicker").datepicker("option","maxDate", selected)
}
});
$(".comment-reply-link").click(function(){
$(".comment-reply", $(this).parent()).toggle();
return false;

View file

@ -2,6 +2,7 @@
*= require formtastic-bootstrap
*= require bootstrap_and_overrides
*= require osem
*= require schedule
*= require jquery-ui-1.9.2.custom
*= require jquery.fileupload-ui
*/

View file

@ -100,3 +100,4 @@ textarea {
position:relative;
top:1px;
}

View file

@ -0,0 +1,45 @@
.schedule-content {
overflow: hidden;
width: 100%;
}
.unscheduled {
float:left;
border:1px solid #bbb;
padding-left:10px;
padding-right: 10px;
margin-right:20px;
margin-left:20px;
width:149px;
height:100%;
position:relative;
}
.schedule {
overflow: hidden;
}
.schedule-track-column-header {
position: absolute;
width: 149px;
}
.schedule-track-column {
float:left;
border-right:1px solid #bbb;
width:149px;
height:400px;
position:relative;
}
.schedule-event {
position:absolute;
cursor:move;
width:141px;
height:32px;
background: #6af;
color:#fff;
padding:4px;
font-weight:bold;
z-index:1;
}