Changeset 2534

Show
Ignore:
Timestamp:
12/23/09 01:05:03
Author:
johnsa
Message:

public client: more work on the default skin and theming params

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/themes/bedeworkTheme/css/fixed.css

    r2518 r2534  
    8787div#title-text h2 { 
    8888  font-size: 2em; 
     89} 
     90div#title-text ul { 
     91  display: inline; 
     92} 
     93div#title-text li { 
     94  display: inline; 
     95  padding: 0 0.5em; 
     96  border-right: 1px solid #bbb; 
     97} 
     98div#title-text li.last { 
     99  padding: 0 0 0 0.5em; 
     100  border-right: none; 
    89101} 
    90102a#currentDate { 
  • trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/themes/bedeworkTheme/footer.xsl

    r2511 r2534  
    66  <xsl:template name="footer"> 
    77    <div id="footer"> 
    8       <div id="footForms"> 
    9         <form name="skinSelectForm" method="post" 
    10           action="{$setup}"> 
    11           <input type="hidden" name="setappvar" 
    12             value="summaryMode(details)" /> 
    13           <select name="skinPicker" 
    14             onchange="window.location = this.value"> 
    15             <option 
    16               value="{$setup}&amp;skinNameSticky=default"> 
    17               <xsl:copy-of 
    18                 select="$bwStr-Foot-ExampleSkins" /> 
    19               : 
    20             </option> 
    21             <option value="{$setup}&amp;skinNameSticky=bwclassic"> 
    22               <xsl:copy-of select="$bwStr-Foot-BwClassic" /> 
    23             </option> 
    24             <option 
    25               value="{$listEvents}&amp;setappvar=summaryMode(details)&amp;skinName=rss-list&amp;days=3"> 
    26               <xsl:copy-of 
    27                 select="$bwStr-Foot-RSSNext3Days" /> 
    28             </option> 
    29             <option 
    30               value="{$listEvents}&amp;setappvar=summaryMode(details)&amp;skinName=js-list&amp;days=3&amp;contentType=text/javascript&amp;contentName=bedework.js"> 
    31               <xsl:copy-of 
    32                 select="$bwStr-Foot-JavascriptNext3Days" /> 
    33             </option> 
    34             <option 
    35               value="{$setViewPeriod}&amp;viewType=todayView&amp;skinName=jsToday&amp;contentType=text/javascript&amp;contentName=bedeworkToday.js"> 
    36               <xsl:copy-of 
    37                 select="$bwStr-Foot-JavascriptTodaysEvents" /> 
    38             </option> 
    39             <option 
    40               value="{$setup}&amp;browserTypeSticky=PDA"> 
    41               <xsl:copy-of 
    42                 select="$bwStr-Foot-ForMobileBrowsers" /> 
    43             </option> 
    44             <option 
    45               value="{$setViewPeriod}&amp;viewType=todayView&amp;skinName=videocal"> 
    46               <xsl:copy-of 
    47                 select="$bwStr-Foot-VideoFeed" /> 
    48             </option> 
    49             <option 
    50               value="{$setup}&amp;skinNameSticky=default"> 
    51               <xsl:copy-of 
    52                 select="$bwStr-Foot-ResetToCalendarDefault" /> 
    53             </option> 
    54           </select> 
    55         </form> 
    56       </div> 
    57       <xsl:copy-of select="$bwStr-Foot-BasedOnThe" /> 
    58       <xsl:text> </xsl:text> 
    59       <a href="http://www.bedework.org/"> 
    60         <xsl:copy-of select="$bwStr-Foot-BedeworkCalendarSystem" /> 
    61       </a> 
    62       | 
    63       <a 
    64         href="http://www.bedework.org/bedework/update.do?artcenterkey=35"> 
    65         <xsl:copy-of select="$bwStr-Foot-ProductionExamples" /> 
    66       </a> 
    67       | 
    68       <a href="?noxslt=yes"> 
    69         <xsl:copy-of select="$bwStr-Foot-ShowXML" /> 
    70       </a> 
    71       | 
    72       <a href="?refreshXslt=yes"> 
    73         <xsl:copy-of select="$bwStr-Foot-RefreshXSLT" /> 
    74       </a> 
    75       <br/> 
    76       <xsl:copy-of select="$bwStr-Foot-Credits" /> 
     8      <xsl:if test="$showFootForm = 'true'"> 
     9        <div id="footForms"> 
     10          <form name="skinSelectForm" method="post" 
     11            action="{$setup}"> 
     12            <input type="hidden" name="setappvar" 
     13              value="summaryMode(details)" /> 
     14            <select name="skinPicker" 
     15              onchange="window.location = this.value"> 
     16              <option 
     17                value="{$setup}&amp;skinNameSticky=default"> 
     18                <xsl:copy-of 
     19                  select="$bwStr-Foot-ExampleSkins" /> 
     20                : 
     21              </option> 
     22              <option value="{$setup}&amp;skinNameSticky=bwclassic"> 
     23                <xsl:copy-of select="$bwStr-Foot-BwClassic" /> 
     24              </option> 
     25              <option 
     26                value="{$listEvents}&amp;setappvar=summaryMode(details)&amp;skinName=rss-list&amp;days=3"> 
     27                <xsl:copy-of 
     28                  select="$bwStr-Foot-RSSNext3Days" /> 
     29              </option> 
     30              <option 
     31                value="{$listEvents}&amp;setappvar=summaryMode(details)&amp;skinName=js-list&amp;days=3&amp;contentType=text/javascript&amp;contentName=bedework.js"> 
     32                <xsl:copy-of 
     33                  select="$bwStr-Foot-JavascriptNext3Days" /> 
     34              </option> 
     35              <option 
     36                value="{$setViewPeriod}&amp;viewType=todayView&amp;skinName=jsToday&amp;contentType=text/javascript&amp;contentName=bedeworkToday.js"> 
     37                <xsl:copy-of 
     38                  select="$bwStr-Foot-JavascriptTodaysEvents" /> 
     39              </option> 
     40              <option 
     41                value="{$setup}&amp;browserTypeSticky=PDA"> 
     42                <xsl:copy-of 
     43                  select="$bwStr-Foot-ForMobileBrowsers" /> 
     44              </option> 
     45              <option 
     46                value="{$setViewPeriod}&amp;viewType=todayView&amp;skinName=videocal"> 
     47                <xsl:copy-of 
     48                  select="$bwStr-Foot-VideoFeed" /> 
     49              </option> 
     50              <option 
     51                value="{$setup}&amp;skinNameSticky=default"> 
     52                <xsl:copy-of 
     53                  select="$bwStr-Foot-ResetToCalendarDefault" /> 
     54              </option> 
     55            </select> 
     56          </form> 
     57        </div> 
     58      </xsl:if> 
     59      <xsl:call-template name="footerText"/> 
    7760    </div> 
    7861  </xsl:template> 
  • trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/themes/bedeworkTheme/header.xsl

    r2511 r2534  
    1313      </div> 
    1414      <div id="title-text"> 
    15         <h2> 
    16           <xsl:copy-of select="$bwStr-HdBr-PublicCalendar" /> 
    17         </h2> 
    18         <a href="{$privateCal}"> 
    19           <xsl:copy-of select="$bwStr-HdBr-PersonalCalendar" /> 
    20         </a> 
    21         | 
    22         <a href="/bedework"> 
    23           <xsl:copy-of select="$bwStr-HdBr-UniversityHome" /> 
    24         </a> 
    25         | 
    26         <!-- a href="http://www.bedework.org/"--> 
    27         <a href="?refreshXslt=yes"> 
    28           <xsl:copy-of select="$bwStr-HdBr-OtherLink" /> 
    29         </a> 
     15        <xsl:call-template name="headerTextLinks"/> 
    3016      </div> 
    3117    </div> 
  • trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/themes/bedeworkTheme/leftColumn.xsl

    r2517 r2534  
    3636        </li> 
    3737      </ul> 
    38       <h4>EVENTS CALENDAR INFO:</h4> 
    39       <ul class="sideLinks"> 
    40         <li> 
    41           <a href="/caladmin">Manage Events</a> 
    42         </li> 
    43         <li> 
    44           <a href="/eventsubmit?setappvar=confirmed(no)"> 
    45             Submit an Event 
    46           </a> 
    47         </li> 
    48         <li> 
    49           <a href="http://calendar.duke.edu/help">Help</a> 
    50         </li> 
    51       </ul> 
    52       <ul class="sideLinksExpand"> 
    53         <li> 
    54           <h4>OTHER UNIVERSITY CALENDARS</h4> 
    55           <span id="additionalUnivClicker">+</span> 
    56           <ul id="additionalUnivSub" 
    57             style="height:0px;overflow:hidden;"> 
    58             <li> 
    59               <a href="http://dukehealth.org/events" 
    60                 target="_blank"> 
    61                 DukeHealth.org Event Calendar 
    62               </a> 
    63             </li> 
    64             <li> 
    65               <a 
    66                 href="http://calendar.activedatax.com/ncstate/EventList.aspx" 
    67                 target="_blank"> 
    68                 NC State Calendar 
    69               </a> 
    70             </li> 
    71             <li> 
    72               <a 
    73                 href="http://webevent.nccu.edu/CalendarNOW.aspx" 
    74                 target="_blank"> 
    75                 NCCU Calendar 
    76               </a> 
    77             </li> 
    78             <li> 
    79               <a href="http://events.unc.edu/cal/" 
    80                 target="_blank"> 
    81                 UNC Calendar 
    82               </a> 
    83             </li> 
    84           </ul> 
    85         </li> 
    86         <li> 
    87           <h4>OTHER LINKS</h4> 
    88           <span id="additionalOptionsClicker">+</span> 
    89           <ul id="additionalOptionsSub" 
    90             style="height:0px;overflow:hidden"> 
    91             <li> 
    92               <a href="http://www.durham-nc.com" 
    93                 target="_blank"> 
    94                 Durham Visitor's Bureau Calendar 
    95               </a> 
    96             </li> 
    97             <li> 
    98               <a href="http://map.duke.edu" target="_blank"> 
    99                 Duke Campus Map 
    100               </a> 
    101             </li> 
    102           </ul> 
    103         </li> 
    104       </ul> 
     38      <xsl:call-template name="leftColumnText"/> 
    10539    </div> 
    10640  </xsl:template> 
  • trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/themes/bedeworkTheme/themeSettings.xsl

    r2533 r2534  
    5454 
    5555 
     56  <!-- CUSTOM CONTENT: HEADER, LEFT COLUMN, FOOTER --> 
     57  <!-- The three templates below are pulled into the theme as 
     58       described and use internationalized strings 
     59       (found in ../default/strings.xsl). 
     60 
     61       If you plan on using only one language, you can safely 
     62       change the <xsl:copy> blocks to plain text below. 
     63 
     64       If you plan on using more than one language, use the 
     65       strings.xsl file.  See the manual about setting up a 
     66       strings.xsl for multiple languages. --> 
     67 
     68  <!-- HEADER TEXT/LINKS --> 
     69  <!-- the text and links found (by default) in the 
     70       lower right of the header.  --> 
     71  <xsl:template name="headerTextLinks"> 
     72    <h2> 
     73      <xsl:copy-of select="$bwStr-HdBr-PublicCalendar" /> 
     74    </h2> 
     75    <ul> 
     76      <li> 
     77        <a href="{$privateCal}"> 
     78          <xsl:copy-of select="$bwStr-HdBr-PersonalCalendar" /> 
     79        </a> 
     80      </li> 
     81      <li> 
     82        <a href="/bedework"> 
     83          <xsl:copy-of select="$bwStr-HdBr-UniversityHome" /> 
     84        </a> 
     85      </li> 
     86      <li class="last"> 
     87        <a href="?refreshXslt=yes"> 
     88          <xsl:copy-of select="$bwStr-HdBr-OtherLink" /> 
     89        </a> 
     90      </li> 
     91    </ul> 
     92  </xsl:template> 
     93 
     94  <!-- FOOTER TEXT/LINKS --> 
     95  <!-- show the skin select box in the footer? 
     96  You may also opt to remove the form in footer.xsl. --> 
     97  <xsl:variable name="showFootForm">true</xsl:variable> 
     98 
     99  <!-- text in the footer --> 
     100  <xsl:template name="footerText"> 
     101    <xsl:copy-of select="$bwStr-Foot-BasedOnThe" /> 
     102    <xsl:text> </xsl:text> 
     103    <a href="http://www.bedework.org/"> 
     104      <xsl:copy-of select="$bwStr-Foot-BedeworkCalendarSystem" /> 
     105    </a> 
     106    | 
     107    <a 
     108      href="http://www.bedework.org/bedework/update.do?artcenterkey=35"> 
     109      <xsl:copy-of select="$bwStr-Foot-ProductionExamples" /> 
     110    </a> 
     111    | 
     112    <a href="?noxslt=yes"> 
     113      <xsl:copy-of select="$bwStr-Foot-ShowXML" /> 
     114    </a> 
     115    | 
     116    <a href="?refreshXslt=yes"> 
     117      <xsl:copy-of select="$bwStr-Foot-RefreshXSLT" /> 
     118    </a> 
     119    <br/> 
     120    <xsl:copy-of select="$bwStr-Foot-Credits" /> 
     121  </xsl:template> 
     122 
     123 
     124  <!-- LEFT COLUMN TEXT --> 
     125  <!-- custom text in the left column --> 
     126  <xsl:template name="leftColumnText"> 
     127    <h4>EVENTS CALENDAR INFO:</h4> 
     128     <ul class="sideLinks"> 
     129       <li> 
     130         <a href="/caladmin">Manage Events</a> 
     131       </li> 
     132       <li> 
     133         <a href="/eventsubmit?setappvar=confirmed(no)"> 
     134           Submit an Event 
     135         </a> 
     136       </li> 
     137       <li> 
     138         <a href="http://calendar.duke.edu/help">Help</a> 
     139       </li> 
     140     </ul> 
     141     <ul class="sideLinksExpand"> 
     142       <li> 
     143         <h4>OTHER UNIVERSITY CALENDARS</h4> 
     144         <span id="additionalUnivClicker">+</span> 
     145         <ul id="additionalUnivSub" 
     146           style="height:0px;overflow:hidden;"> 
     147           <li> 
     148             <a href="http://www.bedework.org/"> 
     149               Example link 
     150             </a> 
     151           </li> 
     152           <li> 
     153             <a href="http://www.bedework.org/"> 
     154               Example link 
     155             </a> 
     156           </li> 
     157           <li> 
     158             <a href="http://www.bedework.org/"> 
     159               Example link 
     160             </a> 
     161           </li> 
     162         </ul> 
     163       </li> 
     164       <li> 
     165         <h4>OTHER LINKS</h4> 
     166         <span id="additionalOptionsClicker">+</span> 
     167         <ul id="additionalOptionsSub" 
     168           style="height:0px;overflow:hidden"> 
     169           <li> 
     170             <a href="http://www.bedework.org/"> 
     171               Example link 
     172             </a> 
     173           </li> 
     174           <li> 
     175             <a href="http://www.bedework.org/"> 
     176               Example link 
     177             </a> 
     178           </li> 
     179         </ul> 
     180       </li> 
     181     </ul> 
     182   </xsl:template> 
     183 
    56184 
    57185