diff options
Diffstat (limited to 'templates/base.html')
-rw-r--r-- | templates/base.html | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/templates/base.html b/templates/base.html index 58e8240..40ec10f 100644 --- a/templates/base.html +++ b/templates/base.html @@ -31,13 +31,17 @@ e.preventDefault(); }); + $('#create-bug').click(function(e) { + $('#create-form').fadeIn('fast'); + e.preventDefault(); + }); + $('table tr:odd').addClass('stripe'); }); </script> </head> <body> - <div id="logo"><h1>Cherry Flavored Bugs Everywhere!</h1></div> <div id="header"> <div class="center-column"> <h1>{{ repository_name }}</h1> @@ -54,9 +58,17 @@ <a href="" id="filter-target">Scheduled for...</a> </span> <span id="create"> - <a href="fixme">+ Create a new bug</a> + <a href="" id="create-bug">+ Create a new bug</a> </span> </div> + <form id="create-form" action="/create" method="post"> + <fieldset> + <div class="field"> + <input type="text" class="text" id="create-summary" name="summary" /> + <button id="create-button" type="submit">Create</button> + </div> + </fieldset> + </form> <h2>{% block page_title %} {% endblock %}</h2> {% block content %}{% endblock %} </div> |