Add more dummy styles

This commit is contained in:
Dennis Eichhorn 2017-08-10 21:15:45 +02:00
parent 969781992b
commit a07b70e3dc
4 changed files with 9 additions and 1 deletions

View File

@ -22,6 +22,7 @@ use phpOMS\Module\ModuleAbstract;
use phpOMS\Module\WebInterface;
use phpOMS\Views\View;
use phpOMS\Views\ViewLayout;
use phpOMS\Asset\AssetType;
/**
* Profile class.

View File

@ -0,0 +1,3 @@
img.m-profile {
padding: 5px;
border: 1px solid #ccc; }

View File

@ -0,0 +1,4 @@
img.m-profile {
padding: 5px;
border: 1px solid #ccc;
}

View File

@ -34,7 +34,7 @@ echo $this->getData('nav')->render();
<!-- @formatter:off -->
<table class="list">
<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>
<tr>
<th><?= $this->getHtml('Occupation') ?>