mirror of
https://github.com/Karaka-Management/oms-Editor.git
synced 2026-02-10 23:48:40 +00:00
More flexbox implementations
This commit is contained in:
parent
847bff8f1b
commit
055c19ab2f
|
|
@ -154,7 +154,7 @@ class Controller extends ModuleAbstract implements WebInterface
|
||||||
public function viewEditorSingle(RequestAbstract $request, ResponseAbstract $response, $data = null) : \Serializable
|
public function viewEditorSingle(RequestAbstract $request, ResponseAbstract $response, $data = null) : \Serializable
|
||||||
{
|
{
|
||||||
$view = new View($this->app, $request, $response);
|
$view = new View($this->app, $request, $response);
|
||||||
$view->setTemplate('/Modules/Editor/Theme/Backend/editor');
|
$view->setTemplate('/Modules/Editor/Theme/Backend/editor-single');
|
||||||
$view->addData('nav', $this->app->moduleManager->get('Navigation')->createNavigationMid(1005301001, $request, $response));
|
$view->addData('nav', $this->app->moduleManager->get('Navigation')->createNavigationMid(1005301001, $request, $response));
|
||||||
|
|
||||||
$doc = EditorDocMapper::get((int) $request->getData('id'));
|
$doc = EditorDocMapper::get((int) $request->getData('id'));
|
||||||
|
|
|
||||||
7
Theme/Backend/editor-single.tpl.php
Normal file
7
Theme/Backend/editor-single.tpl.php
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
<?= $this->getData('nav')->render(); ?>
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-xs-12">
|
||||||
|
<?php include 'editor.tpl.php'; ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
@ -19,13 +19,13 @@
|
||||||
|
|
||||||
$doc = $this->getData('doc') ?? null;
|
$doc = $this->getData('doc') ?? null;
|
||||||
?>
|
?>
|
||||||
<section class="box w-100">
|
<section class="box wf-100">
|
||||||
<div class="inner">
|
<div class="inner">
|
||||||
<input type="text" name="title" form="docForm">
|
<input type="text" name="title" form="docForm">
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section class="box w-100">
|
<section class="box wf-100">
|
||||||
<div class="inner">
|
<div class="inner">
|
||||||
<i class="fa fa-header"></i>
|
<i class="fa fa-header"></i>
|
||||||
<i class="fa fa-link"></i>
|
<i class="fa fa-link"></i>
|
||||||
|
|
@ -43,7 +43,7 @@ $doc = $this->getData('doc') ?? null;
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<div class="box w-100">
|
<div class="box wf-100">
|
||||||
<div class="tabular">
|
<div class="tabular">
|
||||||
<ul class="tab-links">
|
<ul class="tab-links">
|
||||||
<li><label for="c-tab-1"><?= $this->getText('Text') ?></label>
|
<li><label for="c-tab-1"><?= $this->getText('Text') ?></label>
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,9 @@
|
||||||
|
|
||||||
echo $this->getData('nav')->render(); ?>
|
echo $this->getData('nav')->render(); ?>
|
||||||
|
|
||||||
<section class="box w-100">
|
<div class="row">
|
||||||
|
<div class="col-xs-12">
|
||||||
|
<section class="box wf-100">
|
||||||
<div class="inner">
|
<div class="inner">
|
||||||
<form id="fEditor" method="POST" action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/editor?csrf={$CSRF}'); ?>">
|
<form id="fEditor" method="POST" action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/editor?csrf={$CSRF}'); ?>">
|
||||||
<input name="title" type="text" class="wf-100">
|
<input name="title" type="text" class="wf-100">
|
||||||
|
|
@ -27,8 +29,12 @@ echo $this->getData('nav')->render(); ?>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="box w-100">
|
<div class="row">
|
||||||
|
<div class="col-xs-12">
|
||||||
|
<div class="box wf-100">
|
||||||
<div class="tabular">
|
<div class="tabular">
|
||||||
<ul class="tab-links">
|
<ul class="tab-links">
|
||||||
<li><label for="c-tab-1"><?= $this->getText('Start') ?></label>
|
<li><label for="c-tab-1"><?= $this->getText('Start') ?></label>
|
||||||
|
|
@ -86,8 +92,12 @@ echo $this->getData('nav')->render(); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="box w-100">
|
<div class="row">
|
||||||
|
<div class="col-xs-12">
|
||||||
|
<div class="box wf-100">
|
||||||
<div class="tabular">
|
<div class="tabular">
|
||||||
<ul class="tab-links">
|
<ul class="tab-links">
|
||||||
<li><label for="c-tab2-1"><?= $this->getText('Text') ?></label>
|
<li><label for="c-tab2-1"><?= $this->getText('Text') ?></label>
|
||||||
|
|
@ -104,8 +114,12 @@ echo $this->getData('nav')->render(); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<section class="box w-100">
|
<div class="row">
|
||||||
|
<div class="col-xs-12">
|
||||||
|
<section class="box wf-100">
|
||||||
<div class="inner">
|
<div class="inner">
|
||||||
<form>
|
<form>
|
||||||
<table class="layout">
|
<table class="layout">
|
||||||
|
|
@ -119,3 +133,5 @@ echo $this->getData('nav')->render(); ?>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,9 @@ $footerView->setPage(1);
|
||||||
$docs = $this->getData('docs');
|
$docs = $this->getData('docs');
|
||||||
|
|
||||||
echo $this->getData('nav')->render(); ?>
|
echo $this->getData('nav')->render(); ?>
|
||||||
<div class="box">
|
<div class="row">
|
||||||
|
<div class="col-xs-12">
|
||||||
|
<div class="box wf-100">
|
||||||
<table class="table">
|
<table class="table">
|
||||||
<caption><?= $this->getText('Documents'); ?></caption>
|
<caption><?= $this->getText('Documents'); ?></caption>
|
||||||
<thead>
|
<thead>
|
||||||
|
|
@ -49,3 +51,5 @@ echo $this->getData('nav')->render(); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user