Compare commits
8 Commits
6f77deb6ed
...
5196290f91
Author | SHA1 | Date |
---|---|---|
jorge | 5196290f91 | |
jorge | 81dff27d00 | |
buttle | 80d30b5369 | |
chris | 364d45d7fe | |
jorge | 4d6e898e74 | |
chris | b27ed67638 | |
jorge | 8ea4b85d9c | |
jorge | 0f90fb0c1e |
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,6 +41,10 @@ main {
|
|||
text-align: center;
|
||||
}
|
||||
}
|
||||
section {
|
||||
padding: $global-padding $global-padding*2;
|
||||
//margin: $global-margin;
|
||||
}
|
||||
.entry-content {
|
||||
@include breakpoint(small){
|
||||
@include xy-cell(12);
|
||||
|
|
|
@ -28,6 +28,7 @@ function serve() {
|
|||
});
|
||||
|
||||
gulp.watch("asset/scss/*.scss", sass);
|
||||
gulp.watch("asset/scss/*/*.scss", sass);
|
||||
gulp.watch("*.html").on('change', browserSync.reload);
|
||||
}
|
||||
|
||||
|
|
|
@ -15,6 +15,7 @@ $this->headLink()->prependStylesheet($this->assetUrl('css/iconfonts.css', 'Omeka
|
|||
// 'integrity' => 'sha256-/PFxCnsMh+nTuM0k3VJCRch1gwnCfKjaP8rJNq5SoBg= sha384-9ksAFjQjZnpqt6VtpjMjlp2S0qrGbcwF/rvrLUg2vciMhwc1UJJeAAOLuJ96w+Nj sha512-UMSn6RHqqJeJcIfV1eS2tPKCjzaHkU/KqgAnQ7Nzn0mLicFxaVhm9vq7zG5+0LALt15j1ljlg8Fp9PT1VGNmDw==',
|
||||
// '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/expand-site-list-item.js'));
|
||||
|
@ -93,7 +94,7 @@ endif;
|
|||
<!-- </div> -->
|
||||
</content>
|
||||
<script>
|
||||
$(document).foundation();
|
||||
//$(document).foundation();
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
|
|
@ -7,34 +7,29 @@ $itemMedia = $item->media();
|
|||
$showLayout = $this->themeSetting('show_layout');
|
||||
?>
|
||||
|
||||
<!-- arc-hive insert begins -->
|
||||
<!-- arc-hive page header-image insert begins -->
|
||||
<?php
|
||||
//$site->pages();
|
||||
// set header image
|
||||
$img_src = null;
|
||||
$img_src = $this->getHelperPluginManager()->get('archiveSiteMeta')->getSiteImage($site);
|
||||
if (!$img_src) {
|
||||
$img_src = '/themes/archive/asset/img/default-header-image.jpg';
|
||||
}
|
||||
if ($this->site->title() == "Collections") {
|
||||
$image_height = "300px";
|
||||
} else {
|
||||
$image_height = "200px";
|
||||
$img_src = $this->assetUrl('img/ARC-HIVE-logo.svg');
|
||||
}
|
||||
?>
|
||||
<style>
|
||||
#archive_header_img {
|
||||
background: url("<?= $img_src ?>") no-repeat;
|
||||
width: 100%;
|
||||
height: <?= $image_height ?>;
|
||||
.arc-page-header-img {
|
||||
content: url("<?= $img_src ?>");
|
||||
}
|
||||
</style>
|
||||
<?php
|
||||
?>
|
||||
<script>
|
||||
<?php
|
||||
$_html = '<a href="'.$this->site->url().'">'.$this->site->title().'</a>';
|
||||
?>
|
||||
$("#archive_page_title").html('<?php echo $_html ?>');
|
||||
</script>
|
||||
<!-- arc-hive insert ends -->
|
||||
<!-- arc-hive page header-image insert ends -->
|
||||
|
||||
|
||||
|
||||
<div class="resource-title">
|
||||
|
|
|
@ -3,33 +3,28 @@ $translate = $this->plugin('translate');
|
|||
?>
|
||||
<?php $this->htmlElement('body')->appendAttribute('class', 'media resource show'); ?>
|
||||
|
||||
<!-- arc-hive insert begins -->
|
||||
<!-- arc-hive page header-image insert begins -->
|
||||
<?php
|
||||
//$site->pages();
|
||||
$img_src = null;
|
||||
$img_src = $this->getHelperPluginManager()->get('archiveSiteMeta')->getSiteImage($site);
|
||||
if (!$img_src) {
|
||||
$img_src = '/themes/archive/asset/img/default-header-image.jpg';
|
||||
}
|
||||
if ($this->site->title() == "Collections") {
|
||||
$image_height = "300px";
|
||||
} else {
|
||||
$image_height = "200px";
|
||||
$img_src = $this->assetUrl('img/ARC-HIVE-logo.svg');
|
||||
}
|
||||
?>
|
||||
<style>
|
||||
#archive_header_img {
|
||||
background: url("<?= $img_src ?>") no-repeat;
|
||||
width: 100%;
|
||||
height: <?= $image_height ?>;
|
||||
.arc-page-header-img {
|
||||
content: url("<?= $img_src ?>");
|
||||
}
|
||||
</style>
|
||||
<?php
|
||||
?>
|
||||
<script>
|
||||
<?php
|
||||
$_html = '<a href="'.$this->site->url().'">'.$this->site->title().'</a>';
|
||||
?>
|
||||
$("#archive_page_title").html('<?php echo $_html ?>');
|
||||
</script>
|
||||
<!-- arc-hive insert ends -->
|
||||
<!-- arc-hive page header-image insert ends -->
|
||||
|
||||
|
||||
<div class="resource-title">
|
||||
|
|
Loading…
Reference in New Issue