mirror of
https://github.com/flextype/flextype.git
synced 2025-08-17 10:30:46 +02:00
This commit is contained in:
@@ -11,3 +11,22 @@
|
||||
margin-top: 28%;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.empty-list-message {
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
margin-top: 13%;
|
||||
padding: 0;
|
||||
|
||||
.far,
|
||||
.fas {
|
||||
font-size: 84px;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-weight: normal;
|
||||
padding-top: 0;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
}
|
||||
|
@@ -203,5 +203,9 @@
|
||||
"admin_menu_item_url": "Url",
|
||||
"admin_menu_item_target": "Target",
|
||||
"admin_menu_item_order": "Order",
|
||||
"admin_template_code": "Template code"
|
||||
"admin_template_code": "Template code",
|
||||
"admin_you_have_not_created_any_entries_yet": "You haven't created any entries yet!",
|
||||
"admin_you_have_not_created_any_snippets_yet": "You haven't created any snippets yet!",
|
||||
"admin_you_have_not_created_any_templates_yet": "You haven't created any templates yet!",
|
||||
"admin_you_have_not_created_any_fieldsets_yet": "You haven't created any fieldsets yet!"
|
||||
}
|
||||
|
@@ -69,5 +69,11 @@
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
{% else %}
|
||||
<div class="empty-list-message">
|
||||
<i class="far fa-newspaper"></i>
|
||||
<h3>{{ tr('admin_you_have_not_created_any_entries_yet') }}</h3>
|
||||
<a href="{{ path_for('admin.entries.add') }}?id={{ entry.slug }}" class="btn">{{ tr('admin_create_new_entry') }}</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
@@ -44,5 +44,11 @@
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
{% else %}
|
||||
<div class="empty-list-message">
|
||||
<i class="fas fa-list"></i>
|
||||
<h3>{{ tr('admin_you_have_not_created_any_fieldsets_yet') }}</h3>
|
||||
<a href="{{ path_for('admin.fieldsets.add') }}" class="btn">{{ tr('admin_create_new_fieldset') }}</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
@@ -10,7 +10,6 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% if snippets_list|length > 0 %}
|
||||
{% for id in snippets_list %}
|
||||
<tr>
|
||||
<td>
|
||||
@@ -44,9 +43,14 @@
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
</tbody>
|
||||
</table>
|
||||
{% else %}
|
||||
<div class="empty-list-message">
|
||||
<i class="far fa-file-code"></i>
|
||||
<h3>{{ tr('admin_you_have_not_created_any_snippets_yet') }}</h3>
|
||||
<a href="{{ path_for('admin.snippets.add') }}" class="btn">{{ tr('admin_create_new_snippet') }}</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
|
||||
|
@@ -88,5 +88,11 @@
|
||||
{% endif %}
|
||||
</tbody>
|
||||
</table>
|
||||
{% else %}
|
||||
<div class="empty-list-message">
|
||||
<i class="fas fa-layer-group"></i>
|
||||
<h3>{{ tr('admin_you_have_not_created_any_templates_yet') }}</h3>
|
||||
<a href="{{ path_for('admin.templates.add') }}" class="btn">{{ tr('admin_create_new_template') }}</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
Reference in New Issue
Block a user