VRFS-3276 : Calendar feed markup and styling. Included as partial.

This commit is contained in:
Steven Miers 2015-06-29 13:12:54 -05:00
parent e632f48600
commit 77c99103d0
3 changed files with 22 additions and 0 deletions

View File

@ -4,6 +4,16 @@
.session-detail-scroller,
#account-identity-content-scroller {
.ics-feed-caption {
font-size: 1.2em;
margin: 0em 0em 1em 0em;
}
.ics-feed-link {
font-size: 1.1em;
margin: 0.5em 0em 1em 0em;
}
.content-wrapper {
padding:10px 30px;
}

View File

@ -22,6 +22,9 @@
%thead
%tbody
.clearall
.content-wrapper
=render "calendar"
/ end content scrolling area
%script{type: 'text/template', id: 'template-account-session'}

View File

@ -0,0 +1,9 @@
-if current_user
.account-calendar
.ics-feed-caption Following is a URL for your personal JamKazam .ics calendar, which tracks all sessions and events to which you have RSVP'd:
.ics-feed-link
=api_users_calendar_feed_url(current_user)
.ics-help-link
a href="" How to subscribe to your feed in Google Calendar
.ics-help-link
a href="" How to subscribe to your feed in Microsoft Outlook