Add templates for conversion task starter
authorSverre Rabbelier <srabbelier@gmail.com>
Tue, 08 Sep 2009 14:24:16 +0200
changeset 2881 e730768e0774
parent 2880 8aa1f20aaac6
child 2882 3fbbb56b7925
Add templates for conversion task starter
app/soc/templates/soc/tasks/convert.html
app/soc/templates/soc/tasks/start.html
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/app/soc/templates/soc/tasks/convert.html	Tue Sep 08 14:24:16 2009 +0200
@@ -0,0 +1,19 @@
+{% extends "soc/base.html" %}
+{% comment %}
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+{% endcomment %}
+{% block body %}
+Started conversion job {{ option }}. <br />
+Job starter was {% if not success %}not {% endif %} successfull. <br />
+
+{% endblock %}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/app/soc/templates/soc/tasks/start.html	Tue Sep 08 14:24:16 2009 +0200
@@ -0,0 +1,21 @@
+{% extends "soc/base.html" %}
+{% comment %}
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+{% endcomment %}
+{% block body %}
+{% for option in options %}
+Start <a target="_blank" href="/tasks/convert/{{ option }}">
+convert {{ option }}</a> job. <br/>
+{% endfor %}
+
+{% endblock %}