mirror of
https://github.com/Threnklyn/Klaus.git
synced 2026-05-19 04:33:27 +02:00
fügt eine navbar und eine Indexseite hinzu
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
class DocumentsController < ApplicationController
|
||||
end
|
||||
@@ -0,0 +1,2 @@
|
||||
class Document < ActiveRecord::Base
|
||||
end
|
||||
@@ -0,0 +1 @@
|
||||
| Hallo
|
||||
@@ -1,14 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Klaus</title>
|
||||
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
|
||||
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
|
||||
<%= csrf_meta_tags %>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<%= yield %>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,22 @@
|
||||
doctype html
|
||||
html
|
||||
head
|
||||
title
|
||||
| Klausurverwaltung
|
||||
= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true
|
||||
= javascript_include_tag 'application', 'data-turbolinks-track' => true
|
||||
= csrf_meta_tags
|
||||
body
|
||||
nav.navbar.navbar-default role="navigation"
|
||||
div.container-fluid
|
||||
div.navbar-header
|
||||
button.navbar-toggle type="button" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"
|
||||
spansr-only Toggle navigation
|
||||
spanicon-bar
|
||||
spanicon-bar
|
||||
spanicon-bar
|
||||
= link_to 'Klaus', root_path, class: 'navbar-brand'
|
||||
div.collapse.navbar-collapse#bs-example-navbar-collapse-1
|
||||
div.row
|
||||
div.col-md-12
|
||||
= yield
|
||||
Reference in New Issue
Block a user