Statistics
| Branch: | Tag: | Revision:

root / snf-saas-app / saas / ui / templates / saas / status.html @ 0544282f

History | View | Annotate | Download (1.9 kB)

1
{% extends "saas/base.html" %}
2

    
3
{% block content %}
4

    
5
<div class="row">
6

    
7
  <!-- Side Bar -->
8

    
9
  <div class="four mobile-four columns">
10
    <img src="http://placehold.it/500x500&text=Logo">
11
    <div class="hide-for-small panel">
12

    
13
      {% ifequal status "BUILD" %}
14
      <h3>Step 2</h3>
15
      <h5 class="subheader">Wait until your VM is ready</h5>
16
      {% endifequal %}
17

    
18
      {% ifequal status "ACTIVE" %}
19
      <h3>Step 3</h3>
20
      <h5 class="subheader">Your VM is ready to use</h5>
21
      {% endifequal %}
22

    
23
    </div>
24
  </div>
25

    
26

    
27
  <!-- End Side Bar -->
28
  <div class="eight mobile-eight columns">
29
    {% ifequal status "ACTIVE" %}
30
    <div class="alert-box">
31
      Your VM is ready
32
    </div>
33
    <div>
34
      <div class="panel" align="center">
35
        <h5>A direct connection to this machine can be established using Remote
36
          Desktop Service. To do so, open the following file with an appropriate
37
          remote desktop client.
38
        </h5>
39
        <ul class="accordion">
40
          <li>
41
          <div class="title">
42
            <h5>Credentials</h5>
43
          </div>
44
          <div class="content">
45
            <b>Username:</b> {{ vm_username }} <br>
46
            <b>Password:</b> {{ vm_password }}
47
          </div>
48
          </li>
49
        </ul>
50
        <a class="large success button" href= {{ link_url  }}>
51
          Remote Desktop to {{ ip }}</a>
52
      </div>
53
      <div class="panel" align="center">
54
        <h5>In case you want to terminate your current session or create a new
55
          one click here <br>
56
          Warning: This will destroy your current machine
57
        </h5>
58
        <a class="large secondary button" href=/saas/destroy/{{ vm_id }}>
59
          New machine</a>
60
      </div>
61
    </div>
62
  </div>
63
  {% endifequal %}
64

    
65
  {% ifequal status "BUILD" %}
66
  <div class="alert-box">
67
    Wait until your machine is ready to use
68
    <img align=right src="/static/saas/ajax-loader.gif">
69
  </div>
70
  {% endifequal %}
71

    
72
  {% endblock %}