CinemaPress 4
This commit is contained in:
parent
6fe9cc36f7
commit
fc6226e62f
10
README.md
10
README.md
|
@ -1,10 +1,10 @@
|
|||
# Theme «sansa»
|
||||
|
||||
![Theme «sansa» for CinemaPress ACMS](https://raw.githubusercontent.com/CinemaPress/Theme-Sansa/master/screenshot.png "Theme «sansa» for CinemaPress ACMS")
|
||||
![Theme «sansa» for CinemaPress](https://raw.githubusercontent.com/CinemaPress/Theme-Sansa/master/screenshot.png "Theme «sansa» for CinemaPress")
|
||||
|
||||
:art: Theme «sansa» for CinemaPress ACMS
|
||||
:art: Theme «sansa» for CinemaPress
|
||||
|
||||
- [Sansa.CinemaPress.org](http://Sansa.CinemaPress.org/)
|
||||
- [Sansa.CinemaPress.io](http://Sansa.CinemaPress.io/)
|
||||
|
||||
## How to install?
|
||||
1. Download [GitHub](https://github.com/CinemaPress/Theme-Sansa/archive/master.zip) or [GitLab](https://gitlab.com/CinemaPress/Theme-Sansa/repository/archive.zip) or [BitBucket](https://bitbucket.org/cinemapress/theme-sansa/get/master.zip) or [Coding](https://coding.net/u/CinemaPress/p/Theme-Sansa/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 |
Binary file not shown.
After Width: | Height: | Size: 4.9 KiB |
Binary file not shown.
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 3.4 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>
|
||||
<% }); %>
|
||||
|
|
|
@ -84,8 +84,18 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div style="clear: both;"></div>
|
||||
<% } %>
|
||||
|
||||
<div class="randomMovieCategory">
|
||||
<div class="cinemapress-random-category"
|
||||
onclick="window.location.href='<%- page.url %>?random'">
|
||||
<img src="/themes/sansa/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="sortn">
|
||||
<div>
|
||||
|
@ -98,6 +108,7 @@
|
|||
<% }); %>
|
||||
</div>
|
||||
</div>
|
||||
<div style="clear: both;"></div>
|
||||
<% } %>
|
||||
|
||||
<div id="cinemapress-content">
|
||||
|
|
|
@ -137,9 +137,9 @@
|
|||
<% } %>
|
||||
</ul>
|
||||
|
||||
<div style="position: relative; height: 370px;">
|
||||
<div id="cinemapress-player" style="width: 683px;">
|
||||
<% if (page.player) { %>
|
||||
<%- page.player %>
|
||||
<%- page.player %>
|
||||
<% } %>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -150,7 +150,6 @@
|
|||
<div class="vkontakte" title="<%- page.l.vk %>"><%- page.l.vk %></div>
|
||||
<div class="facebook" title="<%- page.l.facebook %>"><%- page.l.facebook %></div>
|
||||
<div class="twitter" title="<%- page.l.twitter %>"><%- page.l.twitter %></div>
|
||||
<div class="plusone" title="<%- page.l.google %>"><%- page.l.google %></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -207,7 +206,16 @@
|
|||
movies[type].forEach(function (category) { %>
|
||||
<div class="relat_films">
|
||||
<div class="rf_head">
|
||||
<h4><%- category.name %></h4>
|
||||
<h4>
|
||||
<%- category.name %>
|
||||
<div class="randomMovieRelated">
|
||||
<div class="cinemapress-random-related"
|
||||
onclick="window.location.href='<%- category.url %>?random'"
|
||||
title="<%- page.l.random %>">
|
||||
<img src="/themes/sansa/public/images/dice.svg" alt="<%- page.l.random %>">
|
||||
</div>
|
||||
</div>
|
||||
</h4>
|
||||
</div>
|
||||
<% if (category.movies.length) {
|
||||
category.movies.forEach(function (movie) { %>
|
||||
|
|
|
@ -137,9 +137,9 @@
|
|||
<li class="complaint not-tab"><a href="javascript:void(0)" id="watchLater"><%- page.l.later %></a></li>
|
||||
</ul>
|
||||
|
||||
<div style="position: relative; height: 370px;">
|
||||
<div id="cinemapress-player" style="width: 683px;">
|
||||
<% if (page.player) { %>
|
||||
<%- page.player %>
|
||||
<%- page.player %>
|
||||
<% } %>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -150,9 +150,6 @@
|
|||
<div class="vkontakte" title="<%- page.l.vk %>"><%- page.l.vk %></div>
|
||||
<div class="facebook" title="<%- page.l.facebook %>"><%- page.l.facebook %></div>
|
||||
<div class="twitter" title="<%- page.l.twitter %>"><%- page.l.twitter %></div>
|
||||
|
||||
|
||||
<div class="plusone" title="<%- page.l.google %>"><%- page.l.google %></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -215,7 +212,16 @@
|
|||
movies[type].forEach(function (category) { %>
|
||||
<div class="relat_films">
|
||||
<div class="rf_head">
|
||||
<h4><%- category.name %></h4>
|
||||
<h4>
|
||||
<%- category.name %>
|
||||
<div class="randomMovieRelated">
|
||||
<div class="cinemapress-random-related"
|
||||
onclick="window.location.href='<%- category.url %>?random'"
|
||||
title="<%- page.l.random %>">
|
||||
<img src="/themes/sansa/public/images/dice.svg" alt="<%- page.l.random %>">
|
||||
</div>
|
||||
</div>
|
||||
</h4>
|
||||
</div>
|
||||
<% if (category.movies.length) {
|
||||
category.movies.forEach(function (movie) { %>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<div class="content">
|
||||
<ul>
|
||||
<li style="color: #fff">© <%- new Date().getFullYear() %> <a href="https://cinemapress.org" target="_blank">CinemaPress ACMS</a></li>
|
||||
<li style="color: #fff">© <%- new Date().getFullYear() %> <a href="https://cinemapress.io" target="_blank">CinemaPress</a></li>
|
||||
<li><a href="/"><%- page.l.home %></a></li>
|
||||
<li style="color: #ccc">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></li>
|
||||
<li class="top" id="back-top"><a href="#top" id="top_footer" rel="nofollow"><%- page.l.up %></a></li>
|
||||
|
@ -9,7 +9,7 @@
|
|||
|
||||
<div id="top"></div>
|
||||
|
||||
<script src="/themes/sansa/public/js/all.js"></script>
|
||||
<script src="/themes/sansa/public/js/all.min.js"></script>
|
||||
|
||||
<script>
|
||||
WebFontConfig = {
|
||||
|
|
|
@ -3,6 +3,6 @@
|
|||
<meta name="description" content="<%= page.description %>">
|
||||
<link rel="shortcut icon" href="/themes/sansa/public/favicon.ico?v=<%- page.ver %>">
|
||||
|
||||
<link href="/themes/sansa/public/css/all.css?v=<%- page.ver %>" type="text/css" rel="stylesheet">
|
||||
<link href="/themes/sansa/public/css/all.min.css?v=<%- page.ver %>" type="text/css" rel="stylesheet">
|
||||
|
||||
<%- page.codes.head %>
|
|
@ -3,11 +3,17 @@
|
|||
<div class="logo">
|
||||
<a href="/" rel="nofollow"><img src="/themes/sansa/public/images/logo.png?v=<%- page.ver %>" alt="Logo" style="height:88px;"></a>
|
||||
</div>
|
||||
<div class="randomMovieMenu">
|
||||
<a href="/?random" class="dice cinemapress-random-menu" title="<%- page.l.lucky %>">
|
||||
<span><%- page.l.lucky %></span>
|
||||
</a>
|
||||
</div>
|
||||
<a href="javascript:void(0)" class="reg continueViewingBlock" id="continueViewing" style="display: none;"><%- page.l.continue %>?</a>
|
||||
<div class="search">
|
||||
<form action="/<%- page.urls.search %>/title" name="searchform" method="get">
|
||||
<input type="text" class="search_inp" name="q" id="story" autocomplete="off" placeholder="<%- page.l.search %>...">
|
||||
<form action="/<%- page.urls.search %>" name="searchform" method="get">
|
||||
<input type="text" class="search_inp" name="q" id="story" placeholder="<%- page.l.search %>..." data-autocomplete="desktop">
|
||||
<input type="submit" class="search_but" value="" rel="nofollow">
|
||||
<div class="cinemapress-autocomplete" data-autocomplete="desktop"></div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -51,8 +57,8 @@
|
|||
<div class="social">
|
||||
<% if (page.social.twitter) { %><a href="<%- page.social.twitter %>" target="_blank" class="sbut tw"></a><% } %>
|
||||
<% if (page.social.facebook) { %><a href="<%- page.social.facebook %>" target="_blank" class="sbut fb"></a><% } %>
|
||||
<% if (page.social.gplus) { %><a href="<%- page.social.gplus %>" target="_blank" class="sbut gp"></a><% } %>
|
||||
<% if (page.social.vk) { %><a href="<%- page.social.vk %>" target="_blank" class="sbut vk"></a><% } %>
|
||||
<% if (page.social.telegram) { %><a href="<%- page.social.telegram %>" target="_blank" class="sbut tg"></a><% } %>
|
||||
<% if (page.social.youtube) { %><a href="<%- page.social.youtube %>" target="_blank" class="sbut yt"></a><% } %>
|
||||
<% if (page.social.instagram) { %><a href="<%- page.social.instagram %>" target="_blank" class="sbut in"></a><% } %>
|
||||
</div>
|
||||
|
|
|
@ -37,6 +37,13 @@
|
|||
<div class="category-name_2">
|
||||
<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/sansa/public/images/dice.svg" alt="<%- page.l.random %>">
|
||||
</div>
|
||||
</div>
|
||||
</h2>
|
||||
</div>
|
||||
|
||||
|
@ -49,18 +56,19 @@
|
|||
<div class="fname">
|
||||
<a href="<%- movie.url %>">
|
||||
<%= movie.title %>
|
||||
<span><% if (movie.season && movie.episode) { %><%- movie.season %> <%- page.l.season %> <%- movie.episode %> <%- page.l.episode %><% } else { %><%- movie.year %><% } %></span> </a>
|
||||
<span><% if (movie.season && movie.episode) { %><%- movie.season %> <%- page.l.season %> <%- movie.episode %> <%- page.l.episode %><% } else { %><%- movie.year %><% } %></span>
|
||||
</a>
|
||||
<% if (movie.rating) { %>
|
||||
<div class="rating show_rating_panel">
|
||||
<span class="text"><%- page.l.rating %>:</span>
|
||||
<div class="vote-num">
|
||||
<span><%- movie.rating / 10 %></span>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<% } %>
|
||||
</div>
|
||||
</div>
|
||||
<% if (movie.rating) { %>
|
||||
<div class="rating show_rating_panel">
|
||||
<span class="text"><%- page.l.rating %>:</span>
|
||||
<div class="vote-num">
|
||||
<span><%- movie.rating / 10 %></span>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<% } %>
|
||||
<div class="poster">
|
||||
<div class="poster_over_2">
|
||||
<a href="<%- movie.url %>" rel="nofollow" class="poster_over_2_play"></a>
|
||||
|
|
|
@ -152,9 +152,6 @@
|
|||
<div class="vkontakte" title="<%- page.l.vk %>"><%- page.l.vk %></div>
|
||||
<div class="facebook" title="<%- page.l.facebook %>"><%- page.l.facebook %></div>
|
||||
<div class="twitter" title="<%- page.l.twitter %>"><%- page.l.twitter %></div>
|
||||
|
||||
|
||||
<div class="plusone" title="<%- page.l.google %>"><%- page.l.google %></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -227,7 +224,16 @@
|
|||
movies[type].forEach(function (category) { %>
|
||||
<div class="relat_films">
|
||||
<div class="rf_head">
|
||||
<h4><%- category.name %></h4>
|
||||
<h4>
|
||||
<%- category.name %>
|
||||
<div class="randomMovieRelated">
|
||||
<div class="cinemapress-random-related"
|
||||
onclick="window.location.href='<%- category.url %>?random'"
|
||||
title="<%- page.l.random %>">
|
||||
<img src="/themes/sansa/public/images/dice.svg" alt="<%- page.l.random %>">
|
||||
</div>
|
||||
</div>
|
||||
</h4>
|
||||
</div>
|
||||
<% if (category.movies.length) {
|
||||
category.movies.forEach(function (movie) { %>
|
||||
|
|
|
@ -137,7 +137,7 @@
|
|||
|
||||
<div id="cinemapress-player" style="width: 683px;">
|
||||
<% if (page.player) { %>
|
||||
<%- page.player %>
|
||||
<%- page.player %>
|
||||
<% } %>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -148,9 +148,6 @@
|
|||
<div class="vkontakte" title="<%- page.l.vk %>"><%- page.l.vk %></div>
|
||||
<div class="facebook" title="<%- page.l.facebook %>"><%- page.l.facebook %></div>
|
||||
<div class="twitter" title="<%- page.l.twitter %>"><%- page.l.twitter %></div>
|
||||
|
||||
|
||||
<div class="plusone" title="<%- page.l.google %>"><%- page.l.google %></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -213,7 +210,16 @@
|
|||
movies[type].forEach(function (category) { %>
|
||||
<div class="relat_films">
|
||||
<div class="rf_head">
|
||||
<h4><%- category.name %></h4>
|
||||
<h4>
|
||||
<%- category.name %>
|
||||
<div class="randomMovieRelated">
|
||||
<div class="cinemapress-random-related"
|
||||
onclick="window.location.href='<%- category.url %>?random'"
|
||||
title="<%- page.l.random %>">
|
||||
<img src="/themes/sansa/public/images/dice.svg" alt="<%- page.l.random %>">
|
||||
</div>
|
||||
</div>
|
||||
</h4>
|
||||
</div>
|
||||
<% if (category.movies.length) {
|
||||
category.movies.forEach(function (movie) { %>
|
||||
|
|
|
@ -124,9 +124,11 @@
|
|||
|
||||
<div class="player-block">
|
||||
|
||||
<% if (page.player) { %>
|
||||
<%- page.player %>
|
||||
<% } %>
|
||||
<div id="cinemapress-player" style="width: 683px;">
|
||||
<% if (page.player) { %>
|
||||
<%- page.player %>
|
||||
<% } %>
|
||||
</div>
|
||||
|
||||
<div style="height: 10px"></div>
|
||||
|
||||
|
@ -135,9 +137,6 @@
|
|||
<div class="vkontakte" title="<%- page.l.vk %>"><%- page.l.vk %></div>
|
||||
<div class="facebook" title="<%- page.l.facebook %>"><%- page.l.facebook %></div>
|
||||
<div class="twitter" title="<%- page.l.twitter %>"><%- page.l.twitter %></div>
|
||||
|
||||
|
||||
<div class="plusone" title="<%- page.l.google %>"><%- page.l.google %></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -178,7 +177,16 @@
|
|||
movies[type].forEach(function (category) { %>
|
||||
<div class="relat_films">
|
||||
<div class="rf_head">
|
||||
<h4><%- category.name %></h4>
|
||||
<h4>
|
||||
<%- category.name %>
|
||||
<div class="randomMovieRelated">
|
||||
<div class="cinemapress-random-related"
|
||||
onclick="window.location.href='<%- category.url %>?random'"
|
||||
title="<%- page.l.random %>">
|
||||
<img src="/themes/sansa/public/images/dice.svg" alt="<%- page.l.random %>">
|
||||
</div>
|
||||
</div>
|
||||
</h4>
|
||||
</div>
|
||||
<% if (category.movies.length) {
|
||||
category.movies.forEach(function (movie) { %>
|
||||
|
|
|
@ -134,9 +134,9 @@
|
|||
<% } %>
|
||||
</ul>
|
||||
|
||||
<div style="position: relative; height: 370px;">
|
||||
<div id="cinemapress-player" style="width: 683px;">
|
||||
<% if (page.player) { %>
|
||||
<%- page.player %>
|
||||
<%- page.player %>
|
||||
<% } %>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -147,9 +147,6 @@
|
|||
<div class="vkontakte" title="<%- page.l.vk %>"><%- page.l.vk %></div>
|
||||
<div class="facebook" title="<%- page.l.facebook %>"><%- page.l.facebook %></div>
|
||||
<div class="twitter" title="<%- page.l.twitter %>"><%- page.l.twitter %></div>
|
||||
|
||||
|
||||
<div class="plusone" title="<%- page.l.google %>"><%- page.l.google %></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -212,7 +209,16 @@
|
|||
movies[type].forEach(function (category) { %>
|
||||
<div class="relat_films">
|
||||
<div class="rf_head">
|
||||
<h4><%- category.name %></h4>
|
||||
<h4>
|
||||
<%- category.name %>
|
||||
<div class="randomMovieRelated">
|
||||
<div class="cinemapress-random-related"
|
||||
onclick="window.location.href='<%- category.url %>?random'"
|
||||
title="<%- page.l.random %>">
|
||||
<img src="/themes/sansa/public/images/dice.svg" alt="<%- page.l.random %>">
|
||||
</div>
|
||||
</div>
|
||||
</h4>
|
||||
</div>
|
||||
<% if (category.movies.length) {
|
||||
category.movies.forEach(function (movie) { %>
|
||||
|
|
Loading…
Reference in New Issue