You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
<%- partial('_pre') %>
|
|
|
|
<section class="widget <%- item.class %> <%- page.widget_style %> <%- page.widget_platform %>">
|
|
|
|
<%- partial('header', {item: item}) %>
|
|
|
|
<div class='content'>
|
|
|
|
<div class="grid navigation<%- item.fixed ? ' fixed' : '' %>">
|
|
|
|
<% (item.rows||[]).forEach(function(row){ %>
|
|
|
|
<a class="flat-box" title="<%- url_for(row.url) %>" href="<%- url_for(row.url) %>"
|
|
|
|
<% if (row.rel) { %>
|
|
|
|
rel="<%- row.rel %>"
|
|
|
|
<% } %>
|
|
|
|
<% if (row.target) { %>
|
|
|
|
target="<%- row.target %>"
|
|
|
|
<% } %>
|
|
|
|
id="<%= url_for(row.url).replace(/\/|%|\./g, "")?url_for(row.url).replace(/\/|%|\./g, ""):"home" %>">
|
|
|
|
<% if (row.img) { %>
|
|
|
|
<img src="<%- row.img %>">
|
|
|
|
<% } else if(row.avatar) { %>
|
|
|
|
<img src="<%- row.avatar %>" id="round">
|
|
|
|
<% } else { %>
|
|
|
|
<i class="<%= row.icon %> fa-fw" aria-hidden="true"></i>
|
|
|
|
<% } %>
|
|
|
|
<%- row.name %>
|
|
|
|
</a>
|
|
|
|
<% }) %>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</section>
|