base-transfer-ownership.html 1.02 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
{% 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">
            {% trans "Ownership transfer" %}
        </h3>
      </div>
      <div class="panel-body">
13 14 15
          {% 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>.
16 17 18 19 20 21 22 23 24 25 26 27 28
          Do you accept the responsility of being the host's owner?
          {% endblocktrans %}
        <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 %}