This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php echo head(array( | |
'title' => nl_getExhibitField('title'), | |
'bodyclass' => 'neatline show' | |
)); ?> | |
<!-- Exhibit title: --> | |
<h1><?php echo nl_getExhibitField('title'); ?></h1> | |
<!-- "View Fullscreen" link: --> | |
<?php echo nl_getExhibitLink( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php echo head(array( | |
'title' => nl_getExhibitField('title'), | |
'bodyclass' => 'neatline show' | |
)); ?> | |
<!-- Narrative --> | |
<div id="neatline-narrative" class="narrative"> | |
<!-- Content. --> | |
<h1>Project Gemini over Baja California Sur</h1> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Texts. --> | |
<?php echo all_element_texts('item'); ?> | |
<!-- Files. --> | |
<?php if (metadata('item', 'has files')): ?> | |
<h3><?php echo __('Files'); ?></h3> | |
<?php echo files_for_item(); ?> | |
<?php endif; ?> | |
<hr /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Title. --> | |
<?php echo metadata('item', array('Dublin Core', 'Title')); ?> | |
<!-- Thumbnail. --> | |
<?php echo files_for_item(); ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Title. --> | |
<?php echo metadata('item', array('Dublin Core', 'Title')); ?> | |
<!-- Text. --> | |
<?php echo metadata('item', array('Item Type Metadata', 'Text')); ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Layer Group Name": [ | |
{ | |
"title": "First MBTiles Layer", | |
"id": "something-unique", | |
"type": "XYZ", | |
"properties": { | |
"urls": [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'capistrano/ext/multistage' | |
require 'omeka-recipes' | |
set :scm, :git | |
set :application, "labs" | |
set :repository, "git://github.com/omeka/Omeka.git" | |
set :branch, 'stable-2.1' | |
set :deploy_to, "/usr/local/projects/#{application}" | |
set :default_stage, "production" | |
set :keep_releases, 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var overlay = $('#overlay'); | |
var map = $('#map'); | |
// Cache the right border of the overlay. | |
var overlayWidth = overlay.outerWidth() + overlay.offset().left; | |
var position = function() { | |
// Map width = window width + overlay width. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var a = 'javascripts/oversoul/'; | |
var v = 'javascripts/vendor/'; | |
load( | |
// jQuery and Underscore. | |
v+'jquery/jquery.js', | |
v+'underscore/underscore.js' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE TABLE IF NOT EXISTS neatline_data_records ( | |
id int(10) unsigned not null auto_increment, | |
item_id int(10) unsigned NULL, | |
exhibit_id int(10) unsigned NULL, | |
title tinytext COLLATE utf8_unicode_ci NULL, | |
slug varchar(100) NULL, | |
description mediumtext COLLATE utf8_unicode_ci NULL, | |
start_date tinytext COLLATE utf8_unicode_ci NULL, | |
end_date tinytext COLLATE utf8_unicode_ci NULL, | |
geocoverage mediumtext COLLATE utf8_unicode_ci NULL, |