diff --git a/actions/ActionContent/add.tpl b/actions/ActionContent/add.tpl index f0a3f0c..9b2c791 100644 --- a/actions/ActionContent/add.tpl +++ b/actions/ActionContent/add.tpl @@ -9,6 +9,10 @@ {extends 'layouts/layout.content.form.tpl'} +{block 'layout_options' append} + {$layoutShowSidebar = false} +{/block} + {block 'layout_content'} {component 'topic.add-type' topic=$topicEdit type=$topicType blogs=$blogsAllow blogId=$blogId skipBlogs=$skipBlogs} -{/block} \ No newline at end of file +{/block} diff --git a/actions/ActionContent/edit.tpl b/actions/ActionContent/edit.tpl new file mode 100644 index 0000000..9b2c791 --- /dev/null +++ b/actions/ActionContent/edit.tpl @@ -0,0 +1,18 @@ +{** + * Создание/редактирование топика + * + * @parama object $topicEdit + * @parama string $topicType + * @parama array $blogsAllow + * @parama integer $blogId + *} + +{extends 'layouts/layout.content.form.tpl'} + +{block 'layout_options' append} + {$layoutShowSidebar = false} +{/block} + +{block 'layout_content'} + {component 'topic.add-type' topic=$topicEdit type=$topicType blogs=$blogsAllow blogId=$blogId skipBlogs=$skipBlogs} +{/block} diff --git a/assets/css/layout.css b/assets/css/layout.css index 09aa863..0dcc351 100644 --- a/assets/css/layout.css +++ b/assets/css/layout.css @@ -112,5 +112,7 @@ .markItUp .markItUpContainer .markItUpEditor { font-size: 12pt; - font-family: "Fira Code", "Anonymous Pro", "PT Mono", "Courier New",Courier,"Lucida Sans Typewriter","Lucida Typewriter",monospace; + font-size: 1.6vmin; + line-height: 1.6; + font-family: "Fira Code","Anonymous Pro","PT Mono","IBM Plex Mono", "Noto Mono","Courier New",Courier,"Lucida Sans Typewriter","Lucida Typewriter",monospace; }