-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a08a7ff
commit aa5039f
Showing
12 changed files
with
1,743 additions
and
82 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,22 @@ | ||
<koken:include file="inc/components/header.html" /> | ||
<main role="main"> | ||
<koken:load limit="{{ settings.albums_index_limit }}" infinite="true"> | ||
<ul class="grid"> | ||
<koken:loop> | ||
<li> | ||
<koken:link title="{{ language.view }} {{ album.title }}"> | ||
<koken:img size="{{ settings.grid_asp_ratio }}" lazy="true" /> | ||
<div> | ||
<h3>{{ album.title }}</h3> | ||
</div> | ||
</koken:link> | ||
</li> | ||
</koken:loop> | ||
</ul> | ||
<koken:else> | ||
<koken:note> | ||
<strong>No albums found.</strong> Create some in the Library. | ||
</koken:note> | ||
</koken:load> | ||
<koken:include file="inc/components/loading_msg.html" /> | ||
<koken:load limit="{{ settings.albums_index_limit }}" infinite="true"> | ||
<ul class="grid"> | ||
<koken:loop> | ||
<li> | ||
<koken:link title="{{ language.view }} {{ album.title }}"> | ||
<koken:img size="{{ settings.grid_asp_ratio }}" lazy="true" /> | ||
<div> | ||
<h3>{{ album.title }}</h3> | ||
</div> | ||
</koken:link> | ||
</li> | ||
</koken:loop> | ||
</ul> | ||
<koken:else> | ||
<koken:note> | ||
<strong>No albums found.</strong> Create some in the Library. | ||
</koken:note> | ||
</koken:load> | ||
</main> | ||
<koken:include file="inc/components/footer_none.html" /> |
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,16 @@ | ||
<koken:background lazy="true" id="cover_bg" style="margin-top: 0;"> | ||
<div class="cover_inside cover_style_1"> | ||
<div class="cover_content"> | ||
<koken:if data="location.template" equals="contents"> | ||
<p class="album-name">{{ language.content }}</p> | ||
</koken:if> | ||
<koken:if data="location.template" equals="favorites"> | ||
<p class="album-name">{{ language.favorites }}</p> | ||
</koken:if> | ||
<h1> | ||
<koken:if data="location.template" equals="contents"> | ||
{{ language.content }} | ||
</koken:if> | ||
<koken:if data="location.template" equals="favorites"> | ||
{{ language.favorites }} | ||
</koken:if> | ||
</h1> | ||
</div> | ||
<a id="cover_scroll" href="#content" data-bind-to-key="right" class="cover_scroll_link no_b"><i class="icon-{{ settings.album_cover_downarrow }}-down"></i></a> | ||
</div> | ||
</koken:background> | ||
<koken:include file="inc/cover.html" /> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
<koken:include file="inc/components/loading_msg.html" /> | ||
<koken:asset file="inc/js/oxygen.min.js" /> | ||
</body> | ||
</html> |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1 @@ | ||
<script> | ||
function sizeCover() { | ||
var wh = $(window).height(), | ||
fh = 0, | ||
ph = parseInt($('#container').css('paddingTop')), | ||
hh = $('header.main').is(':visible') ? $('header.main').outerHeight() : 0; | ||
|
||
if ($('footer.main').is(':visible')) { | ||
fh = $('footer.main').css('position') === "fixed" ? $('footer.main').outerHeight() : 0; | ||
} | ||
|
||
$('header.cover').css({'height': wh - hh - fh - ph}); | ||
} | ||
|
||
$(document).ready(function(){ | ||
sizeCover(); | ||
$(".cover_inside h1").fitText(1.2, { minFontSize: '{{ settings.cover_title_min}}px', maxFontSize: '{{ settings.cover_title_max}}px' }); | ||
}); | ||
|
||
$(window).on('resize', function(e) { | ||
sizeCover(); | ||
}); | ||
</script> | ||
<script>(function(b,a,c,d){b.OxyGenCovers={};OxyGenCovers.init=function(){OxyGenCovers.cacheSelectors();OxyGenCovers.setCoverHeight();OxyGenCovers.sizeCoverTitle()};OxyGenCovers.cacheSelectors=function(){OxyGenCovers.window=c(b);OxyGenCovers.expanded=c("header.expanded");OxyGenCovers.cover=c("header.cover");OxyGenCovers.h1title=c(".cover_inside h1")};OxyGenCovers.setCoverHeight=function(){var e=OxyGenCovers.window.outerHeight()-OxyGenCovers.expanded.outerHeight();OxyGenCovers.cover.css("height",e)};OxyGenCovers.sizeCoverTitle=function(){OxyGenCovers.h1title.fitText(1.2,{minFontSize:"{{ settings.cover_title_min}}px",maxFontSize:"{{ settings.cover_title_max}}px"})};c(a).on("ready",OxyGenCovers.init),c(b).on("resize",OxyGenCovers.init)})(window,document,jQuery);</script> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
(function(window, document, $, undefined){ | ||
window.OxyGenCovers = {}; | ||
|
||
OxyGenCovers.init = function() { | ||
OxyGenCovers.cacheSelectors(); | ||
OxyGenCovers.setCoverHeight(); | ||
OxyGenCovers.sizeCoverTitle(); | ||
} | ||
|
||
OxyGenCovers.cacheSelectors = function() { | ||
OxyGenCovers.window = $(window); | ||
OxyGenCovers.expanded = $("header.expanded"); | ||
OxyGenCovers.cover = $("header.cover"); | ||
OxyGenCovers.h1title = $(".cover_inside h1"); | ||
} | ||
|
||
OxyGenCovers.setCoverHeight = function() { | ||
var windowHeight = OxyGenCovers.window.outerHeight() - OxyGenCovers.expanded.outerHeight(); | ||
OxyGenCovers.cover.css("height",windowHeight); | ||
} | ||
|
||
OxyGenCovers.sizeCoverTitle = function() { | ||
OxyGenCovers.h1title.fitText(1.2,{ | ||
minFontSize:"{{ settings.cover_title_min}}px", | ||
maxFontSize:"{{ settings.cover_title_max}}px" | ||
}) | ||
} | ||
$(document).on("ready",OxyGenCovers.init), | ||
$(window).on("resize",OxyGenCovers.init); | ||
})(window, document, jQuery); |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,143 @@ | ||
<koken:if true="pjax"> | ||
<koken:title /> | ||
<koken:else> | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" /> | ||
|
||
<koken:title /> | ||
|
||
<koken:asset file="lightbox.css" common="true" /> | ||
|
||
<koken:settings /> | ||
</head> | ||
|
||
<body id="k-lightbox" class="loading"> | ||
|
||
<div id="lbox"> | ||
|
||
</koken:if> | ||
|
||
<koken:load> | ||
|
||
<koken:head> | ||
<meta property="og:site_name" content="{{ site.title }}" /> | ||
<meta property="og:type" content="website" /> | ||
<meta property="og:url" content="{{ content.url }}" /> | ||
<meta property="og:title" content="{{ content.title | content.filename strip_html="true" }}" /> | ||
<meta property="og:description" content="{{ content.caption strip_html="true" }}" /> | ||
<meta property="og:image" content="{{ content.presets.medium_large.url }}" /> | ||
<meta property="og:image:width" content="{{ content.presets.medium_large.width }}" /> | ||
<meta property="og:image:height" content="{{ content.presets.medium_large.height }}" /> | ||
<koken:content_image> | ||
<koken:not empty="profile.twitter"> | ||
<meta name="twitter:card" content="photo" /> | ||
<meta name="twitter:site" content="@{{ profile.twitter }}" /> | ||
<meta name="twitter:creator" content="@{{ profile.twitter }}" /> | ||
</koken:not> | ||
</koken:content_image> | ||
</koken:head> | ||
|
||
<a href="#" title="{{ language.close_lightbox }}" id="lbox-bttn-close" class="ibutton"><i class="icon-remove-sign"></i></a> | ||
|
||
<a href="#" title="{{ language.view_fullscreen }}" id="lbox-bttn-fs" class="ibutton"><i class="icon-fullscreen"></i></a> | ||
|
||
<a href="#" title="{{ language.exit_fullscreen }}" id="lbox-bttn-ns" class="ibutton"><i class="icon-resize-small"></i></a> | ||
|
||
<div id="lnav" class="tnav"> | ||
<koken:previous> | ||
<koken:link lightbox="true" bind_to_key="left" title="{{ language.view_previous }}"> | ||
<span class="ibutton"><i class="icon-angle-left"></i></span> | ||
</koken:link> | ||
</koken:previous> | ||
</div> | ||
|
||
<div id="tl_controls"> | ||
<koken:next> | ||
<a href="#" id="lbox-bttn-play" class="ibutton" title="{{ language.start_slideshow }}"> | ||
<i class="icon-play icon-large"></i> | ||
</a> | ||
</koken:next> | ||
|
||
<a href="#" id="lbox-bttn-pause" class="ibutton" title="{{ language.stop_slideshow }}"> | ||
<i class="icon-pause icon-large"></i> | ||
</a> | ||
|
||
<koken:rating> | ||
<div id="lbox_rating"> | ||
{{ rating }} | ||
</div> | ||
</koken:rating> | ||
|
||
<div id="lbox_share"> | ||
<div class="lbox_toggle"> | ||
<a href="#" id="lbox-bttn-share" class="ibutton" title="{{ language.share_this }}"> | ||
<i class="icon-export-alt icon-large"></i> | ||
</a> | ||
<div id="lbox_share_menu"> | ||
<ul class="social-links kshare"> | ||
<li><koken:link share="twitter" class="ibutton share-twitter"><i class="icon-twitter"></i></koken:link></li><li><koken:link share="facebook" class="ibutton share-facebook"><i class="icon-facebook"></i></koken:link></li><li><koken:link share="pinterest" class="ibutton share-pinterest"><i class="icon-pinterest"></i></koken:link></li><li><koken:link share="tumblr" class="ibutton share-tumblr"><i class="icon-tumblr"></i></koken:link></li><li><koken:link share="google-plus" class="ibutton share-google"><i class="icon-gplus"></i></koken:link></li><koken:max_download><li><koken:link class="ibutton share-dl no-share" title="{{ language.download }} {{ max_download.width }} x {{ max_download.height }}"><i class="icon-download-alt"></i></koken:link></li></koken:max_download> | ||
</ul> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div id="main"> | ||
|
||
<div class="spinner_pos active"><div class="spinner"></div></div> | ||
|
||
<div id="content"> | ||
|
||
<koken:parent> | ||
<script> | ||
window.albumId = {{ album.id }}; | ||
</script> | ||
</koken:parent> | ||
|
||
<script> | ||
window.theContent = {{ content.to_json fields="aspect_ratio,id,presets,file_type,original,html,visibility" }}; | ||
</script> | ||
|
||
<div class="caption" style="display:none"> | ||
<strong>{{ content.title }}</strong> | ||
| ||
{{ content.caption }} | ||
</div> | ||
|
||
</div> | ||
|
||
</div> | ||
|
||
<div id="rnav" class="tnav"> | ||
<koken:next> | ||
<koken:link lightbox="true" bind_to_key="right" title="{{ language.view_next }}"> | ||
<span class="ibutton"><i class="icon-angle-right"></i></span> | ||
</koken:link> | ||
</koken:next> | ||
</div> | ||
|
||
<footer> | ||
|
||
<koken:link to="front" title="{{ site.title }}">{{ site.title }}</koken:link><koken:parent> / <koken:link to="album" filter:id="{{ album.id }}">{{ album.title }}</koken:link> / {{ _parent.content.context.position }} {{ language.of }} {{ album.counts.total }}<koken:else> / <koken:context><koken:if data="context.type" equals="favorite"><koken:link to="favorites">{{ language.favorites }}</koken:link><koken:else><koken:if data="context.type" equals="tag"><koken:link>#{{ context.title }}</koken:link><koken:else><koken:link>{{ context.title }}</koken:link></koken:if> </koken:if> / {{ context.position }} {{ language.of }} {{ context.total }} <koken:else><koken:link to="contents">{{ language.content }}</koken:link> </koken:context></koken:parent> <span id="caption-bttns"><a class="btn-toggle show" href="#" title="{{ language.show_caption }}">{{ language.show_caption }}</a><a class="btn-toggle hide" href="#" title="{{ language.hide_caption }}" style="display:none">{{ language.hide_caption }}</a></span> | ||
|
||
</footer> | ||
|
||
</koken:load> | ||
|
||
</div> <!-- close lbox --> | ||
|
||
<koken:if true="pjax"> | ||
<script>update();</script> | ||
<koken:else> | ||
|
||
<koken:asset file="jquery.pjax.js" common="true" /> | ||
<koken:asset file="lightbox.js" common="true" /> | ||
|
||
</body> | ||
|
||
</html> | ||
|
||
</koken:if> |