Improves layout for management spending proposals
This commit is contained in:
@@ -349,3 +349,9 @@ body.admin {
|
|||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
body.admin {
|
||||||
|
|
||||||
|
.investment-projects-list.medium-9 {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -3,8 +3,8 @@
|
|||||||
<div class="small-12 medium-6 column">
|
<div class="small-12 medium-6 column">
|
||||||
<%= text_field_tag :search, "", placeholder: t("admin.shared.spending_proposal_search.placeholder") %>
|
<%= text_field_tag :search, "", placeholder: t("admin.shared.spending_proposal_search.placeholder") %>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-inline small-12 medium-6 column">
|
<div class="form-inline small-12 medium-3 column end">
|
||||||
<%= f.submit t("admin.shared.spending_proposal_search.button"), class: "button success" %>
|
<%= f.submit t("admin.shared.spending_proposal_search.button"), class: "button success expanded" %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
<% if managed_user.document_number.present? %>
|
<% 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">
|
<div class="account-info">
|
||||||
|
|
||||||
<%= link_to(t("management.account_info.change_user"), logout_management_users_path, method: :delete, class: 'float-right change-user') %>
|
<%= link_to(t("management.account_info.change_user"), logout_management_users_path, method: :delete, class: 'float-right change-user') %>
|
||||||
|
|||||||
@@ -1,9 +1,12 @@
|
|||||||
<main>
|
<main>
|
||||||
|
<span class="not-print">
|
||||||
<%= render 'admin/shared/spending_proposal_search', url: management_spending_proposals_path %>
|
<%= render 'admin/shared/spending_proposal_search', url: management_spending_proposals_path %>
|
||||||
|
</span>
|
||||||
|
|
||||||
<div class="wrap row">
|
<div class="wrap row">
|
||||||
<div id="investment-projects" class="investment-projects-list small-12 medium-9 column">
|
<div id="investment-projects" class="investment-projects-list small-12 medium-9 column">
|
||||||
|
|
||||||
|
|
||||||
<div class="small-12 search-results">
|
<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.unfeasible")) if params[:unfeasible].present? %>
|
||||||
<%= content_tag(:h2, t("spending_proposals.index.by_geozone", geozone: @geozone_name)) if @geozone_name.present? %>
|
<%= content_tag(:h2, t("spending_proposals.index.by_geozone", geozone: @geozone_name)) if @geozone_name.present? %>
|
||||||
|
|||||||
Reference in New Issue
Block a user