@@ -12,13 +12,13 @@
{% if error %}
-
Błąd: {{ error }}{% endif %}
@@ -28,9 +28,9 @@Krakersik
+
{% if not session.logged_in %}
@@ -65,8 +65,10 @@
{% for message in get_flashed_messages() %}
+
diff -r d017e2ab3027 -r 28eb82047167 frontend/mfrontend/views/jobcontrol.py
--- a/frontend/mfrontend/views/jobcontrol.py Mon May 23 12:49:48 2011 +0200
+++ b/frontend/mfrontend/views/jobcontrol.py Sun Jun 05 23:09:18 2011 +0200
@@ -26,3 +26,9 @@
flash(e)
return render_template('newjob.html')
+@jobcontrol.route('/ajax/', methods=['GET', 'POST'])
+@decorators.login_required
+def jobs_ajax():
+ jobs = db.get_jobs(None, None, None)
+ return render_template('joblist_ajax.html', jobs=jobs)
+
{{ message }}
{% endfor %}
+{% block body %} {% endblock %} - + |