sandwitches 2.1.0__py3-none-any.whl → 2.1.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- sandwitches/tasks.py +1 -1
- sandwitches/templates/admin/admin_base.html +1 -1
- sandwitches/templates/admin/confirm_delete.html +2 -2
- sandwitches/templates/admin/dashboard.html +1 -1
- sandwitches/templates/admin/recipe_form.html +7 -7
- sandwitches/templates/admin/task_detail.html +3 -3
- sandwitches/templates/base.html +2 -2
- sandwitches/templates/base_beer.html +2 -2
- sandwitches/templates/components/favorites_search_form.html +3 -3
- sandwitches/templates/components/ingredients_scripts.html +5 -5
- sandwitches/templates/components/navbar.html +1 -1
- sandwitches/templates/components/rating_section.html +7 -7
- sandwitches/templates/components/search_form.html +2 -2
- sandwitches/templates/components/search_scripts.html +7 -7
- sandwitches/templates/detail.html +11 -11
- sandwitches/templates/index.html +1 -1
- sandwitches/templates/partials/recipe_list.html +7 -7
- sandwitches/templates/recipe_form.html +5 -5
- sandwitches/templates/setup.html +4 -4
- sandwitches/templates/signup.html +6 -6
- {sandwitches-2.1.0.dist-info → sandwitches-2.1.1.dist-info}/METADATA +1 -1
- {sandwitches-2.1.0.dist-info → sandwitches-2.1.1.dist-info}/RECORD +23 -23
- {sandwitches-2.1.0.dist-info → sandwitches-2.1.1.dist-info}/WHEEL +0 -0
sandwitches/tasks.py
CHANGED
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
<h5>{% trans "Are you sure?" %}</h5>
|
|
10
10
|
<p>{% trans "You are about to delete the following" %} {{ type }}: <b>{{ object }}</b></p>
|
|
11
11
|
<p>{% trans "This action cannot be undone." %}</p>
|
|
12
|
-
|
|
12
|
+
|
|
13
13
|
<div class="space"></div>
|
|
14
|
-
|
|
14
|
+
|
|
15
15
|
<form method="post">
|
|
16
16
|
{% csrf_token %}
|
|
17
17
|
<nav class="center-align">
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
<label>{{ form.title.label }}</label>
|
|
48
48
|
{% if form.title.errors %}<span class="error">{{ form.title.errors|striptags }}</span>{% endif %}
|
|
49
49
|
</div>
|
|
50
|
-
|
|
50
|
+
|
|
51
51
|
<div class="field label border round mt-1">
|
|
52
52
|
{{ form.tags_string }}
|
|
53
53
|
<label>{{ form.tags_string.label }}</label>
|
|
@@ -74,11 +74,11 @@
|
|
|
74
74
|
{% if form.description.errors %}<span class="error">{{ form.description.errors|striptags }}</span>{% endif %}
|
|
75
75
|
</div>
|
|
76
76
|
</div>
|
|
77
|
-
|
|
77
|
+
|
|
78
78
|
<div class="s12 m4">
|
|
79
79
|
<article class="round padding border center-align">
|
|
80
80
|
<h6 class="bold mb-1">{% trans "Recipe Image" %}</h6>
|
|
81
|
-
|
|
81
|
+
|
|
82
82
|
<div class="relative mb-1" style="overflow: hidden; min-height: 200px; display: flex; align-items: center; justify-content: center;">
|
|
83
83
|
{% if recipe.image %}
|
|
84
84
|
<img src="{{ recipe.image_medium.url }}" class="responsive round" id="image-preview" style="max-height: 300px; width: 100%; object-fit: contain; transition: transform 0.3s ease;">
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
</button>
|
|
101
101
|
</div>
|
|
102
102
|
{% endif %}
|
|
103
|
-
|
|
103
|
+
|
|
104
104
|
<div class="field file border round">
|
|
105
105
|
<input type="text" readonly>
|
|
106
106
|
{{ form.image }}
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
<!-- Ingredients and Instructions (Full Width) -->
|
|
115
115
|
<div class="s12">
|
|
116
116
|
<div class="divider mb-2"></div>
|
|
117
|
-
|
|
117
|
+
|
|
118
118
|
<div class="form-section">
|
|
119
119
|
<div class="row align-center mb-1">
|
|
120
120
|
<i class="primary-text">shopping_cart</i>
|
|
@@ -153,7 +153,7 @@
|
|
|
153
153
|
{% block admin_scripts %}
|
|
154
154
|
<script>
|
|
155
155
|
let currentRotation = 0;
|
|
156
|
-
|
|
156
|
+
|
|
157
157
|
function rotatePreview(angle) {
|
|
158
158
|
currentRotation = (currentRotation + angle) % 360;
|
|
159
159
|
const img = document.getElementById('image-preview');
|
|
@@ -168,7 +168,7 @@
|
|
|
168
168
|
fields.forEach(id => {
|
|
169
169
|
const el = document.getElementById(id);
|
|
170
170
|
if (el) {
|
|
171
|
-
new EasyMDE({
|
|
171
|
+
new EasyMDE({
|
|
172
172
|
element: el,
|
|
173
173
|
spellChecker: false,
|
|
174
174
|
autosave: {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
<article class="round padding border">
|
|
15
15
|
<h6 class="bold mb-1">{% trans "General Information" %}</h6>
|
|
16
16
|
<div class="divider mb-1"></div>
|
|
17
|
-
|
|
17
|
+
|
|
18
18
|
<div class="row mb-1">
|
|
19
19
|
<div class="max bold">{% trans "Task Path" %}:</div>
|
|
20
20
|
<div class="max"><code>{{ task.task_path }}</code></div>
|
|
@@ -39,9 +39,9 @@
|
|
|
39
39
|
<div class="max bold">{% trans "Priority" %}:</div>
|
|
40
40
|
<div class="max">{{ task.priority }}</div>
|
|
41
41
|
</div>
|
|
42
|
-
|
|
42
|
+
|
|
43
43
|
<div class="space"></div>
|
|
44
|
-
|
|
44
|
+
|
|
45
45
|
<h6 class="bold mb-1">{% trans "Timeline" %}</h6>
|
|
46
46
|
<div class="divider mb-1"></div>
|
|
47
47
|
<div class="row mb-1">
|
sandwitches/templates/base.html
CHANGED
|
@@ -85,10 +85,10 @@
|
|
|
85
85
|
document.querySelectorAll('form').forEach(form => {
|
|
86
86
|
form.addEventListener('submit', showLoading);
|
|
87
87
|
});
|
|
88
|
-
|
|
88
|
+
|
|
89
89
|
// Hide loading animation on page load completion (after initial DOMContentLoaded)
|
|
90
90
|
window.addEventListener('load', hideLoading);
|
|
91
91
|
|
|
92
92
|
</script>
|
|
93
93
|
</body>
|
|
94
|
-
</html>
|
|
94
|
+
</html>
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
padding-bottom: 2rem;
|
|
9
9
|
}
|
|
10
10
|
</style>
|
|
11
|
-
{% endblock %}
|
|
11
|
+
{% endblock %}
|
|
12
12
|
|
|
13
13
|
{% block navbar %}
|
|
14
14
|
{% include "components/navbar.html" %}
|
|
@@ -54,4 +54,4 @@
|
|
|
54
54
|
});
|
|
55
55
|
</script>
|
|
56
56
|
{% block page_scripts %}{% endblock %}
|
|
57
|
-
{% endblock %}
|
|
57
|
+
{% endblock %}
|
|
@@ -28,14 +28,14 @@
|
|
|
28
28
|
<label>{% trans "End Date" %}</label>
|
|
29
29
|
</div>
|
|
30
30
|
</div>
|
|
31
|
-
|
|
31
|
+
|
|
32
32
|
<!-- Custom Uploader Dropdown with Avatar -->
|
|
33
33
|
<div class="s12 m6 l3">
|
|
34
34
|
<div class="field label border round suffix relative" onclick="toggleUploaderMenu(event)">
|
|
35
35
|
<input type="text" id="uploader-display" readonly value="{{ request.GET.uploader|default:'' }}" placeholder="{% trans 'All Uploaders' %}" style="cursor: pointer;">
|
|
36
36
|
<label>{% trans "Uploader" %}</label>
|
|
37
37
|
<i class="chevron-down">arrow_drop_down</i>
|
|
38
|
-
|
|
38
|
+
|
|
39
39
|
<div id="uploader-menu" class="absolute surface elevate round left top-round bottom-round scroll" style="top: 100%; left: 0; right: 0; max-height: 300px; display: none; z-index: 20;">
|
|
40
40
|
<a class="row padding hover pointer" onclick="selectUploader('', '{% trans 'All Uploaders' %}')">
|
|
41
41
|
<span>{% trans "All Uploaders" %}</span>
|
|
@@ -82,4 +82,4 @@
|
|
|
82
82
|
</div>
|
|
83
83
|
</div>
|
|
84
84
|
</div>
|
|
85
|
-
</form>
|
|
85
|
+
</form>
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
const portionsInput = document.getElementById('portions');
|
|
6
6
|
const ingredientsDisplay = document.getElementById('ingredients-display');
|
|
7
7
|
const selector = document.querySelector('.portion-selector');
|
|
8
|
-
|
|
8
|
+
|
|
9
9
|
if (!portionsInput || !ingredientsDisplay || !selector) return;
|
|
10
10
|
|
|
11
11
|
const recipeId = selector.dataset.recipeId;
|
|
@@ -17,11 +17,11 @@
|
|
|
17
17
|
const url = `/api/v1/recipes/${recipeId}/scale-ingredients?target_servings=${targetServings}`;
|
|
18
18
|
console.log("Fetching:", url);
|
|
19
19
|
const response = await fetch(url);
|
|
20
|
-
|
|
20
|
+
|
|
21
21
|
if (!response.ok) throw new Error(`Status: ${response.status}`);
|
|
22
|
-
|
|
22
|
+
|
|
23
23
|
const data = await response.json();
|
|
24
|
-
|
|
24
|
+
|
|
25
25
|
let html = '<div class="padding">';
|
|
26
26
|
data.forEach(item => {
|
|
27
27
|
html += `<div class="mb-1">${item.scaled_line}</div>`;
|
|
@@ -47,4 +47,4 @@
|
|
|
47
47
|
document.addEventListener('DOMContentLoaded', () => {
|
|
48
48
|
scaleIngredients();
|
|
49
49
|
});
|
|
50
|
-
</script>
|
|
50
|
+
</script>
|
|
@@ -19,17 +19,17 @@
|
|
|
19
19
|
<p class="small-text ml-2">{{ user_rating.comment }}</p>
|
|
20
20
|
{% endif %}
|
|
21
21
|
{% endif %}
|
|
22
|
-
|
|
22
|
+
|
|
23
23
|
<form method="post" action="{% url 'recipe_rate' pk=recipe.pk %}">
|
|
24
24
|
{% csrf_token %}
|
|
25
25
|
<label class="bold">{% trans "Rate this sandwich" %}</label>
|
|
26
26
|
<div class="field middle-align">
|
|
27
27
|
<label class="slider">
|
|
28
|
-
<input type="range"
|
|
29
|
-
name="{{ rating_form.score.name }}"
|
|
30
|
-
min="0"
|
|
31
|
-
max="10"
|
|
32
|
-
step="0.1"
|
|
28
|
+
<input type="range"
|
|
29
|
+
name="{{ rating_form.score.name }}"
|
|
30
|
+
min="0"
|
|
31
|
+
max="10"
|
|
32
|
+
step="0.1"
|
|
33
33
|
value="{{ user_rating.score|default:'5.0' }}"
|
|
34
34
|
oninput="document.getElementById('score-output').innerText = parseFloat(this.value).toFixed(1)">
|
|
35
35
|
<span></span>
|
|
@@ -63,4 +63,4 @@
|
|
|
63
63
|
</div>
|
|
64
64
|
{% endfor %}
|
|
65
65
|
</div>
|
|
66
|
-
{% endif %}
|
|
66
|
+
{% endif %}
|
|
@@ -28,14 +28,14 @@
|
|
|
28
28
|
<label>{% trans "End Date" %}</label>
|
|
29
29
|
</div>
|
|
30
30
|
</div>
|
|
31
|
-
|
|
31
|
+
|
|
32
32
|
<!-- Custom Uploader Dropdown with Avatar -->
|
|
33
33
|
<div class="s12 m6 l3">
|
|
34
34
|
<div class="field label border round suffix relative" onclick="toggleUploaderMenu(event)">
|
|
35
35
|
<input type="text" id="uploader-display" readonly value="{{ request.GET.uploader|default:'' }}" placeholder="{% trans 'All Uploaders' %}" style="cursor: pointer;">
|
|
36
36
|
<label>{% trans "Uploader" %}</label>
|
|
37
37
|
<i class="chevron-down">arrow_drop_down</i>
|
|
38
|
-
|
|
38
|
+
|
|
39
39
|
<div id="uploader-menu" class="absolute surface elevate round left top-round bottom-round scroll" style="top: 100%; left: 0; right: 0; max-height: 300px; display: none; z-index: 20;">
|
|
40
40
|
<a class="row padding hover pointer" onclick="selectUploader('', '{% trans 'All Uploaders' %}')">
|
|
41
41
|
<span>{% trans "All Uploaders" %}</span>
|
|
@@ -22,12 +22,12 @@
|
|
|
22
22
|
function selectUploader(username, displayName) {
|
|
23
23
|
document.getElementById('uploader-hidden').value = username;
|
|
24
24
|
document.getElementById('uploader-display').value = username ? username : ''; // Or displayName
|
|
25
|
-
|
|
25
|
+
|
|
26
26
|
// Trigger HTMX
|
|
27
27
|
document.body.dispatchEvent(new Event('uploaderChange'));
|
|
28
|
-
|
|
28
|
+
|
|
29
29
|
// Close menu (handled by toggle or outside click)
|
|
30
|
-
// document.getElementById('uploader-menu').style.display = 'none';
|
|
30
|
+
// document.getElementById('uploader-menu').style.display = 'none';
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
function toggleTagMenu(event) {
|
|
@@ -45,10 +45,10 @@
|
|
|
45
45
|
var checkboxes = menu.querySelectorAll('input[type="checkbox"]');
|
|
46
46
|
var hiddenContainer = document.getElementById('tag-hidden-container');
|
|
47
47
|
var displayInput = document.getElementById('tag-display');
|
|
48
|
-
|
|
48
|
+
|
|
49
49
|
hiddenContainer.innerHTML = ''; // Clear existing
|
|
50
50
|
var selectedNames = [];
|
|
51
|
-
|
|
51
|
+
|
|
52
52
|
checkboxes.forEach(function(cb) {
|
|
53
53
|
if (cb.checked) {
|
|
54
54
|
selectedNames.push(cb.value);
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
hiddenContainer.appendChild(input);
|
|
60
60
|
}
|
|
61
61
|
});
|
|
62
|
-
|
|
62
|
+
|
|
63
63
|
if (selectedNames.length > 0) {
|
|
64
64
|
displayInput.value = selectedNames.join(', ');
|
|
65
65
|
} else {
|
|
@@ -95,4 +95,4 @@
|
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
97
|
});
|
|
98
|
-
</script>
|
|
98
|
+
</script>
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
text-align: center;
|
|
22
22
|
}
|
|
23
23
|
</style>
|
|
24
|
-
{% load custom_filters %} {# Load your custom filters #}
|
|
24
|
+
{% load custom_filters %} {# Load your custom filters #}
|
|
25
25
|
<script type="application/ld+json">
|
|
26
26
|
{
|
|
27
27
|
"@context": "https://schema.org",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
|
|
69
69
|
{% block content %}
|
|
70
70
|
|
|
71
|
-
{% load i18n markdown_extras %} {# Keep existing load tags #}
|
|
71
|
+
{% load i18n markdown_extras %} {# Keep existing load tags #}
|
|
72
72
|
|
|
73
73
|
<div class="space"></div>
|
|
74
74
|
|
|
@@ -86,20 +86,20 @@
|
|
|
86
86
|
<div class="s12 m12 l5">
|
|
87
87
|
<article class="round no-padding elevate">
|
|
88
88
|
{% if recipe.image %}
|
|
89
|
-
<img src="{{ recipe.image_large.url }}"
|
|
90
|
-
srcset="{{ recipe.image_medium.url }} 700w, {{ recipe.image_large.url }} 1200w"
|
|
89
|
+
<img src="{{ recipe.image_large.url }}"
|
|
90
|
+
srcset="{{ recipe.image_medium.url }} 700w, {{ recipe.image_large.url }} 1200w"
|
|
91
91
|
sizes="(max-width: 768px) 95vw, 600px"
|
|
92
|
-
alt="{{ recipe.title }}"
|
|
92
|
+
alt="{{ recipe.title }}"
|
|
93
93
|
loading="lazy"
|
|
94
94
|
class="responsive top-round">
|
|
95
95
|
{% else %}
|
|
96
96
|
<div class="primary medium-height top-round middle-align center-align" style="height:300px;">
|
|
97
97
|
<i class="extra">lunch_dining</i>
|
|
98
98
|
</div>
|
|
99
|
-
{% endif %}
|
|
99
|
+
{% endif %}
|
|
100
100
|
<div class="padding">
|
|
101
101
|
{% include "components/recipe_header.html" %}
|
|
102
|
-
|
|
102
|
+
|
|
103
103
|
<div class="space"></div>
|
|
104
104
|
<div class="divider"></div>
|
|
105
105
|
<div class="space"></div>
|
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
<div class="space"></div>
|
|
131
131
|
<div class="divider"></div>
|
|
132
132
|
<div class="space"></div>
|
|
133
|
-
|
|
133
|
+
|
|
134
134
|
{% include "components/rating_section.html" %}
|
|
135
135
|
|
|
136
136
|
{% if user.is_authenticated and user.is_staff %}
|
|
@@ -147,7 +147,7 @@
|
|
|
147
147
|
<!-- Right Column: Details -->
|
|
148
148
|
<div class="s12 m12 l7">
|
|
149
149
|
<div class="padding">
|
|
150
|
-
|
|
150
|
+
|
|
151
151
|
<h5 class="primary-text">{% trans "Description" %}</h5>
|
|
152
152
|
<div class="large-text">
|
|
153
153
|
{% if recipe.description %}
|
|
@@ -156,9 +156,9 @@
|
|
|
156
156
|
<p class="italic">{% trans "No description yet." %}</p>
|
|
157
157
|
{% endif %}
|
|
158
158
|
</div>
|
|
159
|
-
|
|
159
|
+
|
|
160
160
|
<div class="large-space"></div>
|
|
161
|
-
|
|
161
|
+
|
|
162
162
|
{% include "components/ingredients_section.html" %}
|
|
163
163
|
|
|
164
164
|
<div class="large-space"></div>
|
sandwitches/templates/index.html
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
<i class="extra">lunch_dining</i>
|
|
12
12
|
</div>
|
|
13
13
|
{% endif %}
|
|
14
|
-
|
|
14
|
+
|
|
15
15
|
{% if user.is_authenticated %}
|
|
16
16
|
<div class="absolute top left padding">
|
|
17
17
|
<a href="{% url 'toggle_favorite' recipe.pk %}" class="button circle surface white-text">
|
|
@@ -22,10 +22,10 @@
|
|
|
22
22
|
</div>
|
|
23
23
|
{% endif %}
|
|
24
24
|
</div>
|
|
25
|
-
|
|
25
|
+
|
|
26
26
|
<div class="padding">
|
|
27
27
|
<h5 class="truncate pointer" onclick="location.href='{% url 'recipe_detail' recipe.slug %}';">{{ recipe.title }}</h5>
|
|
28
|
-
|
|
28
|
+
|
|
29
29
|
<div class="row align-center">
|
|
30
30
|
{% if recipe.uploaded_by %}
|
|
31
31
|
<a href="{% url 'index' %}?uploader={{ recipe.uploaded_by.username|urlencode }}" class="row align-center" style="color: inherit; text-decoration: none;">
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
<span class="tiny-text left-margin">{% trans "Unknown" %}</span>
|
|
42
42
|
{% endif %}
|
|
43
43
|
</div>
|
|
44
|
-
|
|
44
|
+
|
|
45
45
|
<div class="space"></div>
|
|
46
46
|
|
|
47
47
|
<div class="row wrap">
|
|
@@ -57,14 +57,14 @@
|
|
|
57
57
|
</div>
|
|
58
58
|
|
|
59
59
|
<div class="space"></div>
|
|
60
|
-
|
|
60
|
+
|
|
61
61
|
<div class="row wrap">
|
|
62
62
|
{% for tag in recipe.tags.all %}
|
|
63
63
|
<a href="{% url 'index' %}?tag={{ tag.name|urlencode }}" class="chip small round surface margin-bottom">{{ tag.name }}</a>
|
|
64
64
|
{% endfor %}
|
|
65
65
|
</div>
|
|
66
66
|
</div>
|
|
67
|
-
|
|
67
|
+
|
|
68
68
|
<div class="padding pt-0">
|
|
69
69
|
<a href="{% url 'recipe_detail' recipe.slug %}" class="button fill round responsive">
|
|
70
70
|
<span>{% trans 'View Recipe' %}</span>
|
|
@@ -84,4 +84,4 @@
|
|
|
84
84
|
{% endif %}
|
|
85
85
|
</div>
|
|
86
86
|
{% endfor %}
|
|
87
|
-
</div>
|
|
87
|
+
</div>
|
|
@@ -15,15 +15,15 @@
|
|
|
15
15
|
{% endif %}
|
|
16
16
|
</h4>
|
|
17
17
|
<div class="space"></div>
|
|
18
|
-
|
|
18
|
+
|
|
19
19
|
<form method="post" enctype="multipart/form-data">
|
|
20
20
|
{% csrf_token %}
|
|
21
|
-
|
|
21
|
+
|
|
22
22
|
<div class="grid">
|
|
23
23
|
<div class="s12">
|
|
24
24
|
<div class="field label border round">
|
|
25
25
|
{{ form.title }}
|
|
26
|
-
<label>{% trans "Title" %}</label>
|
|
26
|
+
<label>{% trans "Title" %}</label>
|
|
27
27
|
</div>
|
|
28
28
|
{% if form.title.errors %}
|
|
29
29
|
<p class="error-text tiny-text no-margin">{{ form.title.errors.0 }}</p>
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
</div>
|
|
78
78
|
|
|
79
79
|
<div class="large-space"></div>
|
|
80
|
-
|
|
80
|
+
|
|
81
81
|
<div class="row right-align">
|
|
82
82
|
<!-- Fallback to index if referer is missing, or history.back -->
|
|
83
83
|
<a href="javascript:history.back()" class="button transparent border round">{% trans "Cancel" %}</a>
|
|
@@ -116,4 +116,4 @@
|
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
118
|
</script>
|
|
119
|
-
{% endblock %}
|
|
119
|
+
{% endblock %}
|
sandwitches/templates/setup.html
CHANGED
|
@@ -19,10 +19,10 @@
|
|
|
19
19
|
{% trans "After creating the account you will be logged in and redirected to the admin." %}
|
|
20
20
|
</p>
|
|
21
21
|
</div>
|
|
22
|
-
|
|
22
|
+
|
|
23
23
|
<form method="post" novalidate>
|
|
24
24
|
{% csrf_token %}
|
|
25
|
-
|
|
25
|
+
|
|
26
26
|
{% if form.non_field_errors %}
|
|
27
27
|
<div class="padding error surface round mb">
|
|
28
28
|
{% for err in form.non_field_errors %}
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
<span class="helper error-text">{{ form.email.errors.0 }}</span>
|
|
71
71
|
{% endif %}
|
|
72
72
|
</div>
|
|
73
|
-
|
|
73
|
+
|
|
74
74
|
<div class="space"></div>
|
|
75
75
|
<div class="divider"></div>
|
|
76
76
|
<div class="space"></div>
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
</div>
|
|
93
93
|
|
|
94
94
|
<div class="large-space"></div>
|
|
95
|
-
|
|
95
|
+
|
|
96
96
|
<nav class="right-align">
|
|
97
97
|
<a class="button transparent border round" href="{% url 'index' %}">{% trans "Cancel" %}</a>
|
|
98
98
|
<button type="submit" class="button primary round">{% trans "Create admin" %}</button>
|
|
@@ -12,10 +12,10 @@
|
|
|
12
12
|
<h4 class="center-align primary-text">{% trans "Create your account" %}</h4>
|
|
13
13
|
<p class="center-align">{% trans "Join the Sandwitches community today!" %}</p>
|
|
14
14
|
</div>
|
|
15
|
-
|
|
15
|
+
|
|
16
16
|
<form method="post" enctype="multipart/form-data" novalidate>
|
|
17
17
|
{% csrf_token %}
|
|
18
|
-
|
|
18
|
+
|
|
19
19
|
{% if form.non_field_errors %}
|
|
20
20
|
<div class="padding error surface round mb">
|
|
21
21
|
{% for err in form.non_field_errors %}
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
<span class="helper error-text">{{ form.email.errors.0 }}</span>
|
|
64
64
|
{% endif %}
|
|
65
65
|
</div>
|
|
66
|
-
|
|
66
|
+
|
|
67
67
|
<div class="field label border round {% if form.language.errors %}error{% endif %}">
|
|
68
68
|
<select name="{{ form.language.name }}" id="{{ form.language.id_for_label }}">
|
|
69
69
|
{% for value, label in form.language.field.choices %}
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
<span class="helper error-text">{{ form.bio.errors.0 }}</span>
|
|
84
84
|
{% endif %}
|
|
85
85
|
</div>
|
|
86
|
-
|
|
86
|
+
|
|
87
87
|
<div class="field middle-align {% if form.avatar.errors %}error{% endif %}">
|
|
88
88
|
<nav>
|
|
89
89
|
<div class="max">
|
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
</div>
|
|
121
121
|
|
|
122
122
|
<div class="large-space"></div>
|
|
123
|
-
|
|
123
|
+
|
|
124
124
|
<nav class="right-align">
|
|
125
125
|
<a class="button transparent border round" href="{% url 'index' %}">{% trans "Cancel" %}</a>
|
|
126
126
|
<button type="submit" class="button primary round">{% trans "Sign Up" %}</button>
|
|
@@ -130,4 +130,4 @@
|
|
|
130
130
|
</article>
|
|
131
131
|
</div>
|
|
132
132
|
</div>
|
|
133
|
-
{% endblock %}
|
|
133
|
+
{% endblock %}
|
|
@@ -15,41 +15,41 @@ sandwitches/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3
|
|
|
15
15
|
sandwitches/models.py,sha256=MHx892trckPaIM-K5u8fFGj8HuLHi7SnPG5COP94Ung,7196
|
|
16
16
|
sandwitches/settings.py,sha256=av4Cjplj0pwfThvaNfxPXh7D-0GCE4y_smtcH_mVYWE,5761
|
|
17
17
|
sandwitches/storage.py,sha256=ibBG6tVtArqzgEKsRimZPwsqW7i9j4WiPLLHrOJchow,3578
|
|
18
|
-
sandwitches/tasks.py,sha256=
|
|
19
|
-
sandwitches/templates/admin/admin_base.html,sha256=
|
|
20
|
-
sandwitches/templates/admin/confirm_delete.html,sha256=
|
|
21
|
-
sandwitches/templates/admin/dashboard.html,sha256=
|
|
18
|
+
sandwitches/tasks.py,sha256=rRQpWZp-vDbMgVmnZAz8GaPzK7F3uzAr6lho7Zq-mdM,3656
|
|
19
|
+
sandwitches/templates/admin/admin_base.html,sha256=yPFo1K1LrRuPKfOuOGLEgQm29vWqzvkSoDNlpmxYPaY,4261
|
|
20
|
+
sandwitches/templates/admin/confirm_delete.html,sha256=HfsZI_gV8JQTKz215TYgPWBrgrFhGv1UB3N-0Hln-14,804
|
|
21
|
+
sandwitches/templates/admin/dashboard.html,sha256=uHisWI3x-KehPDlwBFF5bIT5-tPsCVU5duA_ZPF-GHc,6168
|
|
22
22
|
sandwitches/templates/admin/rating_list.html,sha256=ZTxu4emeYInlYyw7b19c8cYlj90fo1wtA-1BEJKZGt0,1256
|
|
23
|
-
sandwitches/templates/admin/recipe_form.html,sha256=
|
|
23
|
+
sandwitches/templates/admin/recipe_form.html,sha256=FeQgxDyj8z9vBltoneXNEcxa4YkbeatCkHB_GeHL8MU,7544
|
|
24
24
|
sandwitches/templates/admin/recipe_list.html,sha256=HDOmhK-XEPwTv1CCBqTXK79pLoH5y2xKPFjjue0HFeQ,2454
|
|
25
25
|
sandwitches/templates/admin/tag_form.html,sha256=JRWgAl4fz_Oy-Kuo1K6Mex_CXdsHMABzzyPazthr1Kg,989
|
|
26
26
|
sandwitches/templates/admin/tag_list.html,sha256=ttxwXgfdxkEs4Cmrz5RHaGmaqLd7JDmWhjv80XIQqyw,1246
|
|
27
|
-
sandwitches/templates/admin/task_detail.html,sha256=
|
|
27
|
+
sandwitches/templates/admin/task_detail.html,sha256=dO5zHOG-yTY1ly3VPA3o3jjie0wmxw0gdddtSKpN-W8,3825
|
|
28
28
|
sandwitches/templates/admin/task_list.html,sha256=3YF7YQ3nbXnWjApKeA07Z7HkhdMuH4s6sLoN7gwg0eE,1535
|
|
29
29
|
sandwitches/templates/admin/user_form.html,sha256=7_6GShLROFeJJexL1XLFUXdW9_lYF87eT6cigB5bQo4,1314
|
|
30
30
|
sandwitches/templates/admin/user_list.html,sha256=6O1YctULY-tqJnagybJof9ERA_NL1LX_a8cAu6_aWVQ,2193
|
|
31
|
-
sandwitches/templates/base.html,sha256=
|
|
32
|
-
sandwitches/templates/base_beer.html,sha256=
|
|
33
|
-
sandwitches/templates/components/favorites_search_form.html,sha256=
|
|
31
|
+
sandwitches/templates/base.html,sha256=07zDXWzRC-aptZW6oq3xcxvDA1Lh87F7kTpBeYFUwsg,3211
|
|
32
|
+
sandwitches/templates/base_beer.html,sha256=4QgU4_gu_RRMtimmRAhATDJ3mj_WANxtilQJYNgAL60,2077
|
|
33
|
+
sandwitches/templates/components/favorites_search_form.html,sha256=tpD8SpS47TUDJBwxhMuvjhTN9pjWoRGFW50TBv48Ld4,5202
|
|
34
34
|
sandwitches/templates/components/footer.html,sha256=Qk-myRtXS6-1b3fMowVGnSuFb_UkUgX6BYX9zgh_SV8,486
|
|
35
|
-
sandwitches/templates/components/ingredients_scripts.html,sha256=
|
|
35
|
+
sandwitches/templates/components/ingredients_scripts.html,sha256=2zKTC65GYF589uW1sCpDq0jOkS3BnsuOwUpJbbigrn4,1794
|
|
36
36
|
sandwitches/templates/components/ingredients_section.html,sha256=XsaVXTs9MIwjfJeLjlzah3GWWj8oFU-_HJd9i9l1HAo,665
|
|
37
37
|
sandwitches/templates/components/instructions_section.html,sha256=RFlA4uPiI6vf1e2QgiD5KzGoy7Vg7y7nFY7TFabCYLA,277
|
|
38
38
|
sandwitches/templates/components/language_dialog.html,sha256=iz-6QhFe4f_dsVhGDhVx6KKKLgQz4grX8tbIqSQjDsg,1184
|
|
39
|
-
sandwitches/templates/components/navbar.html,sha256=
|
|
40
|
-
sandwitches/templates/components/rating_section.html,sha256=
|
|
39
|
+
sandwitches/templates/components/navbar.html,sha256=qGr2m-1vTeCdMsc16anYrCpREvYHv0oJh6lpvtWL3jY,1055
|
|
40
|
+
sandwitches/templates/components/rating_section.html,sha256=Hq1t51ETQckUzNeZyvEnGKGIHfUiu6XJF8T4TzCZ3NU,2723
|
|
41
41
|
sandwitches/templates/components/recipe_header.html,sha256=-LCp6KqkQO7a7yqR0jKUQ95-RczYU-_MFO058lE04_w,1473
|
|
42
|
-
sandwitches/templates/components/search_form.html,sha256=
|
|
43
|
-
sandwitches/templates/components/search_scripts.html,sha256=
|
|
42
|
+
sandwitches/templates/components/search_form.html,sha256=B8579Jo44gLrlmvkkc2-Vuv_QD93Ljt6F2J1WgTDV60,6617
|
|
43
|
+
sandwitches/templates/components/search_scripts.html,sha256=HvsO5e50DoTZeoFiYeNP5S8S5h7Zfr9VULOWKKR1i_M,3423
|
|
44
44
|
sandwitches/templates/components/side_menu.html,sha256=JyrhmyWLKKZj1yqriHqQc6Fv25TpmIgXNhoEdxrePVQ,1529
|
|
45
45
|
sandwitches/templates/components/user_menu.html,sha256=c20cBpyLheGvHdQ5nn-c4fjNlhfnAt3FAsw1V46rTwQ,369
|
|
46
|
-
sandwitches/templates/detail.html,sha256=
|
|
46
|
+
sandwitches/templates/detail.html,sha256=g-O_RsW9Ix9ivWC0nZ4FwHY2NhgYZ3bEGLpqGY0JSxg,5642
|
|
47
47
|
sandwitches/templates/favorites.html,sha256=0cPpW07N6Isrb8XpvA5Eh97L2-12QFZ43EzeJvbOlXo,917
|
|
48
|
-
sandwitches/templates/index.html,sha256=
|
|
49
|
-
sandwitches/templates/partials/recipe_list.html,sha256=
|
|
50
|
-
sandwitches/templates/recipe_form.html,sha256=
|
|
51
|
-
sandwitches/templates/setup.html,sha256=
|
|
52
|
-
sandwitches/templates/signup.html,sha256=
|
|
48
|
+
sandwitches/templates/index.html,sha256=JqIeAY2Yz5yZ9MWSMjWXOQIohykcPlJHBRUrspahGCU,899
|
|
49
|
+
sandwitches/templates/partials/recipe_list.html,sha256=AVzz_fIE4cBVU-E2E0VpE1tFmUV8jy7QpOninZEUMi8,3952
|
|
50
|
+
sandwitches/templates/recipe_form.html,sha256=TzdlzeSqUoJTDTuCdFbeF5jCBZUTZEtlTIC_IQM3WL8,4754
|
|
51
|
+
sandwitches/templates/setup.html,sha256=iNveFgePATsCSO4XMbGPa8TnWHyvj8S_5WwcW6i7pbo,4661
|
|
52
|
+
sandwitches/templates/signup.html,sha256=pNBSlRGZI_B5ccF3dWpUgWBcjODkdLlq7HhyJLYIHCI,6176
|
|
53
53
|
sandwitches/templatetags/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
54
54
|
sandwitches/templatetags/custom_filters.py,sha256=0KDFlFz4b5LwlcURBAmzyYWKKea-LwydZytJGVkkuKA,243
|
|
55
55
|
sandwitches/templatetags/markdown_extras.py,sha256=0ibmRzxE3r85x4k7kK71R-9UT0CgeegYF7MHzj3juTI,344
|
|
@@ -57,6 +57,6 @@ sandwitches/urls.py,sha256=uhzsVpKC8Vo6ReDZk3BMg9Pxg4uSrFO8rUdNm18h-xI,3710
|
|
|
57
57
|
sandwitches/utils.py,sha256=SJP-TkeRZ0OIfaMigYrOSbxRqYXswoqoWhwll3nFuAM,7245
|
|
58
58
|
sandwitches/views.py,sha256=BpJkrBVXYoDMFborpH0FEaYT5xk0Dg4adCurXbFl4-o,20215
|
|
59
59
|
sandwitches/wsgi.py,sha256=Eyncpnahq_4s3Lr9ruB-R3Lu9j9zBXqgPbUj7qhIbwU,399
|
|
60
|
-
sandwitches-2.1.
|
|
61
|
-
sandwitches-2.1.
|
|
62
|
-
sandwitches-2.1.
|
|
60
|
+
sandwitches-2.1.1.dist-info/WHEEL,sha256=eh7sammvW2TypMMMGKgsM83HyA_3qQ5Lgg3ynoecH3M,79
|
|
61
|
+
sandwitches-2.1.1.dist-info/METADATA,sha256=uf0NdPqZ5ObdsQpR1J_6yxKbNjluClyqe-NYQjklh3c,3111
|
|
62
|
+
sandwitches-2.1.1.dist-info/RECORD,,
|
|
File without changes
|