Removed edit button from metadata (click to edit now)

This commit is contained in:
Mark McDowall 2014-06-10 17:07:30 -07:00
parent 8967f59f35
commit fbdc84b6cd
3 changed files with 4 additions and 6 deletions

View File

@ -13,7 +13,7 @@ define(
tagName : 'li', tagName : 'li',
events: { events: {
'click .x-edit' : '_edit' 'click' : '_edit'
}, },
initialize: function () { initialize: function () {

View File

@ -1,9 +1,6 @@
<div class="metadata-item"> <div class="metadata-item" title="Click to edit">
<div> <div>
<h3>{{name}}</h3> <h3>{{name}}</h3>
<span class="btn-group pull-right">
<button class="btn btn-xs btn-icon-only x-edit"><i class="icon-nd-edit"/></button>
</span>
</div> </div>
<div class="settings"> <div class="settings">

View File

@ -10,6 +10,7 @@
.metadata-item { .metadata-item {
.card; .card;
.clickable;
width: 200px; width: 200px;
height: 230px; height: 230px;
@ -18,7 +19,7 @@
h3 { h3 {
margin-top: 0px; margin-top: 0px;
display: inline-block; display: inline-block;
width: 140px; width: 180px;
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;