Add /patron page 🎨
This commit is contained in:
parent
624fb13964
commit
90a643d4fb
4 changed files with 26 additions and 1 deletions
5
app/assets/stylesheets/new_design/patron.scss
Normal file
5
app/assets/stylesheets/new_design/patron.scss
Normal file
|
@ -0,0 +1,5 @@
|
|||
@import "placeholders";
|
||||
|
||||
.patron {
|
||||
@extend %page-width-container;
|
||||
}
|
|
@ -1,4 +1,6 @@
|
|||
class RootController < ApplicationController
|
||||
layout 'new_application'
|
||||
|
||||
def index
|
||||
if administrateur_signed_in?
|
||||
return redirect_to admin_procedures_path
|
||||
|
@ -26,6 +28,9 @@ class RootController < ApplicationController
|
|||
return redirect_to administrations_path
|
||||
end
|
||||
|
||||
render 'landing', :layout => 'new_application'
|
||||
render 'landing'
|
||||
end
|
||||
|
||||
def patron
|
||||
end
|
||||
end
|
||||
|
|
13
app/views/root/patron.html.haml
Normal file
13
app/views/root/patron.html.haml
Normal file
|
@ -0,0 +1,13 @@
|
|||
.patron
|
||||
%h1 Patron
|
||||
|
||||
%h2 Boutons
|
||||
|
||||
%p
|
||||
= link_to ".button", "#", class: "button"
|
||||
|
||||
= link_to ".button.primary", "#", class: "button primary"
|
||||
|
||||
= link_to ".button.large", "#", class: "button large"
|
||||
|
||||
= link_to ".button.large.primary", "#", class: "button large primary"
|
|
@ -227,5 +227,7 @@ Rails.application.routes.draw do
|
|||
get '/:procedure_path' => '/users/dossiers#commencer'
|
||||
end
|
||||
|
||||
get "patron" => "root#patron"
|
||||
|
||||
apipie
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue