-
Notifications
You must be signed in to change notification settings - Fork 390
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #250 from jdufresne/merge-base
Merge base and site_base templates.
- Loading branch information
Showing
3 changed files
with
35 additions
and
53 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,18 +1,36 @@ | ||
{% extends "site_base.html" %} | ||
{% load staticfiles i18n %} | ||
{% block extra_head %} | ||
{{ block.super }} | ||
{% endblock %} | ||
{% load i18n static %} | ||
<!DOCTYPE html> | ||
<html xmlns="http://www.w3.org/1999/xhtml" dir="{% if LANGUAGE_BIDI %}rtl{% else %}ltr{% endif %}" xml:lang="{{ LANGUAGE_CODE }}" lang="{{ LANGUAGE_CODE }}"> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | ||
<title>{% if site_name %}{{ site_name }} : {% endif %}{% block head_title %}{% endblock %}</title> | ||
<link rel="stylesheet" href="{% static "bootstrap/dist/css/bootstrap.css" %}" type="text/css" media="screen"> | ||
<script type="text/javascript" src="{% static "jquery/dist/jquery.js" %}"></script> | ||
<script type="text/javascript" src="{% static "bootstrap/dist/js/bootstrap.js" %}"></script> | ||
<link rel="stylesheet" href="{% static "schedule.css" %}" type="text/css" media="screen"> | ||
{% block extra_head %} | ||
{% endblock %} | ||
</head> | ||
|
||
{% block rtab_id %}id="schedule_tab"{% endblock %} | ||
<body> | ||
<h3 id="demo">{% trans "This is a demo of a django-schedule calendar" %}</h3> | ||
<p style="clear:both"> | ||
|
||
{% block subnav %} | ||
<ul> | ||
{% if user.is_authenticated %} | ||
<li><a href="">{% trans "Create a Calendar" %}</a></li> | ||
<li><a href="">{% trans "Your Calendars" %}</a></li> | ||
{% endif %} | ||
<div id="body"> | ||
{% if messages %} | ||
<ul id="messages"> | ||
{% for message in messages %} | ||
<li id="message_{{ forloop.counter }}"><a href="#" onclick="$('#message_{{ forloop.counter }}').fadeOut(); return false;"><small>{% trans "clear" %}</small></a> {{ message }}</li> | ||
{% endfor %} | ||
</ul> | ||
{% endif %} | ||
|
||
<li><a href="">{% trans "All Calendars" %}</a></li> | ||
</ul> | ||
{% endblock %} | ||
{% block body %} | ||
{% endblock %} | ||
|
||
</div> | ||
|
||
<div id="footer">{% block footer %}{% endblock %}</div> | ||
|
||
</body> | ||
</html> |
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 was deleted.
Oops, something went wrong.