Skip to content

Commit

Permalink
jquery.tooltip is now present
Browse files Browse the repository at this point in the history
Signed-off-by: Bartek Górny <[email protected]>
  • Loading branch information
skyl authored and bartekgorny committed Aug 19, 2009
1 parent 3fa571d commit 8932ed5
Show file tree
Hide file tree
Showing 5 changed files with 53 additions and 20 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
*.swp
*~
*.pyc
/project_sample/project_sample.db
/docs/_build/
Expand Down
9 changes: 9 additions & 0 deletions schedule/media/css/jquery.tooltip.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#tooltip {
position: absolute;
z-index: 3000;
border: 1px solid #111;
background-color: #eee;
padding: 5px;
opacity: 0.85;
}
#tooltip h3, #tooltip div { margin: 0; }
19 changes: 19 additions & 0 deletions schedule/media/js/jquery.tooltip.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 2 additions & 7 deletions schedule/media/schedule/css/schedule.css
Original file line number Diff line number Diff line change
Expand Up @@ -260,14 +260,9 @@ body, td {font-family:sans-serif;}
}

div.calendarname {
border-color:#e0e0e0;
border-style:solid;
border-width: 0 0px 3px 3px;
font-weight:bold;
padding-left:5px;
position:absolute;
right:10px;
top:10px;
margin:1em;
position:relative;
}

div.navigation {
Expand Down
34 changes: 21 additions & 13 deletions schedule/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,37 +10,45 @@
}

urlpatterns = patterns('',

# urls for Calendars
url(r'^calendar/$',
object_list,
name="schedule",
kwargs={'queryset':Calendar.objects.all(), 'template_name':'schedule/calendar_list.html'}),

url(r'^calendar/year/(?P<calendar_slug>[-\w]+)/$',
'schedule.views.calendar_by_periods',
'schedule.views.calendar_by_periods',
name="year_calendar",
kwargs={'periods': [Year], 'template_name': 'schedule/calendar_year.html'}),
url(r'^calendar/tri_month/(?P<calendar_slug>[-\w]+)/$',
'schedule.views.calendar_by_periods',

url(r'^calendar/tri_month/(?P<calendar_slug>[-\w]+)/$',
'schedule.views.calendar_by_periods',
name="tri_month_calendar",
kwargs={'periods': [Month], 'template_name': 'schedule/calendar_tri_month.html'}),
url(r'^calendar/compact_month/(?P<calendar_slug>[-\w]+)/$',
'schedule.views.calendar_by_periods',

url(r'^calendar/compact_month/(?P<calendar_slug>[-\w]+)/$',
'schedule.views.calendar_by_periods',
name = "compact_calendar",
kwargs={'periods': [Month], 'template_name': 'schedule/calendar_compact_month.html'}),
url(r'^calendar/month/(?P<calendar_slug>[-\w]+)/$',
'schedule.views.calendar_by_periods',

url(r'^calendar/month/(?P<calendar_slug>[-\w]+)/$',
'schedule.views.calendar_by_periods',
name = "month_calendar",
kwargs={'periods': [Month], 'template_name': 'schedule/calendar_month.html'}),
url(r'^calendar/week/(?P<calendar_slug>[-\w]+)/$',
'schedule.views.calendar_by_periods',

url(r'^calendar/week/(?P<calendar_slug>[-\w]+)/$',
'schedule.views.calendar_by_periods',
name = "week_calendar",
kwargs={'periods': [Week], 'template_name': 'schedule/calendar_week.html'}),
url(r'^calendar/daily/(?P<calendar_slug>[-\w]+)/$',
'schedule.views.calendar_by_periods',

url(r'^calendar/daily/(?P<calendar_slug>[-\w]+)/$',
'schedule.views.calendar_by_periods',
name = "day_calendar",
kwargs={'periods': [Day], 'template_name': 'schedule/calendar_day.html'}),
url(r'^calendar/(?P<calendar_slug>[-\w]+)/$',
'schedule.views.calendar',

url(r'^calendar/(?P<calendar_slug>[-\w]+)/$',
'schedule.views.calendar',\
name = "calendar"),

#Event Urls
Expand Down

0 comments on commit 8932ed5

Please sign in to comment.