CinemaPress 4
This commit is contained in:
parent
01592d0ef3
commit
79c44951cb
10
README.md
10
README.md
|
@ -1,10 +1,10 @@
|
|||
# Theme «robb»
|
||||
|
||||
![Theme «robb» for CinemaPress ACMS](https://raw.githubusercontent.com/CinemaPress/Theme-Robb/master/screenshot.png "Theme «robb» for CinemaPress ACMS")
|
||||
![Theme «robb» for CinemaPress](https://raw.githubusercontent.com/CinemaPress/Theme-Robb/master/screenshot.png "Theme «robb» for CinemaPress")
|
||||
|
||||
:art: Theme «robb» for CinemaPress ACMS
|
||||
:art: Theme «robb» for CinemaPress
|
||||
|
||||
- [Robb.CinemaPress.org](http://Robb.CinemaPress.org/)
|
||||
- [Robb.CinemaPress.io](http://Robb.CinemaPress.io/)
|
||||
|
||||
## How to install?
|
||||
1. Download [GitHub](https://github.com/CinemaPress/Theme-Robb/archive/master.zip) or [GitLab](https://gitlab.com/CinemaPress/Theme-Robb/repository/archive.zip) or [BitBucket](https://bitbucket.org/cinemapress/theme-robb/get/master.zip) or [Coding](https://coding.net/u/CinemaPress/p/Theme-Robb/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 |
|
@ -15,96 +15,7 @@
|
|||
|
||||
</header>
|
||||
|
||||
<% if (typeof slider === 'object' && slider.length) { %>
|
||||
|
||||
<div class="favorites-slider">
|
||||
<div class="container">
|
||||
<div id="favorites" class="slider">
|
||||
<i class="buttons prev icon-sliderLeft"></i>
|
||||
<div class="viewport">
|
||||
<ul class="overview">
|
||||
|
||||
<% slider.forEach(function (movie) { %>
|
||||
|
||||
<li>
|
||||
<a href="<%- movie.url %>">
|
||||
<span class="icon-noimage">
|
||||
<img src="<%- movie.poster %>" class="film-poster" alt="<%- page.l.online %> <%= movie.title %>">
|
||||
</span>
|
||||
<i class="fa ico-play"></i>
|
||||
<div class="film-name"><%= movie.title %></div>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<% }); %>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
<i class="buttons next icon-sliderRight"></i>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<% } %>
|
||||
|
||||
<% if (page.social) { %>
|
||||
|
||||
<div class="container social-counters">
|
||||
<ul class="social-wrap">
|
||||
<% if (page.social.vk) { %>
|
||||
<li class="vk-count" data-type="vk">
|
||||
<a href="<%- page.social.vk %>" target="_blank">
|
||||
<span class="vk icon-vk-m"><%- page.l.vk %></span>
|
||||
</a>
|
||||
</li>
|
||||
<% } %>
|
||||
<% if (page.social.facebook) { %>
|
||||
<li class="fb-count" data-type="fb">
|
||||
<a href="<%- page.social.facebook %>" target="_blank">
|
||||
<span class="fb icon-fb-m"><%- page.l.facebook %></span>
|
||||
</a>
|
||||
</li>
|
||||
<% } %>
|
||||
<% if (page.social.twitter) { %>
|
||||
<li class="tw-count" data-type="tw">
|
||||
<a href="<%- page.social.twitter %>" target="_blank">
|
||||
<span class="tw icon-tw-m"><%- page.l.twitter %></span>
|
||||
</a>
|
||||
</li>
|
||||
<% } %>
|
||||
<% if (page.social.gplus) { %>
|
||||
<li class="ok-count" data-type="ok">
|
||||
<a href="<%- page.social.gplus %>" target="_blank">
|
||||
<span class="ok icon-gp-m">G+</span>
|
||||
</a>
|
||||
</li>
|
||||
<% } %>
|
||||
<% if (page.social.youtube) { %>
|
||||
<li class="ok-count" data-type="ok">
|
||||
<a href="<%- page.social.youtube %>" target="_blank">
|
||||
<span class="yt icon-play"><%- page.l.youtube %></span>
|
||||
</a>
|
||||
</li>
|
||||
<% } %>
|
||||
<% if (page.social.instagram) { %>
|
||||
<li class="ok-count" data-type="ok">
|
||||
<a href="<%- page.social.instagram %>" target="_blank">
|
||||
<span class="ig icon-ig-m"><%- page.l.instagram %></span>
|
||||
</a>
|
||||
</li>
|
||||
<% } %>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<% } %>
|
||||
|
||||
<% if (typeof page.adv === 'object' && page.adv.top) { %>
|
||||
<div class="container user-playlists-slider main-playlist" style="margin-top: 30px; padding: 10px;">
|
||||
<div class="viewport" style="text-align: center;">
|
||||
<%- page.adv.top %>
|
||||
</div>
|
||||
</div>
|
||||
<% } %>
|
||||
<% include includes/header2.ejs %>
|
||||
|
||||
<div id="main" class="cat">
|
||||
|
||||
|
@ -138,13 +49,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>
|
||||
<% }); %>
|
||||
|
|
|
@ -15,90 +15,7 @@
|
|||
|
||||
</header>
|
||||
|
||||
<% if (typeof slider === 'object' && slider.length) { %>
|
||||
<div class="favorites-slider">
|
||||
<div class="container">
|
||||
<div id="favorites" class="slider">
|
||||
<i class="buttons prev icon-sliderLeft"></i>
|
||||
<div class="viewport">
|
||||
<ul class="overview">
|
||||
|
||||
<% slider.forEach(function (movie) { %>
|
||||
<li>
|
||||
<a href="<%- movie.url %>">
|
||||
<span class="icon-noimage">
|
||||
<img src="<%- movie.poster %>" class="film-poster" alt="<%- page.l.online %> <%= movie.title %>">
|
||||
</span>
|
||||
<i class="fa ico-play"></i>
|
||||
<div class="film-name"><%= movie.title %></div>
|
||||
</a>
|
||||
</li>
|
||||
<% }); %>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
<i class="buttons next icon-sliderRight"></i>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<% } %>
|
||||
|
||||
<% if (page.social) { %>
|
||||
<div class="container social-counters">
|
||||
<ul class="social-wrap">
|
||||
<% if (page.social.vk) { %>
|
||||
<li class="vk-count" data-type="vk">
|
||||
<a href="<%- page.social.vk %>" target="_blank">
|
||||
<span class="vk icon-vk-m"><%- page.l.vk %></span>
|
||||
</a>
|
||||
</li>
|
||||
<% } %>
|
||||
<% if (page.social.facebook) { %>
|
||||
<li class="fb-count" data-type="fb">
|
||||
<a href="<%- page.social.facebook %>" target="_blank">
|
||||
<span class="fb icon-fb-m"><%- page.l.facebook %></span>
|
||||
</a>
|
||||
</li>
|
||||
<% } %>
|
||||
<% if (page.social.twitter) { %>
|
||||
<li class="tw-count" data-type="tw">
|
||||
<a href="<%- page.social.twitter %>" target="_blank">
|
||||
<span class="tw icon-tw-m"><%- page.l.twitter %></span>
|
||||
</a>
|
||||
</li>
|
||||
<% } %>
|
||||
<% if (page.social.gplus) { %>
|
||||
<li class="ok-count" data-type="ok">
|
||||
<a href="<%- page.social.gplus %>" target="_blank">
|
||||
<span class="ok icon-gp-m">G+</span>
|
||||
</a>
|
||||
</li>
|
||||
<% } %>
|
||||
<% if (page.social.youtube) { %>
|
||||
<li class="ok-count" data-type="ok">
|
||||
<a href="<%- page.social.youtube %>" target="_blank">
|
||||
<span class="yt icon-play"><%- page.l.youtube %></span>
|
||||
</a>
|
||||
</li>
|
||||
<% } %>
|
||||
<% if (page.social.instagram) { %>
|
||||
<li class="ok-count" data-type="ok">
|
||||
<a href="<%- page.social.instagram %>" target="_blank">
|
||||
<span class="ig icon-ig-m"><%- page.l.instagram %></span>
|
||||
</a>
|
||||
</li>
|
||||
<% } %>
|
||||
</ul>
|
||||
</div>
|
||||
<% } %>
|
||||
|
||||
<% if (typeof page.adv === 'object' && page.adv.top) { %>
|
||||
<div class="container user-playlists-slider main-playlist" style="margin-top: 30px; padding: 10px;">
|
||||
<div class="viewport" style="text-align: center;">
|
||||
<%- page.adv.top %>
|
||||
</div>
|
||||
</div>
|
||||
<% } %>
|
||||
<% include includes/header2.ejs %>
|
||||
|
||||
<div id="main" class="cat">
|
||||
|
||||
|
@ -153,6 +70,15 @@
|
|||
<div style="clear: both;"></div>
|
||||
<% } %>
|
||||
|
||||
<div class="randomMovieCategory">
|
||||
<div class="cinemapress-random-category"
|
||||
onclick="window.location.href='<%- page.url %>?random'">
|
||||
<img src="/themes/robb/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') { %>
|
||||
|
||||
<div class="filter">
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<div class="container">
|
||||
<div class="copy">
|
||||
© <%- new Date().getFullYear() %> <a href="https://cinemapress.org" target="_blank">CinemaPress ACMS</a> | <%- page.l.contacts %> <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></div>
|
||||
© <%- new Date().getFullYear() %> <a href="https://cinemapress.io" target="_blank">CinemaPress</a> | <%- page.l.contacts %> <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></div>
|
||||
</div>
|
||||
|
||||
<div id="top" style="display: none;">
|
||||
|
@ -10,6 +10,6 @@
|
|||
</span>
|
||||
</div>
|
||||
|
||||
<script src="/themes/robb/public/js/all.js"></script>
|
||||
<script src="/themes/robb/public/js/all.min.js"></script>
|
||||
|
||||
<%- page.codes.footer %>
|
|
@ -9,6 +9,6 @@
|
|||
|
||||
<link rel="icon" href="/themes/robb/public/favicon.ico?v=<%- page.ver %>" type="image/x-icon"/>
|
||||
|
||||
<link href="/themes/robb/public/css/all.css?v=<%- page.ver %>" rel='stylesheet' type='text/css'/>
|
||||
<link href="/themes/robb/public/css/all.min.css?v=<%- page.ver %>" rel='stylesheet' type='text/css'/>
|
||||
|
||||
<%- page.codes.head %>
|
|
@ -1,9 +1,9 @@
|
|||
<div class="container">
|
||||
<div class="logo"><a href="/"></a></div>
|
||||
<div class="logo" style="background:url(/themes/robb/public/images/logo.png?v=<%- page.ver %>) no-repeat 0 0;"><a href="/"></a></div>
|
||||
<div class="search">
|
||||
<form method="get" action='/<%- page.urls.search %>/title' class="search_header">
|
||||
<form method="get" action="/<%- page.urls.search %>" class="search_header">
|
||||
<div class="search-wrap icon-search">
|
||||
<input type="text" name="q" id="search" placeholder="<%- page.l.movieTitle %>" autocomplete="off">
|
||||
<input type="text" name="q" id="search" placeholder="<%- page.l.movieTitle %>" data-autocomplete="desktop">
|
||||
<input class="f_submited" type="submit" value="">
|
||||
<span class="close-search icon-close"></span>
|
||||
</div>
|
||||
|
@ -69,4 +69,12 @@
|
|||
<span class="open icon-play continueViewingBlock" id="continueViewing" style="display: none;"><%- page.l.continue %></span>
|
||||
</div>
|
||||
|
||||
<div class="randomMovieMenu">
|
||||
<div class="login guest cinemapress-random-menu" title="<%- page.l.lucky %>">
|
||||
<a href="/?random"><img src="/themes/robb/public/images/dice.svg" alt="<%- page.l.lucky %>"></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="cinemapress-autocomplete" data-autocomplete="desktop"></div>
|
||||
|
||||
</div>
|
|
@ -0,0 +1,78 @@
|
|||
<% if (typeof slider === 'object' && slider.length) { %>
|
||||
|
||||
<div class="favorites-slider">
|
||||
<div class="container">
|
||||
<div id="favorites" class="slider">
|
||||
<i class="buttons prev icon-sliderLeft"></i>
|
||||
<div class="viewport">
|
||||
<ul class="overview">
|
||||
|
||||
<% slider.forEach(function (movie) { %>
|
||||
|
||||
<li>
|
||||
<a href="<%- movie.url %>">
|
||||
<span class="icon-noimage">
|
||||
<img src="<%- movie.poster %>" class="film-poster" alt="<%- page.l.online %> <%= movie.title %>">
|
||||
</span>
|
||||
<i class="fa ico-play"></i>
|
||||
<div class="film-name"><%= movie.title %></div>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<% }); %>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
<i class="buttons next icon-sliderRight"></i>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<% } %>
|
||||
|
||||
<% if (page.social) { %>
|
||||
|
||||
<div class="container social-counters">
|
||||
<ul class="social-wrap social">
|
||||
<% if (page.social.vk) { %>
|
||||
<li class="vk">
|
||||
<a href="<%- page.social.vk %>" target="_blank"><%- page.l.vk %></a>
|
||||
</li>
|
||||
<% } %>
|
||||
<% if (page.social.facebook) { %>
|
||||
<li class="fcrk">
|
||||
<a href="<%- page.social.facebook %>" target="_blank"><%- page.l.facebook %></a>
|
||||
</li>
|
||||
<% } %>
|
||||
<% if (page.social.telegram) { %>
|
||||
<li class="tg">
|
||||
<a href="<%- page.social.telegram %>" target="_blank"><%- page.l.telegram %></a>
|
||||
</li>
|
||||
<% } %>
|
||||
<% if (page.social.twitter) { %>
|
||||
<li class="tw">
|
||||
<a href="<%- page.social.twitter %>" target="_blank"><%- page.l.twitter %></a>
|
||||
</li>
|
||||
<% } %>
|
||||
<% if (page.social.youtube) { %>
|
||||
<li class="yt">
|
||||
<a href="<%- page.social.youtube %>" target="_blank"><%- page.l.youtube %></a>
|
||||
</li>
|
||||
<% } %>
|
||||
<% if (page.social.instagram) { %>
|
||||
<li class="irrm">
|
||||
<a href="<%- page.social.instagram %>" target="_blank"><%- page.l.instagram %></a>
|
||||
</li>
|
||||
<% } %>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<% } %>
|
||||
|
||||
<% if (typeof page.adv === 'object' && page.adv.top) { %>
|
||||
<div class="container user-playlists-slider main-playlist" style="margin-top: 30px; padding: 10px;">
|
||||
<div class="viewport" style="text-align: center;">
|
||||
<%- page.adv.top %>
|
||||
</div>
|
||||
</div>
|
||||
<% } %>
|
|
@ -15,90 +15,7 @@
|
|||
|
||||
</header>
|
||||
|
||||
<% if (typeof slider === 'object' && slider.length) { %>
|
||||
<div class="favorites-slider">
|
||||
<div class="container">
|
||||
<div id="favorites" class="slider">
|
||||
<i class="buttons prev icon-sliderLeft"></i>
|
||||
<div class="viewport">
|
||||
<ul class="overview">
|
||||
|
||||
<% slider.forEach(function (movie) { %>
|
||||
<li>
|
||||
<a href="<%- movie.url %>">
|
||||
<span class="icon-noimage">
|
||||
<img src="<%- movie.poster %>" class="film-poster" alt="<%- page.l.online %> <%= movie.title %>">
|
||||
</span>
|
||||
<i class="fa ico-play"></i>
|
||||
<div class="film-name"><%= movie.title %></div>
|
||||
</a>
|
||||
</li>
|
||||
<% }); %>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
<i class="buttons next icon-sliderRight"></i>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<% } %>
|
||||
|
||||
<% if (page.social) { %>
|
||||
<div class="container social-counters">
|
||||
<ul class="social-wrap">
|
||||
<% if (page.social.vk) { %>
|
||||
<li class="vk-count" data-type="vk">
|
||||
<a href="<%- page.social.vk %>" target="_blank">
|
||||
<span class="vk icon-vk-m"><%- page.l.vk %></span>
|
||||
</a>
|
||||
</li>
|
||||
<% } %>
|
||||
<% if (page.social.facebook) { %>
|
||||
<li class="fb-count" data-type="fb">
|
||||
<a href="<%- page.social.facebook %>" target="_blank">
|
||||
<span class="fb icon-fb-m"><%- page.l.facebook %></span>
|
||||
</a>
|
||||
</li>
|
||||
<% } %>
|
||||
<% if (page.social.twitter) { %>
|
||||
<li class="tw-count" data-type="tw">
|
||||
<a href="<%- page.social.twitter %>" target="_blank">
|
||||
<span class="tw icon-tw-m"><%- page.l.twitter %></span>
|
||||
</a>
|
||||
</li>
|
||||
<% } %>
|
||||
<% if (page.social.gplus) { %>
|
||||
<li class="ok-count" data-type="ok">
|
||||
<a href="<%- page.social.gplus %>" target="_blank">
|
||||
<span class="ok icon-gp-m">G+</span>
|
||||
</a>
|
||||
</li>
|
||||
<% } %>
|
||||
<% if (page.social.youtube) { %>
|
||||
<li class="ok-count" data-type="ok">
|
||||
<a href="<%- page.social.youtube %>" target="_blank">
|
||||
<span class="yt icon-play"><%- page.l.youtube %></span>
|
||||
</a>
|
||||
</li>
|
||||
<% } %>
|
||||
<% if (page.social.instagram) { %>
|
||||
<li class="ok-count" data-type="ok">
|
||||
<a href="<%- page.social.instagram %>" target="_blank">
|
||||
<span class="ig icon-ig-m"><%- page.l.instagram %></span>
|
||||
</a>
|
||||
</li>
|
||||
<% } %>
|
||||
</ul>
|
||||
</div>
|
||||
<% } %>
|
||||
|
||||
<% if (typeof page.adv === 'object' && page.adv.top) { %>
|
||||
<div class="container user-playlists-slider main-playlist" style="margin-top: 30px; padding: 10px;">
|
||||
<div class="viewport" style="text-align: center;">
|
||||
<%- page.adv.top %>
|
||||
</div>
|
||||
</div>
|
||||
<% } %>
|
||||
<% include includes/header2.ejs %>
|
||||
|
||||
<div id="main" class="cat">
|
||||
|
||||
|
@ -124,8 +41,15 @@
|
|||
if (index.hasOwnProperty(type) && index[type].length && type !== 'episode') {
|
||||
index[type].forEach(function (category) { %>
|
||||
<div class="head-title">
|
||||
<h2 class="subtitle">
|
||||
<h2 class="subtitle-index">
|
||||
<%- category.name %>
|
||||
<div class="randomMovieIndex">
|
||||
<div class="cinemapress-random-index"
|
||||
onclick="window.location.href='<%- category.url %>?random'"
|
||||
title="<%- page.l.random %>">
|
||||
<img src="/themes/robb/public/images/dice.svg" alt="<%- page.l.random %>">
|
||||
</div>
|
||||
</div>
|
||||
</h2>
|
||||
</div>
|
||||
<div class="cinemapress-content-main">
|
||||
|
|
|
@ -315,6 +315,13 @@
|
|||
<div class="head-title clearfix">
|
||||
<div class="subtitle">
|
||||
<%- category.name %>
|
||||
<div class="randomMovieRelated">
|
||||
<div class="cinemapress-random-related"
|
||||
onclick="window.location.href='<%- category.url %>?random'"
|
||||
title="<%- page.l.random %>">
|
||||
<img src="/themes/robb/public/images/dice.svg" alt="<%- page.l.random %>">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slider-navigation">
|
||||
<span class="buttons prev row-left icon-arowLeft"><i class="fa"></i></span>
|
||||
|
|
Loading…
Reference in New Issue