Nils Diewald | 2329e1d | 2014-06-12 16:07:57 +0000 | [diff] [blame] | 1 | <!DOCTYPE html> |
| 2 | <html> |
Nils Diewald | 4af3f0b | 2014-06-25 01:43:17 +0000 | [diff] [blame] | 3 | %= include 'partial/header' |
Nils Diewald | 2329e1d | 2014-06-12 16:07:57 +0000 | [diff] [blame] | 4 | <body style="background-color:white"> |
Nils Diewald | 4af3f0b | 2014-06-25 01:43:17 +0000 | [diff] [blame] | 5 | <main<% if (stash('embedded')) { %> class="embedded"<% } %>> |
| 6 | %= content 'main' => begin |
| 7 | <p>Welcome to the tutorial</p> |
| 8 | % end |
| 9 | </main> |
| 10 | |
Nils Diewald | 2329e1d | 2014-06-12 16:07:57 +0000 | [diff] [blame] | 11 | %= notifications 'Alertify' |
Nils Diewald | 4af3f0b | 2014-06-25 01:43:17 +0000 | [diff] [blame] | 12 | |
Nils Diewald | 2329e1d | 2014-06-12 16:07:57 +0000 | [diff] [blame] | 13 | %= javascript begin |
Nils Diewald | 19ccee9 | 2014-12-08 11:30:08 +0000 | [diff] [blame^] | 14 | var sidebar = document.getElementById("sidebar"); |
| 15 | if (sidebar !== null) { |
| 16 | sidebar.addEventListener("click",function(){ |
| 17 | this.classList.toggle("active"); |
| 18 | },false); |
| 19 | }; |
Nils Diewald | 2329e1d | 2014-06-12 16:07:57 +0000 | [diff] [blame] | 20 | % end |
Nils Diewald | 4af3f0b | 2014-06-25 01:43:17 +0000 | [diff] [blame] | 21 | |
Nils Diewald | 2329e1d | 2014-06-12 16:07:57 +0000 | [diff] [blame] | 22 | </body> |
| 23 | </html> |