admin.html.haml 494 B

1234567891011121314151617181920
  1. - content_for :header_tags do
  2. = javascript_pack_tag 'public', integrity: true, crossorigin: 'anonymous'
  3. - content_for :content do
  4. .admin-wrapper
  5. .sidebar-wrapper
  6. .sidebar
  7. = link_to root_path do
  8. = image_tag asset_pack_path('logo.svg'), class: 'logo', alt: 'Mastodon'
  9. = render_navigation
  10. .content-wrapper
  11. .content
  12. %h2= yield :page_title
  13. = render 'application/flashes'
  14. = yield
  15. = render template: 'layouts/application'