Added tags

This commit is contained in:
zeldaroot 2019-12-02 05:35:24 +02:00
parent 1ab39e54ce
commit 0ce64320b6
13 changed files with 66 additions and 30 deletions

View File

@ -68,7 +68,7 @@
<% categories.forEach(function (content) { %>
<div style="float:left;width:33.33%;">
<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

@ -120,8 +120,8 @@
<div class="randomMovieCategory">
<div class="cinemapress-random-category"
onclick="window.location.href='<%- page.url %>?random'">
<img src="/themes/cersei/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>

View File

@ -188,6 +188,12 @@
<%- movie.countries_url %>
</p>
<% } %>
<% if (movie.tags_url) { %>
<p class="meta_dd">
<strong class="icon-attachment"></strong>
<%- movie.tags_url %>
</p>
<% } %>
</div>
</div>
@ -207,7 +213,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>
@ -259,9 +265,9 @@
<%- category.name %>
<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/cersei/public/images/dice.svg" alt="<%- page.l.random %>">
<img src="/themes/<%- page.theme %>/public/images/dice.svg" alt="<%- page.l.random %>">
</div>
</div>
</h3>

View File

@ -193,6 +193,12 @@
<%- movie.countries_url %>
</p>
<% } %>
<% if (movie.tags_url) { %>
<p class="meta_dd">
<strong class="icon-attachment"></strong>
<%- movie.tags_url %>
</p>
<% } %>
</div>
</div>
@ -212,7 +218,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>
@ -264,9 +270,9 @@
<%- category.name %>
<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/cersei/public/images/dice.svg" alt="<%- page.l.random %>">
<img src="/themes/<%- page.theme %>/public/images/dice.svg" alt="<%- page.l.random %>">
</div>
</div>
</h3>

View File

@ -18,7 +18,7 @@
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>
<script src="/themes/cersei/public/js/all.min.js"></script>
<script src="/themes/<%- page.theme %>/public/js/all.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/webfont/1.6.16/webfont.js"></script>
<script>

View File

@ -5,8 +5,8 @@
<meta name="description" content="<%= page.description %>"/>
<link rel="shortcut icon" href="/themes/cersei/public/favicon.ico?v=<%- page.ver %>" type="image/x-icon" />
<link rel="shortcut icon" href="/themes/<%- page.theme %>/public/favicon.ico?v=<%- page.ver %>" type="image/x-icon" />
<link rel="stylesheet" type="text/css" href="/themes/cersei/public/css/all.min.css?v=<%- page.ver %>"/>
<link rel="stylesheet" type="text/css" href="/themes/<%- page.theme %>/public/css/all.min.css?v=<%- page.ver %>"/>
<%- page.codes.head %>

View File

@ -37,7 +37,7 @@
</div>
<div class="center">
<a href="/">
<img src="/themes/cersei/public/images/logo.png?v=<%- page.ver %>" alt="Logo"/>
<img src="/themes/<%- page.theme %>/public/images/logo.png?v=<%- page.ver %>" alt="Logo"/>
</a>
</div>
</div>
@ -78,7 +78,7 @@
<div class="caja">
<div class="logo">
<A href="/">
<img src="/themes/cersei/public/images/logo.png?v=<%- page.ver %>" alt="Logo"/>
<img src="/themes/<%- page.theme %>/public/images/logo.png?v=<%- page.ver %>" alt="Logo"/>
</a>
</div>
<div style="margin: auto auto auto 5px; display: none;" class="menu continueViewingBlock">

View File

@ -33,7 +33,7 @@
<h3 style="margin: auto;"><%- page.l.soon %></h3>
<% soon.forEach(function (movie) { %>
<div style="margin: 0; padding: 10px 0">
<a href="<%- movie.url %>" class="cinemapress-news" style="background-image:url(<%- movie.poster %>);">
<a href="<%- movie.url %>" class="cinemapress-news" style="background-image:url('<%- movie.poster %>');">
<div class="cinemapress-news-title">
<%= movie.title %>
</div>
@ -48,7 +48,7 @@
<h3 style="margin: auto;"><%- page.l.news %></h3>
<% news.forEach(function (content) { %>
<div style="margin: 0; padding: 10px 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

@ -70,9 +70,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/cersei/public/images/dice.svg" alt="<%- page.l.random %>">
<img src="/themes/<%- page.theme %>/public/images/dice.svg" alt="<%- page.l.random %>">
</div>
</div>
</h2>

View File

@ -195,6 +195,12 @@
<%- movie.countries_url %>
</p>
<% } %>
<% if (movie.tags_url) { %>
<p class="meta_dd">
<strong class="icon-attachment"></strong>
<%- movie.tags_url %>
</p>
<% } %>
</div>
</div>
@ -214,7 +220,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>
@ -266,9 +272,9 @@
<%- category.name %>
<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/cersei/public/images/dice.svg" alt="<%- page.l.random %>">
<img src="/themes/<%- page.theme %>/public/images/dice.svg" alt="<%- page.l.random %>">
</div>
</div>
</h3>

View File

@ -195,6 +195,12 @@
<%- movie.countries_url %>
</p>
<% } %>
<% if (movie.tags_url) { %>
<p class="meta_dd">
<strong class="icon-attachment"></strong>
<%- movie.tags_url %>
</p>
<% } %>
</div>
</div>
@ -214,7 +220,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>
@ -266,9 +272,9 @@
<%- category.name %>
<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/cersei/public/images/dice.svg" alt="<%- page.l.random %>">
<img src="/themes/<%- page.theme %>/public/images/dice.svg" alt="<%- page.l.random %>">
</div>
</div>
</h3>

View File

@ -188,6 +188,12 @@
<%- movie.countries_url %>
</p>
<% } %>
<% if (movie.tags_url) { %>
<p class="meta_dd">
<strong class="icon-attachment"></strong>
<%- movie.tags_url %>
</p>
<% } %>
</div>
</div>
@ -207,7 +213,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>
@ -259,9 +265,9 @@
<%- category.name %>
<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/cersei/public/images/dice.svg" alt="<%- page.l.random %>">
<img src="/themes/<%- page.theme %>/public/images/dice.svg" alt="<%- page.l.random %>">
</div>
</div>
</h3>

View File

@ -188,6 +188,12 @@
<%- movie.countries_url %>
</p>
<% } %>
<% if (movie.tags_url) { %>
<p class="meta_dd">
<strong class="icon-attachment"></strong>
<%- movie.tags_url %>
</p>
<% } %>
</div>
</div>
@ -207,7 +213,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>
@ -259,9 +265,9 @@
<%- category.name %>
<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/cersei/public/images/dice.svg" alt="<%- page.l.random %>">
<img src="/themes/<%- page.theme %>/public/images/dice.svg" alt="<%- page.l.random %>">
</div>
</div>
</h3>