diff --git a/packages/fps-importer/index.ts b/packages/fps-importer/index.ts index 490a135a..640ff540 100644 --- a/packages/fps-importer/index.ts +++ b/packages/fps-importer/index.ts @@ -12,7 +12,7 @@ const knownRemoteMapping = { class FpsProblemImportHandler extends Handler { async get() { - this.response.template = 'problem_import.html'; + this.response.template = 'problem_import_fps.html'; } async run(domainId: string, result: any) { diff --git a/packages/fps-importer/template/problem_import_fps.html b/packages/fps-importer/template/problem_import_fps.html index c823d2ec..75bacaef 100644 --- a/packages/fps-importer/template/problem_import_fps.html +++ b/packages/fps-importer/template/problem_import_fps.html @@ -4,26 +4,8 @@
-
-
- -
-
- - -
-
-
-

{{ _('Upload file') }}: - - + +

{{ _('Upload fps file') }}:

diff --git a/packages/ui-default/templates/problem_import.html b/packages/ui-default/templates/problem_import.html index bd570262..12a33112 100644 --- a/packages/ui-default/templates/problem_import.html +++ b/packages/ui-default/templates/problem_import.html @@ -8,6 +8,7 @@

{{ _('Upload zipfile') }} {% if type %}({{ _('Type') }}: {{type}}){% endif %}: {% if handler.user.hasPriv(PRIV.PRIV_EDIT_SYSTEM) and not type %}{% endif %} +