From 3321241b61766045a68a3d607b67e11a95014e87 Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Thu, 20 Feb 2014 12:44:49 +0200 Subject: Require logins, removed jquery UI --- apps/it/templates/default.html | 49 ++++--------------------------- apps/it/templates/docs.html | 32 +++++++++++++++++++++ apps/it/templates/generic_list.html | 24 ++++++++++++++++ apps/it/templates/login.html | 57 +++++++++++++++++++++++++++++++++++++ apps/it/templates/view_asset.html | 7 +++++ apps/it/templates/view_issue.html | 6 ++-- 6 files changed, 129 insertions(+), 46 deletions(-) create mode 100644 apps/it/templates/docs.html create mode 100644 apps/it/templates/generic_list.html create mode 100755 apps/it/templates/login.html create mode 100644 apps/it/templates/view_asset.html (limited to 'apps/it/templates') diff --git a/apps/it/templates/default.html b/apps/it/templates/default.html index 08bde0f..c163995 100755 --- a/apps/it/templates/default.html +++ b/apps/it/templates/default.html @@ -10,7 +10,7 @@ IT - + @@ -225,12 +225,7 @@ @@ -259,8 +254,8 @@ {% trans "Issues" %} {% new_issue_count request %}
  • {% trans "Assets" %} {% new_asset_count request %}
  • -
  • {% trans "Documentation" %}
  • -
  • Users
  • +
  • {% trans "Documentation" %}
  • +
  • {% trans "Users" %}
  • @@ -298,7 +293,7 @@ - + @@ -306,39 +301,7 @@ - + diff --git a/apps/it/templates/docs.html b/apps/it/templates/docs.html new file mode 100644 index 0000000..22243fc --- /dev/null +++ b/apps/it/templates/docs.html @@ -0,0 +1,32 @@ +{% extends "default.html" %} +{% load bootstrap3 %} +{% load humanize %} +{% load it_tags %} +{% load i18n %} + +{% block main %} +{% for i in object_list %} +
    + + ... + +
    +
    + {{ i.created_by }} {{ i.created_at|naturaltime }} +
    + +
    + {{ i.description|markdown }} +
    +
    +{% endfor %} +{% endblock main %} diff --git a/apps/it/templates/generic_list.html b/apps/it/templates/generic_list.html new file mode 100644 index 0000000..af23b56 --- /dev/null +++ b/apps/it/templates/generic_list.html @@ -0,0 +1,24 @@ +{% extends "default.html" %} +{% load bootstrap3 %} +{% load i18n %} + +{% block main %} + + +{% for i in object_list %} + + + +{% endfor %} + +
    {{ i.email }}
    + +{% endblock main %} + +{% block inspector %} +
    + {% csrf_token %} + {% bootstrap_form form %} + +
    +{% endblock inspector %} diff --git a/apps/it/templates/login.html b/apps/it/templates/login.html new file mode 100755 index 0000000..03d4656 --- /dev/null +++ b/apps/it/templates/login.html @@ -0,0 +1,57 @@ +{% load i18n %} +{% load bootstrap3 %} + + + + + + + + + IT Login + + + + + + + + + + + + +
    +
    +
    + +
    +
    +
    + + + + + + + + + + + + diff --git a/apps/it/templates/view_asset.html b/apps/it/templates/view_asset.html new file mode 100644 index 0000000..090eb8f --- /dev/null +++ b/apps/it/templates/view_asset.html @@ -0,0 +1,7 @@ +{% extends "default.html" %} + +{% block main %} + +{% endblock main %} diff --git a/apps/it/templates/view_issue.html b/apps/it/templates/view_issue.html index b528aa8..b60afb2 100644 --- a/apps/it/templates/view_issue.html +++ b/apps/it/templates/view_issue.html @@ -30,9 +30,9 @@ ...
    -

    - {{ i.created_by }} {{ i.created_at|naturaltime }} -

    +
    + {{ i.created_by }} {{ i.created_at|naturaltime }} +