Skip to content

Commit

Permalink
dragging is working on calendargit add .
Browse files Browse the repository at this point in the history
  • Loading branch information
Donglin Pu authored and Donglin Pu committed Feb 26, 2015
1 parent d60c25b commit d5523a7
Show file tree
Hide file tree
Showing 5 changed files with 826 additions and 61 deletions.
45 changes: 45 additions & 0 deletions app/common/stylesheets/calendar.css
@@ -0,0 +1,45 @@
.fc-axis span{
color: #9a2a1f;
font-size: 10px;
font-weight:400;
}
th{
color: #9a2a1f;
font-size: 10px;
font-weight:400;
}


.calendarView {
background-color: #E2E2E0;
}



.myDroppable {
width: 150px;
height: 150px;
padding: 0.5em;
float: left;
margin: 10px;
}

.ui-widget-header {
border: 1px solid #e78f08;
background: #f6a828;
color: #fff;
font-weight: bold;
}


.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {
border: 1px solid #fed22f;
background: #ffe45c;
color: #363636;
}

.ui-widget-content {
border: 1px solid #ddd;
background: #eee;
color: #333;
}
11 changes: 11 additions & 0 deletions app/common/views/layout.html
Expand Up @@ -8,6 +8,7 @@

<link rel="stylesheet" href="/components/supersonic/css/supersonic.css" />
<link rel="stylesheet" href="/app/common/stylesheets/application.css" />
<link rel="stylesheet" href="/app/common/stylesheets/calendar.css" />
<link rel="stylesheet" href="/components/fullcalendar/dist/fullcalendar.css" />
<link rel="import" href="/components/supersonic/components/import.html">

Expand All @@ -19,7 +20,17 @@

<script src="/components/moment/min/moment.min.js"></script>
<script src="/components/jquery/dist/jquery.min.js"></script>
<script type="text/javascript" src="/components/jquery-ui/jquery-ui.js"></script>
<script type="text/javascript" src="/components/jquery-ui/ui/draggable.js"></script>
<script type="text/javascript" src="/components/jquery-ui/ui/droppable.js"></script>
<!-- jQuery and Moment must be loaded before FullCalendar -->
<script src="/components/fullcalendar/dist/fullcalendar.js"></script>
<script type="text/javascript" src="/components/angular-ui-calendar/src/calendar.js"></script>
<script type="text/javascript" src="/components/fullcalendar/dist/gcal.js"></script>

<script type="text/javascript" src="/components/jqueryui-touch-punch/jquery.ui.touch-punch.js"></script>



<% _.each(yield.modules, function(module) { %>
<script src="/app/<%= module %>.js"></script>
Expand Down

0 comments on commit d5523a7

Please sign in to comment.