mirror of
https://github.com/Karaka-Management/oms-Profile.git
synced 2026-02-16 15:28:41 +00:00
Add more dummy styles
This commit is contained in:
parent
969781992b
commit
a07b70e3dc
|
|
@ -22,6 +22,7 @@ use phpOMS\Module\ModuleAbstract;
|
||||||
use phpOMS\Module\WebInterface;
|
use phpOMS\Module\WebInterface;
|
||||||
use phpOMS\Views\View;
|
use phpOMS\Views\View;
|
||||||
use phpOMS\Views\ViewLayout;
|
use phpOMS\Views\ViewLayout;
|
||||||
|
use phpOMS\Asset\AssetType;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Profile class.
|
* Profile class.
|
||||||
|
|
|
||||||
3
Theme/Backend/css/styles.css
Normal file
3
Theme/Backend/css/styles.css
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
img.m-profile {
|
||||||
|
padding: 5px;
|
||||||
|
border: 1px solid #ccc; }
|
||||||
|
|
@ -0,0 +1,4 @@
|
||||||
|
img.m-profile {
|
||||||
|
padding: 5px;
|
||||||
|
border: 1px solid #ccc;
|
||||||
|
}
|
||||||
|
|
@ -34,7 +34,7 @@ echo $this->getData('nav')->render();
|
||||||
<!-- @formatter:off -->
|
<!-- @formatter:off -->
|
||||||
<table class="list">
|
<table class="list">
|
||||||
<tr>
|
<tr>
|
||||||
<th><?= $this->getHtml('Name') ?><img alt="<?= $this->getHtml('ProfileImage'); ?>" src="<?= $account->getImage() instanceof \Modules\Media\Models\NullMedia ? \phpOMS\Uri\UriFactory::build('{/base}/Web/Backend/img/user_default_' . mt_rand(1, 6) .'.png') : $account->getImage()->getPath(); ?>">
|
<th><?= $this->getHtml('Name') ?><img class="m-profile" alt="<?= $this->getHtml('ProfileImage'); ?>" src="<?= $account->getImage() instanceof \Modules\Media\Models\NullMedia ? \phpOMS\Uri\UriFactory::build('{/base}/Web/Backend/img/user_default_' . mt_rand(1, 6) .'.png') : $account->getImage()->getPath(); ?>">
|
||||||
<td><span itemprop="familyName"><?= htmlspecialchars($account->getAccount()->getName3(), ENT_COMPAT, 'utf-8'); ?></span>, <span itemprop="givenName"><?= htmlspecialchars($account->getAccount()->getName1(), ENT_COMPAT, 'utf-8'); ?></span>
|
<td><span itemprop="familyName"><?= htmlspecialchars($account->getAccount()->getName3(), ENT_COMPAT, 'utf-8'); ?></span>, <span itemprop="givenName"><?= htmlspecialchars($account->getAccount()->getName1(), ENT_COMPAT, 'utf-8'); ?></span>
|
||||||
<tr>
|
<tr>
|
||||||
<th><?= $this->getHtml('Occupation') ?>
|
<th><?= $this->getHtml('Occupation') ?>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user