Compare commits
No commits in common. "5196290f914a086083222f6c91521113bc04cad1" and "6f77deb6eda66092c86415ea40b555185c24bab7" have entirely different histories.
5196290f91
...
6f77deb6ed
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -41,10 +41,6 @@ main {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
section {
|
|
||||||
padding: $global-padding $global-padding*2;
|
|
||||||
//margin: $global-margin;
|
|
||||||
}
|
|
||||||
.entry-content {
|
.entry-content {
|
||||||
@include breakpoint(small){
|
@include breakpoint(small){
|
||||||
@include xy-cell(12);
|
@include xy-cell(12);
|
||||||
|
|
|
@ -28,7 +28,6 @@ function serve() {
|
||||||
});
|
});
|
||||||
|
|
||||||
gulp.watch("asset/scss/*.scss", sass);
|
gulp.watch("asset/scss/*.scss", sass);
|
||||||
gulp.watch("asset/scss/*/*.scss", sass);
|
|
||||||
gulp.watch("*.html").on('change', browserSync.reload);
|
gulp.watch("*.html").on('change', browserSync.reload);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,6 @@ $this->headLink()->prependStylesheet($this->assetUrl('css/iconfonts.css', 'Omeka
|
||||||
// 'integrity' => 'sha256-/PFxCnsMh+nTuM0k3VJCRch1gwnCfKjaP8rJNq5SoBg= sha384-9ksAFjQjZnpqt6VtpjMjlp2S0qrGbcwF/rvrLUg2vciMhwc1UJJeAAOLuJ96w+Nj sha512-UMSn6RHqqJeJcIfV1eS2tPKCjzaHkU/KqgAnQ7Nzn0mLicFxaVhm9vq7zG5+0LALt15j1ljlg8Fp9PT1VGNmDw==',
|
// 'integrity' => 'sha256-/PFxCnsMh+nTuM0k3VJCRch1gwnCfKjaP8rJNq5SoBg= sha384-9ksAFjQjZnpqt6VtpjMjlp2S0qrGbcwF/rvrLUg2vciMhwc1UJJeAAOLuJ96w+Nj sha512-UMSn6RHqqJeJcIfV1eS2tPKCjzaHkU/KqgAnQ7Nzn0mLicFxaVhm9vq7zG5+0LALt15j1ljlg8Fp9PT1VGNmDw==',
|
||||||
// 'crossorigin' => 'anonymous'
|
// 'crossorigin' => 'anonymous'
|
||||||
// ]);
|
// ]);
|
||||||
$this->headScript()->prependFile($this->assetUrl('js/foundation.js'));
|
|
||||||
$this->headScript()->prependFile($this->assetUrl('js/global.js', 'Omeka'));
|
$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'));
|
||||||
|
@ -94,7 +93,7 @@ endif;
|
||||||
<!-- </div> -->
|
<!-- </div> -->
|
||||||
</content>
|
</content>
|
||||||
<script>
|
<script>
|
||||||
//$(document).foundation();
|
$(document).foundation();
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -7,29 +7,34 @@ $itemMedia = $item->media();
|
||||||
$showLayout = $this->themeSetting('show_layout');
|
$showLayout = $this->themeSetting('show_layout');
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<!-- arc-hive page header-image insert begins -->
|
<!-- arc-hive insert begins -->
|
||||||
<?php
|
<?php
|
||||||
$img_src = null;
|
//$site->pages();
|
||||||
$img_src = $this->getHelperPluginManager()->get('archiveSiteMeta')->getSiteImage($site);
|
// set header image
|
||||||
if (!$img_src) {
|
$img_src = $this->getHelperPluginManager()->get('archiveSiteMeta')->getSiteImage($site);
|
||||||
$img_src = $this->assetUrl('img/ARC-HIVE-logo.svg');
|
if (!$img_src) {
|
||||||
}
|
$img_src = '/themes/archive/asset/img/default-header-image.jpg';
|
||||||
?>
|
}
|
||||||
<style>
|
if ($this->site->title() == "Collections") {
|
||||||
.arc-page-header-img {
|
$image_height = "300px";
|
||||||
content: url("<?= $img_src ?>");
|
} else {
|
||||||
}
|
$image_height = "200px";
|
||||||
</style>
|
}
|
||||||
<?php
|
|
||||||
?>
|
?>
|
||||||
|
<style>
|
||||||
|
#archive_header_img {
|
||||||
|
background: url("<?= $img_src ?>") no-repeat;
|
||||||
|
width: 100%;
|
||||||
|
height: <?= $image_height ?>;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
<script>
|
<script>
|
||||||
<?php
|
<?php
|
||||||
$_html = '<a href="'.$this->site->url().'">'.$this->site->title().'</a>';
|
$_html = '<a href="'.$this->site->url().'">'.$this->site->title().'</a>';
|
||||||
?>
|
?>
|
||||||
$("#archive_page_title").html('<?php echo $_html ?>');
|
$("#archive_page_title").html('<?php echo $_html ?>');
|
||||||
</script>
|
</script>
|
||||||
<!-- arc-hive page header-image insert ends -->
|
<!-- arc-hive insert ends -->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="resource-title">
|
<div class="resource-title">
|
||||||
|
|
|
@ -3,28 +3,33 @@ $translate = $this->plugin('translate');
|
||||||
?>
|
?>
|
||||||
<?php $this->htmlElement('body')->appendAttribute('class', 'media resource show'); ?>
|
<?php $this->htmlElement('body')->appendAttribute('class', 'media resource show'); ?>
|
||||||
|
|
||||||
<!-- arc-hive page header-image insert begins -->
|
<!-- arc-hive insert begins -->
|
||||||
<?php
|
<?php
|
||||||
$img_src = null;
|
//$site->pages();
|
||||||
$img_src = $this->getHelperPluginManager()->get('archiveSiteMeta')->getSiteImage($site);
|
$img_src = $this->getHelperPluginManager()->get('archiveSiteMeta')->getSiteImage($site);
|
||||||
if (!$img_src) {
|
if (!$img_src) {
|
||||||
$img_src = $this->assetUrl('img/ARC-HIVE-logo.svg');
|
$img_src = '/themes/archive/asset/img/default-header-image.jpg';
|
||||||
}
|
}
|
||||||
?>
|
if ($this->site->title() == "Collections") {
|
||||||
<style>
|
$image_height = "300px";
|
||||||
.arc-page-header-img {
|
} else {
|
||||||
content: url("<?= $img_src ?>");
|
$image_height = "200px";
|
||||||
}
|
}
|
||||||
</style>
|
|
||||||
<?php
|
|
||||||
?>
|
?>
|
||||||
|
<style>
|
||||||
|
#archive_header_img {
|
||||||
|
background: url("<?= $img_src ?>") no-repeat;
|
||||||
|
width: 100%;
|
||||||
|
height: <?= $image_height ?>;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
<script>
|
<script>
|
||||||
<?php
|
<?php
|
||||||
$_html = '<a href="'.$this->site->url().'">'.$this->site->title().'</a>';
|
$_html = '<a href="'.$this->site->url().'">'.$this->site->title().'</a>';
|
||||||
?>
|
?>
|
||||||
$("#archive_page_title").html('<?php echo $_html ?>');
|
$("#archive_page_title").html('<?php echo $_html ?>');
|
||||||
</script>
|
</script>
|
||||||
<!-- arc-hive page header-image insert ends -->
|
<!-- arc-hive insert ends -->
|
||||||
|
|
||||||
|
|
||||||
<div class="resource-title">
|
<div class="resource-title">
|
||||||
|
|
Loading…
Reference in New Issue