Added tags

This commit is contained in:
zeldaroot 2019-12-02 05:35:31 +02:00
parent 69d3af27ea
commit 3550a12fb3
14 changed files with 44 additions and 39 deletions

File diff suppressed because one or more lines are too long

View File

@ -43,7 +43,7 @@
<% categories.forEach(function (content) { %>
<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>
<div class="cinemapress-categories" style="background-image:url('<%- content.image %>');"></div>
<a href="<%- content.url %>" class="cinemapress-categories-title"><%= content.title %></a>
</div>
</div>

View File

@ -59,8 +59,8 @@
<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 %>">
onclick="window.location.href='<%- (page.url.indexOf('?')+1 ? page.url + '&random' : page.url + '?random') %>'">
<img src="/themes/<%- page.theme %>/public/images/dice.svg" alt="<%- page.l.random %>">
<span><%- page.l.lucky %></span>
<small><%- page.l.random %></small>
</div>
@ -84,7 +84,7 @@
<div class="short_zombiz">
<div class="short_story">
<div class="title">
<img src="/themes/ramsay/public/images/video-play.png" class="h2-title-short" alt="<%- page.l.online %>">
<img src="/themes/<%- page.theme %>/public/images/video-play.png" class="h2-title-short" alt="<%- page.l.online %>">
<h2><a href="<%- movie.url %>"><%= movie.title %> (<%- movie.year %>)</a></h2>
</div>
<div class="short_img2">

View File

@ -44,7 +44,7 @@
<div id="cinemapress-content">
<div class="short_zombiz">
<div class="title-full">
<img src="/themes/ramsay/public/images/video-play.png" class="h2-title-short" alt="<%- page.l.online %>">
<img src="/themes/<%- page.theme %>/public/images/video-play.png" class="h2-title-short" alt="<%- page.l.online %>">
<h1><%- page.h1 %></h1>
</div>
@ -102,7 +102,7 @@
<% contents.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 %>);">
<a href="<%- content.url %>" class="cinemapress-news" style="background-image:url('<%- content.image %>');">
<div class="cinemapress-news-title">
<%= content.title %>
</div>
@ -122,9 +122,9 @@
<i><%- category.name %></i>
<div class="randomMovieRelated">
<div class="cinemapress-random-related"
onclick="window.location.href='<%- category.url %>?random'"
onclick="window.location.href='<%- (category.url.indexOf('?')+1 ? category.url + '&random' : category.url + '?random') %>'"
title="<%- page.l.random %>">
<img src="/themes/ramsay/public/images/dice.svg" alt="<%- page.l.random %>">
<img src="/themes/<%- page.theme %>/public/images/dice.svg" alt="<%- page.l.random %>">
</div>
</div>
</div>

View File

@ -44,7 +44,7 @@
<div id="cinemapress-content">
<div class="short_zombiz">
<div class="title-full">
<img src="/themes/ramsay/public/images/video-play.png" class="h2-title-short" alt="<%- page.l.online %>">
<img src="/themes/<%- page.theme %>/public/images/video-play.png" class="h2-title-short" alt="<%- page.l.online %>">
<h1><%- page.h1 %></h1>
</div>
@ -119,7 +119,7 @@
<% contents.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 %>);">
<a href="<%- content.url %>" class="cinemapress-news" style="background-image:url('<%- content.image %>');">
<div class="cinemapress-news-title">
<%= content.title %>
</div>
@ -139,9 +139,9 @@
<i><%- category.name %></i>
<div class="randomMovieRelated">
<div class="cinemapress-random-related"
onclick="window.location.href='<%- category.url %>?random'"
onclick="window.location.href='<%- (category.url.indexOf('?')+1 ? category.url + '&random' : category.url + '?random') %>'"
title="<%- page.l.random %>">
<img src="/themes/ramsay/public/images/dice.svg" alt="<%- page.l.random %>">
<img src="/themes/<%- page.theme %>/public/images/dice.svg" alt="<%- page.l.random %>">
</div>
</div>
</div>

View File

@ -22,7 +22,7 @@
<% } %>
</div>
<script src="/themes/ramsay/public/js/all.min.js"></script>
<script src="/themes/<%- page.theme %>/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>

View File

@ -3,8 +3,8 @@
<meta name="description" content="<%= page.description %>">
<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="shortcut icon" href="/themes/<%- page.theme %>/public/favicon.ico?v=<%- page.ver %>"/>
<link rel="stylesheet" href="/themes/ramsay/public/css/all.min.css?v=<%- page.ver %>">
<link rel="stylesheet" href="/themes/<%- page.theme %>/public/css/all.min.css?v=<%- page.ver %>">
<%- page.codes.head %>

View File

@ -45,7 +45,7 @@
<div class="topper" id="topper">
<div class="wrapper">
<a href="/" title="<%- page.l.home %>">
<img src="/themes/ramsay/public/images/logo.png?v=<%- page.ver %>" class="logo" alt="Logo">
<img src="/themes/<%- page.theme %>/public/images/logo.png?v=<%- page.ver %>" class="logo" alt="Logo">
</a>
<div class="mobile burger" onclick="showMenu();"></div>
<div class="mobile showFind" onclick="showFinder();"></div>
@ -68,12 +68,12 @@
<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>
<img src="/themes/<%- page.theme %>/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>
<a href="javascript:void(0)" id="continueViewing"><img src="/themes/<%- page.theme %>/public/images/video-play.png" class="h2-title-short" alt="<%- page.l.continue %>"> <%- page.l.continue %></a>
</div>
</div>

View File

@ -93,7 +93,7 @@
<% news.forEach(function (content) { %>
<div style="float: left; width: 100%;">
<div style="margin: 10px 0; padding: 0">
<a href="<%- content.url %>" class="cinemapress-news" style="background-image:url(<%- content.image %>);">
<a href="<%- content.url %>" class="cinemapress-news" style="background-image:url('<%- content.image %>');">
<div class="cinemapress-news-title">
<%= content.title %>
</div>

View File

@ -34,9 +34,9 @@
<%- category.name %>
<div class="randomMovieIndex">
<div class="cinemapress-random-index"
onclick="window.location.href='<%- category.url %>?random'"
onclick="window.location.href='<%- (category.url.indexOf('?')+1 ? category.url + '&random' : category.url + '?random') %>'"
title="<%- page.l.random %>">
<img src="/themes/ramsay/public/images/dice.svg" alt="<%- page.l.random %>">
<img src="/themes/<%- page.theme %>/public/images/dice.svg" alt="<%- page.l.random %>">
</div>
</div>
</h2>
@ -52,7 +52,7 @@
<div class="short_zombiz">
<div class="short_story">
<div class="title">
<img src="/themes/ramsay/public/images/video-play.png" class="h2-title-short" alt="<%- page.l.online %>">
<img src="/themes/<%- page.theme %>/public/images/video-play.png" class="h2-title-short" alt="<%- page.l.online %>">
<h3><a href="<%- movie.url %>"><%= movie.title %> (<% if (movie.season && movie.episode) { %><%- movie.season %> <%- page.l.season %> <%- movie.episode %> <%- page.l.episode %><% } else { %><%- movie.year %><% } %>)</a></h3>
</div>
<div class="short_img2">

View File

@ -39,7 +39,7 @@
<div id="cinemapress-content">
<div class="short_zombiz">
<div class="title-full">
<img src="/themes/ramsay/public/images/video-play.png" class="h2-title-short" alt="<%= movie.title %>">
<img src="/themes/<%- page.theme %>/public/images/video-play.png" class="h2-title-short" alt="<%= movie.title %>">
<h1><%- page.h1 %></h1>
</div>
<div class="fullstory">
@ -79,6 +79,11 @@
<span class="bold"><%- page.l.actors %>:</span> <%- movie.actors_url %>
</div>
<% } %>
<% if (movie.tags_url) { %>
<div style="margin-bottom: 5px">
<span class="bold"><%- page.l.tags %>:</span> <%- movie.tags_url %>
</div>
<% } %>
<% if (movie.kp_rating) { %>
<div style="margin-bottom: 5px">
<span class="bold" style="color: #F29420"><%- page.l.kp %>:</span> <%- movie.kp_rating/10 %> (<%- movie.kp_vote %> <%- page.l.votes %>)
@ -181,7 +186,7 @@
<% contents.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 %>);">
<a href="<%- content.url %>" class="cinemapress-news" style="background-image:url('<%- content.image %>');">
<div class="cinemapress-news-title">
<%= content.title %>
</div>
@ -201,9 +206,9 @@
<i><%- category.name %></i>
<div class="randomMovieRelated">
<div class="cinemapress-random-related"
onclick="window.location.href='<%- category.url %>?random'"
onclick="window.location.href='<%- (category.url.indexOf('?')+1 ? category.url + '&random' : category.url + '?random') %>'"
title="<%- page.l.random %>">
<img src="/themes/ramsay/public/images/dice.svg" alt="<%- page.l.random %>">
<img src="/themes/<%- page.theme %>/public/images/dice.svg" alt="<%- page.l.random %>">
</div>
</div>
</div>

View File

@ -44,7 +44,7 @@
<div id="cinemapress-content">
<div class="short_zombiz">
<div class="title-full">
<img src="/themes/ramsay/public/images/video-play.png" class="h2-title-short" alt="<%- page.l.online %>">
<img src="/themes/<%- page.theme %>/public/images/video-play.png" class="h2-title-short" alt="<%- page.l.online %>">
<h1><%- page.h1 %></h1>
</div>
@ -121,7 +121,7 @@
<% contents.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 %>);">
<a href="<%- content.url %>" class="cinemapress-news" style="background-image:url('<%- content.image %>');">
<div class="cinemapress-news-title">
<%= content.title %>
</div>
@ -141,9 +141,9 @@
<i><%- category.name %></i>
<div class="randomMovieRelated">
<div class="cinemapress-random-related"
onclick="window.location.href='<%- category.url %>?random'"
onclick="window.location.href='<%- (category.url.indexOf('?')+1 ? category.url + '&random' : category.url + '?random') %>'"
title="<%- page.l.random %>">
<img src="/themes/ramsay/public/images/dice.svg" alt="<%- page.l.random %>">
<img src="/themes/<%- page.theme %>/public/images/dice.svg" alt="<%- page.l.random %>">
</div>
</div>
</div>

View File

@ -44,7 +44,7 @@
<div id="cinemapress-content">
<div class="short_zombiz">
<div class="title-full">
<img src="/themes/ramsay/public/images/video-play.png" class="h2-title-short" alt="<%- page.l.online %>">
<img src="/themes/<%- page.theme %>/public/images/video-play.png" class="h2-title-short" alt="<%- page.l.online %>">
<h1><%- page.h1 %></h1>
</div>
@ -102,7 +102,7 @@
<% contents.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 %>);">
<a href="<%- content.url %>" class="cinemapress-news" style="background-image:url('<%- content.image %>');">
<div class="cinemapress-news-title">
<%= content.title %>
</div>
@ -122,9 +122,9 @@
<i><%- category.name %></i>
<div class="randomMovieRelated">
<div class="cinemapress-random-related"
onclick="window.location.href='<%- category.url %>?random'"
onclick="window.location.href='<%- (category.url.indexOf('?')+1 ? category.url + '&random' : category.url + '?random') %>'"
title="<%- page.l.random %>">
<img src="/themes/ramsay/public/images/dice.svg" alt="<%- page.l.random %>">
<img src="/themes/<%- page.theme %>/public/images/dice.svg" alt="<%- page.l.random %>">
</div>
</div>
</div>

View File

@ -44,7 +44,7 @@
<div id="cinemapress-content">
<div class="short_zombiz">
<div class="title-full">
<img src="/themes/ramsay/public/images/video-play.png" class="h2-title-short" alt="<%- page.l.online %>">
<img src="/themes/<%- page.theme %>/public/images/video-play.png" class="h2-title-short" alt="<%- page.l.online %>">
<h1><%- page.h1 %></h1>
</div>
@ -102,7 +102,7 @@
<% contents.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 %>);">
<a href="<%- content.url %>" class="cinemapress-news" style="background-image:url('<%- content.image %>');">
<div class="cinemapress-news-title">
<%= content.title %>
</div>
@ -122,9 +122,9 @@
<i><%- category.name %></i>
<div class="randomMovieRelated">
<div class="cinemapress-random-related"
onclick="window.location.href='<%- category.url %>?random'"
onclick="window.location.href='<%- (category.url.indexOf('?')+1 ? category.url + '&random' : category.url + '?random') %>'"
title="<%- page.l.random %>">
<img src="/themes/ramsay/public/images/dice.svg" alt="<%- page.l.random %>">
<img src="/themes/<%- page.theme %>/public/images/dice.svg" alt="<%- page.l.random %>">
</div>
</div>
</div>