mirror of
https://github.com/CodeforLeipzig/stadtratmonitor.git
synced 2025-04-20 07:11:33 +02:00
Start with a Rails app with authentication via Persona, Foundation CSS
This commit is contained in:
parent
9ac52066b4
commit
7cd9f207f5
72 changed files with 2586 additions and 0 deletions
24
app/views/layouts/application.html.slim
Normal file
24
app/views/layouts/application.html.slim
Normal file
|
@ -0,0 +1,24 @@
|
|||
doctype html
|
||||
html
|
||||
head
|
||||
title Stadtratmonitor Leipzig
|
||||
= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true
|
||||
= javascript_include_tag 'vendor/modernizr'
|
||||
= csrf_meta_tags
|
||||
|
||||
body
|
||||
.row
|
||||
- flash.each do |name, msg|
|
||||
= content_tag :div, msg, class: name
|
||||
.row
|
||||
.large-8.columns
|
||||
h2#title
|
||||
= link_to 'Willkommen in Leipzig', root_path
|
||||
.large-4.columns
|
||||
ul.inline-list.right
|
||||
li = render 'login_button'
|
||||
.row
|
||||
= yield
|
||||
|
||||
script src="https://login.persona.org/include.js"
|
||||
= javascript_include_tag 'application', 'data-turbolinks-track' => true
|
Loading…
Add table
Add a link
Reference in a new issue