fipamo/themes/dash/fipamo-index.pug

33 lines
1.3 KiB
Text
Raw Normal View History

2018-10-31 17:00:31 +01:00
extends frame
block main-content
section#saved-index-content
header.columns#header
//#float-bg
img(src='/base-assets/images/eye-beamz.png')
#header-one.column
#header-two.column
label#the-title
a(href="/") thetwelfthhouse
#the-intro
//| Twelfth House Admin
#saved-hub-display.columns
#saved-hub-title.column
label ADD NEW LINK
br
textarea(id="saved_text" name='saved_text' class='post-edit', placeholder='enter link to save', required, autofocus)
button(id="saved-sumbit-btn", class='saved-sumbit-btn', data-action='saved-add' type='submit') SAVE LINK
//a(href='/admin/fipamo/add')
i.fa.fa-plus SAVE NEW LINK
#saved-hub-main.column
label SAVED ENTRIES
br
-var index = 0;
-for (index; index<saved.length; index++)
-var saved_title = saved[index].title
if(saved_title == null || saved_title == '')
-saved_title = 'Saved Entry '+saved[index].id
a(href='/admin/fipamo/edit/'+saved[index].id)
span= saved_title
br