initial commit

This commit is contained in:
s2
2019-04-12 19:28:21 +02:00
commit 3179f5581e
669 changed files with 124297 additions and 0 deletions

11
templates/about.ejs Normal file
View File

@@ -0,0 +1,11 @@
<p>This is the coolest app ever.<p>
<ul>
<li>simple</li>
<li>fast</li>
<li>easy to understand</li>
<li>easy to mantain</li>
<li>easy to evolve</li>
</ul>
<p>yay!<p>

8
templates/home.ejs Normal file
View File

@@ -0,0 +1,8 @@
<ul class="list-group">
<li class="list-group-item">
<a href="/text">Here is a page with some example text and something happens when you click</a>
</li>
<li class="list-group-item">
<a href="/about">This is just an about page</a>
</li>
</ul>

12
templates/main.ejs Normal file
View File

@@ -0,0 +1,12 @@
<div class="container">
<p class="js-language">
<a href="?lang=de" target="_self">Deutsch</a> <a href="?lang=it" target="_self">Italiano</a> <a href="?lang=en" target="_self">English</a>
</p>
<div class="alert alert-primary">
<h1><%= i18next.t('awesome') %></h1>
</div>
<div class="js-page-container">
</div>
</div>

5
templates/sometext.ejs Normal file
View File

@@ -0,0 +1,5 @@
<ul>
<% for (var i=0; i<texts.length; i++) { %>
<li data-id="<%= texts[i].id %>" class="js-link"><%= texts[i].description %></li>
<% } %>
</ul>