mirror of
https://github.com/Karaka-Management/oms-Profile.git
synced 2026-02-13 22:28:41 +00:00
General template fixes
This commit is contained in:
parent
b5e4e82086
commit
2ff764eb53
|
|
@ -31,9 +31,9 @@
|
||||||
{"key": 5, "type": "dom.setvalue", "overwrite": true, "selector": "#<?= $this->printHtml($this->getId()); ?>", "value": "", "data": ""}
|
{"key": 5, "type": "dom.setvalue", "overwrite": true, "selector": "#<?= $this->printHtml($this->getId()); ?>", "value": "", "data": ""}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]'<?= $this->isRequired() ? ' required' : ''; ?>>
|
]'>
|
||||||
<datalist id="<?= $this->printHtml($this->getId()); ?>-datalist"></datalist>
|
<datalist id="<?= $this->printHtml($this->getId()); ?>-datalist"></datalist>
|
||||||
<input type="hidden" id="<?= $this->printHtml($this->getId()); ?>-idlist">
|
<input type="hidden" id="<?= $this->printHtml($this->getId()); ?>-idlist"<?= $this->isRequired() ? ' required' : ''; ?>>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="ipt-second"><button><?= $this->getHtml('Add', 0, 0); ?></button></div>
|
<div class="ipt-second"><button><?= $this->getHtml('Add', 0, 0); ?></button></div>
|
||||||
|
|
@ -41,9 +41,9 @@
|
||||||
<div class="box taglist" id="<?= $this->printHtml($this->getId()); ?>-taglist" data-action='[
|
<div class="box taglist" id="<?= $this->printHtml($this->getId()); ?>-taglist" data-action='[
|
||||||
{
|
{
|
||||||
"key": 1, "listener": "click", "selector": "#<?= $this->printHtml($this->getId()); ?>-taglist span fa", "action": [
|
"key": 1, "listener": "click", "selector": "#<?= $this->printHtml($this->getId()); ?>-taglist span fa", "action": [
|
||||||
{"key": 2, "type": "dom.getvalue", "base": "self"},
|
{"key": 1, "type": "dom.getvalue", "base": "self"},
|
||||||
{"key": 3, "type": "dom.removevalue", "selector": "#<?= $this->printHtml($this->getId()); ?>-idlist", "data": ""}
|
{"key": 2, "type": "dom.removevalue", "selector": "#<?= $this->printHtml($this->getId()); ?>-idlist", "data": ""},
|
||||||
{"key": 1, "type": "dom.remove", "base": "self"},
|
{"key": 3, "type": "dom.remove", "base": "self"}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]'></div>
|
]'></div>
|
||||||
|
|
@ -28,7 +28,7 @@ echo $this->getData('nav')->render();
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-xs-12 col-md-6">
|
<div class="col-xs-12 col-md-6">
|
||||||
<section itemscope itemtype="http://schema.org/Person" class="box wf-100">
|
<section itemscope itemtype="http://schema.org/Person" class="box wf-100">
|
||||||
<header><h1><span itemprop="familyName"><?= $this->printHtml($account->getAccount()->getName3()); ?></span>, <span itemprop="givenName"><?= $this->printHtml($account->getAccount()->getName1()); ?></span></h1></header>
|
<header><h1><span itemprop="familyName"><?= $this->printHtml(empty($account->getAccount()->getName3()) ? $account->getAccount()->getName2() : $account->getAccount()->getName3()); ?></span>, <span itemprop="givenName"><?= $this->printHtml($account->getAccount()->getName1()); ?></span></h1></header>
|
||||||
<div class="inner">
|
<div class="inner">
|
||||||
<!-- @formatter:off -->
|
<!-- @formatter:off -->
|
||||||
<span class="rf"><img class="m-profile rf" alt="<?= $this->getHtml('ProfileImage'); ?>" data-lazyload="<?= $account->getImage() instanceof \Modules\Media\Models\NullMedia ? \phpOMS\Uri\UriFactory::build('/Web/Backend/img/user_default_' . mt_rand(1, 6) .'.png') : \phpOMS\Uri\UriFactory::build('/' . $account->getImage()->getPath()); ?>">
|
<span class="rf"><img class="m-profile rf" alt="<?= $this->getHtml('ProfileImage'); ?>" data-lazyload="<?= $account->getImage() instanceof \Modules\Media\Models\NullMedia ? \phpOMS\Uri\UriFactory::build('/Web/Backend/img/user_default_' . mt_rand(1, 6) .'.png') : \phpOMS\Uri\UriFactory::build('/' . $account->getImage()->getPath()); ?>">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user