transfer-instance-ownership.html 1.01 KB
Newer Older
1 2 3 4 5 6 7 8
{% extends "dashboard/base.html" %}
{% load i18n %}

{% block content %}
  <div class="body-content">
    <div class="panel panel-default">
      <div class="panel-heading">
        <h3 class="no-margin">
9
          {% trans "Ownership transfer" %}
10 11 12
        </h3>
      </div>
      <div class="panel-body">
13 14 15 16 17
        {% blocktrans with owner=instance.owner name=instance.name id=instance.id%}
        <strong>{{ owner }}</strong> offered to take the ownership of
        virtual machine <strong>{{name}} ({{id}})</strong>.
        Do you accept the responsility of being the host's owner?
        {% endblocktrans %}
18 19 20 21 22 23 24 25 26 27 28
        <div class="pull-right">
          <form action="" method="POST">
            {% csrf_token %}
            <a class="btn btn-default" href="{% url "dashboard.index" %}">{% trans "No" %}</a>
            <input type="hidden" name="key" value="{{ key }}"/>
            <button class="btn btn-danger" type="submit">{% trans "Yes" %}</button>
          </form>
        </div>
      </div>
  </div>
{% endblock %}