.list-l-padding{ | .list-l-padding{ | ||||
padding-left: 0.4em; | padding-left: 0.4em; | ||||
} | } | ||||
.list-item-title{ | |||||
font-weight: bold; | |||||
color: $color-dark; | |||||
} |
<div class="list-item-container bank-list-item-template hidden"> | <div class="list-item-container bank-list-item-template hidden"> | ||||
<div class="list-h-padding list-v-padding" style="display:flex"> | <div class="list-h-padding list-v-padding" style="display:flex"> | ||||
<canvas class="bank-img" width="152" height="74"></canvas> | <canvas class="bank-img" width="152" height="74"></canvas> | ||||
<span class="title">Title here</span> | |||||
<input class="title hidden" type="text" value="Title here"></input> | |||||
<div class="pure-g"> | |||||
<div class="pure-u-1"> </div> | |||||
<div class="pure-u-1"> | |||||
<span class="title list-item-title simple-padding-left">Title here</span> | |||||
<input class="title hidden" type="text" value="Title here"></input> | |||||
</div> | |||||
</div> | |||||
</div> | </div> | ||||
</div> | </div> |
<div class="tab-content" fortabs="<%= tabsetname %>" tabid="<%= item.id %>"> | <div class="tab-content" fortabs="<%= tabsetname %>" tabid="<%= item.id %>"> | ||||
<div class="simple-padding"> | <div class="simple-padding"> | ||||
<% if (item.hasOwnProperty("addevent")){ %> | <% if (item.hasOwnProperty("addevent")){ %> | ||||
<button class="pure-button" emit="modal-open" emit-args='{"cls":"<%= item.addevent %>"}'> | |||||
<button class="pure-button" <% if (item.hasOwnProperty("addbtntt")){ %>title="<%= item.addbtntt %>"<% } %> emit="modal-open" emit-args='{"cls":"<%= item.addevent %>"}'> | |||||
<i class="fa fa-plus-circle"></i> | <i class="fa fa-plus-circle"></i> | ||||
</button> | </button> | ||||
<% } %> | <% } %> | ||||
<% if (item.hasOwnProperty("remevent")){ %> | <% if (item.hasOwnProperty("remevent")){ %> | ||||
<button class="pure-button" emit="<%= item.remevent %>"> | |||||
<button class="pure-button" <% if (item.hasOwnProperty("rembtntt")){ %>title="<%= item.rembtntt %>"<% } %> emit="<%= item.remevent %>"> | |||||
<i class="fa fa-trash-alt"></i> | <i class="fa fa-trash-alt"></i> | ||||
</button> | </button> | ||||
<% } %> | <% } %> |
<%- include('docks.html', { | <%- include('docks.html', { | ||||
tabsetname:"assetlists", | tabsetname:"assetlists", | ||||
tabs:[ | tabs:[ | ||||
{name:"Palettes", id:"palettes", tmpl:"paletteListItem.html", addevent:"palettes-store-add", remevent:"palstore-remove", selected:true}, | |||||
{name:"Banks", id:"banks", tmpl:"bankListItem.html", addevent:"banks-store-add", remevent:"bankstore-remove", selected:false}, | |||||
{name:"Palettes", id:"palettes", tmpl:"paletteListItem.html", addbtntt:"Add Palette", addevent:"palettes-store-add", rembtntt:"Remove Selected Palette", remevent:"palstore-remove", selected:true}, | |||||
{name:"Banks", id:"banks", tmpl:"bankListItem.html", addbtntt:"Add Bank", addevent:"banks-store-add", rembtntt:"Remove Selected Bank", remevent:"bankstore-remove", selected:false}, | |||||
{name:"Attrib. Tables", id:"attrtbls", selected:false} | {name:"Attrib. Tables", id:"attrtbls", selected:false} | ||||
] | ] | ||||
}); %> | }); %> |
<div class="list-h-padding list-v-padding"> | <div class="list-h-padding list-v-padding"> | ||||
<div class=pure-g"> | <div class=pure-g"> | ||||
<div class=pure-u-1"> | <div class=pure-u-1"> | ||||
<span class="title">Title here</span> | |||||
<span class="title list-item-title">Title here</span> | |||||
<input class="title hidden" type="text" value="Title here"></input> | <input class="title hidden" type="text" value="Title here"></input> | ||||
</div> | </div> | ||||
</div> | </div> |