Template/Update (Part 45)
* convert misc admin endpoints
This commit is contained in:
parent
3f8a1838c0
commit
ab27976132
10 changed files with 438 additions and 631 deletions
|
|
@ -1,6 +1,8 @@
|
|||
<?php namespace Aowow; ?>
|
||||
<?php
|
||||
namespace Aowow\Template;
|
||||
|
||||
<?php $this->brick('header'); ?>
|
||||
$this->brick('header');
|
||||
?>
|
||||
|
||||
<script type="text/javascript">
|
||||
</script>
|
||||
|
|
@ -15,39 +17,15 @@ $this->brick('announcement');
|
|||
$this->brick('pageTemplate');
|
||||
?>
|
||||
<div class="text">
|
||||
<h1><?=$this->name;?></h1>
|
||||
<h1><?=$this->h1;?></h1>
|
||||
|
||||
<?php
|
||||
$this->brick('article');
|
||||
$this->brick('markup', ['markup' => $this->article]);
|
||||
|
||||
if (isset($this->extraText)):
|
||||
$this->brick('markup', ['markup' => $this->extraText]);
|
||||
|
||||
echo $this->extraHTML ?? '';
|
||||
?>
|
||||
<div id="text-generic" class="left"></div>
|
||||
<script type="text/javascript">//<![CDATA[
|
||||
Markup.printHtml("<?=Util::jsEscape($this->extraText);?>", "text-generic", {
|
||||
allow: Markup.CLASS_ADMIN,
|
||||
dbpage: true
|
||||
});
|
||||
//]]></script>
|
||||
|
||||
<div class="pad2"></div>
|
||||
<?php
|
||||
endif;
|
||||
|
||||
if (isset($this->extraHTML)):
|
||||
echo $this->extraHTML;
|
||||
endif;
|
||||
?>
|
||||
<h2>Edit<span id="wt-name"></span><span id="status-ic" style="float:right;"></span></h2>
|
||||
<div class="wt-edit">
|
||||
<div style="display:inline-block; vertical-align:top;"><div class="pad2" style="color: white; font-size: 15px; font-weight: bold;">Icon</div><input type="text" id="wt-icon" size="30" /></div>
|
||||
<div id="ic-container" style="display: inline-block; clear: left;"></div>
|
||||
</div>
|
||||
<div class="wt-edit">
|
||||
<div class="pad2" style="color: white; font-size: 15px; font-weight: bold;">Scale</div>
|
||||
<div id="su-container"></div>
|
||||
</div>
|
||||
<div id="su-controls" class="wt-edit" style="width:auto;"></div>
|
||||
</div>
|
||||
</div><!-- main-contents -->
|
||||
</div><!-- main -->
|
||||
|
|
|
|||
|
|
@ -1,6 +1,8 @@
|
|||
<?php namespace Aowow; ?>
|
||||
<?php
|
||||
namespace Aowow\Template;
|
||||
|
||||
<?php $this->brick('header'); ?>
|
||||
$this->brick('header');
|
||||
?>
|
||||
|
||||
<script type="text/javascript">
|
||||
var SummaryAdmin = {
|
||||
|
|
@ -553,28 +555,14 @@ $this->brick('announcement');
|
|||
$this->brick('pageTemplate');
|
||||
?>
|
||||
<div class="text">
|
||||
<h1><?=$this->name;?></h1>
|
||||
<h1><?=$this->h1;?></h1>
|
||||
|
||||
<?php
|
||||
$this->brick('article');
|
||||
$this->brick('markup', ['markup' => $this->article]);
|
||||
|
||||
if (isset($this->extraText)):
|
||||
?>
|
||||
<div id="text-generic" class="left"></div>
|
||||
<script type="text/javascript">//<![CDATA[
|
||||
Markup.printHtml("<?=Util::jsEscape($this->extraText);?>", "text-generic", {
|
||||
allow: Markup.CLASS_ADMIN,
|
||||
dbpage: true
|
||||
});
|
||||
//]]></script>
|
||||
$this->brick('markup', ['markup' => $this->extraText]);
|
||||
|
||||
<div class="pad2"></div>
|
||||
<?php
|
||||
endif;
|
||||
|
||||
if (isset($this->extraHTML)):
|
||||
echo $this->extraHTML;
|
||||
endif;
|
||||
echo $this->extraHTML ?? '';
|
||||
?>
|
||||
<h2>Edit<span id="wt-name"></span><span id="status-ic" style="float:right;"></span></h2>
|
||||
<div class="wt-edit">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue