mirror of
https://github.com/flextype/flextype.git
synced 2025-08-20 11:51:28 +02:00
feat(admin-plugin): update templates with new table component #211
This commit is contained in:
@@ -104,7 +104,7 @@
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% else %}
|
||||
<table>
|
||||
<table class="table">
|
||||
<tbody>
|
||||
{% for entry in entries_list %}
|
||||
<tr>
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
{% block content %}
|
||||
{% if fieldsets_list | length > 0 %}
|
||||
<table>
|
||||
<table class="table">
|
||||
<tbody>
|
||||
{% for id, title in fieldsets_list %}
|
||||
{% set fieldset_path = PATH_FIELDSETS ~ '/' ~ id ~ '.yaml' %}
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
{% block content %}
|
||||
{% if (plugins_list | length > 0) %}
|
||||
<table>
|
||||
<table class="table">
|
||||
<tbody>
|
||||
{% for key, plugin in plugins_list %}
|
||||
<tr>
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
{% block content %}
|
||||
{% if snippets_list | length > 0 %}
|
||||
<table>
|
||||
<table class="table">
|
||||
<tbody>
|
||||
{% for id in snippets_list %}
|
||||
<tr>
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
{% block content %}
|
||||
{% if (themes_list | length > 0) %}
|
||||
<table>
|
||||
<table class="table">
|
||||
<tbody>
|
||||
{% for key, theme in themes_list %}
|
||||
<tr>
|
||||
|
@@ -1,7 +1,7 @@
|
||||
{% extends "plugins/admin/templates/partials/base.html" %}
|
||||
|
||||
{% block content %}
|
||||
<table>
|
||||
<table class="table">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>{{ tr('admin_name') }}:</td>
|
||||
|
@@ -3,7 +3,7 @@
|
||||
{% block content %}
|
||||
{% if (templates_list | length > 0)
|
||||
or(partials_list | length > 0) %}
|
||||
<table>
|
||||
<table class="table">
|
||||
<tbody>
|
||||
{% if templates_list | length > 0 %}
|
||||
{% for template in templates_list %}
|
||||
|
@@ -56,8 +56,7 @@
|
||||
</select>
|
||||
</div>
|
||||
<div class="mb-2">
|
||||
<input type="submit" id="create" name="create" value="{{ tr('admin_create') }}" class="button">
|
||||
<input type="submit" id="create" name="create" value="{{ tr('admin_create') }}" class="button button--white">
|
||||
<input type="submit" id="create" name="create" value="{{ tr('admin_create') }}" class="button mr-3">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user