summaryrefslogtreecommitdiff
path: root/app/views/projects/imports
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-11-12 12:45:49 +0100
committerDouwe Maan <douwe@gitlab.com>2015-11-18 12:02:09 +0100
commit5036d8d5d55a8b22e423fb440d75f3d3949038d6 (patch)
tree34a381b5c86a893cec9a11b2778a50f184ec24fc /app/views/projects/imports
parent91fdbdcde7f2d58f6f5987640eed538588822b93 (diff)
downloadgitlab-ce-5036d8d5d55a8b22e423fb440d75f3d3949038d6.tar.gz
Fix styling of import error.
Diffstat (limited to 'app/views/projects/imports')
-rw-r--r--app/views/projects/imports/new.html.haml11
1 files changed, 6 insertions, 5 deletions
diff --git a/app/views/projects/imports/new.html.haml b/app/views/projects/imports/new.html.haml
index 01b247336ee..6027fb23360 100644
--- a/app/views/projects/imports/new.html.haml
+++ b/app/views/projects/imports/new.html.haml
@@ -5,11 +5,12 @@
%hr
- if @project.import_failed?
- .alert.alert-danger
- %p The repository could not be imported.
- %pre.prepend-top-10
- :preserve
- #{@project.import_error.try(:strip)}
+ .panel.panel-danger
+ .panel-heading The repository could not be imported.
+ .panel-body
+ %pre
+ :preserve
+ #{@project.import_error.try(:strip)}
= form_for @project, url: namespace_project_import_path(@project.namespace, @project), method: :post, html: { class: 'form-horizontal' } do |f|
= render "shared/import_form", f: f