From a6516fe38366d208f3209f5a800a45b3721592f7 Mon Sep 17 00:00:00 2001 From: Angus McLeod Date: Tue, 13 Aug 2019 15:51:37 +1000 Subject: [PATCH] re-add submissions --- .../templates/admin-wizard-submissions.hbs | 16 ++++++++++++++++ assets/stylesheets/wizard_custom_admin.scss | 4 ++-- 2 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 assets/javascripts/discourse/templates/admin-wizard-submissions.hbs diff --git a/assets/javascripts/discourse/templates/admin-wizard-submissions.hbs b/assets/javascripts/discourse/templates/admin-wizard-submissions.hbs new file mode 100644 index 00000000..ec8a55ff --- /dev/null +++ b/assets/javascripts/discourse/templates/admin-wizard-submissions.hbs @@ -0,0 +1,16 @@ +
+ + + {{#each fields as |f|}} + + {{/each}} + + {{#each submissions as |s|}} + + {{#each-in s as |k v|}} + + {{/each-in}} + + {{/each}} +
{{f}}
{{v}}
+
diff --git a/assets/stylesheets/wizard_custom_admin.scss b/assets/stylesheets/wizard_custom_admin.scss index 3a2cd794..09476fb9 100644 --- a/assets/stylesheets/wizard_custom_admin.scss +++ b/assets/stylesheets/wizard_custom_admin.scss @@ -241,10 +241,10 @@ .admin-contents .wizard-submissions { width: 100%; display: inline-block; + table { margin-top: 0; - display: inline-block; - overflow-x: scroll; + position: absolute; } }