--- a/src/egonomy/static/egonomy/css/egonomy.css Wed Apr 10 18:01:16 2013 +0200
+++ b/src/egonomy/static/egonomy/css/egonomy.css Tue Apr 16 17:38:51 2013 +0200
@@ -371,3 +371,16 @@
text-decoration: underline;
cursor: hand; cursor: pointer;
}
+
+/* Seeseetive api responses */
+.senapi_li {
+ margin: 0 0 5px 0;
+ overflow: auto;
+}
+.senapi_img {
+ float: left;
+ margin: 0 5px 5px 0;
+}
+.senapi_text {
+
+}
\ No newline at end of file
--- a/src/egonomy/templates/egonomy_create_fragment.html Wed Apr 10 18:01:16 2013 +0200
+++ b/src/egonomy/templates/egonomy_create_fragment.html Tue Apr 16 17:38:51 2013 +0200
@@ -49,7 +49,7 @@
var images = data["images"];
var n = images.length;
for(var i=0;i<n;i++){
- s += '<li><img src="' + images[i].url + '" alt="' + images[i].title + '"/> ' + images[i].title + '</li>';
+ s += '<li class="senapi_li"><img src="' + images[i].url + '" class="senapi_img" alt="' + images[i].title + '"/><span class="senapi_text">' + images[i].title + '</span></li>';
}
s += '</ul>'
+'</div></div>';