Remove ckeditor
Remove tinymce Begin migrate to mithril.js
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
__author__ = 'RemiZOffAlex'
|
||||
__email__ = 'remizoffalex@mail.ru'
|
||||
__url__ = 'https://remizoffalex.ru/'
|
||||
|
||||
from flask import abort
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{% extends "skeleton.html" %}
|
||||
{% extends "/public/skeleton.html" %}
|
||||
{% block content %}
|
||||
{% raw %}
|
||||
|
||||
@@ -29,19 +29,9 @@
|
||||
{% endblock %}
|
||||
|
||||
{% block breadcrumb %}
|
||||
{% raw %}
|
||||
<ol class="breadcrumb mt-3">
|
||||
<li class="breadcrumb-item"><a href="/"><i class="fa fa-home"></i></a></li>
|
||||
<li class="breadcrumb-item"><a href="/pages">Список статей</a></li>
|
||||
<li class="breadcrumb-item active">{{ page.title }}</li>
|
||||
</ol>
|
||||
{% endraw %}
|
||||
{% endblock %}
|
||||
|
||||
{% block script %}
|
||||
<script type="text/javascript">
|
||||
Object.assign(root.data, {
|
||||
page: {{ pagedata['page']|tojson|safe }},
|
||||
});
|
||||
</script>
|
||||
<ul>
|
||||
<li><a href="/"><i class="fa fa-home"></i></a></li>
|
||||
<li><a href="/pages">Список статей</a></li>
|
||||
<li>{{ pagedata['page'].title }}</li>
|
||||
</ul>
|
||||
{% endblock %}
|
||||
|
||||
@@ -4,8 +4,6 @@
|
||||
<h3>Статьи</h3>
|
||||
<hr />
|
||||
|
||||
{% include '/inc/filter.html' %}
|
||||
|
||||
<pagination-component v-bind:pagination="pagination" v-bind:click-handler="getPages"></pagination-component>
|
||||
|
||||
<div class="row" v-if="firstAlpha">
|
||||
@@ -32,13 +30,6 @@ Object.assign(root.data, {
|
||||
raw_pages: [],
|
||||
pagination: {{ pagedata['pagination']|tojson|safe }},
|
||||
});
|
||||
Object.assign(root.data.panels, {
|
||||
order_by: {
|
||||
visible: false,
|
||||
field: 'title',
|
||||
order: 'asc'
|
||||
},
|
||||
});
|
||||
Object.assign(root.methods, {
|
||||
filterApply: function() {},
|
||||
filterPage: function(page) {
|
||||
|
||||
@@ -33,8 +33,6 @@
|
||||
</div>
|
||||
<!-- Конец: Панель сортировки -->
|
||||
|
||||
{% include 'inc/filter.html' %}
|
||||
|
||||
<pagination-component v-bind:pagination="pagination" v-bind:click-handler="getPages"></pagination-component>
|
||||
|
||||
<div class="row" v-if="firstAlpha">
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
__author__ = 'RemiZOffAlex'
|
||||
__email__ = 'remizoffalex@mail.ru'
|
||||
__url__ = 'https://remizoffalex.ru/'
|
||||
|
||||
from flask import abort, render_template
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
__author__ = 'RemiZOffAlex'
|
||||
__email__ = 'remizoffalex@mail.ru'
|
||||
__url__ = 'https://remizoffalex.ru/'
|
||||
|
||||
from flask import abort, render_template
|
||||
|
||||
|
||||
Reference in New Issue
Block a user