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.

27 lines
994 B

<section class='widget <%- theme.blur.widget ? 'widget-blur' : '' %> <%- item.class %>'>
4 years ago
<%- partial('header', {item: item}) %>
5 years ago
<div class='content <%= theme.style %>'>
5 years ago
<ul class="grid navgation">
5 years ago
<% (item.rows||[]).forEach(function(row){ %>
5 years ago
<li><a class="flat-box" title="<%- url_for(row.url) %>" href="<%- url_for(row.url) %>"
5 years ago
<% if (row.rel) { %>
rel="<%- row.rel %>"
<% } %>
<% if (row.target) { %>
target="<%- row.target %>"
<% } %>
5 years ago
id="<%= url_for(row.url).replace(/\/|%/g, "")?url_for(row.url).replace(/\/|%/g, ""):"home" %>">
5 years ago
<% if (row.img) { %>
5 years ago
<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>
5 years ago
<% } %>
5 years ago
<%- row.name %>
5 years ago
</a></li>
<% }) %>
</ul>
</div>
</section>