diff options
author | Mike Crute <mcrute@gmail.com> | 2010-07-15 00:04:00 -0400 |
---|---|---|
committer | Mike Crute <mcrute@gmail.com> | 2010-07-15 00:04:00 -0400 |
commit | 1278e42e01239e9a5ec01811a822235ddd935000 (patch) | |
tree | c037e7a16c78696b5442458a431af7af788ed378 | |
parent | 4065f0b0d6f4fbbdf04c0707ce49c8ffbc687032 (diff) | |
download | snakeplan-1278e42e01239e9a5ec01811a822235ddd935000.tar.bz2 snakeplan-1278e42e01239e9a5ec01811a822235ddd935000.tar.xz snakeplan-1278e42e01239e9a5ec01811a822235ddd935000.zip |
Shining up templates and starting the JS UI.
-rw-r--r-- | snakeplan/templates/base.html | 42 | ||||
-rw-r--r-- | snakeplan/templates/projects/story_form.html | 27 |
2 files changed, 63 insertions, 6 deletions
diff --git a/snakeplan/templates/base.html b/snakeplan/templates/base.html index 9ab9cac..6810277 100644 --- a/snakeplan/templates/base.html +++ b/snakeplan/templates/base.html | |||
@@ -1,8 +1,9 @@ | |||
1 | <!DOCTYPE html> | 1 | <!DOCTYPE html> |
2 | <html> | 2 | <html> |
3 | <head> | 3 | <head> |
4 | <title>{% block title %}{% endblock %} - SnakePlan</title> | 4 | <title>SnakePlan</title> |
5 | <link rel="stylesheet" href="{{MEDIA_URL}}/css/screen.css" type="text/css" media="screen, projection" /> | 5 | <link rel="stylesheet" href="{{ MEDIA_URL }}/css/screen.css" type="text/css" media="screen, projection" /> |
6 | <link rel="stylesheet" href="{{ MEDIA_URL }}/css/jquery-ui.css" type="text/css" media="screen, projection" /> | ||
6 | <!-- Enough is enough! I have had it with these motherfucking snakes on this motherfucking plan! --> | 7 | <!-- Enough is enough! I have had it with these motherfucking snakes on this motherfucking plan! --> |
7 | </head> | 8 | </head> |
8 | 9 | ||
@@ -10,12 +11,41 @@ | |||
10 | <h1>{% block pagetitle %}SnakePlan{% endblock %}</h1> | 11 | <h1>{% block pagetitle %}SnakePlan{% endblock %}</h1> |
11 | 12 | ||
12 | <ul class="action-bar"> | 13 | <ul class="action-bar"> |
13 | {% block actionbar %}{% endblock %} | 14 | Project: <select id="project-select"><option disabled="disabled">-- Select Project --</option></select> |
14 | </ul > | 15 | </ul> |
15 | 16 | ||
17 | <ul id="task-table" class="list-table"> | ||
18 | <li> | ||
19 | <div class="ui-widget"> | ||
20 | <div class="ui-state-highlight ui-corner-all" style="margin-top: 20px; padding: 0 .7em;"> | ||
21 | <p><span class="ui-icon ui-icon-info" style="float: left; margin-right: .3em;"></span> | ||
22 | Select a project to start editing stories!</p> | ||
23 | </div> | ||
24 | </div> | ||
25 | <br /> | ||
26 | </li> | ||
27 | </ul> | ||
16 | 28 | ||
17 | {% block content %}{% endblock %} | 29 | <div id="overlay" class="ui-overlay" style="display: none"> |
18 | </body> | 30 | <div class="ui-widget-overlay"></div> |
31 | <div id="overlay-display-box" class="overlay-display-box" style="display: none"> | ||
32 | <div class="ui-widget-shadow ui-corner-all overlay-background"></div> | ||
33 | <div class="ui-widget ui-widget-content ui-corner-all overlay-foreground"> | ||
34 | <span class="ui-icon ui-icon-close overlay-close"></span> | ||
35 | <h1 style="font-family: Georgia">Welcome to SnakePlan</h1> | ||
36 | <p style="font-family: Georgia"> | ||
37 | Welcome to SnakePlan the open-source project management system. Please don't mind the | ||
38 | dust, we're still building things! | ||
39 | </p> | ||
40 | </div> | ||
41 | </div> | ||
42 | </div> | ||
19 | 43 | ||
20 | <p class="copyright">SnakePlan is open-source under the Apache License. You can play with the snake, he won't bite.</p> | 44 | <p class="copyright">SnakePlan is open-source under the Apache License. You can play with the snake, he won't bite.</p> |
45 | |||
46 | <script type="text/javascript" src="{{ MEDIA_URL }}/js/jquery-1.4.2.min.js"></script> | ||
47 | <script type="text/javascript" src="{{ MEDIA_URL }}/js/jquery-ui-1.8.2.min.js"></script> | ||
48 | <script type="text/javascript" src="{{ MEDIA_URL }}/js/application.js"></script> | ||
49 | |||
50 | </body> | ||
21 | </html> | 51 | </html> |
diff --git a/snakeplan/templates/projects/story_form.html b/snakeplan/templates/projects/story_form.html new file mode 100644 index 0000000..d65fa79 --- /dev/null +++ b/snakeplan/templates/projects/story_form.html | |||
@@ -0,0 +1,27 @@ | |||
1 | <!DOCTYPE html> | ||
2 | <html> | ||
3 | <head> | ||
4 | <title>SnakePlan</title> | ||
5 | <link rel="stylesheet" href="{{ MEDIA_URL }}/css/screen.css" type="text/css" media="screen, projection" /> | ||
6 | <link rel="stylesheet" href="{{ MEDIA_URL }}/css/excite-bike.css" type="text/css" media="screen, projection" /> | ||
7 | <!-- Enough is enough! I have had it with these motherfucking snakes on this motherfucking plan! --> | ||
8 | </head> | ||
9 | |||
10 | <body> | ||
11 | |||
12 | |||
13 | <form action="" method="POST"> | ||
14 | <fieldset> | ||
15 | <legend>Create Project</legend> | ||
16 | <ol> | ||
17 | {{ form.as_ul }} | ||
18 | </ol> | ||
19 | </fieldset> | ||
20 | |||
21 | <fieldset class="submit"> | ||
22 | <input type="submit" value="Create Project"/> | ||
23 | </fieldset> | ||
24 | </form> | ||
25 | |||
26 | </body> | ||
27 | </html> | ||