mirror of
https://github.com/Karaka-Management/oms-Tag.git
synced 2026-01-10 15:28:39 +00:00
bump
This commit is contained in:
parent
aea0c271c5
commit
6cb5b61c31
|
|
@ -22,14 +22,20 @@ echo $this->data['nav']->render(); ?>
|
|||
<form id="fUnitCreate" method="put" action="<?= UriFactory::build('{/api}tag'); ?>">
|
||||
<div class="portlet-head"><?= $this->getHtml('Tag'); ?></div>
|
||||
<div class="portlet-body">
|
||||
<table class="layout wf-100" style="table-layout: fixed">
|
||||
<tr><td><label for="iTitle"><?= $this->getHtml('Title'); ?></label>
|
||||
<tr><td><input type="text" name="title" id="iTitle" placeholder="oms" required>
|
||||
<tr><td><label for="iColor"><?= $this->getHtml('Color'); ?></label>
|
||||
<tr><td><input type="color" name="color" id="iColor"required>
|
||||
<tr><td><label for="iIcon"><?= $this->getHtml('Icon'); ?></label>
|
||||
<tr><td><input type="text" name="icon" id="iIcon" placeholder="oms" value="<?= $this->printHtml($tag->icon); ?>">
|
||||
</table>
|
||||
<div class="form-group">
|
||||
<label for="iTitle"><?= $this->getHtml('Title'); ?></label>
|
||||
<input type="text" name="title" id="iTitle" placeholder="oms" required>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="iColor"><?= $this->getHtml('Color'); ?></label>
|
||||
<input type="color" name="color" id="iColor"required>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="iIcon"><?= $this->getHtml('Icon'); ?></label>
|
||||
<input type="text" name="icon" id="iIcon" placeholder="oms" value="<?= $this->printHtml($tag->icon); ?>">
|
||||
</div>
|
||||
</div>
|
||||
<div class="portlet-foot">
|
||||
<input id="iSubmit" name="submit" type="submit" value="<?= $this->getHtml('Create', '0', '0'); ?>">
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ echo $this->data['nav']->render(); ?>
|
|||
<?php $count = 0; foreach ($this->data['tags'] as $key => $value) : ++$count;
|
||||
$url = UriFactory::build('{/base}/tag/view?{?}&id=' . $value->id); ?>
|
||||
<tr tabindex="0" data-href="<?= $url; ?>">
|
||||
<td data-label="<?= $this->getHtml('Title'); ?>"><a href="<?= $url; ?>"><span class="tag" style="background: <?= $this->printHtml(\substr($value->color, 0, 7)); ?>"> <?= $value->icon !== null ? '<i class="' . $this->printHtml($value->icon ?? '') . '"></i>' : ' '; ?> </span></a>
|
||||
<td data-label="<?= $this->getHtml('Title'); ?>"><a href="<?= $url; ?>"><span class="tag" style="background: <?= $this->printHtml(\substr($value->color, 0, 7)); ?>"> <?= $value->icon !== null ? '<i class="g-icon">' . $this->printHtml($value->icon ?? '') . '</i>' : ' '; ?> </span></a>
|
||||
<td data-label="<?= $this->getHtml('Title'); ?>"><a href="<?= $url; ?>"><?= $this->printHtml($value->getL11n()); ?></a>
|
||||
|
||||
<?php endforeach; ?>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user