mirror of
https://github.com/Hopiu/djLint.git
synced 2026-05-23 20:25:49 +00:00
updated gitignore
This commit is contained in:
parent
4c5ac437b5
commit
8fd17baf74
227 changed files with 1 additions and 5510 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1,5 +1,6 @@
|
|||
badtest.html
|
||||
node_modules
|
||||
source_django
|
||||
report.xml
|
||||
# Created by https://www.toptal.com/developers/gitignore/api/macos,python
|
||||
# Edit at https://www.toptal.com/developers/gitignore?templates=macos,python
|
||||
|
|
|
|||
|
|
@ -1,3 +0,0 @@
|
|||
{% load tag_27584 %}
|
||||
{% badtag %}
|
||||
{% endbadtag %}
|
||||
|
|
@ -1 +0,0 @@
|
|||
{% include "27584_child.html" %}
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
{% extends "27956_parent.html" %}
|
||||
{% block content %}{% endblock %}
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
{% load tag_27584 %}
|
||||
{% badtag %}
|
||||
{% endbadtag %}
|
||||
{% block content %}{% endblock %}
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
{% block foo %}
|
||||
This template is deliberately bad - we want it to raise an exception when it is used.
|
||||
|
|
@ -1,19 +0,0 @@
|
|||
{% extends "admin/base_site.html" %}
|
||||
{% load i18n %}
|
||||
{% block breadcrumbs %}
|
||||
<div class="breadcrumbs">
|
||||
<a href="{% url 'admin:index' %}">{% translate 'Home' %}</a>
|
||||
› {% translate 'Server error' %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
{% block title %}
|
||||
{% translate 'Server error (500)' %}
|
||||
{% endblock %}
|
||||
{% block content %}
|
||||
<h1>
|
||||
{% translate 'Server Error <em>(500)</em>' %}
|
||||
</h1>
|
||||
<p>
|
||||
{% translate 'There’s been an error. It’s been reported to the site administrators via email and should be fixed shortly. Thanks for your patience.' %}
|
||||
</p>
|
||||
{% endblock %}
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
<h1>About</h1>
|
||||
{% now "U.u" %}
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
{% extends "admin/actions.html" %}
|
||||
{% load i18n %}
|
||||
{% block actions-submit %}
|
||||
<button type="submit"
|
||||
class="button override-actions"
|
||||
title="{% translate "Run the selected action" %}"
|
||||
name="index"
|
||||
value="{{ action_index|default:0 }}">
|
||||
{% translate "Go" %}
|
||||
</button>
|
||||
{% endblock %}
|
||||
|
|
@ -1 +0,0 @@
|
|||
{% extends "admin/change_form.html" %}
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
{% extends "admin/app_index.html" %}
|
||||
{% block content %}
|
||||
Hello from a custom app_index template
|
||||
{{ block.super }}
|
||||
{% endblock %}
|
||||
|
|
@ -1,54 +0,0 @@
|
|||
{% load i18n %}
|
||||
{% if app_list %}
|
||||
{% for app in app_list %}
|
||||
<div class="app-{{ app.app_label }} module{% if app.app_url in request.path|urlencode %}current-app{% endif %}">
|
||||
<table>
|
||||
<caption>
|
||||
<a href="{{ app.app_url }}"
|
||||
class="section"
|
||||
title="{% blocktranslate with name=app.name %}Models in the {{ name }} application{% endblocktranslate %}">
|
||||
{{ app.name }}
|
||||
</a>
|
||||
</caption>
|
||||
{% for model in app.models %}
|
||||
<tr class="model-{{ model.object_name|lower }}{% if model.admin_url in request.path|urlencode %}current-model{% endif %}">
|
||||
{% if model.admin_url %}
|
||||
<th scope="row">
|
||||
<a href="{{ model.admin_url }}"
|
||||
{% if model.admin_url in request.path|urlencode %}aria-current="page"{% endif %}>
|
||||
{{ model.name }}
|
||||
</a>
|
||||
</th>
|
||||
{% else %}
|
||||
<th scope="row">{{ model.name }}</th>
|
||||
{% endif %}
|
||||
{% if model.add_url %}
|
||||
<td>
|
||||
<a href="{{ model.add_url }}" class="addlink">{% translate 'Add' %}</a>
|
||||
</td>
|
||||
{% else %}
|
||||
<td></td>
|
||||
{% endif %}
|
||||
{% if model.admin_url and show_changelinks %}
|
||||
{% if model.view_only %}
|
||||
<td>
|
||||
<a href="{{ model.admin_url }}" class="viewlink">{% translate 'View' %}</a>
|
||||
</td>
|
||||
{% else %}
|
||||
<td>
|
||||
<a href="{{ model.admin_url }}" class="changelink">{% translate 'Change' %}</a>
|
||||
</td>
|
||||
{% endif %}
|
||||
{% elif show_changelinks %}
|
||||
<td></td>
|
||||
{% endif %}
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% else %}
|
||||
<p>
|
||||
{% translate 'You don’t have permission to view or edit anything.' %}
|
||||
</p>
|
||||
{% endif %}
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
This is a
|
||||
{% if tasty %}tasty{% endif %}
|
||||
{{ apple.color }} apple{{ extra }}
|
||||
|
|
@ -1 +0,0 @@
|
|||
This template intentionally left blank
|
||||
|
|
@ -1 +0,0 @@
|
|||
This template intentionally left blank
|
||||
|
|
@ -1 +0,0 @@
|
|||
This template intentionally left blank
|
||||
|
|
@ -1 +0,0 @@
|
|||
Article detail template.
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
Article form template.
|
||||
{{ form.errors }}
|
||||
|
|
@ -1 +0,0 @@
|
|||
{{ object_list }}
|
||||
|
|
@ -1 +0,0 @@
|
|||
This is an {{ artist }}.
|
||||
|
|
@ -1 +0,0 @@
|
|||
A form: {{ form }}
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
{% for name, value in widget.attrs.items %}
|
||||
{% if value is not False %}
|
||||
{{ name }}
|
||||
{% if value is not True %}="{{ value|stringformat:'s' }}"{% endif %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
|
@ -1 +0,0 @@
|
|||
{{ user }}
|
||||
|
|
@ -1 +0,0 @@
|
|||
{% for m in messages %}{{ m }}{% endfor %}
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
{% if 'auth' in perms %}Has auth permissions{% endif %}
|
||||
{% if 'auth.add_permission' in perms %}Has auth.add_permission permissions{% endif %}
|
||||
{% if 'nonexistent' in perms %}nonexistent perm found{% endif %}
|
||||
{% if 'auth.nonexistent' in perms %}auth.nonexistent perm found{% endif %}
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
{% if perms.auth %}Has auth permissions{% endif %}
|
||||
{% if perms.auth.add_permission %}Has auth.add_permission permissions{% endif %}
|
||||
{% if perms.nonexistent %}nonexistent perm found{% endif %}
|
||||
{% if perms.auth.nonexistent in perms %}auth.nonexistent perm found{% endif %}
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
{% if session_accessed %}
|
||||
Session accessed
|
||||
{% else %}
|
||||
Session not accessed
|
||||
{% endif %}
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
unicode: {{ user }}
|
||||
id: {{ user.pk }}
|
||||
username: {{ user.username }}
|
||||
url: {% url 'userpage' user %}
|
||||
|
|
@ -1 +0,0 @@
|
|||
Are you sure?
|
||||
|
|
@ -1 +0,0 @@
|
|||
This is an {{ author }}.
|
||||
|
|
@ -1 +0,0 @@
|
|||
A form: {{ form }}
|
||||
|
|
@ -1 +0,0 @@
|
|||
{% for item in object_list %}{{ item }}{% endfor %}
|
||||
|
|
@ -1 +0,0 @@
|
|||
{% for item in object_list %}{{ item }}{% endfor %}
|
||||
|
|
@ -1 +0,0 @@
|
|||
This is an alternate template_name_suffix for an {{ author }}.
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
{% extends "admin/base.html" %}
|
||||
{% block bodyclass %}bodyclass_consistency_check{% endblock %}
|
||||
|
|
@ -1 +0,0 @@
|
|||
Archive of books from {{ date_list }}. {{ object_list|length }} books found.
|
||||
|
|
@ -1 +0,0 @@
|
|||
Archive for {{ day }}. Previous day is {{ previous_day }}
|
||||
|
|
@ -1 +0,0 @@
|
|||
Books in {{ month }}.
|
||||
|
|
@ -1 +0,0 @@
|
|||
Archive for {{ week }}.
|
||||
|
|
@ -1 +0,0 @@
|
|||
Archive of books from {{ year }}. {{ object_list|length }} books found.
|
||||
|
|
@ -1 +0,0 @@
|
|||
This is {{ book }}.
|
||||
|
|
@ -1 +0,0 @@
|
|||
{% for item in object_list %}{{ item }}{% endfor %}
|
||||
|
|
@ -1,32 +0,0 @@
|
|||
{% extends "admin/base_site.html" %}
|
||||
{% load i18n %}
|
||||
{% block breadcrumbs %}
|
||||
<div class="breadcrumbs">
|
||||
<a href="{% url 'admin:index' %}">{% translate 'Home' %}</a>
|
||||
›
|
||||
<a href="{% url 'django-admindocs-docroot' %}">{% translate 'Documentation' %}</a>
|
||||
› {% translate 'Bookmarklets' %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
{% block title %}
|
||||
{% translate "Documentation bookmarklets" %}
|
||||
{% endblock %}
|
||||
{% block content %}
|
||||
<p class="help">
|
||||
{% blocktranslate trimmed %}
|
||||
To install bookmarklets, drag the link to your bookmarks toolbar, or right-click
|
||||
the link and add it to your bookmarks. Now you can select the bookmarklet
|
||||
from any page in the site.
|
||||
{% endblocktranslate %}
|
||||
</p>
|
||||
<div id="content-main">
|
||||
<h3>
|
||||
<a href="javascript:(function(){if(typeof XMLHttpRequest!='undefined'){x=new XMLHttpRequest()}else{return;}x.open('HEAD',location.href,false);x.send(null);try{view=x.getResponseHeader('x-view');}catch(e){alert('No view found for this page');return;}if(view=='undefined'){alert('No view found for this page');}document.location='{% url 'django-admindocs-views-index' %}'+view+'/';})()">
|
||||
{% translate "Documentation for this page" %}
|
||||
</a>
|
||||
</h3>
|
||||
<p>
|
||||
{% translate "Jumps you from any page to the documentation for the view that generates that page." %}
|
||||
</p>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
@ -1 +0,0 @@
|
|||
{% include "missing.html" %}
|
||||
|
|
@ -1 +0,0 @@
|
|||
{% extends "admin/change_form.html" %}
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
{% extends "admin/change_form_object_tools.html" %}
|
||||
{% load i18n admin_urls %}
|
||||
{% block object-tools-items %}
|
||||
<li>
|
||||
<a href="#"
|
||||
id="change-form-export"
|
||||
class="override-change_form_object_tools change-form-object-tools-item">
|
||||
{% translate "Export" %}
|
||||
</a>
|
||||
</li>
|
||||
{{ block.super }}
|
||||
{% endblock %}
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
{% extends "admin/change_list.html" %}
|
||||
{% block extrahead %}<script>var hello = '{{ extra_var }}';</script>{% endblock %}
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
{% extends "admin/change_list_object_tools.html" %}
|
||||
{% load i18n admin_urls %}
|
||||
{% block object-tools-items %}
|
||||
<li>
|
||||
<a href="#"
|
||||
id="change-list-export"
|
||||
class="override-change_list_object_tools change-list-object-tools-item">
|
||||
{% translate "Export" %}
|
||||
</a>
|
||||
</li>
|
||||
{{ block.super }}
|
||||
{% endblock %}
|
||||
|
|
@ -1,60 +0,0 @@
|
|||
{% load i18n static %}
|
||||
{% if result_hidden_fields %}
|
||||
<div class="hiddenfields">
|
||||
{# DIV for HTML validation #}
|
||||
{% for item in result_hidden_fields %}{{ item }}{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if results %}
|
||||
<div class="results override-change_list_results">
|
||||
<table id="result_list">
|
||||
<thead>
|
||||
<tr>
|
||||
{% for header in result_headers %}
|
||||
<th scope="col"{{ header.class_attrib }}>
|
||||
{% if header.sortable %}
|
||||
{% if header.sort_priority > 0 %}
|
||||
<div class="sortoptions">
|
||||
<a class="sortremove"
|
||||
href="{{ header.url_remove }}"
|
||||
title="{% translate "Remove from sorting" %}"></a>
|
||||
{% if num_sorted_fields > 1 %}
|
||||
<span class="sortpriority"
|
||||
title="{% blocktranslate with priority_number=header.sort_priority %}Sorting priority: {{ priority_number }}{% endblocktranslate %}">
|
||||
{{ header.sort_priority }}
|
||||
</span>
|
||||
{% endif %}
|
||||
<a href="{{ header.url_toggle }}"
|
||||
class="toggle {% if header.ascending %}ascending{% else %}descending{% endif %}"
|
||||
title="{% translate "Toggle sorting" %}">
|
||||
</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
<div class="text">
|
||||
{% if header.sortable %}
|
||||
<a href="{{ header.url_primary }}">{{ header.text|capfirst }}</a>
|
||||
{% else %}
|
||||
<span>{{ header.text|capfirst }}</span>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</th>
|
||||
{% endfor %}
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for result in results %}
|
||||
{% if result.form.non_field_errors %}
|
||||
<tr>
|
||||
<td colspan="{{ result|length }}">{{ result.form.non_field_errors }}</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
<tr>
|
||||
{% for item in result %}{{ item }}{% endfor %}
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
|
@ -1,70 +0,0 @@
|
|||
{% extends "admin/base_site.html" %}
|
||||
{% load i18n static %}
|
||||
{% load admin_urls %}
|
||||
{% block extrastyle %}
|
||||
{{ block.super }}
|
||||
<link rel="stylesheet"
|
||||
type="text/css"
|
||||
href="{% static "admin/css/forms.css" %}">
|
||||
{% endblock %}
|
||||
{% block bodyclass %}{{ block.super }} {{ opts.app_label }}-{{ opts.model_name }} change-form{% endblock %}
|
||||
{% if not is_popup %}
|
||||
{% block breadcrumbs %}
|
||||
<div class="breadcrumbs">
|
||||
<a href="{% url 'admin:index' %}">{% translate 'Home' %}</a>
|
||||
›
|
||||
<a href="{% url 'admin:app_list' app_label=opts.app_label %}">{{ opts.app_config.verbose_name }}</a>
|
||||
›
|
||||
<a href="{% url opts|admin_urlname:'changelist' %}">{{ opts.verbose_name_plural|capfirst }}</a>
|
||||
›
|
||||
<a href="{% url opts|admin_urlname:'change' original.pk|admin_urlquote %}">{{ original|truncatewords:"18" }}</a>
|
||||
› {% translate 'Change password' %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
{% endif %}
|
||||
{% block content %}
|
||||
<div id="content-main">
|
||||
<form {% if form_url %}action="{{ form_url }}"{% endif %}
|
||||
method="post"
|
||||
id="{{ opts.model_name }}_form">
|
||||
{% csrf_token %}
|
||||
{% block form_top %}{% endblock %}
|
||||
<input type="text"
|
||||
name="username"
|
||||
value="{{ original.get_username }}"
|
||||
class="hidden">
|
||||
<div>
|
||||
{% if is_popup %}<input type="hidden" name="{{ is_popup_var }}" value="1">{% endif %}
|
||||
{% if form.errors %}
|
||||
<p class="errornote">
|
||||
{% if form.errors.items|length == 1 %}
|
||||
{% translate "Please correct the error below." %}
|
||||
{% else %}
|
||||
{% translate "Please correct the errors below." %}
|
||||
{% endif %}
|
||||
</p>
|
||||
{% endif %}
|
||||
<p>
|
||||
{% blocktranslate with username=original %}Enter a new password for the user <strong>{{ username }}</strong>.{% endblocktranslate %}
|
||||
</p>
|
||||
<fieldset class="module aligned">
|
||||
<div class="form-row">
|
||||
{{ form.password1.errors }}
|
||||
{{ form.password1.label_tag }} {{ form.password1 }}
|
||||
{% if form.password1.help_text %}<div class="help">{{ form.password1.help_text|safe }}</div>{% endif %}
|
||||
</div>
|
||||
<div class="form-row">
|
||||
{{ form.password2.errors }}
|
||||
{{ form.password2.label_tag }} {{ form.password2 }}
|
||||
{% if form.password2.help_text %}<div class="help">{{ form.password2.help_text|safe }}</div>{% endif %}
|
||||
</div>
|
||||
</fieldset>
|
||||
<div class="submit-row">
|
||||
<input type="submit"
|
||||
value="{% translate 'Change password' %}"
|
||||
class="default">
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
@ -1 +0,0 @@
|
|||
{% include "django/forms/widgets/input.html" %}
|
||||
|
|
@ -1 +0,0 @@
|
|||
{% include "django/forms/widgets/input_option.html" %}
|
||||
|
|
@ -1 +0,0 @@
|
|||
{% include "django/forms/widgets/multiple_input.html" %}
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
{% if widget.is_initial %}
|
||||
{{ widget.initial_text }}:
|
||||
<a href="{{ widget.value.url }}">{{ widget.value }}</a>
|
||||
{% if not widget.required %}
|
||||
<input type="checkbox"
|
||||
name="{{ widget.checkbox_name }}"
|
||||
id="{{ widget.checkbox_id }}"
|
||||
{% if widget.attrs.disabled %}disabled{% endif %}>
|
||||
<label for="{{ widget.checkbox_id }}">{{ widget.clear_checkbox_label }}</label>
|
||||
{% endif %}
|
||||
<br>
|
||||
{{ widget.input_text }}:
|
||||
{% endif %}
|
||||
<input type="{{ widget.type }}"
|
||||
name="{{ widget.name }}"
|
||||
{% include "django/forms/widgets/attrs.html" %}>
|
||||
|
|
@ -1 +0,0 @@
|
|||
Generic: Are you sure?
|
||||
|
|
@ -1 +0,0 @@
|
|||
{% csrf_token %}
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
<h3>By {{ filter_title }} (custom)</h3>
|
||||
<ul>
|
||||
{% for choice in choices %}
|
||||
<li {% if choice.selected %}class="selected"{% endif %}>
|
||||
<a href="{{ choice.query_string|iriencode }}">{{ choice.display }}</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
|
@ -1 +0,0 @@
|
|||
<input type="text" name="custom">
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
{% load tags %}
|
||||
{% count_render %}
|
||||
|
|
@ -1 +0,0 @@
|
|||
{% include "django/forms/widgets/input.html" %}
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
{% extends "admin/date_hierarchy.html" %}
|
||||
{% load i18n %}
|
||||
{% block date-hierarchy-choices %}
|
||||
<select id="date-selector" class="override-date_hierarchy">
|
||||
{% for choice in choices %}
|
||||
<option {% if choice.link %}value="{{ choice.link }}"{% endif %}>
|
||||
{{ choice.title }}
|
||||
</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
<button id="date-selected">{% translate "Go" %}</button>
|
||||
{% endblock %}
|
||||
|
|
@ -1 +0,0 @@
|
|||
This template intentionally left blank
|
||||
|
|
@ -1 +0,0 @@
|
|||
{% include "django/forms/widgets/input.html" %}
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
{% if debug == True %}
|
||||
Have debug
|
||||
First query list: {{ sql_queries|length }}
|
||||
{% for obj in debug_objects.all %}{{ obj }}{% endfor %}
|
||||
Second query list: {{ sql_queries|length }}
|
||||
{% for obj in debug_objects.all %}{{ obj }}{% endfor %}
|
||||
Third query list: {{ sql_queries|length }}
|
||||
{% for obj in other_debug_objects.all %}{{ obj }}{% endfor %}
|
||||
Fourth query list: {{ sql_queries|length }}
|
||||
{% endif %}
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>{{ flatpage.title }}</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>
|
||||
{{ flatpage.content }}
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,293 +0,0 @@
|
|||
{% load i18n %}
|
||||
<!doctype html>
|
||||
{% get_current_language as LANGUAGE_CODE %}{% get_current_language_bidi as LANGUAGE_BIDI %}
|
||||
<html lang="{{ LANGUAGE_CODE|default:'en-us' }}"
|
||||
dir="{{ LANGUAGE_BIDI|yesno:'rtl,ltr,auto' }}">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>{% translate "The install worked successfully! Congratulations!" %}</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" type="text/css" href="/static/admin/css/fonts.css">
|
||||
<style>
|
||||
html {
|
||||
line-height: 1.15;
|
||||
}
|
||||
a {
|
||||
color: #19865C;
|
||||
}
|
||||
header {
|
||||
border-bottom: 1px solid #efefef;
|
||||
}
|
||||
body {
|
||||
max-width: 960px;
|
||||
color: #525252;
|
||||
font-family: Roboto, sans-serif;
|
||||
margin: 0 auto;
|
||||
}
|
||||
main {
|
||||
text-align: center;
|
||||
}
|
||||
h1, h2, h3, h4, h5, p, ul {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
font-weight: 400;
|
||||
}
|
||||
header {
|
||||
display: grid;
|
||||
grid-template-columns: auto auto;
|
||||
align-items: self-end;
|
||||
justify-content: space-between;
|
||||
gap: 7px;
|
||||
padding-top: 20px;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
.logo {
|
||||
font-weight: 700;
|
||||
font-size: 1.375rem;
|
||||
text-decoration: none;
|
||||
}
|
||||
.figure {
|
||||
margin-top: 19vh;
|
||||
max-width: 265px;
|
||||
position: relative;
|
||||
z-index: -9;
|
||||
overflow: visible;
|
||||
}
|
||||
.exhaust__line {
|
||||
animation: thrust 70ms 100 ease-in-out alternate;
|
||||
}
|
||||
.smoke {
|
||||
animation: smoke .1s 70 ease-in-out alternate;
|
||||
}
|
||||
@keyframes smoke {
|
||||
0% {
|
||||
transform: translate3d(-5px, 0, 0);
|
||||
}
|
||||
100% {
|
||||
transform: translate3d(5px, 0, 0);
|
||||
}
|
||||
}
|
||||
.flame {
|
||||
animation: burnInner2 .1s 70 ease-in-out alternate;
|
||||
}
|
||||
@keyframes burnInner2 {
|
||||
0% {
|
||||
transform: translate3d(0, 0, 0);
|
||||
}
|
||||
100% {
|
||||
transform: translate3d(0, 3px, 0);
|
||||
}
|
||||
}
|
||||
@keyframes thrust {
|
||||
0% {
|
||||
opacity: 1;
|
||||
}
|
||||
100% {
|
||||
opacity: .5;
|
||||
}
|
||||
}
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.exhaust__line,
|
||||
.smoke,
|
||||
.flame {
|
||||
animation: none;
|
||||
}
|
||||
}
|
||||
h1 {
|
||||
font-size: 1.375rem;
|
||||
max-width: 32rem;
|
||||
margin: 5px auto 0;
|
||||
}
|
||||
main p {
|
||||
line-height: 1.25;
|
||||
max-width: 26rem;
|
||||
margin: 15px auto 0;
|
||||
}
|
||||
footer {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr 1fr;
|
||||
gap: 5px;
|
||||
padding: 25px 0;
|
||||
position: fixed;
|
||||
box-sizing: border-box;
|
||||
left: 50%;
|
||||
bottom: 0;
|
||||
width: 960px;
|
||||
transform: translateX(-50%);
|
||||
transform-style: preserve-3d;
|
||||
border-top: 1px solid #efefef;
|
||||
}
|
||||
.option {
|
||||
display: grid;
|
||||
grid-template-columns: min-content 1fr;
|
||||
gap: 10px;
|
||||
box-sizing: border-box;
|
||||
text-decoration: none;
|
||||
}
|
||||
.option svg {
|
||||
width: 1.5rem;
|
||||
height: 1.5rem;
|
||||
fill: gray;
|
||||
border: 1px solid #d6d6d6;
|
||||
padding: 5px;
|
||||
border-radius: 100%;
|
||||
}
|
||||
.option p {
|
||||
font-weight: 300;
|
||||
line-height: 1.25;
|
||||
color: #525252;
|
||||
display: table;
|
||||
}
|
||||
.option .option__heading {
|
||||
color: #19865C;
|
||||
font-size: 1.25rem;
|
||||
font-weight: 400;
|
||||
}
|
||||
@media (max-width: 996px) {
|
||||
body, footer {
|
||||
max-width: 780px;
|
||||
}
|
||||
}
|
||||
@media (max-width: 800px) {
|
||||
footer {
|
||||
height: 100%;
|
||||
grid-template-columns: 1fr;
|
||||
gap: 60px;
|
||||
position: relative;
|
||||
padding: 25px;
|
||||
}
|
||||
.figure {
|
||||
margin-top: 10px;
|
||||
}
|
||||
main {
|
||||
padding: 0 25px;
|
||||
}
|
||||
main h1 {
|
||||
font-size: 1.25rem;
|
||||
}
|
||||
header {
|
||||
grid-template-columns: 1fr;
|
||||
padding-left: 20px;
|
||||
padding-right: 20px;
|
||||
}
|
||||
footer {
|
||||
width: 100%;
|
||||
margin-top: 50px;
|
||||
}
|
||||
}
|
||||
@media (min-width: 801px) and (max-height: 730px) {
|
||||
.figure {
|
||||
margin-top: 80px;
|
||||
}
|
||||
}
|
||||
@media (min-width: 801px) and (max-height: 600px) {
|
||||
footer {
|
||||
position: relative;
|
||||
margin: 135px auto 0;
|
||||
}
|
||||
.figure {
|
||||
margin-top: 50px;
|
||||
}
|
||||
}
|
||||
.sr-only {
|
||||
clip: rect(1px, 1px, 1px, 1px);
|
||||
clip-path: inset(50%);
|
||||
height: 1px;
|
||||
overflow: hidden;
|
||||
position: absolute;
|
||||
white-space: nowrap;
|
||||
width: 1px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<a class="logo"
|
||||
href="https://www.djangoproject.com/"
|
||||
target="_blank"
|
||||
rel="noopener">django</a>
|
||||
<p>
|
||||
{% blocktranslate %}View <a href="https://docs.djangoproject.com/en/{{ version }}/releases/"
|
||||
target="_blank"
|
||||
rel="noopener">release notes</a> for Django {{ version }}{% endblocktranslate %}
|
||||
</p>
|
||||
</header>
|
||||
<main>
|
||||
<svg class="figure" viewBox="0 0 508 268" aria-hidden="true">
|
||||
<path d="M305.2 156.6c0 4.6-.5 9-1.6 13.2-2.5-4.4-5.6-8.4-9.2-12-4.6-4.6-10-8.4-16-11.2 2.8-11.2 4.5-22.9 5-34.6 1.8 1.4 3.5 2.9 5 4.5 10.5 10.3 16.8 24.5 16.8 40.1zm-75-10c-6 2.8-11.4 6.6-16 11.2-3.5 3.6-6.6 7.6-9.1 12-1-4.3-1.6-8.7-1.6-13.2 0-15.7 6.3-29.9 16.6-40.1 1.6-1.6 3.3-3.1 5.1-4.5.6 11.8 2.2 23.4 5 34.6z"
|
||||
fill="#2E3B39"
|
||||
fill-rule="nonzero"/>
|
||||
<path d="M282.981 152.6c16.125-48.1 6.375-104-29.25-142.6-35.625 38.5-45.25 94.5-29.25 142.6h58.5z"
|
||||
stroke="#FFF"
|
||||
stroke-width="3.396"
|
||||
fill="#6DDCBD"/>
|
||||
<path d="M271 29.7c-4.4-10.6-9.9-20.6-16.6-29.7-6.7 9-12.2 19-16.6 29.7H271z"
|
||||
stroke="#FFF"
|
||||
stroke-width="3"
|
||||
fill="#2E3B39"/>
|
||||
<circle fill="#FFF" cx="254.3" cy="76.8" r="15.5"/>
|
||||
<circle stroke="#FFF" stroke-width="7" fill="#6DDCBD" cx="254.3" cy="76.8" r="12.2"/>
|
||||
<path class="smoke"
|
||||
d="M507.812 234.24c0-2.16-.632-4.32-1.58-6.24-3.318-6.72-11.85-11.52-21.804-11.52-1.106 0-2.212.12-3.318.24-.474-11.52-12.956-20.76-28.282-20.76-3.318 0-6.636.48-9.638 1.32-4.74-6.72-14.062-11.28-24.806-11.28-.79 0-1.58 0-2.37.12-.79 0-1.58-.12-2.37-.12-10.744 0-20.066 4.56-24.806 11.28a35.326 35.326 0 00-9.638-1.32c-15.642 0-28.282 9.6-28.282 21.48 0 1.32.158 2.76.474 3.96a26.09 26.09 0 00-4.424-.36c-8.058 0-15.01 3.12-19.118 7.8-3.476-1.68-7.742-2.76-12.324-2.76-12.008 0-21.804 7.08-22.752 15.96h-.158c-9.322 0-17.38 4.32-20.856 10.44-4.108-3.6-10.27-6-17.222-6h-1.264c-6.794 0-12.956 2.28-17.222 6-3.476-6.12-11.534-10.44-20.856-10.44h-.158c-.948-9-10.744-15.96-22.752-15.96-4.582 0-8.69.96-12.324 2.76-4.108-4.68-11.06-7.8-19.118-7.8-1.422 0-3.002.12-4.424.36.316-1.32.474-2.64.474-3.96 0-11.88-12.64-21.48-28.282-21.48-3.318 0-6.636.48-9.638 1.32-4.74-6.72-14.062-11.28-24.806-11.28-.79 0-1.58 0-2.37.12-.79 0-1.58-.12-2.37-.12-10.744 0-20.066 4.56-24.806 11.28a35.326 35.326 0 00-9.638-1.32c-15.326 0-27.808 9.24-28.282 20.76-1.106-.12-2.212-.24-3.318-.24-9.954 0-18.486 4.8-21.804 11.52-.948 1.92-1.58 4.08-1.58 6.24 0 4.8 2.528 9.12 6.636 12.36-.79 1.44-1.264 3.12-1.264 4.8 0 7.2 7.742 13.08 17.222 13.08h462.15c9.48 0 17.222-5.88 17.222-13.08 0-1.68-.474-3.36-1.264-4.8 4.582-3.24 7.11-7.56 7.11-12.36z"
|
||||
fill="#E6E9EE"/>
|
||||
<path fill="#6DDCBD" d="M239 152h30v8h-30z"/>
|
||||
<path class="exhaust__line" fill="#E6E9EE" d="M250 172h7v90h-7z"/>
|
||||
<path class="flame"
|
||||
d="M250.27 178.834l-5.32-8.93s-2.47-5.7 3.458-6.118h10.26s6.232.266 3.306 6.194l-5.244 8.93s-3.23 4.37-6.46 0v-.076z"
|
||||
fill="#AA2247"/>
|
||||
</svg>
|
||||
<h1>{% translate "The install worked successfully! Congratulations!" %}</h1>
|
||||
<p>
|
||||
{% blocktranslate %}You are seeing this page because <a href="https://docs.djangoproject.com/en/{{ version }}/ref/settings/#debug"
|
||||
target="_blank"
|
||||
rel="noopener">DEBUG=True</a> is in your settings file and you have not configured any URLs.{% endblocktranslate %}
|
||||
</p>
|
||||
</main>
|
||||
<footer>
|
||||
<a class="option"
|
||||
href="https://docs.djangoproject.com/en/{{ version }}/"
|
||||
target="_blank"
|
||||
rel="noopener">
|
||||
<svg viewBox="0 0 24 24" aria-hidden="true">
|
||||
<path d="M9 21c0 .55.45 1 1 1h4c.55 0 1-.45 1-1v-1H9v1zm3-19C8.14 2 5 5.14 5 9c0 2.38 1.19 4.47 3 5.74V17c0 .55.45 1 1 1h6c.55 0 1-.45 1-1v-2.26c1.81-1.27 3-3.36 3-5.74 0-3.86-3.14-7-7-7zm2.85 11.1l-.85.6V16h-4v-2.3l-.85-.6A4.997 4.997 0 017 9c0-2.76 2.24-5 5-5s5 2.24 5 5c0 1.63-.8 3.16-2.15 4.1z">
|
||||
</path>
|
||||
</svg>
|
||||
<p>
|
||||
<span class="option__heading">{% translate "Django Documentation" %}</span>
|
||||
<span class="sr-only">.</span>
|
||||
<br>
|
||||
{% translate 'Topics, references, & how-to’s' %}
|
||||
</p>
|
||||
</a>
|
||||
<a class="option"
|
||||
href="https://docs.djangoproject.com/en/{{ version }}/intro/tutorial01/"
|
||||
target="_blank"
|
||||
rel="noopener">
|
||||
<svg viewBox="0 0 24 24" aria-hidden="true">
|
||||
<path d="M9.4 16.6L4.8 12l4.6-4.6L8 6l-6 6 6 6 1.4-1.4zm5.2 0l4.6-4.6-4.6-4.6L16 6l6 6-6 6-1.4-1.4z"></path>
|
||||
</svg>
|
||||
<p>
|
||||
<span class="option__heading">{% translate "Tutorial: A Polling App" %}</span>
|
||||
<span class="sr-only">.</span>
|
||||
<br>
|
||||
{% translate "Get started with Django" %}
|
||||
</p>
|
||||
</a>
|
||||
<a class="option"
|
||||
href="https://www.djangoproject.com/community/"
|
||||
target="_blank"
|
||||
rel="noopener">
|
||||
<svg viewBox="0 0 24 24" aria-hidden="true">
|
||||
<path d="M16.5 13c-1.2 0-3.07.34-4.5 1-1.43-.67-3.3-1-4.5-1C5.33 13 1 14.08 1 16.25V19h22v-2.75c0-2.17-4.33-3.25-6.5-3.25zm-4 4.5h-10v-1.25c0-.54 2.56-1.75 5-1.75s5 1.21 5 1.75v1.25zm9 0H14v-1.25c0-.46-.2-.86-.52-1.22.88-.3 1.96-.53 3.02-.53 2.44 0 5 1.21 5 1.75v1.25zM7.5 12c1.93 0 3.5-1.57 3.5-3.5S9.43 5 7.5 5 4 6.57 4 8.5 5.57 12 7.5 12zm0-5.5c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2zm9 5.5c1.93 0 3.5-1.57 3.5-3.5S18.43 5 16.5 5 13 6.57 13 8.5s1.57 3.5 3.5 3.5zm0-5.5c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2z">
|
||||
</path>
|
||||
</svg>
|
||||
<p>
|
||||
<span class="option__heading">{% translate "Django Community" %}</span>
|
||||
<span class="sr-only">.</span>
|
||||
<br>
|
||||
{% translate "Connect, get help, or contribute" %}
|
||||
</p>
|
||||
</a>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1 +0,0 @@
|
|||
{% extends "admin/delete_confirmation.html" %}
|
||||
|
|
@ -1 +0,0 @@
|
|||
{% extends "admin/delete_selected_confirmation.html" %}
|
||||
|
|
@ -1 +0,0 @@
|
|||
Description in your templates: {{ obj }}
|
||||
|
|
@ -1 +0,0 @@
|
|||
{{ obj }} (foo is {{ foo }})
|
||||
|
|
@ -1 +0,0 @@
|
|||
Look, an {{ object }}.
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
{{ media }}
|
||||
{{ test_form }}
|
||||
{{ test_form.test_field }}
|
||||
|
|
@ -1 +0,0 @@
|
|||
{% include "django/forms/widgets/input.html" %}
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
{%- extends "epub/epub-cover.html" %}
|
||||
{% block content %}
|
||||
<div class="epub-cover">
|
||||
<h1>Django Documentation</h1>
|
||||
<h2>
|
||||
<em>Release {{ release }}</em>
|
||||
</h2>
|
||||
<h3>{{ copyright }}</h3>
|
||||
<p>
|
||||
{{ last_updated }}
|
||||
</p>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
{% if errors %}
|
||||
<div class="errorlist">
|
||||
{% for error in errors %}<div class="error">{{ error }}</div>{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
{% extends "./../two.html" %}
|
||||
{% block content %}{{ block.super }} one{% endblock %}
|
||||
|
|
@ -1 +0,0 @@
|
|||
{% include "./../three.html" %}
|
||||
|
|
@ -1 +0,0 @@
|
|||
{% extends "missing.html" %}
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
{% extends "base.html" %}
|
||||
{% block title %}Extended template{% endblock %}
|
||||
{% block content %}This is just a template extending the base.{% endblock %}
|
||||
|
|
@ -1 +0,0 @@
|
|||
{% extends "template_used/base.html" %}
|
||||
|
|
@ -1,34 +0,0 @@
|
|||
<fieldset class="module aligned {{ fieldset.classes }}">
|
||||
{% if fieldset.name %}<h2>{{ fieldset.name }}</h2>{% endif %}
|
||||
{% if fieldset.description %}<div class="description">{{ fieldset.description|safe }}</div>{% endif %}
|
||||
{% for line in fieldset %}
|
||||
<div class="form-row{% if line.fields|length_is:'1' and line.errors %} errors{% endif %}{% if not line.has_visible_field %}hidden{% endif %}{% for field in line %}{% if field.field.name %}field-{{ field.field.name }}{% endif %}{% endfor %}">
|
||||
{% if line.fields|length_is:'1' %}
|
||||
{{ line.errors }}
|
||||
{% endif %}
|
||||
{% for field in line %}
|
||||
<div {% if not line.fields|length_is:'1' %} class="fieldBox{% if field.field.name %}field-{{ field.field.name }}{% endif %}
|
||||
{% if not field.is_readonly and field.errors %}errors{% endif %}
|
||||
{% if field.field.is_hidden %}hidden{% endif %}
|
||||
{% elif field.is_checkbox %}
|
||||
class="checkbox-row"
|
||||
{% endif %}>
|
||||
{% if not line.fields|length_is:'1' and not field.is_readonly %}
|
||||
{{ field.errors }}
|
||||
{% endif %}
|
||||
{% if field.is_checkbox %}
|
||||
{{ field.field }}{{ field.label_tag }}
|
||||
{% else %}
|
||||
{{ field.label_tag }}
|
||||
{% if field.is_readonly %}
|
||||
<div class="readonly">{{ field.contents }}</div>
|
||||
{% else %}
|
||||
{{ field.field }}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% if field.field.help_text %}<div class="help">{{ field.field.help_text|safe }}</div>{% endif %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
</fieldset>
|
||||
|
|
@ -1 +0,0 @@
|
|||
{% include "django/forms/widgets/input.html" %}
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
{% load i18n %}
|
||||
<h3>{% blocktranslate with filter_title=title %} By {{ filter_title }} {% endblocktranslate %}</h3>
|
||||
<ul>
|
||||
{% for choice in choices %}
|
||||
<li {% if choice.selected %}class="selected"{% endif %}>
|
||||
<a href="{{ choice.query_string|iriencode }}"
|
||||
title="{{ choice.display }}">{{ choice.display }}</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
|
@ -1 +0,0 @@
|
|||
no priority
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
{% include 'django/forms/widgets/input.html' %}
|
||||
{% if related_url %}
|
||||
<a href="{{ related_url }}"
|
||||
class="related-lookup"
|
||||
id="lookup_id_{{ widget.name }}"
|
||||
title="{{ link_title }}"></a>
|
||||
{% endif %}
|
||||
{% if link_label %}
|
||||
<strong>
|
||||
{% if link_url %}<a href="{{ link_url }}">{% endif %}
|
||||
{{ link_label }}
|
||||
{% if link_url %}</a>{% endif %}
|
||||
</strong>
|
||||
{% endif %}
|
||||
|
|
@ -1 +0,0 @@
|
|||
A generic form: {{ form }}
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
{% for field in form %}
|
||||
<div class="fieldWrapper">
|
||||
{{ field.errors }}
|
||||
{{ field.label_tag }} {{ field }}
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
|
@ -1,18 +0,0 @@
|
|||
{% extends "base.html" %}
|
||||
{% block title %}Submit data{% endblock %}
|
||||
{% block content %}
|
||||
<h1>{{ message }}</h1>
|
||||
<form method="post">
|
||||
{% if form.errors %}
|
||||
<p class='warning'>
|
||||
Please correct the errors below:
|
||||
</p>
|
||||
{% endif %}
|
||||
<ul class='form'>
|
||||
{{ form }}
|
||||
<li>
|
||||
<input type='submit' value='Submit'>
|
||||
</li>
|
||||
</ul>
|
||||
</form>
|
||||
{% endblock %}
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
{% extends "basic/genindex.html" %}
|
||||
{% block bodyclass %}{% endblock %}
|
||||
{% block sidebarwrapper %}{% endblock %}
|
||||
|
|
@ -1 +0,0 @@
|
|||
Goodbye! (Django templates)
|
||||
|
|
@ -1 +0,0 @@
|
|||
Hello! (Django templates)
|
||||
|
|
@ -1 +0,0 @@
|
|||
{% include "django/forms/widgets/input.html" %}
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
<html>
|
||||
<a href="{{ protocol }}://{{ domain }}/reset/{{ uid }}/{{ token }}/">Link</a>
|
||||
</html>
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
{% load i18n %}
|
||||
{% translate "This subdir should be ignored too." %}
|
||||
|
|
@ -1 +0,0 @@
|
|||
{% include "./../../three.html" %}
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue