Unify all line endings to be Linux style

Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com>
This commit is contained in:
Roberto Rosario
2019-08-27 19:07:17 -04:00
parent 8e34bc02b3
commit 69c925ffd3
7 changed files with 429 additions and 427 deletions

View File

@@ -30,6 +30,7 @@
* Add automatic adjustment of HTML body on navigation
bar changes. Closes GitLab issue #643. Thanks to
Light Templar (@LightTemplar) for the report.
* Unify all line endings to be Linux style.
3.2.6 (2019-07-10)
==================

View File

@@ -38,6 +38,7 @@ Changes
- Add automatic adjustment of HTML body on navigation
bar changes. Closes GitLab issue #643. Thanks to
Light Templar (@LightTemplar) for the report.
- Unify all line endings to be Linux style.
Removals
--------

View File

@@ -1,156 +1,156 @@
{% extends 'appearance/base.html' %}
{% load i18n %}
{% load static %}
{% load appearance_tags %}
{% load common_tags %}
{% load smart_settings_tags %}
{% block title %}{% trans 'About' %}{% endblock %}
{% block stylesheets %}
<style>
@font-face {
font-family: 'mayan-edms';
src: url("{% static 'appearance/fonts/mayan-edms.ttf' %}") format('truetype');
font-weight: normal;
font-style: normal;
}
[class^="icon-"], [class*=" icon-"] {
font-family: 'mayan-edms';
speak: none;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
line-height: 1;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.icon-mayan-edms-logo:before {
content: "\e600";
font-size: 150%;
}
.mayan-edms-logo {
font-family: 'IM Fell English SC', serif;
font-size: 150%;
text-shadow: 5px 5px 1px rgba(0, 0, 0, 0.3);
}
@media (min-width: 768px) {
.mayan-edms-logo {
font-size: 300%;
}
}
@media (min-width: 991px) {
.mayan-edms-logo {
font-size: 500%;
}
}
</style>
{% endblock stylesheets %}
{% block content %}
{% project_information '__build_string__' as build_number %}
{% smart_setting 'COMMON_PROJECT_TITLE' as setting_project_title %}
{% project_information '__title__' as project_title %}
{% get_icon 'mayan.apps.common.icons.icon_documentation' as icon_documentation %}
{% get_icon 'mayan.apps.common.icons.icon_forum' as icon_forum %}
{% get_icon 'mayan.apps.common.icons.icon_social_facebook' as icon_social_facebook %}
{% get_icon 'mayan.apps.common.icons.icon_social_paypal' as icon_social_paypal %}
{% get_icon 'mayan.apps.common.icons.icon_social_twitter' as icon_social_twitter %}
{% get_icon 'mayan.apps.common.icons.icon_social_instagram' as icon_social_instagram %}
{% get_icon 'mayan.apps.common.icons.icon_source_code' as icon_source_code %}
{% get_icon 'mayan.apps.common.icons.icon_wiki' as icon_wiki %}
<div class="well">
<h3 class="text-center">{{ setting_project_title }}</h3>
{% if project_title != setting_project_title %}
<br>
<p class="text-center">
{% blocktrans with setting_project_title as setting_project_title and project_title as project_title %}
{{ setting_project_title }} is based on {{ project_title }}
{% endblocktrans %}
</p>
{% endif %}
<p class="text-center">{% trans 'Version' %} {% project_information '__version__' %}</p>
{% if build_number %}
<p class='text-center'>{% blocktrans with build_number as build_number %}Build number: {{ build_number }}{% endblocktrans %}</p>
{% endif %}
<p class="text-center">
{% project_information '__description__' as project_description %}
{% trans project_description %}
</p>
<p class="text-center">
<i class="fa fa-home"></i><a href="{% project_information '__website__' %}"> {% project_information '__website__' %}</a>
</p>
<p class="text-center">
{% project_information '__license__' as license_information %}
{% trans 'Released under the license:' %} {% trans license_information %}
</p>
<p class="text-center mayan-edms-logo"><span class="icon-mayan-edms-logo"></span> {% project_information '__title__' %}</p>
<p class="text-center">
{% blocktrans with project_title as project_title %}
{{ project_title }} is a free and open-source software brought to you with <i class="fa fa-heart text-danger" style="transform: rotate(10deg);"></i> by Roberto Rosario and contributors.
{% endblocktrans %}
</p>
<p class="text-center">
{% blocktrans with project_title as project_title %}
It takes great effort to make {{ project_title }} as feature-rich as it is. We need all the help we can get!
{% endblocktrans %}
</p>
<p class="text-center">
{% blocktrans with project_title as project_title and icon_social_paypal as icon_social_paypal%}
If you use {{ project_title }} please <a class="new_window" href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=3PXN336XFXQNN">consider making a donation {{ icon_social_paypal }}</a>
{% endblocktrans %}
</p>
<p class="text-center">
{% blocktrans with icon_documentation as icon_documentation and icon_wiki as icon_wiki %}
The complete list of changes is available via the <a class="new_window" href="https://docs.mayan-edms.com/releases/index.html">Release notes {{ icon_documentation }}</a> or the short version <a class="new_window" href="https://gitlab.com/mayan-edms/mayan-edms/blob/master/HISTORY.rst">Changelog {{ icon_documentation }}</a>.
{% endblocktrans %}
</p>
<p class="text-center">
{% blocktrans with icon_documentation as icon_documentation and icon_wiki as icon_wiki %}
For questions check the <a class="new_window" href="https://docs.mayan-edms.com">Documentation {{ icon_documentation }}</a> or the <a class="new_window" href="https://wiki.mayan-edms.com">Wiki {{ icon_wiki }}</a>.
{% endblocktrans %}
</p>
<p class="text-center">
{% blocktrans with icon_forum as icon_forum and icon_source_code as icon_source_code %}
If you found a bug or have a feature idea, visit the <a class="new_window" href="https://forum.mayan-edms.com">Forum {{ icon_forum }}</a> or open a ticket in the <a class="new_window" href="https://gitlab.com/mayan-edms/mayan-edms">Source code repository {{ icon_source_code }}</a>.
{% endblocktrans %}
</p>
<p class="text-center">
{% blocktrans with project_title as project_title and icon_twitter as icon_twitter and icon_facebook as icon_facebook and icon_instagram as icon_instagram %}
Spread the word. Talk to your friends and colleagues about how awesome {{ project_title }} is!
Follow us on <a class="new_window" href="https://twitter.com/mayanedms">Twitter {{ icon_social_twitter }}</a>, <a class="new_window" href="https://www.facebook.com/MayanEDMS/">Facebook {{ icon_social_facebook }}</a>, or <a class="new_window" href="https://www.instagram.com/mayan_edms/">Instagram {{ icon_social_instagram }}</a>
{% endblocktrans %}
</p>
</div>
{% endblock %}
{% block footer %}
<div id="row">
<div class="col-xs-12">
<div class="panel panel-default">
<div class="panel-body">
{% project_information '__copyright__' %}
</div>
</div>
</div>
</div>
{% endblock %}
{% extends 'appearance/base.html' %}
{% load i18n %}
{% load static %}
{% load appearance_tags %}
{% load common_tags %}
{% load smart_settings_tags %}
{% block title %}{% trans 'About' %}{% endblock %}
{% block stylesheets %}
<style>
@font-face {
font-family: 'mayan-edms';
src: url("{% static 'appearance/fonts/mayan-edms.ttf' %}") format('truetype');
font-weight: normal;
font-style: normal;
}
[class^="icon-"], [class*=" icon-"] {
font-family: 'mayan-edms';
speak: none;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
line-height: 1;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.icon-mayan-edms-logo:before {
content: "\e600";
font-size: 150%;
}
.mayan-edms-logo {
font-family: 'IM Fell English SC', serif;
font-size: 150%;
text-shadow: 5px 5px 1px rgba(0, 0, 0, 0.3);
}
@media (min-width: 768px) {
.mayan-edms-logo {
font-size: 300%;
}
}
@media (min-width: 991px) {
.mayan-edms-logo {
font-size: 500%;
}
}
</style>
{% endblock stylesheets %}
{% block content %}
{% project_information '__build_string__' as build_number %}
{% smart_setting 'COMMON_PROJECT_TITLE' as setting_project_title %}
{% project_information '__title__' as project_title %}
{% get_icon 'mayan.apps.common.icons.icon_documentation' as icon_documentation %}
{% get_icon 'mayan.apps.common.icons.icon_forum' as icon_forum %}
{% get_icon 'mayan.apps.common.icons.icon_social_facebook' as icon_social_facebook %}
{% get_icon 'mayan.apps.common.icons.icon_social_paypal' as icon_social_paypal %}
{% get_icon 'mayan.apps.common.icons.icon_social_twitter' as icon_social_twitter %}
{% get_icon 'mayan.apps.common.icons.icon_social_instagram' as icon_social_instagram %}
{% get_icon 'mayan.apps.common.icons.icon_source_code' as icon_source_code %}
{% get_icon 'mayan.apps.common.icons.icon_wiki' as icon_wiki %}
<div class="well">
<h3 class="text-center">{{ setting_project_title }}</h3>
{% if project_title != setting_project_title %}
<br>
<p class="text-center">
{% blocktrans with setting_project_title as setting_project_title and project_title as project_title %}
{{ setting_project_title }} is based on {{ project_title }}
{% endblocktrans %}
</p>
{% endif %}
<p class="text-center">{% trans 'Version' %} {% project_information '__version__' %}</p>
{% if build_number %}
<p class='text-center'>{% blocktrans with build_number as build_number %}Build number: {{ build_number }}{% endblocktrans %}</p>
{% endif %}
<p class="text-center">
{% project_information '__description__' as project_description %}
{% trans project_description %}
</p>
<p class="text-center">
<i class="fa fa-home"></i><a href="{% project_information '__website__' %}"> {% project_information '__website__' %}</a>
</p>
<p class="text-center">
{% project_information '__license__' as license_information %}
{% trans 'Released under the license:' %} {% trans license_information %}
</p>
<p class="text-center mayan-edms-logo"><span class="icon-mayan-edms-logo"></span> {% project_information '__title__' %}</p>
<p class="text-center">
{% blocktrans with project_title as project_title %}
{{ project_title }} is a free and open-source software brought to you with <i class="fa fa-heart text-danger" style="transform: rotate(10deg);"></i> by Roberto Rosario and contributors.
{% endblocktrans %}
</p>
<p class="text-center">
{% blocktrans with project_title as project_title %}
It takes great effort to make {{ project_title }} as feature-rich as it is. We need all the help we can get!
{% endblocktrans %}
</p>
<p class="text-center">
{% blocktrans with project_title as project_title and icon_social_paypal as icon_social_paypal%}
If you use {{ project_title }} please <a class="new_window" href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=3PXN336XFXQNN">consider making a donation {{ icon_social_paypal }}</a>
{% endblocktrans %}
</p>
<p class="text-center">
{% blocktrans with icon_documentation as icon_documentation and icon_wiki as icon_wiki %}
The complete list of changes is available via the <a class="new_window" href="https://docs.mayan-edms.com/releases/index.html">Release notes {{ icon_documentation }}</a> or the short version <a class="new_window" href="https://gitlab.com/mayan-edms/mayan-edms/blob/master/HISTORY.rst">Changelog {{ icon_documentation }}</a>.
{% endblocktrans %}
</p>
<p class="text-center">
{% blocktrans with icon_documentation as icon_documentation and icon_wiki as icon_wiki %}
For questions check the <a class="new_window" href="https://docs.mayan-edms.com">Documentation {{ icon_documentation }}</a> or the <a class="new_window" href="https://wiki.mayan-edms.com">Wiki {{ icon_wiki }}</a>.
{% endblocktrans %}
</p>
<p class="text-center">
{% blocktrans with icon_forum as icon_forum and icon_source_code as icon_source_code %}
If you found a bug or have a feature idea, visit the <a class="new_window" href="https://forum.mayan-edms.com">Forum {{ icon_forum }}</a> or open a ticket in the <a class="new_window" href="https://gitlab.com/mayan-edms/mayan-edms">Source code repository {{ icon_source_code }}</a>.
{% endblocktrans %}
</p>
<p class="text-center">
{% blocktrans with project_title as project_title and icon_twitter as icon_twitter and icon_facebook as icon_facebook and icon_instagram as icon_instagram %}
Spread the word. Talk to your friends and colleagues about how awesome {{ project_title }} is!
Follow us on <a class="new_window" href="https://twitter.com/mayanedms">Twitter {{ icon_social_twitter }}</a>, <a class="new_window" href="https://www.facebook.com/MayanEDMS/">Facebook {{ icon_social_facebook }}</a>, or <a class="new_window" href="https://www.instagram.com/mayan_edms/">Instagram {{ icon_social_instagram }}</a>
{% endblocktrans %}
</p>
</div>
{% endblock %}
{% block footer %}
<div id="row">
<div class="col-xs-12">
<div class="panel panel-default">
<div class="panel-body">
{% project_information '__copyright__' %}
</div>
</div>
</div>
</div>
{% endblock %}

View File

@@ -1,149 +1,149 @@
{% load i18n %}
{% load static %}
{% load common_tags %}
{% load navigation_tags %}
{% load smart_settings_tags %}
<script>
if (typeof partialNavigation === 'undefined') {
/* Check if the template was not loaded via AJAX
* If not then reload the root path passing the
* current location's path as the new hash
*/
document.write('<script type="text/undefined">')
var currentPath = window.location.pathname + window.location.search;
window.location = '/#' + currentPath;
}
</script>
{% block stylesheets %}{% endblock %}
{% if appearance_type == 'plain' %}
{% block content_plain %}{% endblock %}
{% else %}
<div class="">
<div class="row zero-margin">
<div class="col-xs-12">
{% common_check_sqlite as check_sqlite %}
{% if common_check_sqlite %}
<div class="alert alert-dismissible alert-warning">
<button type="button" class="close" data-dismiss="alert">&times;</button>
<p><strong>{% trans 'Warning' %}</strong> {{ check_sqlite }}</p>
</div>
{% endif %}
{% block messages %}
{% endblock %}
{% smart_settings_check_changed as settings_changed %}
{% if settings_changed %}
<div class="alert alert-dismissible alert-warning">
<button type="button" class="close" data-dismiss="alert">&times;</button>
<p><strong>{% trans 'Warning' %}</strong> {% trans 'Settings updated, restart your installation for changes to take proper effect.' %}</p>
</div>
{% endif %}
</div>
</div>
{% navigation_resolve_menus names='facet,list facet' sort_results=True as facet_menus_link_results %}
<div class="row zero-margin">
<div class="col-xs-12 {% if facet_menus_link_results %}has-sidebar{% endif %}" id="viewport">
{% include 'appearance/calculate_form_title.html' %}
{# action menu #}
{% navigation_resolve_menus names='object,secondary' sort_results=True as action_menus_link_results %}
{% if action_menus_link_results %}
<div class="pull-right btn-group" id="menu-actions">
<div class="body-spacer"></div>
<button aria-expanded="true" class="btn btn-danger btn-sm dropdown-toggle" data-toggle="dropdown" type="button">
{% trans 'Actions' %}
<span class="caret"></span>
<span class="sr-only">{% trans 'Toggle Dropdown' %}</span>
</button>
<ul class="dropdown-menu" role="menu">
{% for menus_link_result in action_menus_link_results %}
{% if action_menus_link_results|length > 1 %}
<li class="dropdown-header">{{ menus_link_result.menu.label }}</li>
{% endif %}
{% for link_group in menus_link_result.link_groups %}
{% if navigation_object_list %}
{% ifchanged link_group.object %}
{% common_get_object_verbose_name obj=link_group.object as link_group_object_verbose_name %}
{% if link_group_object_verbose_name %}<li class="dropdown-header">{{ link_group_object_verbose_name }}</li>{% endif %}
{% endifchanged %}
{% endif %}
{% with link_group.links as object_navigation_links %}
{% with 'true' as as_li %}
{% with 'true' as hide_active_anchor %}
{% with 'btn-sm' as link_classes %}
{% include 'navigation/generic_navigation.html' %}
{% endwith %}
{% endwith %}
{% endwith %}
{% endwith %}
{% if not forloop.last and link_group %}
<li class="divider"></li>
{% endif %}
{% endfor %}
{% if not forloop.last and menus_link_result %}
<li class="divider"></li>
{% endif %}
{% endfor %}
</ul>
</div>
<div class="clearfix"></div>
{% endif %}
{% block content %}{% endblock %}
{% block footer %}{% endblock %}
</div>
{% if facet_menus_link_results %}
<div id="sidebar">
<div class="body-spacer"></div>
<div class="list-group">
{% for menu_link_result in facet_menus_link_results %}
{% for link_group in menu_link_result.link_groups %}
{% with link_group.links as object_navigation_links %}
{% with 'true' as hide_active_anchor %}
{% with 'active' as link_class_active %}
{% with 'list-group-item btn-sm' as link_classes %}
{% include 'navigation/generic_navigation.html' %}
{% endwith %}
{% endwith %}
{% endwith %}
{% endwith %}
{% endfor %}
{% endfor %}
</div>
</div>
{% endif %}
</div>
</div>
{% endif %}
<script>
var DjangoMessages = [
{% for message in messages %}
{
tags: '{{ message.tags }}',
message: '{{ message.message }}'
},
{% endfor %}
];
</script>
{% block javascript %}{% endblock %}
<script>
document.title = '{% filter escapejs %}{% spaceless %}{% block title %}{% endblock %} :: {% block project_name %}{% smart_setting "COMMON_PROJECT_TITLE" %}{% endblock %}{% endspaceless %}{% endfilter %}';
// Strip HTML entities from the title
document.title = document.title.replace(/&(?:[a-z\d]+|#\d+|#x[a-f\d]+);/ig, '');
afterBaseLoad();
</script>
{% load i18n %}
{% load static %}
{% load common_tags %}
{% load navigation_tags %}
{% load smart_settings_tags %}
<script>
if (typeof partialNavigation === 'undefined') {
/* Check if the template was not loaded via AJAX
* If not then reload the root path passing the
* current location's path as the new hash
*/
document.write('<script type="text/undefined">')
var currentPath = window.location.pathname + window.location.search;
window.location = '/#' + currentPath;
}
</script>
{% block stylesheets %}{% endblock %}
{% if appearance_type == 'plain' %}
{% block content_plain %}{% endblock %}
{% else %}
<div class="">
<div class="row zero-margin">
<div class="col-xs-12">
{% common_check_sqlite as check_sqlite %}
{% if common_check_sqlite %}
<div class="alert alert-dismissible alert-warning">
<button type="button" class="close" data-dismiss="alert">&times;</button>
<p><strong>{% trans 'Warning' %}</strong> {{ check_sqlite }}</p>
</div>
{% endif %}
{% block messages %}
{% endblock %}
{% smart_settings_check_changed as settings_changed %}
{% if settings_changed %}
<div class="alert alert-dismissible alert-warning">
<button type="button" class="close" data-dismiss="alert">&times;</button>
<p><strong>{% trans 'Warning' %}</strong> {% trans 'Settings updated, restart your installation for changes to take proper effect.' %}</p>
</div>
{% endif %}
</div>
</div>
{% navigation_resolve_menus names='facet,list facet' sort_results=True as facet_menus_link_results %}
<div class="row zero-margin">
<div class="col-xs-12 {% if facet_menus_link_results %}has-sidebar{% endif %}" id="viewport">
{% include 'appearance/calculate_form_title.html' %}
{# action menu #}
{% navigation_resolve_menus names='object,secondary' sort_results=True as action_menus_link_results %}
{% if action_menus_link_results %}
<div class="pull-right btn-group" id="menu-actions">
<div class="body-spacer"></div>
<button aria-expanded="true" class="btn btn-danger btn-sm dropdown-toggle" data-toggle="dropdown" type="button">
{% trans 'Actions' %}
<span class="caret"></span>
<span class="sr-only">{% trans 'Toggle Dropdown' %}</span>
</button>
<ul class="dropdown-menu" role="menu">
{% for menus_link_result in action_menus_link_results %}
{% if action_menus_link_results|length > 1 %}
<li class="dropdown-header">{{ menus_link_result.menu.label }}</li>
{% endif %}
{% for link_group in menus_link_result.link_groups %}
{% if navigation_object_list %}
{% ifchanged link_group.object %}
{% common_get_object_verbose_name obj=link_group.object as link_group_object_verbose_name %}
{% if link_group_object_verbose_name %}<li class="dropdown-header">{{ link_group_object_verbose_name }}</li>{% endif %}
{% endifchanged %}
{% endif %}
{% with link_group.links as object_navigation_links %}
{% with 'true' as as_li %}
{% with 'true' as hide_active_anchor %}
{% with 'btn-sm' as link_classes %}
{% include 'navigation/generic_navigation.html' %}
{% endwith %}
{% endwith %}
{% endwith %}
{% endwith %}
{% if not forloop.last and link_group %}
<li class="divider"></li>
{% endif %}
{% endfor %}
{% if not forloop.last and menus_link_result %}
<li class="divider"></li>
{% endif %}
{% endfor %}
</ul>
</div>
<div class="clearfix"></div>
{% endif %}
{% block content %}{% endblock %}
{% block footer %}{% endblock %}
</div>
{% if facet_menus_link_results %}
<div id="sidebar">
<div class="body-spacer"></div>
<div class="list-group">
{% for menu_link_result in facet_menus_link_results %}
{% for link_group in menu_link_result.link_groups %}
{% with link_group.links as object_navigation_links %}
{% with 'true' as hide_active_anchor %}
{% with 'active' as link_class_active %}
{% with 'list-group-item btn-sm' as link_classes %}
{% include 'navigation/generic_navigation.html' %}
{% endwith %}
{% endwith %}
{% endwith %}
{% endwith %}
{% endfor %}
{% endfor %}
</div>
</div>
{% endif %}
</div>
</div>
{% endif %}
<script>
var DjangoMessages = [
{% for message in messages %}
{
tags: '{{ message.tags }}',
message: '{{ message.message }}'
},
{% endfor %}
];
</script>
{% block javascript %}{% endblock %}
<script>
document.title = '{% filter escapejs %}{% spaceless %}{% block title %}{% endblock %} :: {% block project_name %}{% smart_setting "COMMON_PROJECT_TITLE" %}{% endblock %}{% endspaceless %}{% endfilter %}';
// Strip HTML entities from the title
document.title = document.title.replace(/&(?:[a-z\d]+|#\d+|#x[a-f\d]+);/ig, '');
afterBaseLoad();
</script>

View File

@@ -1,49 +1,49 @@
{% extends 'appearance/base.html' %}
{% load i18n %}
{% load static %}
{% load common_tags %}
{% load dashboards_tags %}
{% load navigation_tags %}
{% block title %}{% trans 'Dashboard' %}{% endblock %}
{% block javascript %}
<script>
$(function() {
$('.match-height').matchHeight();
});
</script>
{% endblock javascript %}
{% block content %}
<div class="row">
<div class="col-xs-12">
{% if missing_list %}
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title">{% trans 'Getting started' %}</h3>
</div>
<div class="panel-body">
{% trans 'Before you can fully use Mayan EDMS you need the following:' %}
<div class="list-group">
{% for missing in missing_list %}
<a href="{% url missing.view %}" class="list-group-item">
<h4 class="list-group-item-heading">{{ missing.label }}</h4>
<p class="list-group-item-text">{{ missing.description }}</p>
</a>
{% endfor %}
</div>
</div>
</div>
{% endif %}
</div>
</div>
{% include 'dynamic_search/search_box.html' %}
{% render_dashboard 'main' %}
{% endblock %}
{% extends 'appearance/base.html' %}
{% load i18n %}
{% load static %}
{% load common_tags %}
{% load dashboards_tags %}
{% load navigation_tags %}
{% block title %}{% trans 'Dashboard' %}{% endblock %}
{% block javascript %}
<script>
$(function() {
$('.match-height').matchHeight();
});
</script>
{% endblock javascript %}
{% block content %}
<div class="row">
<div class="col-xs-12">
{% if missing_list %}
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title">{% trans 'Getting started' %}</h3>
</div>
<div class="panel-body">
{% trans 'Before you can fully use Mayan EDMS you need the following:' %}
<div class="list-group">
{% for missing in missing_list %}
<a href="{% url missing.view %}" class="list-group-item">
<h4 class="list-group-item-heading">{{ missing.label }}</h4>
<p class="list-group-item-text">{{ missing.description }}</p>
</a>
{% endfor %}
</div>
</div>
</div>
{% endif %}
</div>
</div>
{% include 'dynamic_search/search_box.html' %}
{% render_dashboard 'main' %}
{% endblock %}

View File

@@ -1,46 +1,46 @@
{% extends 'appearance/base_plain.html' %}
{% load i18n %}
{% load static %}
{% load autoadmin_tags %}
{% load common_tags %}
{% load motd_tags %}
{% load smart_settings_tags %}
{% block base_title %}{% trans 'Login' %}{% endblock %}
{% block project_name %}{% endblock %}
{% block content_plain %}
{% autoadmin_partial %}
{% motd %}
<div class="row">
<div class="col-xs-10 col-xs-offset-1 col-sm-8 col-sm-offset-2 col-md-6 col-md-offset-3 col-lg-4 col-lg-offset-4">
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title">&nbsp;</h3>
</div>
<div class="panel-body">
<h2>{% trans 'Sign in' %}</h2>
<hr>
<div class="content login">
<form action="." method="post" class="form login">{% csrf_token %}
<div class="group wat-cf">
{% include 'appearance/generic_form_instance.html' %}
<input type="hidden" name="next" value="{{ next|escape }}" />
<div class="form-group">
<button class="btn btn-primary" name="{% if form.prefix %}{{ form.prefix }}-submit{% else %}submit{% endif %}" type="submit"><i class="fa fa-sign-in-alt"></i> {% trans 'Sign in' %}</button>
</div>
</form>
<hr>
<div>
<a class="pull-right" href="{% url 'authentication:password_reset_view' %}">{% trans 'Forgot your password?' %}</a>
</div>
</div>
</div>
</div>
</div>
</div>
{% endblock %}
{% extends 'appearance/base_plain.html' %}
{% load i18n %}
{% load static %}
{% load autoadmin_tags %}
{% load common_tags %}
{% load motd_tags %}
{% load smart_settings_tags %}
{% block base_title %}{% trans 'Login' %}{% endblock %}
{% block project_name %}{% endblock %}
{% block content_plain %}
{% autoadmin_partial %}
{% motd %}
<div class="row">
<div class="col-xs-10 col-xs-offset-1 col-sm-8 col-sm-offset-2 col-md-6 col-md-offset-3 col-lg-4 col-lg-offset-4">
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title">&nbsp;</h3>
</div>
<div class="panel-body">
<h2>{% trans 'Sign in' %}</h2>
<hr>
<div class="content login">
<form action="." method="post" class="form login">{% csrf_token %}
<div class="group wat-cf">
{% include 'appearance/generic_form_instance.html' %}
<input type="hidden" name="next" value="{{ next|escape }}" />
<div class="form-group">
<button class="btn btn-primary" name="{% if form.prefix %}{{ form.prefix }}-submit{% else %}submit{% endif %}" type="submit"><i class="fa fa-sign-in-alt"></i> {% trans 'Sign in' %}</button>
</div>
</form>
<hr>
<div>
<a class="pull-right" href="{% url 'authentication:password_reset_view' %}">{% trans 'Forgot your password?' %}</a>
</div>
</div>
</div>
</div>
</div>
</div>
{% endblock %}

View File

@@ -1,27 +1,27 @@
{% load i18n %}
{% load smart_settings_tags %}
{% if autoadmin_properties.account %}
<div class="row">
<div class="col-xs-10 col-xs-offset-1 col-sm-8 col-sm-offset-2 col-md-6 col-md-offset-3 col-lg-4 col-lg-offset-4">
<br>
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title">{% trans 'First time login' %}</h3>
</div>
<div class="panel-body">
<div class="content login">
{% smart_setting 'COMMON_PROJECT_TITLE' as project_title %}
<p>{% blocktrans %}You have just finished installing <strong>{{ project_title }}</strong>, congratulations!{% endblocktrans %}</p>
<p>{% trans 'Login using the following credentials:' %}</p>
<p>{% blocktrans with autoadmin_properties.account as account %}Username: <strong>{{ account }}</strong>{% endblocktrans %}</p>
<p>{% blocktrans with autoadmin_properties.account.email as email %}Email: <strong>{{ email }}</strong>{% endblocktrans %}</p>
<p>{% blocktrans with autoadmin_properties.password as password %}Password: <strong>{{ password }}</strong>{% endblocktrans %}</p>
<p>{% trans 'Be sure to change the password to increase security and to disable this message.' %}</p>
</div>
</div>
</div>
</div>
</div>
{% endif %}
{% load i18n %}
{% load smart_settings_tags %}
{% if autoadmin_properties.account %}
<div class="row">
<div class="col-xs-10 col-xs-offset-1 col-sm-8 col-sm-offset-2 col-md-6 col-md-offset-3 col-lg-4 col-lg-offset-4">
<br>
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title">{% trans 'First time login' %}</h3>
</div>
<div class="panel-body">
<div class="content login">
{% smart_setting 'COMMON_PROJECT_TITLE' as project_title %}
<p>{% blocktrans %}You have just finished installing <strong>{{ project_title }}</strong>, congratulations!{% endblocktrans %}</p>
<p>{% trans 'Login using the following credentials:' %}</p>
<p>{% blocktrans with autoadmin_properties.account as account %}Username: <strong>{{ account }}</strong>{% endblocktrans %}</p>
<p>{% blocktrans with autoadmin_properties.account.email as email %}Email: <strong>{{ email }}</strong>{% endblocktrans %}</p>
<p>{% blocktrans with autoadmin_properties.password as password %}Password: <strong>{{ password }}</strong>{% endblocktrans %}</p>
<p>{% trans 'Be sure to change the password to increase security and to disable this message.' %}</p>
</div>
</div>
</div>
</div>
</div>
{% endif %}