Commit a55ef20b57cd6691f11ae2780cb6cb7074390113

Authored by Swarn Singh
1 parent 52f1874fe6
Exists in master

schedular added

app/css/fullcalender.css
... ... @@ -0,0 +1,5 @@
  1 +/*!
  2 + * FullCalendar v3.4.0 Stylesheet
  3 + * Docs & License: https://fullcalendar.io/
  4 + * (c) 2017 Adam Shaw
  5 + */.fc-icon,body .fc{font-size:1em}.fc-button-group,.fc-icon{display:inline-block}.fc-bg,.fc-row .fc-bgevent-skeleton,.fc-row .fc-highlight-skeleton{bottom:0}.fc-icon,.fc-unselectable{-khtml-user-select:none;-webkit-touch-callout:none}.fc{direction:ltr;text-align:left}.fc-rtl{text-align:right}.fc th,.fc-basic-view td.fc-week-number,.fc-icon,.fc-toolbar{text-align:center}.fc-unthemed .fc-content,.fc-unthemed .fc-divider,.fc-unthemed .fc-list-heading td,.fc-unthemed .fc-list-view,.fc-unthemed .fc-popover,.fc-unthemed .fc-row,.fc-unthemed tbody,.fc-unthemed td,.fc-unthemed th,.fc-unthemed thead{border-color:#ddd}.fc-unthemed .fc-popover{background-color:#fff}.fc-unthemed .fc-divider,.fc-unthemed .fc-list-heading td,.fc-unthemed .fc-popover .fc-header{background:#eee}.fc-unthemed .fc-popover .fc-header .fc-close{color:#666}.fc-unthemed td.fc-today{background:#fcf8e3}.fc-highlight{background:#bce8f1;opacity:.3}.fc-bgevent{background:#8fdf82;opacity:.3}.fc-nonbusiness{background:#d7d7d7}.fc-unthemed .fc-disabled-day{background:#d7d7d7;opacity:.3}.ui-widget .fc-disabled-day{background-image:none}.fc-icon{height:1em;line-height:1em;overflow:hidden;font-family:"Courier New",Courier,monospace;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.fc-icon:after{position:relative}.fc-icon-left-single-arrow:after{content:"\02039";font-weight:700;font-size:200%;top:-7%}.fc-icon-right-single-arrow:after{content:"\0203A";font-weight:700;font-size:200%;top:-7%}.fc-icon-left-double-arrow:after{content:"\000AB";font-size:160%;top:-7%}.fc-icon-right-double-arrow:after{content:"\000BB";font-size:160%;top:-7%}.fc-icon-left-triangle:after{content:"\25C4";font-size:125%;top:3%}.fc-icon-right-triangle:after{content:"\25BA";font-size:125%;top:3%}.fc-icon-down-triangle:after{content:"\25BC";font-size:125%;top:2%}.fc-icon-x:after{content:"\000D7";font-size:200%;top:6%}.fc button{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;height:2.1em;padding:0 .6em;font-size:1em;white-space:nowrap;cursor:pointer}.fc button::-moz-focus-inner{margin:0;padding:0}.fc-state-default{border:1px solid;background-color:#f5f5f5;background-image:-moz-linear-gradient(top,#fff,#e6e6e6);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fff),to(#e6e6e6));background-image:-webkit-linear-gradient(top,#fff,#e6e6e6);background-image:-o-linear-gradient(top,#fff,#e6e6e6);background-image:linear-gradient(to bottom,#fff,#e6e6e6);background-repeat:repeat-x;border-color:#e6e6e6 #e6e6e6 #bfbfbf;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);color:#333;text-shadow:0 1px 1px rgba(255,255,255,.75);box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05)}.fc-state-default.fc-corner-left{border-top-left-radius:4px;border-bottom-left-radius:4px}.fc-state-default.fc-corner-right{border-top-right-radius:4px;border-bottom-right-radius:4px}.fc button .fc-icon{position:relative;top:-.05em;margin:0 .2em;vertical-align:middle}.fc-state-active,.fc-state-disabled,.fc-state-down,.fc-state-hover{color:#333;background-color:#e6e6e6}.fc-state-hover{color:#333;text-decoration:none;background-position:0 -15px;-webkit-transition:background-position .1s linear;-moz-transition:background-position .1s linear;-o-transition:background-position .1s linear;transition:background-position .1s linear}.fc-state-active,.fc-state-down{background-color:#ccc;background-image:none;box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05)}.fc-state-disabled{cursor:default;background-image:none;opacity:.65;box-shadow:none}.fc-event.fc-draggable,.fc-event[href],.fc-popover .fc-header .fc-close,a[data-goto]{cursor:pointer}.fc .fc-button-group>*{float:left;margin:0 0 0 -1px}.fc .fc-button-group>:first-child{margin-left:0}.fc-popover{position:absolute;box-shadow:0 2px 6px rgba(0,0,0,.15)}.fc-popover .fc-header{padding:2px 4px}.fc-popover .fc-header .fc-title{margin:0 2px}.fc-ltr .fc-popover .fc-header .fc-title,.fc-rtl .fc-popover .fc-header .fc-close{float:left}.fc-ltr .fc-popover .fc-header .fc-close,.fc-rtl .fc-popover .fc-header .fc-title{float:right}.fc-unthemed .fc-popover{border-width:1px;border-style:solid}.fc-unthemed .fc-popover .fc-header .fc-close{font-size:.9em;margin-top:2px}.fc-popover>.ui-widget-header+.ui-widget-content{border-top:0}.fc-divider{border-style:solid;border-width:1px}hr.fc-divider{height:0;margin:0;padding:0 0 2px;border-width:1px 0}.fc-bg table,.fc-row .fc-bgevent-skeleton table,.fc-row .fc-highlight-skeleton table{height:100%}.fc-clear{clear:both}.fc-bg,.fc-bgevent-skeleton,.fc-helper-skeleton,.fc-highlight-skeleton{position:absolute;top:0;left:0;right:0}.fc table{width:100%;box-sizing:border-box;table-layout:fixed;border-collapse:collapse;border-spacing:0;font-size:1em}.fc td,.fc th{border-style:solid;border-width:1px;padding:0;vertical-align:top}.fc td.fc-today{border-style:double}a[data-goto]:hover{text-decoration:underline}.fc .fc-row{border-style:solid;border-width:0}.fc-row table{border-left:0 hidden transparent;border-right:0 hidden transparent;border-bottom:0 hidden transparent}.fc-row:first-child table{border-top:0 hidden transparent}.fc-row{position:relative}.fc-row .fc-bg{z-index:1}.fc-row .fc-bgevent-skeleton td,.fc-row .fc-highlight-skeleton td{border-color:transparent}.fc-row .fc-bgevent-skeleton{z-index:2}.fc-row .fc-highlight-skeleton{z-index:3}.fc-row .fc-content-skeleton{position:relative;z-index:4;padding-bottom:2px}.fc-row .fc-helper-skeleton{z-index:5}.fc-row .fc-content-skeleton td,.fc-row .fc-helper-skeleton td{background:0 0;border-color:transparent;border-bottom:0}.fc-row .fc-content-skeleton tbody td,.fc-row .fc-helper-skeleton tbody td{border-top:0}.fc-scroller{-webkit-overflow-scrolling:touch}.fc-row.fc-rigid,.fc-time-grid-event{overflow:hidden}.fc-scroller>.fc-day-grid,.fc-scroller>.fc-time-grid{position:relative;width:100%}.fc-event{position:relative;display:block;font-size:.85em;line-height:1.3;border-radius:3px;border:1px solid #3a87ad;font-weight:400}.fc-event,.fc-event-dot{background-color:#3a87ad}.fc-event,.fc-event:hover,.ui-widget .fc-event{color:#fff;text-decoration:none}.fc-not-allowed,.fc-not-allowed .fc-event{cursor:not-allowed}.fc-event .fc-bg{z-index:1;background:#fff;opacity:.25}.fc-event .fc-content{position:relative;z-index:2}.fc-event .fc-resizer{position:absolute;z-index:4;display:none}.fc-event.fc-allow-mouse-resize .fc-resizer,.fc-event.fc-selected .fc-resizer{display:block}.fc-event.fc-selected .fc-resizer:before{content:"";position:absolute;z-index:9999;top:50%;left:50%;width:40px;height:40px;margin-left:-20px;margin-top:-20px}.fc-event.fc-selected{z-index:9999!important;box-shadow:0 2px 5px rgba(0,0,0,.2)}.fc-event.fc-selected.fc-dragging{box-shadow:0 2px 7px rgba(0,0,0,.3)}.fc-h-event.fc-selected:before{content:"";position:absolute;z-index:3;top:-10px;bottom:-10px;left:0;right:0}.fc-ltr .fc-h-event.fc-not-start,.fc-rtl .fc-h-event.fc-not-end{margin-left:0;border-left-width:0;padding-left:1px;border-top-left-radius:0;border-bottom-left-radius:0}.fc-ltr .fc-h-event.fc-not-end,.fc-rtl .fc-h-event.fc-not-start{margin-right:0;border-right-width:0;padding-right:1px;border-top-right-radius:0;border-bottom-right-radius:0}.fc-ltr .fc-h-event .fc-start-resizer,.fc-rtl .fc-h-event .fc-end-resizer{cursor:w-resize;left:-1px}.fc-ltr .fc-h-event .fc-end-resizer,.fc-rtl .fc-h-event .fc-start-resizer{cursor:e-resize;right:-1px}.fc-h-event.fc-allow-mouse-resize .fc-resizer{width:7px;top:-1px;bottom:-1px}.fc-h-event.fc-selected .fc-resizer{border-radius:4px;border-width:1px;width:6px;height:6px;border-style:solid;border-color:inherit;background:#fff;top:50%;margin-top:-4px}.fc-ltr .fc-h-event.fc-selected .fc-start-resizer,.fc-rtl .fc-h-event.fc-selected .fc-end-resizer{margin-left:-4px}.fc-ltr .fc-h-event.fc-selected .fc-end-resizer,.fc-rtl .fc-h-event.fc-selected .fc-start-resizer{margin-right:-4px}.fc-day-grid-event{margin:1px 2px 0;padding:0 1px}tr:first-child>td>.fc-day-grid-event{margin-top:2px}.fc-day-grid-event.fc-selected:after{content:"";position:absolute;z-index:1;top:-1px;right:-1px;bottom:-1px;left:-1px;background:#000;opacity:.25}.fc-day-grid-event .fc-content{white-space:nowrap;overflow:hidden}.fc-day-grid-event .fc-time{font-weight:700}.fc-ltr .fc-day-grid-event.fc-allow-mouse-resize .fc-start-resizer,.fc-rtl .fc-day-grid-event.fc-allow-mouse-resize .fc-end-resizer{margin-left:-2px}.fc-ltr .fc-day-grid-event.fc-allow-mouse-resize .fc-end-resizer,.fc-rtl .fc-day-grid-event.fc-allow-mouse-resize .fc-start-resizer{margin-right:-2px}a.fc-more{margin:1px 3px;font-size:.85em;cursor:pointer;text-decoration:none}a.fc-more:hover{text-decoration:underline}.fc-limited{display:none}.fc-day-grid .fc-row{z-index:1}.fc-more-popover{z-index:2;width:220px}.fc-more-popover .fc-event-container{padding:10px}.fc-now-indicator{position:absolute;border:0 solid red}.fc-unselectable{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}.fc-toolbar.fc-header-toolbar{margin-bottom:1em}.fc-toolbar.fc-footer-toolbar{margin-top:1em}.fc-toolbar .fc-left{float:left}.fc-toolbar .fc-right{float:right}.fc-toolbar .fc-center{display:inline-block}.fc .fc-toolbar>*>*{float:left;margin-left:.75em}.fc .fc-toolbar>*>:first-child{margin-left:0}.fc-toolbar h2{margin:0}.fc-toolbar button{position:relative}.fc-toolbar .fc-state-hover,.fc-toolbar .ui-state-hover{z-index:2}.fc-toolbar .fc-state-down{z-index:3}.fc-toolbar .fc-state-active,.fc-toolbar .ui-state-active{z-index:4}.fc-toolbar button:focus{z-index:5}.fc-view-container *,.fc-view-container :after,.fc-view-container :before{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.fc-view,.fc-view>table{position:relative;z-index:1}.fc-basicDay-view .fc-content-skeleton,.fc-basicWeek-view .fc-content-skeleton{padding-bottom:1em}.fc-basic-view .fc-body .fc-row{min-height:4em}.fc-row.fc-rigid .fc-content-skeleton{position:absolute;top:0;left:0;right:0}.fc-day-top.fc-other-month{opacity:.3}.fc-basic-view .fc-day-number,.fc-basic-view .fc-week-number{padding:2px}.fc-basic-view th.fc-day-number,.fc-basic-view th.fc-week-number{padding:0 2px}.fc-ltr .fc-basic-view .fc-day-top .fc-day-number{float:right}.fc-rtl .fc-basic-view .fc-day-top .fc-day-number{float:left}.fc-ltr .fc-basic-view .fc-day-top .fc-week-number{float:left;border-radius:0 0 3px}.fc-rtl .fc-basic-view .fc-day-top .fc-week-number{float:right;border-radius:0 0 0 3px}.fc-basic-view .fc-day-top .fc-week-number{min-width:1.5em;text-align:center;background-color:#f2f2f2;color:grey}.fc-basic-view td.fc-week-number>*{display:inline-block;min-width:1.25em}.fc-agenda-view .fc-day-grid{position:relative;z-index:2}.fc-agenda-view .fc-day-grid .fc-row{min-height:3em}.fc-agenda-view .fc-day-grid .fc-row .fc-content-skeleton{padding-bottom:1em}.fc .fc-axis{vertical-align:middle;padding:0 4px;white-space:nowrap}.fc-ltr .fc-axis{text-align:right}.fc-rtl .fc-axis{text-align:left}.ui-widget td.fc-axis{font-weight:400}.fc-time-grid,.fc-time-grid-container{position:relative;z-index:1}.fc-time-grid{min-height:100%}.fc-time-grid table{border:0 hidden transparent}.fc-time-grid>.fc-bg{z-index:1}.fc-time-grid .fc-slats,.fc-time-grid>hr{position:relative;z-index:2}.fc-time-grid .fc-content-col{position:relative}.fc-time-grid .fc-content-skeleton{position:absolute;z-index:3;top:0;left:0;right:0}.fc-time-grid .fc-business-container{position:relative;z-index:1}.fc-time-grid .fc-bgevent-container{position:relative;z-index:2}.fc-time-grid .fc-highlight-container{z-index:3;position:relative}.fc-time-grid .fc-event-container{position:relative;z-index:4}.fc-time-grid .fc-now-indicator-line{z-index:5}.fc-time-grid .fc-helper-container{position:relative;z-index:6}.fc-time-grid .fc-slats td{height:1.5em;border-bottom:0}.fc-time-grid .fc-slats .fc-minor td{border-top-style:dotted}.fc-time-grid .fc-slats .ui-widget-content{background:0 0}.fc-time-grid .fc-highlight{position:absolute;left:0;right:0}.fc-ltr .fc-time-grid .fc-event-container{margin:0 2.5% 0 2px}.fc-rtl .fc-time-grid .fc-event-container{margin:0 2px 0 2.5%}.fc-time-grid .fc-bgevent,.fc-time-grid .fc-event{position:absolute;z-index:1}.fc-time-grid .fc-bgevent{left:0;right:0}.fc-v-event.fc-not-start{border-top-width:0;padding-top:1px;border-top-left-radius:0;border-top-right-radius:0}.fc-v-event.fc-not-end{border-bottom-width:0;padding-bottom:1px;border-bottom-left-radius:0;border-bottom-right-radius:0}.fc-time-grid-event.fc-selected{overflow:visible}.fc-time-grid-event.fc-selected .fc-bg{display:none}.fc-time-grid-event .fc-content{overflow:hidden}.fc-time-grid-event .fc-time,.fc-time-grid-event .fc-title{padding:0 1px}.fc-time-grid-event .fc-time{font-size:.85em;white-space:nowrap}.fc-time-grid-event.fc-short .fc-content{white-space:nowrap}.fc-time-grid-event.fc-short .fc-time,.fc-time-grid-event.fc-short .fc-title{display:inline-block;vertical-align:top}.fc-time-grid-event.fc-short .fc-time span{display:none}.fc-time-grid-event.fc-short .fc-time:before{content:attr(data-start)}.fc-time-grid-event.fc-short .fc-time:after{content:"\000A0-\000A0"}.fc-time-grid-event.fc-short .fc-title{font-size:.85em;padding:0}.fc-time-grid-event.fc-allow-mouse-resize .fc-resizer{left:0;right:0;bottom:0;height:8px;overflow:hidden;line-height:8px;font-size:11px;font-family:monospace;text-align:center;cursor:s-resize}.fc-time-grid-event.fc-allow-mouse-resize .fc-resizer:after{content:"="}.fc-time-grid-event.fc-selected .fc-resizer{border-radius:5px;border-width:1px;width:8px;height:8px;border-style:solid;border-color:inherit;background:#fff;left:50%;margin-left:-5px;bottom:-5px}.fc-time-grid .fc-now-indicator-line{border-top-width:1px;left:0;right:0}.fc-time-grid .fc-now-indicator-arrow{margin-top:-5px}.fc-ltr .fc-time-grid .fc-now-indicator-arrow{left:0;border-width:5px 0 5px 6px;border-top-color:transparent;border-bottom-color:transparent}.fc-rtl .fc-time-grid .fc-now-indicator-arrow{right:0;border-width:5px 6px 5px 0;border-top-color:transparent;border-bottom-color:transparent}.fc-event-dot{display:inline-block;width:10px;height:10px;border-radius:5px}.fc-rtl .fc-list-view{direction:rtl}.fc-list-view{border-width:1px;border-style:solid}.fc .fc-list-table{table-layout:auto}.fc-list-table td{border-width:1px 0 0;padding:8px 14px}.fc-list-table tr:first-child td{border-top-width:0}.fc-list-heading{border-bottom-width:1px}.fc-list-heading td{font-weight:700}.fc-ltr .fc-list-heading-main{float:left}.fc-ltr .fc-list-heading-alt,.fc-rtl .fc-list-heading-main{float:right}.fc-rtl .fc-list-heading-alt{float:left}.fc-list-item.fc-has-url{cursor:pointer}.fc-list-item:hover td{background-color:#f5f5f5}.fc-list-item-marker,.fc-list-item-time{white-space:nowrap;width:1px}.fc-ltr .fc-list-item-marker{padding-right:0}.fc-rtl .fc-list-item-marker{padding-left:0}.fc-list-item-title a{text-decoration:none;color:inherit}.fc-list-item-title a[href]:hover{text-decoration:underline}.fc-list-empty-wrap2{position:absolute;top:0;left:0;right:0;bottom:0}.fc-list-empty-wrap1{width:100%;height:100%;display:table}.fc-list-empty{display:table-cell;vertical-align:middle;text-align:center}.fc-unthemed .fc-list-empty{background-color:#eee}
0 6 \ No newline at end of file
... ...
app/css/fullcalenderprint.css
... ... @@ -0,0 +1,113 @@
  1 +/*!
  2 + * FullCalendar v3.4.0 Print Stylesheet
  3 + * Docs & License: https://fullcalendar.io/
  4 + * (c) 2017 Adam Shaw
  5 + */
  6 +
  7 +.fc-bg,
  8 +.fc-bgevent-container,
  9 +.fc-bgevent-skeleton,
  10 +.fc-business-container,
  11 +.fc-event .fc-resizer,
  12 +.fc-helper-container,
  13 +.fc-helper-skeleton,
  14 +.fc-highlight-container,
  15 +.fc-highlight-skeleton {
  16 + display: none
  17 +}
  18 +.fc tbody .fc-row,
  19 +.fc-time-grid {
  20 + min-height: 0!important
  21 +}
  22 +.fc-time-grid .fc-event.fc-not-end:after,
  23 +.fc-time-grid .fc-event.fc-not-start:before {
  24 + content: "..."
  25 +}
  26 +.fc {
  27 + max-width: 100%!important
  28 +}
  29 +.fc-event {
  30 + background: #ff9900!important;
  31 + color: #fff!important;
  32 + page-break-inside: avoid
  33 +}
  34 +.fc hr,
  35 +.fc tbody,
  36 +.fc td,
  37 +.fc th,
  38 +.fc thead,
  39 +.fc-row {
  40 + border-color: #ccc!important;
  41 + background: #fff!important
  42 +}
  43 +.fc tbody .fc-row {
  44 + height: auto!important
  45 +}
  46 +.fc tbody .fc-row .fc-content-skeleton {
  47 + position: static;
  48 + padding-bottom: 0!important
  49 +}
  50 +.fc tbody .fc-row .fc-content-skeleton tbody tr:last-child td {
  51 + padding-bottom: 1em
  52 +}
  53 +.fc tbody .fc-row .fc-content-skeleton table {
  54 + height: 1em
  55 +}
  56 +.fc-more,
  57 +.fc-more-cell {
  58 + display: none!important
  59 +}
  60 +.fc tr.fc-limited {
  61 + display: table-row!important
  62 +}
  63 +.fc td.fc-limited {
  64 + display: table-cell!important
  65 +}
  66 +.fc-agenda-view .fc-axis,
  67 +.fc-popover {
  68 + display: none
  69 +}
  70 +.fc-slats,
  71 +.fc-time-grid hr {
  72 + display: none!important
  73 +}
  74 +.fc button,
  75 +.fc-button-group,
  76 +.fc-time-grid .fc-event .fc-time span {
  77 + display: none
  78 +}
  79 +.fc-time-grid .fc-content-skeleton {
  80 + position: static
  81 +}
  82 +.fc-time-grid .fc-content-skeleton table {
  83 + height: 4em
  84 +}
  85 +.fc-time-grid .fc-event-container {
  86 + margin: 0!important
  87 +}
  88 +.fc-time-grid .fc-event {
  89 + position: static!important;
  90 + margin: 3px 2px!important
  91 +}
  92 +.fc-time-grid .fc-event.fc-not-end {
  93 + border-bottom-width: 1px!important
  94 +}
  95 +.fc-time-grid .fc-event.fc-not-start {
  96 + border-top-width: 1px!important
  97 +}
  98 +.fc-time-grid .fc-event .fc-time {
  99 + white-space: normal!important
  100 +}
  101 +.fc-time-grid .fc-event .fc-time:after {
  102 + content: attr(data-full)
  103 +}
  104 +.fc-day-grid-container,
  105 +.fc-scroller,
  106 +.fc-time-grid-container {
  107 + overflow: visible!important;
  108 + height: auto!important
  109 +}
  110 +.fc-row {
  111 + border: 0!important;
  112 + margin: 0!important
  113 +}
0 114 \ No newline at end of file
... ...
... ... @@ -10,8 +10,8 @@
10 10 <link rel="stylesheet" href="bower_components/bootstrap/dist/css/bootstrap.css"/>
11 11 <link rel="stylesheet" href="bower_components/font-awesome/css/font-awesome.min.css"/>
12 12 <link rel="stylesheet" href="bower_components/bootstrap-toggle/css/bootstrap-toggle.min.css" />
13   - <link rel="stylesheet" href="bower_components/fullcalendar/dist/fullcalendar.min.css"/>
14   - <link rel="stylesheet" href="bower_components/fullcalendar/dist/fullcalendar.print.min.css"/>
  13 + <!-- <link rel="stylesheet" href="bower_components/fullcalendar/dist/fullcalendar.min.css"/>
  14 + <link rel="stylesheet" href="bower_components/fullcalendar/dist/fullcalendar.print.min.css"/> -->
15 15 <link rel="stylesheet" href="bower_components/toastr/toastr.min.css"/>
16 16 <link rel="stylesheet" href="bower_components/angular-bootstrap/ui-bootstrap-csp.css"/>
17 17 <link href="bower_components/jqGrid/css/ui.jqgrid.css" rel="stylesheet">
... ... @@ -43,6 +43,9 @@
43 43  
44 44 <link rel="stylesheet" type="text/css" href="css/ngTable.css">
45 45 <link rel="stylesheet" href="bower_components/select2/select2.css">
  46 +
  47 + <link rel="stylesheet" type="text/css" href="css/fullcalender.css">
  48 + <link rel="stylesheet" type="text/css" href="css/fullcalenderprint.css">
46 49  
47 50 <!-- <link rel="stylesheet"; href="https://unpkg.com/ng-table@2.0.2/bundles/ng-table.min.css"> -->
48 51  
... ... @@ -51,6 +54,7 @@
51 54 <!-- views -->
52 55  
53 56 <!-- scripts -->
  57 +
54 58 <script src="bower_components/jquery/dist/jquery.min.js"></script>
55 59 <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js"></script>
56 60 <script src="js/libs/jquery-ui-1.10.0.custom.min.js"></script>
... ... @@ -72,7 +76,7 @@
72 76 <script src="bower_components/bootstrap-toggle/js/bootstrap-toggle.min.js"></script>
73 77 <script src="bower_components/angular-ui-router/release/angular-ui-router.min.js"></script>
74 78 <script src='bower_components/moment/min/moment.min.js'></script>
75   - <script src="bower_components/fullcalendar/dist/fullcalendar.min.js"></script>
  79 + <!-- <script src="bower_components/fullcalendar/dist/fullcalendar.min.js"></script> -->
76 80 <script src='bower_components/toastr/toastr.min.js'></script>
77 81 <script src="bower_components/angular-bootstrap/ui-bootstrap.min.js"></script>
78 82 <script src="bower_components/angular-bootstrap/ui-bootstrap-tpls.min.js"></script>
... ... @@ -83,6 +87,7 @@
83 87 <script src="bower_components/select2/select2.js"></script>
84 88 <script src="bower_components/angular-ui-select2/src/select2.js"></script>
85 89  
  90 +
86 91 <!-- <script src="https://unpkg.com/ng-table@2.0.2/bundles/ng-table.min.js"></script> -->
87 92  
88 93  
... ... @@ -107,6 +112,8 @@
107 112  
108 113 <script src="js/ngTable.js"></script>
109 114  
  115 + <script src="js/fullcalender.js"></script>
  116 +
110 117 <script src="http://cdn.ckeditor.com/4.6.1/standard-all/ckeditor.js"></script>
111 118 <script src="https://code.highcharts.com/maps/highmaps.js"></script>
112 119 <script src="https://code.highcharts.com/maps/modules/data.js"></script>
... ...
app/js/fullcalender.js
No preview for this file type
app/partials/enterFuelOrder/enterFuelOrder.controller.js
... ... @@ -15,6 +15,8 @@ function enterFuelOrderController($scope, $rootScope, $uibModal, $filter, $http,
15 15 })
16 16  
17 17 $scope.order = {};
  18 + $scope.dispatchOrder = {};
  19 + $scope.dispatchOrder.fuelOrderObj = [];
18 20 $scope.order.upliftDate = '';
19 21 $scope.order.departingDate = '';
20 22 $scope.selectedCompanyName = '';
... ... @@ -52,7 +54,6 @@ function enterFuelOrderController($scope, $rootScope, $uibModal, $filter, $http,
52 54 }
53 55  
54 56 $scope.dispatchFuel = function(){
55   - console.log('$scope.order', $scope.order);
56 57 $scope.order.companyId = $scope.selectedCompanyId;
57 58 if ($scope.order.upliftDate != '') {
58 59 $scope.order.upliftDate = new Date($scope.order.upliftDate);
... ... @@ -62,7 +63,9 @@ function enterFuelOrderController($scope, $rootScope, $uibModal, $filter, $http,
62 63 $scope.order.departingDate = new Date($scope.order.departingDate);
63 64 $scope.order.departingDate = $scope.order.departingDate.getTime();
64 65 }
65   - enterFuelOrderService.dispathFuelOrder($scope.order).then(function(result) {
  66 + $scope.dispatchOrder.fuelOrderObj.push($scope.order);
  67 + console.log('$scope.order', $scope.dispatchOrder);
  68 + enterFuelOrderService.dispathFuelOrder($scope.dispatchOrder).then(function(result) {
66 69 console.log('result', result);
67 70 })
68 71 }
... ...
app/partials/scheduler/scheduler.controller.js
1   -
2 1 'use strict';
3 2  
4   - //Load controller
5   - angular.module('acufuel')
  3 +//Load controller
  4 +angular.module('acufuel')
6 5  
7   - .controller('schedulerController', ['$scope',function($scope) {
  6 + .controller('schedulerController', ['$scope', function($scope) {
8 7  
9 8 $scope.test = "Testing...";
10 9  
11   - }]);
  10 + $(document).ready(function() {
  11 +
  12 + $('#calendar').fullCalendar({
  13 + header: {
  14 + left: 'prev,next today',
  15 + center: 'title',
  16 + right: 'month,agendaWeek,agendaDay,listWeek'
  17 + },
  18 + defaultDate: '2017-05-12',
  19 + navLinks: true, // can click day/week names to navigate views
  20 + editable: true,
  21 + eventLimit: true, // allow "more" link when too many events
  22 + events: [
  23 + {
  24 + title: 'All Day Event',
  25 + start: '2017-05-01'
  26 + },
  27 + {
  28 + title: 'Long Event',
  29 + start: '2017-05-07',
  30 + end: '2017-05-10'
  31 + },
  32 + {
  33 + id: 999,
  34 + title: 'Repeating Event',
  35 + start: '2017-05-09T16:00:00'
  36 + },
  37 + {
  38 + id: 999,
  39 + title: 'Repeating Event',
  40 + start: '2017-05-16T16:00:00'
  41 + },
  42 + {
  43 + title: 'Conference',
  44 + start: '2017-05-11',
  45 + end: '2017-05-13'
  46 + },
  47 + {
  48 + title: 'Meeting',
  49 + start: '2017-05-12T10:30:00',
  50 + end: '2017-05-12T12:30:00'
  51 + },
  52 + {
  53 + title: 'Lunch',
  54 + start: '2017-05-12T12:00:00'
  55 + },
  56 + {
  57 + title: 'Meeting',
  58 + start: '2017-05-12T14:30:00'
  59 + },
  60 + {
  61 + title: 'Happy Hour',
  62 + start: '2017-05-12T17:30:00'
  63 + },
  64 + {
  65 + title: 'Dinner',
  66 + start: '2017-05-12T20:00:00'
  67 + },
  68 + {
  69 + title: 'Birthday Party',
  70 + start: '2017-05-13T07:00:00'
  71 + },
  72 + {
  73 + title: 'Click for Google',
  74 + start: '2017-05-28'
  75 + }
  76 + ]
  77 + });
12 78  
13   - $(document).ready(function() {
14   -
15   -
16   - /* initialize the external events
17   - -----------------------------------------------------------------*/
18   -
19   - $('#external-events .fc-event').each(function() {
20   -
21   - // store data so the calendar knows to render an event upon drop
22   - $(this).data('event', {
23   - title: $.trim($(this).text()), // use the element's text as the event title
24   - stick: true // maintain when user navigates (see docs on the renderEvent method)
25   - });
26   -
27   - // make the event draggable using jQuery UI
28   - $(this).draggable({
29   - zIndex: 999,
30   - revert: true, // will cause the event to go back to its
31   - revertDuration: 0 // original position after the drag
32   - });
33   -
34   - });
35   -
36   -
37   - /* initialize the calendar
38   - -----------------------------------------------------------------*/
39   -
40   - $('#calendar').fullCalendar({
41   - header: {
42   - left: 'prev,next today',
43   - center: 'title',
44   - right: 'month,agendaWeek,agendaDay'
45   - },
46   - editable: true,
47   - droppable: true, // this allows things to be dropped onto the calendar
48   - drop: function() {
49   - // is the "remove after drop" checkbox checked?
50   - if ($('#drop-remove').is(':checked')) {
51   - // if so, remove the element from the "Draggable Events" list
52   - $(this).remove();
53   - }
54   - }
55   - });
56   -
57   -
58   - });
  79 + });
  80 +
59 81  
  82 + }]);
60 83  
... ...
app/partials/scheduler/scheduler.html
... ... @@ -6,6 +6,18 @@
6 6 .subnavbar .mainnav > li:nth-child(4) > a{
7 7 color: #ff9900;
8 8 }
  9 + .fc button, .fc-button-group, .fc-time-grid .fc-event .fc-time span{
  10 + display: block;
  11 + }
  12 + .fc-state-default{
  13 + background-color: #fff;
  14 + background-image: none;
  15 + }
  16 + .fc-state-active, .fc-state-down{
  17 + box-shadow: none;
  18 + color: #fff;
  19 + background-color: #ff9900;
  20 + }
9 21 </style>
10 22 <div class="main">
11 23 <div class="container">
... ... @@ -57,7 +69,14 @@
57 69 </div>
58 70 <!-- /widget-header -->
59 71 <div class="widget-content">
  72 + <!-- <div class="btn-group">
  73 + <button class="btn btn-success" ng-click="changeView('agendaDay', 'myCalendar1')">AgendaDay</button>
  74 + <button class="btn btn-success" ng-click="changeView('agendaWeek', 'myCalendar1')">AgendaWeek</button>
  75 + <button class="btn btn-success" ng-click="changeView('month', 'myCalendar1')">Month</button>
  76 + </div>
  77 + <div ui-calendar="uiConfig.calendar" class="span8 calendar" ng-model="eventSources"></div> -->
60 78 <div id='calendar'></div>
  79 +
61 80 <div style='clear:both'></div>
62 81 </div>
63 82 <!-- /widget-content -->
... ...