-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'designer' of github.com:OPORA/publicwhip-lviv into desi…
…gner
- Loading branch information
Showing
14 changed files
with
222 additions
and
163 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Place all the behaviors and hooks related to the matching controller here. | ||
# All this logic will automatically be available in application.js. | ||
# You can use CoffeeScript in this file: http://coffeescript.org/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
// Place all the styles related to the errors controller here. | ||
// They will automatically be included in application.css. | ||
// You can use Sass (SCSS) here: http://sass-lang.com/ | ||
//header{ | ||
// background: none; | ||
// background-color: #000; | ||
// height: 42px; | ||
// min-height: auto; | ||
//} | ||
//#logo p{ | ||
// color: #282828; | ||
//} | ||
//#logo .first-word{ | ||
// color: #009FE2; | ||
//} | ||
//#navbarCollapse{ | ||
// background-color: #000; | ||
//} | ||
//.navbar-inverse .navbar-nav .nav-link{ | ||
// line-height: 28px; | ||
// font-size: 14px; | ||
// height: 3.51%; | ||
//} | ||
//.navbar { | ||
// padding: 0 0 0 15rem; | ||
//} | ||
#first-block .notfound h1{ | ||
color: #252525; | ||
font-size:24px; | ||
line-height: 24px; | ||
font-family: GothaProBol; | ||
} | ||
#first-block .notfound p{ | ||
color: #009FE2; | ||
font-size:72px; | ||
line-height: 150px; | ||
font-family: GothaProMed; | ||
} | ||
#first-block .errors h1{ | ||
color: #252525; | ||
font-size:24px; | ||
line-height: 24px; | ||
font-family: GothaProBol; | ||
padding-top: 80px; | ||
padding-bottom: 35px; | ||
} | ||
#first-block .errors p{ | ||
font-size:18px; | ||
line-height: 28px; | ||
font-family: GothaProMed; | ||
} | ||
#first-block.container.center-justified { | ||
padding-top: 150px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
class ErrorsController < ApplicationController | ||
def not_found | ||
render :status => 404 | ||
end | ||
|
||
def unacceptable | ||
render :status => 422 | ||
end | ||
|
||
def internal_error | ||
render :status => 500 | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
module ErrorsHelper | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,68 @@ | ||
<% content_for :title, 'Про проект— Вони голосують для тебе' %> | ||
<div class="jumbotron"> | ||
<div class="container"> | ||
<h1>Про проект</h1> | ||
<p>Забудь, що говорять політики. Справжню вагу мають лише їхні дії. Слідкуй за тим, як депутати голосують і | ||
дізнавайся про їхню справжню позицію щодо питань, які впливають на нас усіх.</p> | ||
<style> | ||
#first-block h1{ | ||
color: #252525; | ||
font-size:24px; | ||
line-height: 24px; | ||
font-family: GothaProBol; | ||
} | ||
#first-block h2 { | ||
font-family: GothaProMed; | ||
font-size: 18px; | ||
line-height:18px; | ||
} | ||
#first-block h2::before{ | ||
border-top: 4px solid #000; | ||
content: ""; | ||
margin: 0 auto; | ||
position: absolute; | ||
left: 0; | ||
right: 0; | ||
width: 10%; | ||
top: 90px; | ||
} | ||
.update-data p:nth-child(2), .rada-date p:nth-child(2){ | ||
color: #949393; | ||
} | ||
#first-block [class*="col-12"]{ | ||
padding: 50px 0 50px 0; | ||
} | ||
.team, .how-help{ | ||
background-color: #F5F5F5; | ||
} | ||
</style> | ||
<div id="first-block" class="container"> | ||
|
||
<div class="col-12 about"> | ||
<h1 class="text-uppercase center-justified">Про проект</h1> | ||
|
||
<div> | ||
|
||
</div> | ||
|
||
</div> | ||
</div> | ||
<div class="container"> | ||
<%= render 'about/index' %> | ||
|
||
<div class="col-12 team"> | ||
<h2 class="text-uppercase center-justified">Команда</h2> | ||
|
||
|
||
</div> | ||
|
||
<div class="col-12 partners"> | ||
<h2 class="text-uppercase center-justified">Партнери</h2> | ||
|
||
<div>текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст текст</div> | ||
|
||
</div> | ||
|
||
<div class="col-12 how-help"> | ||
<h2 class="text-uppercase center-justified">Як допомогти</h2> | ||
|
||
<div>текст</div> | ||
|
||
</div> | ||
|
||
|
||
|
||
</div> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<div id="first-block" class="container center-justified"> | ||
|
||
<a id="logo" class="col-4 navbar-brand text-uppercase logo" href="/"> | ||
<p><i class="fa fa-circle fa-stack-1x"></i> | ||
<span class="first-word">Lviv</span>.Rada4You.org</p> | ||
</a> | ||
|
||
<div class="errors"> | ||
<h1 class="text-uppercase">технічні роботи</h1> | ||
|
||
<p>Перепрошуємо за тимчасові незручності.</p> | ||
<p>Ми повернемося до вас за ХХ годин.</p> | ||
|
||
</div> | ||
|
||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<div id="first-block" class="container"> | ||
|
||
<div class="notfound center-justified"> | ||
<h1 class="text-uppercase">сторінка не знайдена</h1> | ||
|
||
<p>404</p> | ||
|
||
<div class="col-12"><%= link_to "<h4 class='text-uppercase text-center'>повернутись на головну <i class='fa fa-arrow-circle-right' aria-hidden='true'></i></h4>".html_safe, root_path %></div> | ||
</div> | ||
|
||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<h1>Errors#unacceptable</h1> | ||
<p>Find me in app/views/errors/unacceptable.html.erb</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.