diff --git a/public/css/main.css b/public/css/main.css index aaeba2a..7a218c2 100644 --- a/public/css/main.css +++ b/public/css/main.css @@ -37,4 +37,9 @@ float: left; padding-right: 5px; position: relative; +} + +.upload-form { + height: 100px; + padding: 10px; } \ No newline at end of file diff --git a/templates/includes/images_list.html.ep b/templates/includes/images_list.html.ep index 3b376cc..6efb6c9 100644 --- a/templates/includes/images_list.html.ep +++ b/templates/includes/images_list.html.ep @@ -1,5 +1,5 @@ -
-
+
+ @@ -26,7 +26,6 @@ }); -
@@ -99,7 +98,7 @@ }, created: function () { - this.fetchData(1) + this.fetchData(this.pageNumber) }, methods: { @@ -110,6 +109,7 @@ xhr.onload = function () { var result = JSON.parse(xhr.responseText); self.imagesList = result.images_list; + console.dir(self.imagesList); self.pagesCount = result.pages_count; } xhr.send() diff --git a/templates/layouts/base.html.ep b/templates/layouts/base.html.ep index 5e99f76..b978e6a 100644 --- a/templates/layouts/base.html.ep +++ b/templates/layouts/base.html.ep @@ -14,7 +14,7 @@ - +