RubyUtils/lib/systems/views/layout.slim

29 lines
1.2 KiB
Plaintext

doctype html
html lang="en"
head
/! Required meta tags
title
| Life Pex
meta charset="utf-8" /
meta content="width=device-width, initial-scale=1" name="viewport" /
/! Bootstrap CSS
link crossorigin="anonymous" href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta3/dist/css/bootstrap.min.css" integrity="sha384-eOJMYsd53ii+scO/bJGFsiCZc+5NDVN2yr8+0RDqr0Ql0h+rP48ckxlpbzKgwra6" rel="stylesheet" /
/! link href="/css/bootstrap-override.css" rel="stylesheet"
/! link href="/css/main.css" rel="stylesheet"
/! link rel="shortcut icon" type="image/png" href="/img/favicon.png" /
body
#flash.flash
- if defined? flash
- flash.each do |flash_name, flash_message|
.alert.alert-dismissible.fade.show role="alert" class="alert-#{flash_name}"
= flash_message
button.btn-close type="button" data-bs-dismiss="alert" aria-label="Close"
.content
.container-fluid
== yield
.footer
.container-sm
script src="/js/ajax.js"
script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta3/dist/js/bootstrap.bundle.min.js" integrity="sha384-JEW9xMcG8R+pH31jmWH6WWP0WintQrMb4s7ZOdauHnUtxwoG2vI5DkLtS3qm9Ekf" crossorigin="anonymous"