parent
305dfc0f93
commit
94b01d868d
8 changed files with 125 additions and 127 deletions
|
@ -1,20 +1,18 @@
|
|||
{% extends "base.html" %}
|
||||
{% block page_heading %}GTD (Getting Things Done){% endblock %}
|
||||
{% block extrahead %}
|
||||
<!-- CSS and JavaScript for django-todo -->
|
||||
<link rel="stylesheet" type="text/css" href="{{STATIC_URL}}todo/css/styles.css" />
|
||||
<!-- CSS and JavaScript for django-todo -->
|
||||
<link rel="stylesheet" type="text/css" href="{{STATIC_URL}}todo/css/styles.css" />
|
||||
|
||||
<script src="{{STATIC_URL}}js/ui.datepicker.js" type="text/javascript"></script>
|
||||
<script src="{{STATIC_URL}}todo/js/jquery.tablednd_0_5.js" type="text/javascript"></script>
|
||||
<link type="text/css" href="{{STATIC_URL}}js/jquery-ui-1.7.1.custom.css" rel="Stylesheet" />
|
||||
<script src="{{STATIC_URL}}js/ui.datepicker.js" type="text/javascript"></script>
|
||||
<script src="{{STATIC_URL}}todo/js/jquery.tablednd_0_5.js" type="text/javascript"></script>
|
||||
|
||||
<script type="text/javascript" charset="utf-8">
|
||||
<script type="text/javascript" charset="utf-8">
|
||||
// thedate.x comes from the edit_task view. If this is a new entry,
|
||||
// thedate won't be present and datepicker will fall back on the default (today).
|
||||
$(document).ready(function(){
|
||||
$('#id_due_date').datepicker({defaultDate: new Date({{thedate.year}}, {{thedate.month}} - 1, {{thedate.day}}),});
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
</script>
|
||||
{% endblock extrahead %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue