You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
935 B

  1. - content_for :header_tags do
  2. = render_initial_state
  3. = javascript_pack_tag 'public', crossorigin: 'anonymous'
  4. - content_for :content do
  5. .admin-wrapper
  6. .sidebar-wrapper
  7. .sidebar-wrapper__inner
  8. .sidebar
  9. = link_to root_path do
  10. = image_pack_tag 'logo.svg', class: 'logo', alt: 'Mastodon'
  11. .sidebar__toggle
  12. .sidebar__toggle__logo
  13. = link_to root_path do
  14. = svg_logo_full
  15. = link_to '#', class: 'sidebar__toggle__icon' do
  16. = fa_icon 'bars'
  17. = render_navigation
  18. .content-wrapper
  19. .content
  20. .content-heading
  21. %h2= yield :page_title
  22. - if :heading_actions
  23. .content-heading-actions
  24. = yield :heading_actions
  25. = render 'application/flashes'
  26. = yield
  27. .sidebar-wrapper.sidebar-wrapper--empty
  28. = render template: 'layouts/application'