From f917493812a62b66a7360a32f103b79c5f615d3e Mon Sep 17 00:00:00 2001 From: ailsoncgt Date: Mon, 31 Oct 2016 10:46:16 -0300 Subject: [PATCH] Email backend template #211 --- app/templates/admin_settings.html | 135 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ app/templates/home.html | 1 + core/templates/base.html | 14 ++++++++++---- 3 files changed, 146 insertions(+), 4 deletions(-) create mode 100644 app/templates/admin_settings.html diff --git a/app/templates/admin_settings.html b/app/templates/admin_settings.html new file mode 100644 index 0000000..6688802 --- /dev/null +++ b/app/templates/admin_settings.html @@ -0,0 +1,135 @@ +{% extends "home.html" %} + +{% load static i18n django_bootstrap_breadcrumbs permission_tags %} + +{% block breadcrumbs %} + {{ block.super }} + {% breadcrumb 'Settings' 'app:settings' %} +{% endblock %} + +{% block content %} + + + + +
+ +
+
+
+

General

+
+
+ Content +
+
+
+
+
+
+ + + +
+
+
+

Outgoing Server (SMTP)

+
+
+

Settings

+
+
+ + +
+
+ + +
+
+ +
+ +
+
+ 25 +
+
+
+
+
+
+
+
+

Security and Authentication

+
+
+ + +
+
+ + +
+
+

Use safe contection

+
+
+ + + + +
+
+
+
+
+ +
+
+
+ + + + +
+
+
+
+ +
+
+ +
+ +
+
+
+
+{% endblock content %} \ No newline at end of file diff --git a/app/templates/home.html b/app/templates/home.html index 1dd56d4..0ac7653 100644 --- a/app/templates/home.html +++ b/app/templates/home.html @@ -84,6 +84,7 @@
  • {% trans 'All Courses' %}
  • {% if user|has_role:'system_admin' %}
  • {% trans 'Manage Users' %}
  • +
  • {% trans 'Settings' %}
  • {% endif %} {% if user|has_role:'system_admin' or user|has_role:'professor' %}
  • diff --git a/core/templates/base.html b/core/templates/base.html index 6ecd78d..e426742 100644 --- a/core/templates/base.html +++ b/core/templates/base.html @@ -20,15 +20,21 @@ - - + + + + + + - - + + + + {% with "js/vendor/locales/bootstrap-datepicker."|add:LANGUAGE_CODE|add:".js" as locale_datepicker %} -- libgit2 0.21.2