Commit edacd22c by Tom Giannattasio

added xml embed text field to table

parent 6011d6d3
...@@ -25,6 +25,7 @@ $(document).ready(function() { ...@@ -25,6 +25,7 @@ $(document).ready(function() {
$('.upload-modal .close-button').bind('click', hideModal); $('.upload-modal .close-button').bind('click', hideModal);
$('a.show-xml').toggle(showEmbeddableXML, hideEmbeddableXML); $('a.show-xml').toggle(showEmbeddableXML, hideEmbeddableXML);
$('.embeddable-xml-input').bind('click', function(){ $(this).select(); });
$('a.copy-button').toggle(showEmbeddableXML, hideEmbeddableXML); $('a.copy-button').toggle(showEmbeddableXML, hideEmbeddableXML);
$('.unit .item-actions .delete-button').bind('click', deleteUnit); $('.unit .item-actions .delete-button').bind('click', deleteUnit);
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
@include blue-button; @include blue-button;
float: left; float: left;
margin-right: 20px; margin-right: 20px;
padding: 8px 30px 10px;
font-size: 12px; font-size: 12px;
} }
...@@ -45,6 +46,10 @@ ...@@ -45,6 +46,10 @@
border-top: none; border-top: none;
} }
} }
.date-col {
font-size: 12px;
}
} }
.thumb-col { .thumb-col {
...@@ -52,11 +57,15 @@ ...@@ -52,11 +57,15 @@
} }
.date-col { .date-col {
width: 200px; width: 220px;
} }
.embed-col { .embed-col {
width: 70px; width: 250px;
}
.embeddable-xml-input {
width: 100%;
} }
.thumb { .thumb {
......
...@@ -68,7 +68,7 @@ ...@@ -68,7 +68,7 @@
${asset['uploadDate']} ${asset['uploadDate']}
</td> </td>
<td class="embed-col"> <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> </td>
</tr> </tr>
% endfor % endfor
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment