CinemaPress 4
This commit is contained in:
parent
f9bc8b1cc9
commit
e7654f1891
10
README.md
10
README.md
|
@ -1,10 +1,10 @@
|
|||
# Theme «ramsay»
|
||||
|
||||
![Theme «ramsay» for CinemaPress ACMS](https://raw.githubusercontent.com/CinemaPress/Theme-Ramsay/master/screenshot.png "Theme «ramsay» for CinemaPress ACMS")
|
||||
![Theme «ramsay» for CinemaPress](https://raw.githubusercontent.com/CinemaPress/Theme-Ramsay/master/screenshot.png "Theme «ramsay» for CinemaPress")
|
||||
|
||||
:art: Theme «ramsay» for CinemaPress ACMS
|
||||
:art: Theme «ramsay» for CinemaPress
|
||||
|
||||
- [Ramsay.CinemaPress.org](http://Ramsay.CinemaPress.org/)
|
||||
- [Ramsay.CinemaPress.io](http://Ramsay.CinemaPress.io/)
|
||||
|
||||
## How to install?
|
||||
1. Download [GitHub](https://github.com/CinemaPress/Theme-Ramsay/archive/master.zip) or [GitLab](https://gitlab.com/CinemaPress/Theme-Ramsay/repository/archive.zip) or [BitBucket](https://bitbucket.org/cinemapress/theme-ramsay/get/master.zip) or [Coding](https://coding.net/u/CinemaPress/p/Theme-Ramsay/git/archive/master.zip)
|
||||
|
@ -14,7 +14,7 @@
|
|||
|
||||
## Installation via terminal
|
||||
```
|
||||
~# wget cinemapress.org/i -qO i && chmod +x i && ./i 3
|
||||
~# bash <(wget -qO- cinemapress.sh)
|
||||
```
|
||||
|
||||
## Как установить?
|
||||
|
@ -25,5 +25,5 @@
|
|||
|
||||
## Установка через терминал
|
||||
```
|
||||
~# wget cinemapress.org/i -qO i && chmod +x i && ./i 3
|
||||
~# bash <(wget -qO- cinemapress.sh)
|
||||
```
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 8.3 KiB |
|
@ -41,13 +41,10 @@
|
|||
<% if (typeof categories === 'object' && categories.length) { %>
|
||||
<div style="clear: both"></div>
|
||||
<% categories.forEach(function (content) { %>
|
||||
<div style="float: left; width: 50%;">
|
||||
<div style="margin: 0; padding: 10px">
|
||||
<a href="<%- content.url %>" class="cinemapress-news" style="background-image:url(<%- content.image %>);">
|
||||
<div class="cinemapress-news-title">
|
||||
<%= content.title %>
|
||||
</div>
|
||||
</a>
|
||||
<div style="float:left;width:50%;">
|
||||
<div style="margin:10px;padding:0;position:relative">
|
||||
<div class="cinemapress-categories" style="background-image:url(<%- content.image %>);"></div>
|
||||
<a href="<%- content.url %>" class="cinemapress-categories-title"><%= content.title %></a>
|
||||
</div>
|
||||
</div>
|
||||
<% }); %>
|
||||
|
|
|
@ -57,33 +57,25 @@
|
|||
<div style="clear: both;"></div>
|
||||
<% } %>
|
||||
|
||||
<br><br>
|
||||
<div class="randomMovieCategory">
|
||||
<div class="cinemapress-random-category"
|
||||
onclick="window.location.href='<%- page.url %>?random'">
|
||||
<img src="/themes/ramsay/public/images/dice.svg" alt="<%- page.l.random %>">
|
||||
<span><%- page.l.lucky %></span>
|
||||
<small><%- page.l.random %></small>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<% if (typeof page.sorting === 'object') { %>
|
||||
|
||||
<% page.sorting.forEach(function (sort) { %>
|
||||
|
||||
<% if (sort.active) { %>
|
||||
|
||||
<a href="<%- sort.url %>">
|
||||
<strong><%- sort.name %></strong>
|
||||
</a>
|
||||
|
||||
<% } else { %>
|
||||
|
||||
<a href="<%- sort.url %>">
|
||||
<%- sort.name %>
|
||||
</a>
|
||||
|
||||
<% } %>
|
||||
|
||||
<% }); %>
|
||||
|
||||
<div class="cinemapress-sort">
|
||||
<% page.sorting.forEach(function (sort) { %>
|
||||
<% if (sort.active) { %><a href="<%- sort.url %>" class="cinemapress-sort-active"><%- sort.name.replace(/\s/g,' ') %></a><% } else { %><a href="<%- sort.url %>"><%- sort.name.replace(/\s/g,' ') %></a><% } }); %>
|
||||
</div>
|
||||
<% } %>
|
||||
|
||||
</div>
|
||||
|
||||
<div id='cinemapress-content'>
|
||||
<div id="cinemapress-content">
|
||||
|
||||
<% if (typeof movies === 'object' && movies.length) { %>
|
||||
|
||||
|
|
|
@ -82,7 +82,7 @@
|
|||
</div>
|
||||
<div class="nomt">
|
||||
<div style="margin: 30px auto">
|
||||
<div style="width: 100%; height: 370px; position: relative;">
|
||||
<div id="cinemapress-player">
|
||||
<%- page.player %>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -120,9 +120,17 @@
|
|||
<div style="clear: both">
|
||||
<div class="bold advice_inf" style="margin: 20px auto 0 auto">
|
||||
<i><%- category.name %></i>
|
||||
<div class="randomMovieRelated">
|
||||
<div class="cinemapress-random-related"
|
||||
onclick="window.location.href='<%- category.url %>?random'"
|
||||
title="<%- page.l.random %>">
|
||||
<img src="/themes/ramsay/public/images/dice.svg" alt="<%- page.l.random %>">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<ul class="bloggg" style="padding-top: 15px;">
|
||||
<% if (category.movies.length) {
|
||||
category.movies.splice(5, category.movies.length % 5);
|
||||
category.movies.forEach(function (movie) { %>
|
||||
<li>
|
||||
<a href="<%- movie.url %>" class="brost" title="<%= movie.title %> (<%- movie.year %>)">
|
||||
|
|
|
@ -82,7 +82,7 @@
|
|||
</div>
|
||||
<div class="nomt">
|
||||
<div style="margin: 30px auto 0 auto">
|
||||
<div style="width: 100%; height: 370px; position: relative;">
|
||||
<div id="cinemapress-player">
|
||||
<%- page.player %>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -137,9 +137,17 @@
|
|||
<div style="clear: both">
|
||||
<div class="bold advice_inf" style="margin: 20px auto 0 auto">
|
||||
<i><%- category.name %></i>
|
||||
<div class="randomMovieRelated">
|
||||
<div class="cinemapress-random-related"
|
||||
onclick="window.location.href='<%- category.url %>?random'"
|
||||
title="<%- page.l.random %>">
|
||||
<img src="/themes/ramsay/public/images/dice.svg" alt="<%- page.l.random %>">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<ul class="bloggg" style="padding-top: 15px;">
|
||||
<% if (category.movies.length) {
|
||||
category.movies.splice(5, category.movies.length % 5);
|
||||
category.movies.forEach(function (movie) { %>
|
||||
<li>
|
||||
<a href="<%- movie.url %>" class="brost" title="<%= movie.title %> (<%- movie.year %>)">
|
||||
|
|
|
@ -7,22 +7,22 @@
|
|||
<div class="footer">
|
||||
<span style="color: #ccc;">
|
||||
<strong>
|
||||
© <%- new Date().getFullYear() %> <a href="https://cinemapress.org" target="_blank">CinemaPress ACMS</a>
|
||||
© <%- new Date().getFullYear() %> <a href="https://cinemapress.io" target="_blank">CinemaPress</a>
|
||||
</strong> | Email <span id="mylo">Activate JS</span><script>(function(d,i,l,r){d.getElementById(i).innerHTML=l+'@'+r;})(window.document,'mylo','<%- page.email.split('@')[0] %>','<%- page.email.split('@')[1] %>');</script>
|
||||
</span>
|
||||
<% if (page.social) { %>
|
||||
<span class="copyright">
|
||||
<% if (page.social.vk) { %><a href="<%- page.social.vk %>" target="_blank"><%- page.l.vk %></a><% } %>
|
||||
<% if (page.social.facebook) { %><span> | </span><a href="<%- page.social.facebook %>" target="_blank">facebook</a><% } %>
|
||||
<% if (page.social.telegram) { %><span> | </span><a href="<%- page.social.telegram %>" target="_blank">telegram</a><% } %>
|
||||
<% if (page.social.twitter) { %><span> | </span><a href="<%- page.social.twitter %>" target="_blank">twitter</a><% } %>
|
||||
<% if (page.social.gplus) { %><span> | </span><a href="<%- page.social.gplus %>" target="_blank">G+</a><% } %>
|
||||
<% if (page.social.youtube) { %><span> | </span><a href="<%- page.social.youtube %>" target="_blank"><%- page.l.youtube %></a><% } %>
|
||||
<% if (page.social.instagram) { %><span> | </span><a href="<%- page.social.instagram %>" target="_blank"><%- page.l.instagram %></a><% } %>
|
||||
</span>
|
||||
<% } %>
|
||||
</div>
|
||||
|
||||
<script src="/themes/ramsay/public/js/all.js"></script>
|
||||
<script src="/themes/ramsay/public/js/all.min.js"></script>
|
||||
|
||||
<script src="/themes/default/public/desktop/js/yastatic.net/es5-shims.min.js"></script>
|
||||
<script src="/themes/default/public/desktop/js/yastatic.net/share2.js"></script>
|
||||
|
|
|
@ -5,6 +5,6 @@
|
|||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
||||
<link rel="shortcut icon" href="/themes/ramsay/public/favicon.ico?v=<%- page.ver %>"/>
|
||||
|
||||
<link rel="stylesheet" href="/themes/ramsay/public/css/all.css?v=<%- page.ver %>">
|
||||
<link rel="stylesheet" href="/themes/ramsay/public/css/all.min.css?v=<%- page.ver %>">
|
||||
|
||||
<%- page.codes.head %>
|
|
@ -50,20 +50,28 @@
|
|||
<div class="mobile burger" onclick="showMenu();"></div>
|
||||
<div class="mobile showFind" onclick="showFinder();"></div>
|
||||
<div class="social">
|
||||
<div class="ya-share2" data-services="vkontakte,facebook,gplus,twitter"></div>
|
||||
<div class="ya-share2" data-services="vkontakte,facebook,twitter"></div>
|
||||
</div>
|
||||
|
||||
<div class="searching">
|
||||
<form action="/<%- page.urls.search %>/title" name="searchform" method="get">
|
||||
<form action="/<%- page.urls.search %>" name="searchform" method="get">
|
||||
<div class="input-append">
|
||||
<label>
|
||||
`<input class="search" type="text" id="story" name="q" value="<%- page.l.search %>" onBlur="if(this.value==='') this.value='<%- page.l.search %>';" onFocus="if(this.value==='<%- page.l.search %>') this.value='';" data-provide="typeahead" data-items="4">
|
||||
<input class="search" type="text" id="story" name="q" value="<%- page.l.search %>" onBlur="if(this.value==='') this.value='<%- page.l.search %>';" onFocus="if(this.value==='<%- page.l.search %>') this.value='';" data-provide="typeahead" data-items="4" data-autocomplete="desktop">
|
||||
</label>
|
||||
<button class="search_btn" type="submit"></button>
|
||||
<div class="cinemapress-autocomplete" data-autocomplete="desktop"></div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<div class="randomMovieMenu">
|
||||
<div class="login cinemapress-random-menu">
|
||||
<a href="/?random" title="<%- page.l.lucky %>">
|
||||
<img src="/themes/ramsay/public/images/dice.svg" class="h2-title-short" alt="<%- page.l.lucky %>"> <%- page.l.lucky %></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="login continueViewingBlock" style="display: none;">
|
||||
<a href="javascript:void(0)" id="continueViewing"><img src="/themes/ramsay/public/images/video-play.png" class="h2-title-short" alt="<%- page.l.continue %>"> <%- page.l.continue %></a>
|
||||
</div>
|
||||
|
|
|
@ -30,7 +30,16 @@
|
|||
|
||||
<div class="sort">
|
||||
|
||||
<h2><%- category.name %></h2>
|
||||
<h2>
|
||||
<%- category.name %>
|
||||
<div class="randomMovieIndex">
|
||||
<div class="cinemapress-random-index"
|
||||
onclick="window.location.href='<%- category.url %>?random'"
|
||||
title="<%- page.l.random %>">
|
||||
<img src="/themes/ramsay/public/images/dice.svg" alt="<%- page.l.random %>">
|
||||
</div>
|
||||
</div>
|
||||
</h2>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -199,9 +199,17 @@
|
|||
<div style="clear: both">
|
||||
<div class="bold advice_inf" style="margin: 20px auto 0 auto">
|
||||
<i><%- category.name %></i>
|
||||
<div class="randomMovieRelated">
|
||||
<div class="cinemapress-random-related"
|
||||
onclick="window.location.href='<%- category.url %>?random'"
|
||||
title="<%- page.l.random %>">
|
||||
<img src="/themes/ramsay/public/images/dice.svg" alt="<%- page.l.random %>">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<ul class="bloggg" style="padding-top: 15px;">
|
||||
<% if (category.movies.length) {
|
||||
category.movies.splice(5, category.movies.length % 5);
|
||||
category.movies.forEach(function (movie) { %>
|
||||
<li>
|
||||
<a href="<%- movie.url %>" class="brost" title="<%= movie.title %> (<%- movie.year %>)">
|
||||
|
|
|
@ -139,9 +139,17 @@
|
|||
<div style="clear: both">
|
||||
<div class="bold advice_inf" style="margin: 20px auto 0 auto">
|
||||
<i><%- category.name %></i>
|
||||
<div class="randomMovieRelated">
|
||||
<div class="cinemapress-random-related"
|
||||
onclick="window.location.href='<%- category.url %>?random'"
|
||||
title="<%- page.l.random %>">
|
||||
<img src="/themes/ramsay/public/images/dice.svg" alt="<%- page.l.random %>">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<ul class="bloggg" style="padding-top: 15px;">
|
||||
<% if (category.movies.length) {
|
||||
category.movies.splice(5, category.movies.length % 5);
|
||||
category.movies.forEach(function (movie) { %>
|
||||
<li>
|
||||
<a href="<%- movie.url %>" class="brost" title="<%= movie.title %> (<%- movie.year %>)">
|
||||
|
|
|
@ -82,7 +82,7 @@
|
|||
</div>
|
||||
<div class="nomt">
|
||||
<div style="margin: 30px auto;">
|
||||
<div style="width: 100%; position: relative; overflow: hidden;">
|
||||
<div id="cinemapress-player">
|
||||
<%- page.player %>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -120,9 +120,17 @@
|
|||
<div style="clear: both">
|
||||
<div class="bold advice_inf" style="margin: 20px auto 0 auto">
|
||||
<i><%- category.name %></i>
|
||||
<div class="randomMovieRelated">
|
||||
<div class="cinemapress-random-related"
|
||||
onclick="window.location.href='<%- category.url %>?random'"
|
||||
title="<%- page.l.random %>">
|
||||
<img src="/themes/ramsay/public/images/dice.svg" alt="<%- page.l.random %>">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<ul class="bloggg" style="padding-top: 15px;">
|
||||
<% if (category.movies.length) {
|
||||
category.movies.splice(5, category.movies.length % 5);
|
||||
category.movies.forEach(function (movie) { %>
|
||||
<li>
|
||||
<a href="<%- movie.url %>" class="brost" title="<%= movie.title %> (<%- movie.year %>)">
|
||||
|
|
|
@ -82,7 +82,7 @@
|
|||
</div>
|
||||
<div class="nomt">
|
||||
<div style="margin: 30px auto">
|
||||
<div style="width: 100%; height: 370px; position: relative;">
|
||||
<div id="cinemapress-player">
|
||||
<%- page.player %>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -120,9 +120,17 @@
|
|||
<div style="clear: both">
|
||||
<div class="bold advice_inf" style="margin: 20px auto 0 auto">
|
||||
<i><%- category.name %></i>
|
||||
<div class="randomMovieRelated">
|
||||
<div class="cinemapress-random-related"
|
||||
onclick="window.location.href='<%- category.url %>?random'"
|
||||
title="<%- page.l.random %>">
|
||||
<img src="/themes/ramsay/public/images/dice.svg" alt="<%- page.l.random %>">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<ul class="bloggg" style="padding-top: 15px;">
|
||||
<% if (category.movies.length) {
|
||||
category.movies.splice(5, category.movies.length % 5);
|
||||
category.movies.forEach(function (movie) { %>
|
||||
<li>
|
||||
<a href="<%- movie.url %>" class="brost" title="<%= movie.title %> (<%- movie.year %>)">
|
||||
|
|
Loading…
Reference in New Issue