EJS support (#2993)

* Added EJS Language Support

* Added the submodule reference for ejs-tmbundle

* Adding EJS license
This commit is contained in:
Arfon Smith
2016-05-06 15:58:53 -06:00
parent 3191ff498d
commit f22181f47d
7 changed files with 138 additions and 0 deletions

13
samples/EJS/dash.ejs Normal file
View File

@@ -0,0 +1,13 @@
<% include parts/depend %>
<div class="row">
<% if (user.primaryAccount == "teacher") { %>
<% include teacher/sidebar %>
<% include teacher/dashboard %>
<% } else if (user.primaryAccount == "student") { %>
<% include student/sidebar %>
<% include student/dashboard %>
<% } else { %>
<center><h2>There seems to be a problem</h2></center>
<% } %>
</div>