palate 0.3.7

File type detection combining tft and hyperpolyglot
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
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>