Added tags

This commit is contained in:
zeldaroot 2019-12-02 05:35:12 +02:00
parent cd2d082860
commit 0b8cb3ff2e
13 changed files with 69 additions and 33 deletions

File diff suppressed because one or more lines are too long

View File

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

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

@ -144,6 +144,12 @@
<i class="fa fa-calendar" aria-hidden="true"></i>&nbsp;<%- movie.year_url %>
</span>
<% } %>
<% if (movie.tags_url) { %>
<br>
<span class="movie-genre" style="padding: 0">
<i class="fa fa-tags" aria-hidden="true"></i>&nbsp;<%- movie.tags_url %>
</span>
<% } %>
</div>
<% if (movie.directors_url) { %>
<div class="movie-castcrew">
@ -233,7 +239,7 @@
<% contents.forEach(function (content) { %>
<div class="cinemapress-news-block">
<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>
@ -255,9 +261,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/bran/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

@ -149,6 +149,12 @@
<i class="fa fa-calendar" aria-hidden="true"></i>&nbsp;<%- movie.year_url %>
</span>
<% } %>
<% if (movie.tags_url) { %>
<br>
<span class="movie-genre" style="padding: 0">
<i class="fa fa-tags" aria-hidden="true"></i>&nbsp;<%- movie.tags_url %>
</span>
<% } %>
</div>
<% if (movie.directors_url) { %>
<div class="movie-castcrew">
@ -242,7 +248,7 @@
<% contents.forEach(function (content) { %>
<div class="cinemapress-news-block">
<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/bran/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

@ -3,7 +3,7 @@
<% news.forEach(function (content) { %>
<div class="cinemapress-news-block">
<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>
@ -155,10 +155,10 @@
</li>
</ul>
</div>
<div class="age"><img src="/themes/bran/public/images/pg.png" alt="18+"></div>
<div class="age"><img src="/themes/<%- page.theme %>/public/images/pg.png" alt="18+"></div>
<div class="copyrights">
&copy;&nbsp;<%- new Date().getFullYear() %>&nbsp;<a href="https://cinemapress.io" target="_blank">CinemaPress</a>
</div>
<script src="/themes/bran/public/js/all.min.js"></script>
<script src="/themes/<%- page.theme %>/public/js/all.min.js"></script>
<%- page.codes.footer %>

View File

@ -7,8 +7,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="default">
<link rel="shortcut icon" type="image/x-icon" href="/themes/bran/public/favicon.ico?v=<%- page.ver %>"/>
<link rel="stylesheet" type="text/css" href="/themes/bran/public/css/all.min.css?v=<%- page.ver %>"/>
<link rel="shortcut icon" type="image/x-icon" href="/themes/<%- page.theme %>/public/favicon.ico?v=<%- page.ver %>"/>
<link rel="stylesheet" type="text/css" href="/themes/<%- page.theme %>/public/css/all.min.css?v=<%- page.ver %>"/>
<link rel="stylesheet" type="text/css" href="//netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.css?v=<%- page.ver %>"/>
<!--[if lt IE 9]><script src="http://css3-mediaqueries-js.googlecode.com/svn/trunk/css3-mediaqueries.js"></script><script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script><--![endif]-->

View File

@ -1,6 +1,6 @@
<div class="logo">
<a href="/">
<img src="/themes/bran/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>
<button class="menu_button" id="trigger"><%- page.l.menu %></button>
@ -13,7 +13,7 @@
<a href="javascript:void(0)" class="fav_link continueViewingBlock" id="continueViewing" style="display: none;"><%- page.l.continue %>?</a>
<div class="randomMovieMenu">
<a href="/?random" class="live_link cinemapress-random-menu" title="<%- page.l.random %>">
<img src="/themes/bran/public/images/dice.svg" alt="<%- page.l.lucky %>">
<img src="/themes/<%- page.theme %>/public/images/dice.svg" alt="<%- page.l.lucky %>">
<%- page.l.lucky %>
</a>
</div>

View File

@ -25,8 +25,8 @@
<span><%= page.title %></span>
</div>
<div class="flex-rw" style="background: url(/themes/bran/public/images/top_menu.png) center repeat-x; font-weight: normal; position: relative;">
<div style="background: url(/themes/bran/public/images/top_pic.png) center no-repeat;position: absolute;width: 100%;height: 100%;text-align: center;margin: 0 auto; z-index: -1000"></div>
<div class="flex-rw" style="background: url('/themes/<%- page.theme %>/public/images/top_menu.png') center repeat-x; font-weight: normal; position: relative;">
<div style="background: url('/themes/<%- page.theme %>/public/images/top_pic.png') center no-repeat;position: absolute;width: 100%;height: 100%;text-align: center;margin: 0 auto; z-index: -1000"></div>
<ul class="footer-list-top-info">
<% page.urls.genres.slice(0,10).forEach(function(genre) { %>
<li style="padding: 0; text-align: right;">
@ -93,9 +93,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/bran/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

@ -136,6 +136,12 @@
<i class="fa fa-calendar" aria-hidden="true"></i>&nbsp;<%- movie.year_url %>
</span>
<% } %>
<% if (movie.tags_url) { %>
<br>
<span class="movie-genre" style="padding: 0">
<i class="fa fa-tags" aria-hidden="true"></i>&nbsp;<%- movie.tags_url %>
</span>
<% } %>
</div>
<% if (movie.directors_url) { %>
<div class="movie-castcrew">
@ -231,7 +237,7 @@
<% contents.forEach(function (content) { %>
<div class="cinemapress-news-block">
<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>
@ -253,9 +259,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/bran/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

@ -149,6 +149,12 @@
<i class="fa fa-calendar" aria-hidden="true"></i>&nbsp;<%- movie.year_url %>
</span>
<% } %>
<% if (movie.tags_url) { %>
<br>
<span class="movie-genre" style="padding: 0">
<i class="fa fa-tags" aria-hidden="true"></i>&nbsp;<%- movie.tags_url %>
</span>
<% } %>
</div>
<% if (movie.directors_url) { %>
<div class="movie-castcrew">
@ -244,7 +250,7 @@
<% contents.forEach(function (content) { %>
<div class="cinemapress-news-block">
<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/bran/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

@ -144,6 +144,12 @@
<i class="fa fa-calendar" aria-hidden="true"></i>&nbsp;<%- movie.year_url %>
</span>
<% } %>
<% if (movie.tags_url) { %>
<br>
<span class="movie-genre" style="padding: 0">
<i class="fa fa-tags" aria-hidden="true"></i>&nbsp;<%- movie.tags_url %>
</span>
<% } %>
</div>
<% if (movie.directors_url) { %>
<div class="movie-castcrew">
@ -237,7 +243,7 @@
<% contents.forEach(function (content) { %>
<div class="cinemapress-news-block">
<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/bran/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

@ -144,6 +144,12 @@
<i class="fa fa-calendar" aria-hidden="true"></i>&nbsp;<%- movie.year_url %>
</span>
<% } %>
<% if (movie.tags_url) { %>
<br>
<span class="movie-genre" style="padding: 0">
<i class="fa fa-tags" aria-hidden="true"></i>&nbsp;<%- movie.tags_url %>
</span>
<% } %>
</div>
<% if (movie.directors_url) { %>
<div class="movie-castcrew">
@ -237,7 +243,7 @@
<% contents.forEach(function (content) { %>
<div class="cinemapress-news-block">
<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/bran/public/images/dice.svg" alt="<%- page.l.random %>">
<img src="/themes/<%- page.theme %>/public/images/dice.svg" alt="<%- page.l.random %>">
</div>
</div>
</div>