removing display none on the calendar view dropdown
authorAnthony Talarico <talarico@gaslightmedia.com>
Wed, 14 Sep 2016 12:38:06 +0000 (08:38 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Wed, 14 Sep 2016 12:38:06 +0000 (08:38 -0400)
views/front/events/agenda.html
views/front/events/searchForm.html

index 886c04d..130a9b4 100644 (file)
                 </div>
             {/foreach}
 
-            <!-- Calendar -->
-
-            <div id="eventCalendar"></div>
-
-
         </div>
     </div>
+    <!-- Calendar -->
+    <div id="eventCalendar"></div>
 </div>
 
 
+
 <script type="text/javascript">
     jQuery(document).ready(function($) {
 
                 $('#eventCalendar').fullCalendar('changeView', 'agendaDay');
                 $('#eventCalendar').fullCalendar('gotoDate', date);
             },
-            editable: true,
+            editable: false,
+            handleWindowResize: true,
             lazyFetching: true,
             eventClick : function (event){
                 location.href = event.url;
             eventLimit: true,
             views: {
                 month: {
-                    eventLimit: 4
+                    eventLimit: 4,
+                    eventBackgroundColor: 'transparent',
+                    eventTextColor: '#3A87AD',
+                    eventBorderColor: 'transparent',
                 },
                 agenda: {
                     eventLimit: 4
index 50971fe..0bae66a 100644 (file)
@@ -69,7 +69,7 @@
             </div>
         </form>
     </div>
-<div class="small-7 medium-4 large-2 columns view-select" style="margin-right: 15px;display: none;">
+<div class="small-7 medium-4 large-2 columns view-select" style="margin-right: 15px;">
     <select id="glm-event-view-select">
         <option value="agenda"> Agenda </option>
         <option value="calendar"> Calendar </option>