1 {% extends "base.html" %}
6 <p style="text-align:center;">Welcome to the Pharos Dashboard! To get started, select one of the options below:</p>
12 display: inline-block;
28 grid-template-columns: 33% 34% 33%;
31 <div class='wf_create_div'>
32 <button class="wf_create btn" onclick="cwf(0)">Create a Booking</button>
33 <button class="wf_create btn" onclick="cwf(1)">Create a Pod</button>
34 <button class="wf_create btn" onclick="cwf(2)">Configure a Pod</button>
35 <button class="wf_create btn" onclick="cwf(3)">Create a Snapshot</button>
36 {% if manager == True %}
37 <button class="wf_continue btn" onclick="continue_wf()">Finish Unfinished Business</button>
41 <script type="text/javascript">
47 data: {"create":type},
48 beforeSend: function(request) {
49 request.setRequestHeader("X-CSRFToken",
50 $('input[name="csrfmiddlewaretoken"]').val()
54 }).done(function (data) {
55 window.location.replace("/wf/");
56 }).fail(function(jqxHR, textstatus) {
57 alert("Something went wrong...");});
59 function continue_wf()
61 window.location.replace("/wf/");
64 //success: window.location.replace("/wf/")
68 <div class="hidden_form" id="form_div">
69 <form method="post" action="" class="form" id="wf_selection_form">
72 <input type="hidden" id="landing_action">
74 <button type="submit" class="btn btn btn-success">
80 {% block vport_comm %}
82 {% endblock content %}