+
+ <!-- Custom CSS -->
+ <link href="{% static "bower_components/startbootstrap-sb-admin-2-blackrockdigital/dist/css/sb-admin-2.min.css" %}"
+ rel="stylesheet">
+ <link href="{% static "css/theme.css" %}" rel="stylesheet">
+ <link href="{% static "css/detail_view.css" %}" rel="stylesheet">
+
+<script type="text/javascript">
+ function cwf(type)
+ {
+ $.ajax({
+ type: "POST",
+ url: "/",
+ data: {"create":type},
+ beforeSend: function(request) {
+ request.setRequestHeader("X-CSRFToken",
+ $('input[name="csrfmiddlewaretoken"]').val()
+ );
+ }
+ }).done(function (data) {
+ window.location.replace("/wf/");
+ }).fail(function(jqxHR, textstatus) {
+ alert("Something went wrong...");});
+ }
+ function continue_wf()
+ {
+ window.location.replace("/wf/");
+ }
+
+ function toggle_create_drop()
+ {
+ drop_div = document.getElementById("create_drop");
+
+ if (drop_div.style.display === "none")
+ {
+ drop_div.style.display = "inherit";
+ }
+ else
+ {
+ drop_div.style.display = "none";
+ }
+ }
+</script>
+<style>
+ .create_drop {
+ display: none;
+ width: 100%;
+ }
+
+ .create_drop button {
+ width: 100%;
+ }
+
+ .drop_btn {
+ border-radius: 0px;
+ background-color: CCCCCC
+ }
+
+ .drop_btn:hover {
+ color: #555;
+ border-top: 1px solid #E7E7E7;
+ border-bottom: 1px solid #E7E7E7;
+ }
+</style>
+
+{% endblock %}