Compare commits
No commits in common. "8796ae11a8307b28a1c8e0cdbb2cf2dc7b5f8a4e" and "0cdd3ba1cbe8264d13b901725d1a33d276593550" have entirely different histories.
8796ae11a8
...
0cdd3ba1cb
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,4 +1,4 @@
|
||||||
// .hero{
|
.hero{
|
||||||
.search{
|
.search{
|
||||||
.input-group * {
|
.input-group * {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
@ -64,4 +64,4 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// } //end .hero
|
}
|
||||||
|
|
|
@ -30,8 +30,8 @@
|
||||||
}
|
}
|
||||||
&.eu{
|
&.eu{
|
||||||
&::before {
|
&::before {
|
||||||
background-image: url('../img/eu_flag_creative_europe_co_funded_left.svg');
|
// background-image: url('../img/eu_flag_creative_europe_co_funded_left.svg');
|
||||||
//background-image: url('../img/rechts_co-funded-by-the-creative-europe-media-programme-of-the-european-union-flag.png');
|
background-image: url('../img/rechts_co-funded-by-the-creative-europe-media-programme-of-the-european-union-flag.png');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -100,7 +100,7 @@ main {
|
||||||
max-width: 50rem;
|
max-width: 50rem;
|
||||||
}
|
}
|
||||||
@include breakpoint(xlarge){
|
@include breakpoint(xlarge){
|
||||||
// max-width: 50rem;
|
max-width: 50rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -207,12 +207,12 @@ main {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
article {
|
article {
|
||||||
@include breakpoint(small){
|
|
||||||
@include card-container();
|
@include card-container();
|
||||||
@include xy-cell();
|
@include xy-cell();
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
@include breakpoint(small){
|
||||||
font-size: $global-font-size*0.7;
|
font-size: $global-font-size*0.7;
|
||||||
}
|
}
|
||||||
@include breakpoint(medium){
|
@include breakpoint(medium){
|
||||||
|
@ -220,6 +220,7 @@ main {
|
||||||
}
|
}
|
||||||
@include breakpoint(large){
|
@include breakpoint(large){
|
||||||
}
|
}
|
||||||
|
margin-bottom:0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.accordion-content {
|
.accordion-content {
|
||||||
|
@ -305,13 +306,11 @@ main {
|
||||||
@include xy-grid();
|
@include xy-grid();
|
||||||
.slide {
|
.slide {
|
||||||
@include xy-grid;
|
@include xy-grid;
|
||||||
|
justify-content: center;
|
||||||
@include breakpoint(small){
|
@include breakpoint(small){
|
||||||
width: 100vw;
|
width: 100vw;
|
||||||
overflow: hidden;
|
|
||||||
padding: 0;
|
|
||||||
margin: 0;
|
margin: 0;
|
||||||
justify-content: center;
|
padding: $global-padding * 3;
|
||||||
color: $white;
|
|
||||||
.textwidget {
|
.textwidget {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -326,9 +325,9 @@ main {
|
||||||
@include breakpoint(large){
|
@include breakpoint(large){
|
||||||
width: 50%;
|
width: 50%;
|
||||||
height: calc((50vw*9)/16);
|
height: calc((50vw*9)/16);
|
||||||
//padding: 0;
|
padding: 0;
|
||||||
//margin: 0;
|
margin: 0;
|
||||||
//overflow:hidden;
|
overflow:hidden;
|
||||||
a {
|
a {
|
||||||
@include flex;
|
@include flex;
|
||||||
@include flex-align (center,middle);
|
@include flex-align (center,middle);
|
||||||
|
@ -358,6 +357,7 @@ main {
|
||||||
background-color: $primary-color;
|
background-color: $primary-color;
|
||||||
font-variant:all-small-caps;
|
font-variant:all-small-caps;
|
||||||
}
|
}
|
||||||
|
color: $white;
|
||||||
|
|
||||||
.logo {
|
.logo {
|
||||||
@include breakpoint(medium){
|
@include breakpoint(medium){
|
||||||
|
@ -373,22 +373,8 @@ main {
|
||||||
@include xy-cell(auto);
|
@include xy-cell(auto);
|
||||||
@include flex;
|
@include flex;
|
||||||
@include flex-align(spaced,middle);
|
@include flex-align(spaced,middle);
|
||||||
@include breakpoint(small) {
|
min-height: 6rem;
|
||||||
flex-direction: column;
|
|
||||||
min-height: unset;
|
|
||||||
padding: $global-padding;
|
|
||||||
.menu, .menu.horizontal {
|
|
||||||
justify-content: center;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@include breakpoint(large) {
|
|
||||||
flex-direction: row;
|
|
||||||
min-height: $global-padding * 6;
|
|
||||||
padding: $global-padding 0 ;
|
padding: $global-padding 0 ;
|
||||||
.menu, .menu.horizontal {
|
|
||||||
justify-content: unset;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
a {
|
a {
|
||||||
color: $body-font-color;
|
color: $body-font-color;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,31 +1,60 @@
|
||||||
<?php
|
<?php
|
||||||
|
//
|
||||||
|
// as for 2021 07 28 this template is not being used
|
||||||
|
// consider deleting it
|
||||||
|
//
|
||||||
$archiveSiteHelper = $this->getHelperPluginManager()->get('archiveSiteMeta');
|
$archiveSiteHelper = $this->getHelperPluginManager()->get('archiveSiteMeta');
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
<section class="collections-list">
|
||||||
|
|
||||||
|
<header>
|
||||||
|
<h2> Latest in collections</h2>
|
||||||
|
</header>
|
||||||
|
<main class="">
|
||||||
|
<article class="">
|
||||||
|
<ul class="accordion" data-responsive-accordion-tabs="accordion small-accordion" data-multi-expand="true" data-allow-all-closed="true" data-deep-link="true">
|
||||||
|
<li class="accordion-item title" data-accordion-item disabled>
|
||||||
|
<a href="#" class="accordion-title">
|
||||||
|
<ul class="">
|
||||||
|
<li class="title">Title</li>
|
||||||
|
<li class="curator">Artist</li>
|
||||||
|
<li class="collection-name">Collection</li>
|
||||||
|
<li class="date">Date</li>
|
||||||
|
</ul>
|
||||||
|
</a>
|
||||||
|
<div class="accordion-content" data-tab-content>
|
||||||
|
<figure>
|
||||||
|
</figure>
|
||||||
|
<p>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
$collections = [];
|
// read each omeka site to publish
|
||||||
foreach($sites as $site){
|
foreach($sites as $site):
|
||||||
$site_data = $archiveSiteHelper->getSiteMetaValues($site);
|
$site_meta_values = $archiveSiteHelper->getSiteMetaValues($site);
|
||||||
$site_data['id'] = $site->id();
|
// table body build file
|
||||||
$site_data['url'] = $site->siteUrl();
|
echo $this->partial('common/site-list-entry', [
|
||||||
$site_data['title'] = $site->title();
|
'site' => $site,
|
||||||
$site_data['summary'] = nl2br($this->escapeHtml($site->summary()));
|
'showSummary' => $summaries,
|
||||||
array_push($collections, $site_data);
|
'site_meta_values' => $site_meta_values,
|
||||||
}
|
'archive_collections' => $archiveSiteHelper->getCollections(),
|
||||||
//$collections = json_encode($collections, JSON_UNESCAPED_SLASHES);
|
]);
|
||||||
//$collections = json_encode($collections, JSON_HEX_APOS);
|
endforeach;
|
||||||
//$collections = htmlspecialchars(json_encode($collections), ENT_QUOTES, 'UTF-8');
|
|
||||||
//$collections = str_replace("'", "\'", $collections);
|
|
||||||
$collections = htmlentities(json_encode($collections, JSON_HEX_QUOT), ENT_QUOTES, 'UTF-8');
|
|
||||||
//$collections = json_encode($collections);
|
|
||||||
?>
|
?>
|
||||||
|
</ul>
|
||||||
<div data-vue-component="archive-list"
|
</article>
|
||||||
data-collections='<?= $collections ?>'
|
</main>
|
||||||
data-page_size=3>
|
<aside>
|
||||||
</div>
|
<nav>
|
||||||
|
<?php
|
||||||
|
if (1 == 0):
|
||||||
|
//if ($pagination):
|
||||||
<script src="/themes/archive/asset/js/archive-list.js"></script>
|
echo $this->pagination();
|
||||||
|
endif;
|
||||||
|
?>
|
||||||
|
</nav>
|
||||||
|
</aside>
|
||||||
|
</section>
|
||||||
|
|
|
@ -1,22 +1,3 @@
|
||||||
|
|
||||||
|
|
||||||
<!-- arc-hive header-image insert begins -->
|
|
||||||
<?php
|
|
||||||
$img_src = null;
|
|
||||||
$img_src = $this->getHelperPluginManager()->get('headerImage')->getImage();
|
|
||||||
if (!$img_src) {
|
|
||||||
$img_src = $this->assetUrl('img/default-ARC-HIVE-hero-image.jpg');
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
<style>
|
|
||||||
.arc-page-header-img {
|
|
||||||
content: url("<?= $img_src ?>");
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
<?php
|
|
||||||
?>
|
|
||||||
<!-- arc-hive header-image insert ends -->
|
|
||||||
|
|
||||||
<main class="">
|
<main class="">
|
||||||
<a href="<?php echo $site->url(); ?>" class="site-brand arc-hive-off">
|
<a href="<?php echo $site->url(); ?>" class="site-brand arc-hive-off">
|
||||||
<?php if ($this->themeSetting('logo')): ?>
|
<?php if ($this->themeSetting('logo')): ?>
|
||||||
|
|
|
@ -27,5 +27,8 @@
|
||||||
<?= $this->site->title() ?>
|
<?= $this->site->title() ?>
|
||||||
</a>
|
</a>
|
||||||
</h2>
|
</h2>
|
||||||
|
<nav class="">
|
||||||
|
<?php echo $this->partial('common/search-form.phtml'); ?>
|
||||||
|
</nav>
|
||||||
</aside>
|
</aside>
|
||||||
</section>
|
</section>
|
||||||
|
|
|
@ -40,7 +40,7 @@ $form->prepare();
|
||||||
<div id="new-block" class="active sidebar" data-url="<?php echo $this->url('admin/site/slug/page/default', ['action' => 'block'], true); ?>">
|
<div id="new-block" class="active sidebar" data-url="<?php echo $this->url('admin/site/slug/page/default', ['action' => 'block'], true); ?>">
|
||||||
<h3><?php echo $translate('Add new block'); ?></h3>
|
<h3><?php echo $translate('Add new block'); ?></h3>
|
||||||
<?php foreach ($this->blockLayout()->getLayouts() as $layout): ?>
|
<?php foreach ($this->blockLayout()->getLayouts() as $layout): ?>
|
||||||
<?php /* if ($layout == "html") { continue; } */ ?>
|
<?php if ($layout == "html") { continue; } ?>
|
||||||
<?php /* if ($layout == "tableOfContents") { continue; } */ ?>
|
<?php /* if ($layout == "tableOfContents") { continue; } */ ?>
|
||||||
<?php if ($layout == "searchingForm") { continue; } ?>
|
<?php if ($layout == "searchingForm") { continue; } ?>
|
||||||
<button type="button" value="<?php echo $escape($layout); ?>" class="option">
|
<button type="button" value="<?php echo $escape($layout); ?>" class="option">
|
||||||
|
|
|
@ -5,12 +5,9 @@ $showPagePagination = $this->siteSetting('show_page_pagination', true);
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- arc-hive page header-image insert begins -->
|
<!-- arc-hive page header-image insert begins -->
|
||||||
<?php
|
<?php
|
||||||
/*
|
|
||||||
$img_src has already been set at view/common/header-default.phtml
|
|
||||||
We override it here because a page may have it's own header image
|
|
||||||
*/
|
|
||||||
$img_src = null;
|
$img_src = null;
|
||||||
$img_src = $this->getHelperPluginManager()->get('headerImage')->getImage($page);
|
$img_src = $this->getHelperPluginManager()->get('headerImage')->getImage($page);
|
||||||
if (!$img_src) {
|
if (!$img_src) {
|
||||||
|
@ -24,6 +21,7 @@ $img_src = null;
|
||||||
</style>
|
</style>
|
||||||
<?php
|
<?php
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<!-- arc-hive page header-image insert ends -->
|
<!-- arc-hive page header-image insert ends -->
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|
Loading…
Reference in New Issue