Library updates
This commit is contained in:
@@ -1,19 +1,19 @@
|
||||
<!-- views/pages/index.ejs -->
|
||||
<% include ./partials/top %>
|
||||
<%- include('./partials/top') %>
|
||||
|
||||
<body class="container">
|
||||
|
||||
<% include ./partials/header %>
|
||||
<%- include('./partials/header') %>
|
||||
|
||||
<main class='main'>
|
||||
|
||||
<% include ./partials/cards %>
|
||||
<%- include('./partials/cards') %>
|
||||
|
||||
</main>
|
||||
|
||||
<% include ./partials/footer %>
|
||||
<%- include('./partials/footer') %>
|
||||
|
||||
<% include ./partials/scripts %>
|
||||
<%- include('./partials/scripts') %>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
@@ -24,7 +24,7 @@
|
||||
</main>
|
||||
|
||||
<footer>
|
||||
<% include ./partials/footer %>
|
||||
<% include('./partials/footer') %>
|
||||
</footer>
|
||||
|
||||
</body>
|
||||
|
@@ -1,25 +1,30 @@
|
||||
<!-- views/pages/index.ejs -->
|
||||
<% include ./partials/top %>
|
||||
<%- include('./partials/top') %>
|
||||
|
||||
<body class="container">
|
||||
|
||||
<% include ./partials/header %>
|
||||
<%- include('./partials/header') %>
|
||||
|
||||
<main class='main'>
|
||||
|
||||
<div class='intro'>
|
||||
<p><strong>The Codex Mythica</strong> is a database of all of the cards released for the <em>Mythic Wars</em> card game. Browse through <a href='/cards/'>all of the cards</a> in the game, or search to find the card(s) you're looking for.
|
||||
<p>
|
||||
<strong>The Codex Mythica</strong> is a database of all of the cards released
|
||||
for the <em>Mythic Wars</em> card game. Browse through
|
||||
<a href='/cards/'>all of the cards</a> in the game, or search to find the
|
||||
card(s) you're looking for.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<% include ./partials/random_card %>
|
||||
<%- include('./partials/random_card') %>
|
||||
|
||||
<% include ./partials/search_form %>
|
||||
<%- include('./partials/search_form') %>
|
||||
|
||||
</main>
|
||||
|
||||
<% include ./partials/footer %>
|
||||
<%- include('./partials/footer') %>
|
||||
|
||||
<% include ./partials/scripts %>
|
||||
<%- include('./partials/scripts') %>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
@@ -4,7 +4,7 @@
|
||||
<%
|
||||
cards.forEach(card => {
|
||||
%>
|
||||
<% include ./preview %>
|
||||
<%- include('./preview', { card }) %>
|
||||
<%
|
||||
})
|
||||
%>
|
||||
|
@@ -2,12 +2,12 @@
|
||||
<footer id="footer" class="footer" role="contentinfo">
|
||||
<div class="footer-inner clearfix">
|
||||
<p>
|
||||
<strong>The Codex Mythica</strong> © 2017-2018
|
||||
<strong>The Codex Mythica</strong> © 2017-2024
|
||||
<a href="https://itsericwoodward.com/" class="p-author h-card" rel="author" title="Eric Woodward">Eric Woodward</a>. <em>Mythic Wars</em> and the Mythic Wars logo © and ™ Eric Woodward, licensed by Excalibre Games. <em>Excalibre Games</em> and the Excalibre Games parthenon © and ™ <a href="http://excalibregames.com/" title="Excalibre Games">Excalibre Games</a>.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Question or concerns? Find us on Twitter <a href="https://twitter.com/MythicWarsGame">@MythicWarsGame</a>, or send us an e-mail at
|
||||
Question or concerns? Send us an e-mail at
|
||||
<a href="mailto:
|
||||
contact@mythicwarsgame.com">
|
||||
contact@mythicwarsgame.com
|
||||
@@ -18,7 +18,7 @@
|
||||
Powered by
|
||||
<a href="https://nodejs.org/">Node</a>,
|
||||
<a href="https://nginx.org/">nginx</a>,
|
||||
<a href="https://atom.io/">Atom</a>,
|
||||
<a href="https://vscodium.com/">VSCodium</a>,
|
||||
and <strong>the will of the gods</strong>.
|
||||
</p>
|
||||
<a href="#" class="footer-topLink topLink">[ Go to Top ]</a>
|
||||
|
@@ -46,7 +46,7 @@
|
||||
<input type='checkbox' name='pantheons' value='aztec'
|
||||
<%- query && ((query.pantheons && query.pantheons.indexOf('aztec') > -1) || !query.pantheons || JSON.stringify(query.pantheons) === '[]') ? "checked='checked'" : '' %>
|
||||
/> <img
|
||||
class="searchForm-pantheon" src="/images/pantheons/aztec.png" alt="Aztec" />
|
||||
class="searchForm-pantheon" src="/images/pantheons/aztec.png" alt="Aztec Pantheon Symbol" title="Aztec Pantheon" />
|
||||
</label>
|
||||
</li>
|
||||
<li>
|
||||
@@ -54,7 +54,7 @@
|
||||
<input type='checkbox' name='pantheons' value='egyptian'
|
||||
<%- query && ((query.pantheons && query.pantheons.indexOf('egyptian') > -1) || !query.pantheons || JSON.stringify(query.pantheons) === '[]') ? "checked='checked'" : '' %>
|
||||
/> <img
|
||||
class="searchForm-pantheon" src="/images/pantheons/egyptian.png" alt="Egyptian" />
|
||||
class="searchForm-pantheon" src="/images/pantheons/egyptian.png" alt="Egyptian Pantheon Symbol" title="Egyptian Pantheon" />
|
||||
</label>
|
||||
</li>
|
||||
<li>
|
||||
@@ -62,7 +62,7 @@
|
||||
<input type='checkbox' name='pantheons' value='eternal'
|
||||
<%- query && ((query.pantheons && query.pantheons.indexOf('eternal') > -1) || !query.pantheons || JSON.stringify(query.pantheons) === '[]') ? "checked='checked'" : '' %>
|
||||
/> <img
|
||||
class="searchForm-pantheon" src="/images/pantheons/eternal.png" alt="Eternal" />
|
||||
class="searchForm-pantheon" src="/images/pantheons/eternal.png" alt="Eternal Pantheon Symbol" title="Eternal Pantheon" />
|
||||
</label>
|
||||
</li>
|
||||
<li>
|
||||
@@ -70,7 +70,7 @@
|
||||
<input type='checkbox' name='pantheons' value='greek'
|
||||
<%- query && ((query.pantheons && query.pantheons.indexOf('greek') > -1) || !query.pantheons || JSON.stringify(query.pantheons) === '[]') ? "checked='checked'" : '' %>
|
||||
/> <img
|
||||
class="searchForm-pantheon" src="/images/pantheons/greek.png" alt="Greek" />
|
||||
class="searchForm-pantheon" src="/images/pantheons/greek.png" alt="Greek Pantheon Symbol" title="Greek Pantheon" />
|
||||
</label>
|
||||
</li>
|
||||
<li>
|
||||
@@ -78,7 +78,7 @@
|
||||
<input type='checkbox' name='pantheons' value='japanese'
|
||||
<%- query && ((query.pantheons && query.pantheons.indexOf('japanese') > -1) || !query.pantheons || JSON.stringify(query.pantheons) === '[]') ? "checked='checked'" : '' %>
|
||||
/> <img
|
||||
class="searchForm-pantheon" src="/images/pantheons/japanese.png" alt="Japanese" />
|
||||
class="searchForm-pantheon" src="/images/pantheons/japanese.png" alt="Japanese Pantheon Symbol" title="Japanese Pantheon" />
|
||||
</label>
|
||||
</li>
|
||||
<li>
|
||||
@@ -86,7 +86,7 @@
|
||||
<input type='checkbox' name='pantheons' value='norse'
|
||||
<%- query && ((query.pantheons && query.pantheons.indexOf('norse') > -1) || !query.pantheons || JSON.stringify(query.pantheons) === '[]') ? "checked='checked'" : '' %>
|
||||
/> <img
|
||||
class="searchForm-pantheon" src="/images/pantheons/norse.png" alt="Norse" />
|
||||
class="searchForm-pantheon" src="/images/pantheons/norse.png" alt="Norse Pantheon Symbol" title="Norse Pantheon" />
|
||||
</label>
|
||||
</li>
|
||||
<li>
|
||||
@@ -94,7 +94,7 @@
|
||||
<input type='checkbox' name='pantheons' value='old-ones'
|
||||
<%- query && ((query.pantheons && query.pantheons.indexOf('old-ones') > -1) || !query.pantheons || JSON.stringify(query.pantheons) === '[]') ? "checked='checked'" : '' %>
|
||||
/> <img
|
||||
class="searchForm-pantheon" src="/images/pantheons/old-ones.png" alt="Old Ones" />
|
||||
class="searchForm-pantheon" src="/images/pantheons/old-ones.png" alt="Old Ones Pantheon Symbol" title="Old Ones Pantheon" />
|
||||
</label>
|
||||
</li>
|
||||
<li>
|
||||
@@ -102,7 +102,7 @@
|
||||
<input type='checkbox' name='pantheons' value='sumerian'
|
||||
<%- query && ((query.pantheons && query.pantheons.indexOf('sumerian') > -1) || !query.pantheons || JSON.stringify(query.pantheons) === '[]') ? "checked='checked'" : '' %>
|
||||
/> <img
|
||||
class="searchForm-pantheon" src="/images/pantheons/sumerian.png" alt="Sumerian" />
|
||||
class="searchForm-pantheon" src="/images/pantheons/sumerian.png" alt="Sumerian Pantheon Symbol" title="Sumerian Pantheon" />
|
||||
</label>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -115,7 +115,7 @@
|
||||
<input type='checkbox' name='elements' value='water'
|
||||
<%- query && ((query.elements && query.elements.indexOf('water') > -1) || !query.elements || JSON.stringify(query.elements) === '[]') ? "checked='checked'" : '' %>
|
||||
/> <img
|
||||
class="searchForm-element" src="/images/elements/water.png" alt="Water" />
|
||||
class="searchForm-element" src="/images/elements/water.png" alt="Water Element Symbol" title="Water Element" />
|
||||
</label>
|
||||
</li>
|
||||
<li>
|
||||
@@ -123,7 +123,7 @@
|
||||
<input type='checkbox' name='elements' value='fire'
|
||||
<%- query && ((query.elements && query.elements.indexOf('fire') > -1) || !query.elements || JSON.stringify(query.elements) === '[]') ? "checked='checked'" : '' %>
|
||||
/> <img
|
||||
class="searchForm-element" src="/images/elements/fire.png" alt="Fire" />
|
||||
class="searchForm-element" src="/images/elements/fire.png" alt="Fire Element Symbol" title="Fire Element" />
|
||||
</label>
|
||||
</li>
|
||||
<li>
|
||||
@@ -131,7 +131,7 @@
|
||||
<input type='checkbox' name='elements' value='earth'
|
||||
<%- query && ((query.elements && query.elements.indexOf('earth') > -1) || !query.elements || JSON.stringify(query.elements) === '[]') ? "checked='checked'" : '' %>
|
||||
/> <img
|
||||
class="searchForm-element" src="/images/elements/earth.png" alt="Earth" />
|
||||
class="searchForm-element" src="/images/elements/earth.png" alt="Earth Element Symbol" title="Earth Element" />
|
||||
</label>
|
||||
</li>
|
||||
<li>
|
||||
@@ -139,7 +139,7 @@
|
||||
<input type='checkbox' name='elements' value='air'
|
||||
<%- query && ((query.elements && query.elements.indexOf('air') > -1) || !query.elements || JSON.stringify(query.elements) === '[]') ? "checked='checked'" : '' %>
|
||||
/> <img
|
||||
class="searchForm-element" src="/images/elements/air.png" alt="Air" />
|
||||
class="searchForm-element" src="/images/elements/air.png" alt="Air Element Symbol" title="Air Element" />
|
||||
</label>
|
||||
</li>
|
||||
<li>
|
||||
@@ -147,7 +147,7 @@
|
||||
<input type='checkbox' name='elements' value='law'
|
||||
<%- query && ((query.elements && query.elements.indexOf('law') > -1) || !query.elements || JSON.stringify(query.elements) === '[]') ? "checked='checked'" : '' %>
|
||||
/> <img
|
||||
class="searchForm-element" src="/images/elements/law.png" alt="Law" />
|
||||
class="searchForm-element" src="/images/elements/law.png" alt="Law Element Symbol" title="Law Element" />
|
||||
</label>
|
||||
</li>
|
||||
<li>
|
||||
@@ -155,11 +155,12 @@
|
||||
<input type='checkbox' name='elements' value='chaos'
|
||||
<%- query && ((query.elements && query.elements.indexOf('chaos') > -1) || !query.elements || JSON.stringify(query.elements) === '[]') ? "checked='checked'" : '' %>
|
||||
/> <img
|
||||
class="searchForm-element" src="/images/elements/chaos.png" alt="Chaos" />
|
||||
class="searchForm-element" src="/images/elements/chaos.png" alt="Chaos Element Symbol" title="Chaos Element" />
|
||||
</label>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<label for='races' class='js-checkToggle'>Races</label>
|
||||
<ul>
|
||||
@@ -300,7 +301,7 @@
|
||||
</li>
|
||||
<li>
|
||||
<label>
|
||||
<input type='radio' name='sort_order' value='asc'
|
||||
<input type='radio' name='sort_order' value='desc'
|
||||
<%- query && (query.sort_order && query.sort_order === 'desc') ? "checked='checked'" : '' %>
|
||||
/> Descending
|
||||
</label>
|
||||
|
@@ -1,21 +1,21 @@
|
||||
<!-- views/pages/search.ejs -->
|
||||
<% include ./partials/top %>
|
||||
<%- include('./partials/top') %>
|
||||
|
||||
<body class="container">
|
||||
|
||||
<% include ./partials/header %>
|
||||
<%- include('./partials/header') %>
|
||||
|
||||
<main class='main'>
|
||||
|
||||
<% include ./partials/cards %>
|
||||
<%- include('./partials/cards') %>
|
||||
|
||||
<% include ./partials/search_form %>
|
||||
<%- include('./partials/search_form') %>
|
||||
|
||||
</main>
|
||||
|
||||
<% include ./partials/footer %>
|
||||
<%- include('./partials/footer') %>
|
||||
|
||||
<% include ./partials/scripts %>
|
||||
<%- include('./partials/scripts') %>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
@@ -1,19 +1,19 @@
|
||||
<!-- views/single.ejs -->
|
||||
<% include ./partials/top %>
|
||||
<%- include('./partials/top') %>
|
||||
|
||||
<body class="container">
|
||||
|
||||
<% include ./partials/header %>
|
||||
<%- include('./partials/header') %>
|
||||
|
||||
<main>
|
||||
|
||||
<% include ./partials/card %>
|
||||
<%- include('./partials/card') %>
|
||||
|
||||
</main>
|
||||
|
||||
<% include ./partials/footer %>
|
||||
<%- include('./partials/footer') %>
|
||||
|
||||
<% include ./partials/scripts %>
|
||||
<%- include('./partials/scripts') %>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user