diff --git a/sapl/base/urls.py b/sapl/base/urls.py index 9fd6f0dcb..54e50feef 100644 --- a/sapl/base/urls.py +++ b/sapl/base/urls.py @@ -11,6 +11,7 @@ app_name = AppConfig.name urlpatterns = [ url(r'^sistema/', TemplateView.as_view(template_name='sistema.html')), + url(r'^ajuda/', TemplateView.as_view(template_name='ajuda.html')), url(r'^ajuda/(?P\w+)$', HelpView.as_view(), name='help_topic'), url(r'^ajuda/', TemplateView.as_view(template_name='ajuda/index.html'), name='help_base'), diff --git a/sapl/static/styles/app.scss b/sapl/static/styles/app.scss index 9312eea5d..1b2571e6f 100644 --- a/sapl/static/styles/app.scss +++ b/sapl/static/styles/app.scss @@ -347,3 +347,24 @@ p { margin: 0.5em 0; } /* FIM INDEX */ + +/* TEMPLATE AJUDA */ +.manual li { + display: list-item; + line-height: 1.5em; + padding-right: 0; +} +.manual li a { + background-color: transparent; + border: none; + border-radius: none; + padding: 0; +} + +.manual, .manual ul { + padding-left: 1.5em; + list-style-type: none; + margin-top: 0; + font-size: 100%; +} +/* FIM TEMPLATE AJUDA */ diff --git a/sapl/templates/ajuda.html b/sapl/templates/ajuda.html new file mode 100644 index 000000000..b90f4db25 --- /dev/null +++ b/sapl/templates/ajuda.html @@ -0,0 +1,149 @@ +{% extends "base.html" %} +{% load i18n crispy_forms_tags %} + +{% block base_content %} +
+

Tópicos do Manual de Ajuda

+
+ +
+{% endblock base_content %} diff --git a/sapl/templates/base.html b/sapl/templates/base.html index c23375378..93dcc665f 100644 --- a/sapl/templates/base.html +++ b/sapl/templates/base.html @@ -113,6 +113,7 @@ +
  • {% if not user.is_authenticated %}
  • {% else %}