mirror of
https://github.com/CodeforLeipzig/stadtratmonitor.git
synced 2024-12-22 23:53:15 +01:00
22: impressum page
This commit is contained in:
parent
ad77627973
commit
f2fe2ac6a4
6 changed files with 60 additions and 1 deletions
|
@ -17,3 +17,8 @@
|
||||||
|
|
||||||
@import 'foundation_and_overrides';
|
@import 'foundation_and_overrides';
|
||||||
@import 'objects/search-result';
|
@import 'objects/search-result';
|
||||||
|
|
||||||
|
.left {float:left}
|
||||||
|
.right {float:right}
|
||||||
|
.clear {clear:both}
|
||||||
|
.header_indent{ padding-left: 20px }
|
|
@ -11,5 +11,9 @@ class ApplicationController < ActionController::Base
|
||||||
!!current_user
|
!!current_user
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def impressum
|
||||||
|
render action: "impressum"
|
||||||
|
end
|
||||||
|
|
||||||
helper_method :current_user, :signed_in?
|
helper_method :current_user, :signed_in?
|
||||||
end
|
end
|
||||||
|
|
14
app/views/application/glossary.html.slim
Normal file
14
app/views/application/glossary.html.slim
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
doctype html
|
||||||
|
html
|
||||||
|
head
|
||||||
|
title Stadtratmonitor Leipzig - Glossar
|
||||||
|
= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true
|
||||||
|
= javascript_include_tag 'vendor/modernizr'
|
||||||
|
= csrf_meta_tags
|
||||||
|
|
||||||
|
body
|
||||||
|
.row
|
||||||
|
.small-12.columns
|
||||||
|
.clearfix
|
||||||
|
h1[id="title" class="left"] = 'Glossar'
|
||||||
|
|
30
app/views/application/impressum.html.slim
Normal file
30
app/views/application/impressum.html.slim
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
doctype html
|
||||||
|
html
|
||||||
|
head
|
||||||
|
title Stadtratmonitor Leipzig - Impressum
|
||||||
|
= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true
|
||||||
|
= javascript_include_tag 'vendor/modernizr'
|
||||||
|
= csrf_meta_tags
|
||||||
|
|
||||||
|
body
|
||||||
|
.row
|
||||||
|
.small-12.columns
|
||||||
|
.clearfix
|
||||||
|
h3#title = 'Impressum'
|
||||||
|
h5#content = 'Inhalt'
|
||||||
|
div
|
||||||
|
| Im Rahmen unseres wöchentlichen Treffens im <a href="https://codefor.de/leipzig/">OKLab Leipzig</a> haben wir
|
||||||
|
einen Aufsatz auf das offizielle <a href="https://ratsinfo.leipzig.de/">Leipziger Ratsinformationssystem</a>
|
||||||
|
entwickelt, welcher dieses besser durchsuchbar machen soll.
|
||||||
|
h5#programming = 'Programmierung'
|
||||||
|
ul
|
||||||
|
li = link_to 'Andreas Haller', 'https://github.com/ahx'
|
||||||
|
li = link_to 'Lars Mai', 'https://github.com/lhm'
|
||||||
|
li = link_to 'Jörg Reichert <joerg.reichert@sstit.de>', 'https://github.com/joergreichert'
|
||||||
|
h5#sources = 'Quellen'
|
||||||
|
ul
|
||||||
|
li = link_to 'Web Anwendung Source Code', 'https://github.com/CodeforLeipzig/stadtratmonitor'
|
||||||
|
li = link_to 'Scraper Source Code', 'https://github.com/jrlover/city_council_leipzig_recent_papers'
|
||||||
|
li = link_to 'Scraper Ausführung', 'https://morph.io/jrlover/city_council_leipzig_recent_papers'
|
||||||
|
li = link_to 'Leipziger Ratsinformationssystem (Quelle)', 'https://ratsinfo.leipzig.de/'
|
||||||
|
li = link_to 'Impressum unserer Organisation Code for Germany (das auch für dieses Seite gelten soll)', 'https://codefor.de/impressum/'
|
|
@ -11,7 +11,12 @@ html
|
||||||
.row
|
.row
|
||||||
.small-12.columns
|
.small-12.columns
|
||||||
.clearfix
|
.clearfix
|
||||||
h1#title = 'Stadtratmonitor Leipzig'
|
h1[id="title" class="left"] = link_to 'Stadtratmonitor Leipzig', search_path
|
||||||
|
div(class="right")
|
||||||
|
div(class="left") = link_to 'Suche', search_path
|
||||||
|
div(class="right header_indent") = link_to 'Impressum', impressum_url
|
||||||
|
div(class="clear")
|
||||||
|
div(class="clear")
|
||||||
- flash.each do |name, msg|
|
- flash.each do |name, msg|
|
||||||
= content_tag :div, msg, class: name
|
= content_tag :div, msg, class: name
|
||||||
= yield
|
= yield
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
Rails.application.routes.draw do
|
Rails.application.routes.draw do
|
||||||
root :to => 'search#index', as: :search
|
root :to => 'search#index', as: :search
|
||||||
post '/import' => 'import#new_papers_callback'
|
post '/import' => 'import#new_papers_callback'
|
||||||
|
get '/impressum' => 'application#impressum', as: :impressum
|
||||||
|
|
||||||
# Example of regular route:
|
# Example of regular route:
|
||||||
# get 'products/:id' => 'catalog#view'
|
# get 'products/:id' => 'catalog#view'
|
||||||
|
|
Loading…
Reference in a new issue