Added status field to a booked VM. Added the capability to change a booked VM status from the admin panel. Send email to user after his VM is approved

This commit is contained in:
Levi 2016-05-27 00:51:10 -05:00
commit 7a9ea58a89
14 changed files with 177 additions and 15 deletions

View file

@ -1,5 +1,5 @@
<<!DOCTYPE html>
<!DOCTYPE html>
<html>
<head>
<title></title>

View file

@ -1,5 +1,5 @@
<<!DOCTYPE html>
<!DOCTYPE html>
<html>
<head>
<title></title>

View file

@ -0,0 +1,13 @@
{% load staticfiles bootstrap3%}
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
You virtual machine {{vm.name}} has been activated. You can manage your vm on this <a href="{{request.HOS}}{% url 'hosting:virtual_machines' vm.id %}"> link </a>
</body>
</html>

View file

@ -0,0 +1,15 @@
{% load staticfiles bootstrap3%}
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
You virtual machine {{vm.name}} has been activated. You can manage your vm in this <a href="{% url 'hosting:virtual_machines' vm.id %}"> link </a>
</body>
</html>