From 9550a347c2c031cfa8d217f9fe2ad8784d3f53f0 Mon Sep 17 00:00:00 2001 From: Nils Bartels Date: Thu, 21 Dec 2023 02:49:42 +0100 Subject: [PATCH] cosmetics --- app/views/desks/index.html.haml | 2 +- app/views/layouts/application.html.haml | 2 +- app/views/shared/_sidebar.html.haml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/desks/index.html.haml b/app/views/desks/index.html.haml index fe5e9a2..ab940c9 100644 --- a/app/views/desks/index.html.haml +++ b/app/views/desks/index.html.haml @@ -28,7 +28,7 @@ %td = desk.room.floor.name %td - = desk.room.name + = link_to "#{desk.room.name}", room_path(:id => desk.room.id, :start_date => (DateTime.now.utc.beginning_of_day + 1.day).strftime("%Y-%m-%dT%H:%M")) %td = desk.pos_x %td diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index bebaeab..02bd40c 100644 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -12,7 +12,7 @@ .container-fluid .row = render partial: 'shared/sidebar' if user_signed_in? - %main.ml-sm-auto.pt-3.px-4{role: :main, class: user_signed_in? ? 'col-md-11' : 'col-md-12'} + %main.ml-sm-auto.pt-3.px-4{role: :main, class: user_signed_in? ? 'col-md-10' : 'col-md-12'} = flash_messages = yield #modal-holder diff --git a/app/views/shared/_sidebar.html.haml b/app/views/shared/_sidebar.html.haml index dc0b49e..51fa356 100644 --- a/app/views/shared/_sidebar.html.haml +++ b/app/views/shared/_sidebar.html.haml @@ -1,4 +1,4 @@ -%nav.col-md-1.d-md-block.bg-dark.sidebar +%nav.col-md-2.d-md-block.bg-dark.sidebar .sidebar-sticky.pt-0.border-right %ul.nav.flex-column.list-group.list-group-flush.p-3 = link_to root_path, class: 'list-group-item list-group-item-action' do