keeper/app/partials/view.ejs
2016-03-21 23:03:37 +00:00

37 lines
1.5 KiB
Plaintext

<div class="mui-container">
<div class="mui-panel">
<div class="mui--text-headline"><%= data.title %></div>
<div >
<span id='tags' class="mui--text-left">
<span id="visualTabs">
<span class="lnr lnr-tag"></span>
<% for(var i=0; i<data.tags.list.length; i++) {%>
<a class="mui--text-dark-secondary mui--text-button" href="#?<%=data.tags.list[i]%>"><%=data.tags.list[i]%></a>
<% } %>
<span class="lnr lnr-pencil" id="tageditmode"></span>
</span>
<span id="tagForm" style="display:none;">
<span class="mui-form--inline">
<span class="mui-textfield">
<input type="text" id="edittags" name="edittags" value="<%=data.tags.solid%>">
</span>
<button class="mui-btn" id="tagSave">Save</button>
</span>
</span>
</span>
<span id="othercontrols" class="mui--pull-right">
<span id="redo" class="mui--text-accent mui--text-button" style="cursor:pointer;">Redo <span class="lnr lnr-redo"></span></span>
<span class="mui--divider-left">&nbsp;<%= link_to('Link', data.url) %>&nbsp;<span class="lnr lnr-link"></span> </span>
</span>
</div>
</div>
</div>
<div class="mui-container">
<div class="mui-panel">
<%= data.reduced %>
</div>
</div>