improve layout
This commit is contained in:
parent
cc4aa25e46
commit
484fa4f6e7
@ -1,21 +0,0 @@
|
|||||||
.flex.h-16.items-center.gap-16
|
|
||||||
%a.ml-20{:href => "/merged/pages"}
|
|
||||||
%span.sr-only Home
|
|
||||||
=image_tag("merged/merged_logo" , class: "h-10")
|
|
||||||
|
|
||||||
%ul.flex.items-center.gap-6.text-lg
|
|
||||||
%li
|
|
||||||
%a.text-gray-500.transition{:class => "hover:text-gray-500/75", :href => merged.pages_path}
|
|
||||||
Pages
|
|
||||||
%li
|
|
||||||
%a.text-gray-500.transition{:class => "hover:text-gray-500/75", :href => merged.images_path}
|
|
||||||
Images
|
|
||||||
%li
|
|
||||||
%a.text-gray-500.transition{:class => "hover:text-gray-500/75", :href => merged.styles_index_path}
|
|
||||||
Styles
|
|
||||||
%li
|
|
||||||
%a.text-gray-500.transition{:class => "hover:text-gray-500/75", :href => merged.changes_index_path}
|
|
||||||
Changes
|
|
||||||
= yield :merged_menu
|
|
||||||
|
|
||||||
%button.my-3{class: last_change_class}= last_change_text
|
|
@ -1,4 +1,5 @@
|
|||||||
.mx-20.my-6.flex.h-16.items-center.gap-16
|
.flex.mx-20.my-6.h-16.justify-between
|
||||||
|
.flex.items-center.gap-16
|
||||||
%a{:href => "/merged/pages"}
|
%a{:href => "/merged/pages"}
|
||||||
%span.sr-only Home
|
%span.sr-only Home
|
||||||
=image_tag("merged/merged_logo" , class: "h-10")
|
=image_tag("merged/merged_logo" , class: "h-10")
|
||||||
@ -17,6 +18,7 @@
|
|||||||
%a.text-gray-500.transition{:class => "hover:text-gray-500/75", :href => merged.changes_index_path}
|
%a.text-gray-500.transition{:class => "hover:text-gray-500/75", :href => merged.changes_index_path}
|
||||||
Changes
|
Changes
|
||||||
|
|
||||||
|
.flex.items-center.gap-16
|
||||||
%button.my-3{class: last_change_class}= last_change_text
|
%button.my-3{class: last_change_class}= last_change_text
|
||||||
|
|
||||||
= form_tag( main_app.destroy_member_session_path , {method: :delete } ) do
|
= form_tag( main_app.destroy_member_session_path , {method: :delete } ) do
|
||||||
|
@ -5,8 +5,6 @@
|
|||||||
Branch
|
Branch
|
||||||
= @git.current_branch
|
= @git.current_branch
|
||||||
|
|
||||||
= render "layouts/merged_header"
|
|
||||||
|
|
||||||
%h1 New merged_section
|
%h1 New merged_section
|
||||||
|
|
||||||
= render 'form'
|
= render 'form'
|
||||||
|
@ -4,7 +4,6 @@
|
|||||||
.text-xl.text-gray-900
|
.text-xl.text-gray-900
|
||||||
Select Card Style for Section #{@section.index} - #{@section.header}
|
Select Card Style for Section #{@section.index} - #{@section.header}
|
||||||
|
|
||||||
= render "layouts/merged_header"
|
|
||||||
.grid.grid-cols-4.gap-6.m-8
|
.grid.grid-cols-4.gap-6.m-8
|
||||||
- @cards.each do |style|
|
- @cards.each do |style|
|
||||||
.border.border-gray-300.rounded-lg.p-2
|
.border.border-gray-300.rounded-lg.p-2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user