added xml embed text field to table

This commit is contained in:
Tom Giannattasio
2012-10-17 14:40:37 -04:00
parent 6011d6d333
commit edacd22c16
3 changed files with 13 additions and 3 deletions

View File

@@ -25,6 +25,7 @@ $(document).ready(function() {
$('.upload-modal .close-button').bind('click', hideModal);
$('a.show-xml').toggle(showEmbeddableXML, hideEmbeddableXML);
$('.embeddable-xml-input').bind('click', function(){ $(this).select(); });
$('a.copy-button').toggle(showEmbeddableXML, hideEmbeddableXML);
$('.unit .item-actions .delete-button').bind('click', deleteUnit);

View File

@@ -9,6 +9,7 @@
@include blue-button;
float: left;
margin-right: 20px;
padding: 8px 30px 10px;
font-size: 12px;
}
@@ -45,6 +46,10 @@
border-top: none;
}
}
.date-col {
font-size: 12px;
}
}
.thumb-col {
@@ -52,11 +57,15 @@
}
.date-col {
width: 200px;
width: 220px;
}
.embed-col {
width: 70px;
width: 250px;
}
.embeddable-xml-input {
width: 100%;
}
.thumb {

View File

@@ -68,7 +68,7 @@
${asset['uploadDate']}
</td>
<td class="embed-col">
<a class="show-xml" href="${asset['url']}">XML</a>
<input type="text" class="embeddable-xml-input" value='<img src="${asset['url']}"/>'>
</td>
</tr>
% endfor