Improves layout for management spending proposals

This commit is contained in:
Alberto Garcia Cabeza
2016-04-06 13:07:26 +02:00
parent 9c6813b23c
commit 5d22ea2daf
4 changed files with 13 additions and 4 deletions

View File

@@ -349,3 +349,9 @@ body.admin {
margin-bottom: 0;
}
body.admin {
.investment-projects-list.medium-9 {
width: 100%;
}
}

View File

@@ -3,8 +3,8 @@
<div class="small-12 medium-6 column">
<%= text_field_tag :search, "", placeholder: t("admin.shared.spending_proposal_search.placeholder") %>
</div>
<div class="form-inline small-12 medium-6 column">
<%= f.submit t("admin.shared.spending_proposal_search.button"), class: "button success" %>
<div class="form-inline small-12 medium-3 column end">
<%= f.submit t("admin.shared.spending_proposal_search.button"), class: "button success expanded" %>
</div>
</div>
<% end %>

View File

@@ -1,5 +1,5 @@
<% if managed_user.document_number.present? %>
<section class="small-12 medium-9 column margin-top">
<section class="small-12 medium-9 column">
<div class="account-info">
<%= link_to(t("management.account_info.change_user"), logout_management_users_path, method: :delete, class: 'float-right change-user') %>

View File

@@ -1,9 +1,12 @@
<main>
<span class="not-print">
<%= render 'admin/shared/spending_proposal_search', url: management_spending_proposals_path %>
</span>
<div class="wrap row">
<div id="investment-projects" class="investment-projects-list small-12 medium-9 column">
<div class="small-12 search-results">
<%= content_tag(:h2, t("spending_proposals.index.unfeasible")) if params[:unfeasible].present? %>
<%= content_tag(:h2, t("spending_proposals.index.by_geozone", geozone: @geozone_name)) if @geozone_name.present? %>