From 53bc0477f9b0217c87676103361b1633e9b12f19 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Sun, 31 Mar 2013 13:11:58 +0200 Subject: added account page --- module/web/templates/default/accounts.html | 45 ++++++++++++++++++++++ .../templates/default/backbone/accountDialog.html | 40 +++++++++++++++++++ .../default/backbone/pluginChooserDialog.html | 2 +- module/web/templates/default/base.html | 1 + module/web/templates/default/settings.html | 4 +- 5 files changed, 89 insertions(+), 3 deletions(-) create mode 100644 module/web/templates/default/accounts.html create mode 100755 module/web/templates/default/backbone/accountDialog.html (limited to 'module/web/templates') diff --git a/module/web/templates/default/accounts.html b/module/web/templates/default/accounts.html new file mode 100644 index 000000000..06b81c330 --- /dev/null +++ b/module/web/templates/default/accounts.html @@ -0,0 +1,45 @@ +{% extends 'default/base.html' %} + +{% block title %}{{ _("Accounts") }} - {{ super() }} {% endblock %} +{% block subtitle %}{{ _("Accounts") }} +{% endblock %} + +{% block css %} + +{% endblock %} + +{% block require %} + App.initAccountView(); +{% endblock %} + +{% block head %} + +{% endblock %} + +{% block actionbar %} + + + +{% endblock %} + +{% block content %} + {# TODO: responsive layout instead of table #} +
+ + + + + + + + + + + + + + +
NamePluginValidPremiumTrafficSharedActivated
+
+{% endblock %} \ No newline at end of file diff --git a/module/web/templates/default/backbone/accountDialog.html b/module/web/templates/default/backbone/accountDialog.html new file mode 100755 index 000000000..dbc88e66d --- /dev/null +++ b/module/web/templates/default/backbone/accountDialog.html @@ -0,0 +1,40 @@ +{% extends 'default/backbone/modal.html' %} +{% block header %} + Add an account +{% endblock %} +{% block content %} +
+ + Please enter your account data + +
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+ +
+{% endblock %} +{% block buttons %} + Add + Close +{% endblock %} \ No newline at end of file diff --git a/module/web/templates/default/backbone/pluginChooserDialog.html b/module/web/templates/default/backbone/pluginChooserDialog.html index 02284d0e6..a455b0cfd 100755 --- a/module/web/templates/default/backbone/pluginChooserDialog.html +++ b/module/web/templates/default/backbone/pluginChooserDialog.html @@ -3,7 +3,7 @@ Choose a plugin {% endblock %} {% block content %} -
+ Please choose a plugin, which you want to configure diff --git a/module/web/templates/default/base.html b/module/web/templates/default/base.html index 846b396a0..bf16f545a 100644 --- a/module/web/templates/default/base.html +++ b/module/web/templates/default/base.html @@ -136,6 +136,7 @@