From dc2be18d60d3d609884cf535a59373722e049528 Mon Sep 17 00:00:00 2001 From: Sandrockcstm Date: Wed, 29 May 2019 17:31:48 -0500 Subject: [PATCH] Finalized layout and styling of import page. --- less/core.less | 20 ++++++++++++++++++++ templates/user/import.tmpl | 37 ++++++++++++++++++++++++++++++++++--- 2 files changed, 54 insertions(+), 3 deletions(-) diff --git a/less/core.less b/less/core.less index a25d867..cbb8e00 100644 --- a/less/core.less +++ b/less/core.less @@ -566,6 +566,26 @@ p { } } +.formContainer { + // border-radius: 10px 10px 10px 10px; + // -moz-border-radius: 10px 10px 10px 10px; + // -webkit-border-radius: 10px 10px 10px 10px; + border-top: 1px solid #ccc; + margin-bottom: 2em; + padding: 1em 0em 0.5em 1em; +} + +.import { + & input { + margin-bottom: 0.5em; + } + + & input.fileInput { + padding-left: 0; + width: 70%; + } +} + table.classy { width: 95%; border-collapse: collapse; diff --git a/templates/user/import.tmpl b/templates/user/import.tmpl index 70cda12..7127a22 100644 --- a/templates/user/import.tmpl +++ b/templates/user/import.tmpl @@ -2,12 +2,40 @@ {{template "header" .}}
+

Import

+

You may import your data from another instance here. Please choose the same option for import as you did for export.

+
+
+

Posts

+

csv

+ +
+ +
+

txt

+ +
+ +
+
+
+
+

User + Blogs + Posts

+

json/Prettified

+ +
+ +
+
+
+ + +
+ +

JSON

Prettified

+ - + --> {{template "footer" .}} {{end}} \ No newline at end of file