forked from thauber/django-schedule
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed media references to use properly namedspaces media in the form …
…{{ MEDIA_URL }}schedules/(img|js|css)/foo except when the media is 100% generic (like jquery), in which case it's at media/(js|img|css) and referenced at {{ MEDIA_URL }}(img|js|css)/foo Signed-off-by: Bartek Górny <bartek@gorny.edu.pl>
- Loading branch information
1 parent
3f5de2e
commit 94aab78
Showing
14 changed files
with
28 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
*.pyc | ||
/project_sample/project_sample.db | ||
/docs/_build/ | ||
django_schedule.egg-info |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
<a href="{{ create_event_url }}&next={{here}}"><img border="0" src="{{ MEDIA_URL }}img/add.png" alt="Add Event"></a> | ||
<a href="{{ create_event_url }}&next={{here}}"><img border="0" src="{{ MEDIA_URL }}schedule/img/add.png" alt="Add Event"></a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
{% load scheduletags %} | ||
<div class="prevnext"> | ||
<a href="{% prev_url target slug period %}"> | ||
<img align="top" border="0" src="{{ MEDIA_URL }}/img/left_mod.png"/> | ||
<img align="top" border="0" src="{{ MEDIA_URL }}schedule/img/left_mod.png"/> | ||
</a> | ||
<b>{{period_name}}</b> | ||
<a href="{% next_url target slug period %}"> | ||
<img align="top" border="0" src="{{ MEDIA_URL }}/img/right_mod.png"/> | ||
<img align="top" border="0" src="{{ MEDIA_URL }}schedule/img/right_mod.png"/> | ||
</a> | ||
</div> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,20 @@ | ||
{% extends "site_base.html" %} | ||
{% block extra_head %} | ||
{{ block.super }} | ||
<link rel="stylesheet" href="{{ MEDIA_URL }}css/schedule.css" type="text/css" media="screen" /> | ||
<link rel="stylesheet" href="{{ MEDIA_URL }}schedule/css/schedule.css" type="text/css" media="screen" /> | ||
<link rel="stylesheet" href="{{ MEDIA_URL }}css/jquery-ui.css" type="text/css" media="screen" /> | ||
<link rel="stylesheet" href="{{ MEDIA_URL }}css/jquery.tooltip.css" /> | ||
<script type="text/javascript" src="{{ MEDIA_URL }}js/jquery.js"></script> | ||
<script type="text/javascript" src="{{ MEDIA_URL }}js/jquery-ui.js"></script> | ||
<script type="text/javascript" src="{{ MEDIA_URL }}js/jquery.tooltip.js"></script> | ||
{% endblock %} | ||
|
||
{% block rtab_id %}id="schedule_tab"{% endblock %} | ||
|
||
{% block subnav %} | ||
<ul> | ||
<li><a href="">Create a Calendar</a></li> | ||
<li><a href="">Your Calendars</a></li> | ||
<li><a href="">All Calendars</a></li> | ||
</ul> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters