initial commit
This commit is contained in:
11
templates/about.ejs
Normal file
11
templates/about.ejs
Normal 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
8
templates/home.ejs
Normal 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
12
templates/main.ejs
Normal 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
5
templates/sometext.ejs
Normal 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>
|
Reference in New Issue
Block a user