res.send(new Buffer.from(css_output)); | res.send(new Buffer.from(css_output)); | ||||
}); | }); | ||||
app.get('/', function(req, res){ | app.get('/', function(req, res){ | ||||
res.render('index.html', {version:GenVersion(), author:package.author}); | |||||
res.render('index.html', {version:GenVersion(), author:package.author, description:package.description, license:package.license}); | |||||
}); | }); | ||||
</ul> | </ul> | ||||
</li> | </li> | ||||
<li class="pure-menu-item" emit="about"> | |||||
<li class="pure-menu-item" emit="modal-open" emit-args='{"cls":".about-modal"}'> | |||||
<a href="#" class="pure-menu-link"> | <a href="#" class="pure-menu-link"> | ||||
<i class="fa fa-info-circle"></i> | <i class="fa fa-info-circle"></i> | ||||
About | About |
<%- include('head.html'); %> | <%- include('head.html'); %> | ||||
<div class="cover"></div> | <div class="cover"></div> | ||||
<%- include('modal.html'); %> | |||||
<%- include('modal.html', {version:version, author:author, license:license, description:description}); %> | |||||
<%- include('header.html'); %> | <%- include('header.html'); %> | ||||
<div class="pure-g pure-g-nw"> | <div class="pure-g pure-g-nw"> |
</div> | </div> | ||||
</div> | </div> | ||||
<%- include("modals/about.html", {version:version, author:author, license:license, description:description}); %> | |||||
<%- include("modals/storeadd.html", {stores:[ | <%- include("modals/storeadd.html", {stores:[ | ||||
{"modalclass":"palettes-store-add", "title":"New Palette Name", "addevent":"palstore-add"}, | {"modalclass":"palettes-store-add", "title":"New Palette Name", "addevent":"palstore-add"}, | ||||
{"modalclass":"banks-store-add", "title":"New Bank Name", "addevent":"bankstore-add"}, | {"modalclass":"banks-store-add", "title":"New Bank Name", "addevent":"bankstore-add"}, |
<div class="modal about-modal"> | |||||
<div class="modal-content"> | |||||
<span class="nes-color-text-06">NES </span> | |||||
<span class="color-NES-random">P</span> | |||||
<span class="color-NES-random">a</span> | |||||
<span class="color-NES-random">i</span> | |||||
<span class="color-NES-random">n</span> | |||||
<span class="color-NES-random">t</span> | |||||
<br> | |||||
Version: <%= version %><br> | |||||
Author: <%= author %><br> | |||||
License: <%= license %><br> | |||||
Description: <%= description %><br> | |||||
<form class="pure-form"> | |||||
<button type="submit" class="pure-button" emit="modal-close">Close</button> | |||||
</form> | |||||
</div> | |||||
</div> |