diff --git a/app/views/orgs/admin_edit.html.erb b/app/views/orgs/admin_edit.html.erb index d911ef4..76d93fe 100644 --- a/app/views/orgs/admin_edit.html.erb +++ b/app/views/orgs/admin_edit.html.erb @@ -9,32 +9,42 @@
- <%= f.label :name %>* + <%= f.label :name, class: 'required' %> <%= f.text_field :name, class: "left-indent required input-large" %>
- <%= f.label :abbreviation %>* + <%= f.label :abbreviation, class: 'required' %> <%= f.text_field :abbreviation, class: "left-indent required input-small" %>
-
- <%= f.label :logo %> - <%= f.file_field :logo, class: 'left-indent' %> - - <% if @org.logo.present? %> - + <% else %> +
+ <%= f.label :logo %> + <%= f.file_field :logo, class: 'left-indent' %> +
+ <% end %> -
+
diff --git a/lib/assets/stylesheets/dmproadmap/forms.scss b/lib/assets/stylesheets/dmproadmap/forms.scss index 316edf1..99fd015 100644 --- a/lib/assets/stylesheets/dmproadmap/forms.scss +++ b/lib/assets/stylesheets/dmproadmap/forms.scss @@ -56,21 +56,6 @@ padding: 0; } -.org-logo { - position: absolute; - top: -35px; - left: 65%; - - span { - width: 150px; - vertical-align: top; - - label { - margin-top: 35px; - } - } -} - form, fieldset { border: 0; } @@ -394,12 +379,6 @@ /* ------------------------------------------------ */ /* ------------------------------------------------ */ -/* Home Page */ -/* ------------------------------------------------ */ -.main_page_content .content-two-column { -/* min-height: 400px; */ -} - /* Sign in/Create account and edit profile forms */ /* ------------------------------------------------ */ @@ -680,3 +659,37 @@ } } } + +/* Org edit */ +/* ------------------------------------------------ */ +#edit_org_details { + .org-logo { + margin-bottom: 10px; + + label, div { + vertical-align: top; + } + + img { + border: 1px dashed $medium-grey; + } + + #logo-controls { + width: 50%; + label { + text-align: left; + } + label { + width: auto; + } + #logo-controls-separator { + margin-left: 50px; + padding: 10px 0 15px 0; + text-align: center; + } + } + } + #banner-text div.inline { + width: 70%; + } +} \ No newline at end of file