added xml embed text field to table
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user