From 0468d9f588728da9021098b9c69c9b76de5f8356 Mon Sep 17 00:00:00 2001
From: Kálmán Viktor <kviktor@cloud.bme.hu>
Date: Fri, 1 Aug 2014 12:09:59 +0200
Subject: [PATCH] templates: legal, policy, support

---
 circle/templates/info/legal.html   | 30 ++++++++++++++++++++++++++++++
 circle/templates/info/policy.html  | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
 circle/templates/info/support.html | 22 ++++++++++++++++++++++
 3 files changed, 103 insertions(+)
 create mode 100644 circle/templates/info/legal.html
 create mode 100644 circle/templates/info/policy.html
 create mode 100644 circle/templates/info/support.html

diff --git a/circle/templates/info/legal.html b/circle/templates/info/legal.html
new file mode 100644
index 0000000..7f05fe0
--- /dev/null
+++ b/circle/templates/info/legal.html
@@ -0,0 +1,30 @@
+{% extends "dashboard/base.html" %}
+{% load i18n %}
+
+{% block title-page %}{% trans "Legal notice" %}{% endblock %}
+{% block content %}
+<div class="row">
+  <div class="col-lg-8 col-lg-offset-2">
+    <div class="page-header">
+      <h1>{% trans "Legal notice" %}</h1>
+    </div>
+
+    <div class="panel panel-default">
+      <div class="panel-body">
+        {% blocktrans %}
+        CIRCLE Cloud is a complete and open source cloud solution 
+        that can be deployed with minimal effort on a single computer as well as on a larger cluster.
+        {% endblocktrans %}
+      </div>
+    </div>
+
+    <div class="panel panel-default">
+      <div class="panel-body">
+        {% blocktrans with maintainer=COMPANY_NAME %}
+          The maintainer of this site is: {{ maintainer }}       
+        {% endblocktrans %}
+      </div>
+    </div>
+  </div>
+</div>
+{% endblock %}
diff --git a/circle/templates/info/policy.html b/circle/templates/info/policy.html
new file mode 100644
index 0000000..4f79d2c
--- /dev/null
+++ b/circle/templates/info/policy.html
@@ -0,0 +1,51 @@
+{% extends "dashboard/base.html" %}
+{% load i18n %}
+
+{% block title-page %}{% trans "Policy" %}{% endblock %}
+{% block content %}
+<div class="row">
+  <div class="col-lg-8 col-lg-offset-2">
+    <div class="page-header">
+      <h1>{% trans "Policy" %} <small>{% trans "terms of usage" %}</small></h1>
+    </div>
+
+    <div class="panel panel-default">
+      <div class="panel-body">
+        <p>
+        <ul>
+          <li>
+            {% blocktrans %}
+            The system cannot be used for illegal activites.
+            {% endblocktrans %}
+          </li>
+          <li>
+            {% blocktrans %} 
+            Every virtual machine has an expiration date, when this date is reached
+            the machine will be stopped, if the user doesn't renew the machine
+            it will be deleted and all data on it will be lost.
+            {% endblocktrans %}
+          </li>
+          <li>
+            {% blocktrans %}
+            Running the the virtual machine safely and 
+            updating the operating system is the responsibility of the user.
+            {% endblocktrans %}
+          </li>
+        </ul>
+        </p>
+      </div>
+    </div>
+
+    <div class="panel panel-default">
+      <div class="panel-body">
+          {% blocktrans %}
+            You can connect to the running virtual machines the usual way: for Windows machines
+            this mean RDP (remote desktop), Linux machines can be accessed either via SSH
+            or NoMachine NX (GUI).
+          {% endblocktrans %}
+          {# Installing the CIRCLE Desktop Client makes connecting easier. #}
+      </div>
+    </div>
+  </div>
+</div>
+{% endblock %}
diff --git a/circle/templates/info/support.html b/circle/templates/info/support.html
new file mode 100644
index 0000000..5438e03
--- /dev/null
+++ b/circle/templates/info/support.html
@@ -0,0 +1,22 @@
+{% extends "dashboard/base.html" %}
+{% load i18n %}
+
+{% block title-page %}{% trans "Support" %}{% endblock %}
+{% block content %}
+<div class="row">
+  <div class="col-lg-8 col-lg-offset-2">
+    <div class="page-header">
+      <h1>{% trans "Support" %}</h1>
+    </div>
+
+    <div class="panel panel-default">
+      <div class="panel-body">
+        {% blocktrans %}
+        CIRCLE Cloud is an open source cloud solution. If you notice any bugs or
+        you have an idea for a feature please contact the maintainer of the site.
+        {% endblocktrans %}
+      </div>
+    </div>
+  </div>
+</div>
+{% endblock %}
--
libgit2 0.26.0