From 47e5c3ead3be9dcf542061a9eca6e9a48d83f1ad Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Wed, 11 Jun 2014 10:57:46 -0400 Subject: [PATCH] update for output of calendar remove the times from showing move comments to above the calendars setup calendars with grid blocks for foundation. add gitignore file for the netbeans project --- .gitignore | 3 ++ Toolkit/Schedule/Calendar.php | 3 +- Toolkit/Schedule/application.ini | 2 +- Toolkit/Schedule/templates/departureRow.html | 16 ------- .../templates/departuresScheduleCalendar.html | 48 +++++++------------ Toolkit/Schedule/templates/editSchedule.html | 12 ++--- Toolkit/Template/Page/Toolbox.php | 10 ++-- static/9.phtml | 4 ++ 8 files changed, 36 insertions(+), 62 deletions(-) create mode 100644 .gitignore create mode 100644 static/9.phtml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c97ebdb --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +/nbproject/private/ +/nbproject/project.xml +/nbproject/project.properties \ No newline at end of file diff --git a/Toolkit/Schedule/Calendar.php b/Toolkit/Schedule/Calendar.php index 903ad2e..3a036b2 100644 --- a/Toolkit/Schedule/Calendar.php +++ b/Toolkit/Schedule/Calendar.php @@ -34,7 +34,7 @@ class Toolkit_Schedule_Calendar $mCal->thisYear() ) ); - $html = ' + $html = '
  • @@ -78,6 +78,7 @@ class Toolkit_Schedule_Calendar
    +
  • '; return $html; } diff --git a/Toolkit/Schedule/application.ini b/Toolkit/Schedule/application.ini index 21966c0..a18c7f2 100644 --- a/Toolkit/Schedule/application.ini +++ b/Toolkit/Schedule/application.ini @@ -1,7 +1,7 @@ ; Production server configuration data [production] ; name of the application -applicationName = "Boat Schedule" +applicationName = "Cruise Calendar" ; flexy options for all the templates used in this application ; based on the GLOBALS['flexyOptions'] diff --git a/Toolkit/Schedule/templates/departureRow.html b/Toolkit/Schedule/templates/departureRow.html index 0c429b8..5ddda04 100644 --- a/Toolkit/Schedule/templates/departureRow.html +++ b/Toolkit/Schedule/templates/departureRow.html @@ -2,22 +2,6 @@
    -
    - times: - - -
    -
    - times: - - -
    Calendar Dates diff --git a/Toolkit/Schedule/templates/departuresScheduleCalendar.html b/Toolkit/Schedule/templates/departuresScheduleCalendar.html index 3152893..d0e9e8d 100644 --- a/Toolkit/Schedule/templates/departuresScheduleCalendar.html +++ b/Toolkit/Schedule/templates/departuresScheduleCalendar.html @@ -12,6 +12,7 @@ table.cals { border-radius: 10px; margin-right: 5px; padding: 2px; + width: 100%; } .cals td { text-align: center; @@ -63,38 +64,25 @@ table.cals {

    Note: {departByDate[comments]:h}

    - {departByDate[date]:h} Departures from {departByDate[dock]:h}: + {departByDate[date]:h} Departures from {departByDate[dock]:h}: +

    {scheduleName:h}

    -
    -{calendarsHtml:h} -
    -

    Departures

    - - - - - - - - - - - -
    Departing CharlevoixCommentsDeparting Beaver Island
    - {foreach:depart[cTimes],time} -

    {time[departure_time]:h}

    - {end:} -
    - - - {foreach:depart[bTimes],time} -

    {time[departure_time]:h}

    - {end:} -
    + + + + + +
    + +
    + + + diff --git a/Toolkit/Schedule/templates/editSchedule.html b/Toolkit/Schedule/templates/editSchedule.html index 64a5849..d7e1bf8 100644 --- a/Toolkit/Schedule/templates/editSchedule.html +++ b/Toolkit/Schedule/templates/editSchedule.html @@ -33,12 +33,12 @@
    - + @@ -50,12 +50,6 @@
    Color
    -
    - Departing Charlevoix -
    -
    - Departing Beaver Island -
    Departure Dates
    @@ -73,7 +67,7 @@ - diff --git a/Toolkit/Template/Page/Toolbox.php b/Toolkit/Template/Page/Toolbox.php index 1e50f90..b1e386a 100644 --- a/Toolkit/Template/Page/Toolbox.php +++ b/Toolkit/Template/Page/Toolbox.php @@ -166,11 +166,11 @@ class Toolkit_Template_Page_Toolbox implements Toolkit_Template_Page_IBody } return $breadCrumbs . - $primaryParagraph . - $staticPageContent . - $secondaryParagraphs . - $coupons . - $photoGalleryContent; + $primaryParagraph . + $secondaryParagraphs . + $staticPageContent . + $coupons . + $photoGalleryContent; } // }}} diff --git a/static/9.phtml b/static/9.phtml new file mode 100644 index 0000000..24fc588 --- /dev/null +++ b/static/9.phtml @@ -0,0 +1,4 @@ +toHtml(); \ No newline at end of file -- 2.17.1