adds arc-hive logo

This commit is contained in:
buttle 2021-05-22 15:29:53 +02:00
parent 18e68ce308
commit 4cdcfcf443
6 changed files with 31 additions and 4 deletions

8
asset/css/archive.css Normal file
View File

@ -0,0 +1,8 @@
.archive-logo {
width: 80px;
}
.archive-page-title {
text-align: center;
}

BIN
asset/img/arc-hive-logo.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 241 KiB

View File

@ -20,6 +20,7 @@ $this->headScript()->prependFile($this->assetUrl('js/global.js', 'Omeka'));
$this->headScript()->prependFile($this->assetUrl('js/expand-site-list-item.js')); $this->headScript()->prependFile($this->assetUrl('js/expand-site-list-item.js'));
$this->headScript()->prependFile($this->assetUrl('vendor/jquery/jquery.min.js', 'Omeka')); $this->headScript()->prependFile($this->assetUrl('vendor/jquery/jquery.min.js', 'Omeka'));
$this->headLink()->prependStylesheet($this->assetUrl("css/archive.css"));
$this->trigger('view.layout'); $this->trigger('view.layout');
$title = $this->pageTitle($site->title()); $title = $this->pageTitle($site->title());
$userBar = $this->userBar(); $userBar = $this->userBar();
@ -29,11 +30,12 @@ $this->htmlElement('body')->appendAttribute('class', $navLayout . '-menu');
if ($userBar) { if ($userBar) {
$this->htmlElement('body')->appendAttribute('class', 'user-bar'); $this->htmlElement('body')->appendAttribute('class', 'user-bar');
} }
/*
$logo = $this->themeSettingAssetUrl('logo'); $logo = $this->themeSettingAssetUrl('logo');
if ($logo): if ($logo):
$title = '<img src="' . $this->escapeHtml($logo) . '">'; $title = '<img src="' . $this->escapeHtml($logo) . '">';
endif; endif;
*/
?> ?>
<?php echo $this->doctype(); ?> <?php echo $this->doctype(); ?>
<?php echo $this->htmlElement('html'); ?> <?php echo $this->htmlElement('html'); ?>
@ -58,8 +60,18 @@ endif;
<a id="skipnav" href="#content"><?php echo $this->translate('Skip to main content'); ?></a> <a id="skipnav" href="#content"><?php echo $this->translate('Skip to main content'); ?></a>
<?php echo $userBar; ?> <?php echo $userBar; ?>
<a href="http://arc-hive.zone">
<img class="archive-logo"
src="<?= $this->assetUrl("img/arc-hive-logo.jpg") ?>"
/>
</a>
<img id="archive_header_img" /> <img id="archive_header_img" />
<h1 id="archive_page_title"
class="archive-page-title">
</h1>
<?php <?php
//echo $page; //echo $page;
//echo $this->container; //echo $this->container;

View File

@ -47,7 +47,7 @@ $collections = $archiveSiteHelper->getCollections();
<thead> <thead>
<tr> <tr>
<th>Site</th> <th>Site</th>
<th>Curator</th> <th>Artist</th>
<th>Collection</th> <th>Collection</th>
<th>Date</th> <th>Date</th>
</tr> </tr>

View File

@ -31,7 +31,6 @@ if ($img_src) {
<div class="resource-title"> <div class="resource-title">
<?php echo $this->pageTitle($item->displayTitle(), 2); ?> <?php echo $this->pageTitle($item->displayTitle(), 2); ?>
<h3 class="label"><?php echo $translate('Item'); ?></h3>
</div> </div>
<div class="grid-x"> <div class="grid-x">

View File

@ -26,7 +26,15 @@ if ($img_src) {
</style> </style>
<?php } ?> <?php } ?>
<?php /* echo $page->id(); */ ?> <script>
$("#archive_page_title").html('<?= $site->title(); ?>');
</script>
<?php /*
echo $page->id();
$this->pageTitle($page->title());
*/
?>
<?php <?php
$nav = $site->publicNav(); $nav = $site->publicNav();