diff options
Diffstat (limited to 'app/view/templates/edit.php')
-rw-r--r-- | app/view/templates/edit.php | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/app/view/templates/edit.php b/app/view/templates/edit.php new file mode 100644 index 0000000..33d42f4 --- /dev/null +++ b/app/view/templates/edit.php @@ -0,0 +1,35 @@ +<?php $this->layout('layout', ['title' => '✏ '.$art->title()]) ?> + + + + +<?php $this->start('page') ?> + +<style>.tabs textarea{font-size: <?= Config::fontsize() ?>px}</style> + +<body> +<section class="editor"> + + <?php $this->insert('navart', ['user' => $user, 'art' => $art, 'artexist' => $artexist]) ?> + + + + <?php $this->insert('edittopbar', ['art' => $art]) ?> + + <div id="workspace"> + + <?php $this->insert('editleftbar', ['art' => $art, 'tablist' => $tablist, 'artlist' => $artlist, 'showleftpanel' => $showleftpanel]) ?> + <?php $this->insert('edittabs', ['tablist' => $tablist, 'opentab' => $art->interface()]) ?> + <?php $this->insert('editrightbar', ['art' => $art, 'artlist' => $artlist, 'showrightpanel' => $showrightpanel]) ?> + + </div> + + +<input type="hidden" name="id" value="<?= $art->id() ?>"> + +</form> + +</section> +</body> + +<?php $this->stop() ?>
\ No newline at end of file |