summaryrefslogtreecommitdiff
path: root/static/website/templates
diff options
context:
space:
mode:
Diffstat (limited to 'static/website/templates')
-rw-r--r--static/website/templates/bug-form.html27
-rw-r--r--static/website/templates/index.html5
2 files changed, 31 insertions, 1 deletions
diff --git a/static/website/templates/bug-form.html b/static/website/templates/bug-form.html
new file mode 100644
index 0000000..d27911a
--- /dev/null
+++ b/static/website/templates/bug-form.html
@@ -0,0 +1,27 @@
+<form id="bug-form" action="" method="POST" accept-charset="utf-8"> {% csrf_token %}
+ {{ form.example }}
+ <div id="non-field-errors">
+ </div>
+ <div id="id_issue_wrapper" class="wrapper">
+ <label>Type of issue:</label>
+ {{ form.issue }}
+ </div>
+
+ <div id="id_description_wrapper" class="wrapper">
+ <label>Description:</label>
+ {{ form.description }}
+ </div>
+
+ <div id="id_notify_wrapper" class="wrapper">
+ <label>{{ form.notify }} I want to be notified.</label>
+ </div>
+
+ <div id="id_email_wrapper" class="wrapper">
+ <span id="email-wrapper">
+ {{ form.email.errors }}
+ <label>Email:</label>
+ {{ form.email }}
+ </span>
+ </div>
+ <input type="submit" id="bug-form-submit">
+</form>
diff --git a/static/website/templates/index.html b/static/website/templates/index.html
index bf15ea4..88abbf8 100644
--- a/static/website/templates/index.html
+++ b/static/website/templates/index.html
@@ -91,7 +91,7 @@
<textarea id="result"></textarea>
</div> <!-- /#output -->
<a id="bug" class="button">Report bug / Give Feedback</a>
-
+
<div id="credits">
<small>
Disclaimer: Scilab is a trademark of Inria
@@ -113,6 +113,9 @@
<div id="databox"></div>
</div> <!-- /#databox-wrapper -->
+ <div id="bug-form-wrapper">
+ </div> <!-- /#databox-wrapper -->
+
<script src="{% static 'website/js/jquery-1.10.2.min.js' %}"></script>
<script src="{% static '/static/dajax/jquery.dajax.core.js' %}"></script>
<script src="{% static 'website/js/codemirror.js'%}"></script>