This file contains hidden or 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
.child-options, #childAge1, #childAge2, #childAge3, #childAge4, #childAge5 { | |
display: none; | |
} | |
<input type="radio" name="inlineRadioOptions" id="child1" value="option1"> 1 | |
... | |
<input type="radio" name="inlineRadioOptions" id="child5" value="option5"> 5 | |
This file contains hidden or 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
Погода на сегодня: | |
<ul class="forecast"></ul> | |
<script> | |
var yqlCallback = function(data) { | |
var resorts = ["Сочи", "Красная Поляна", "Анапа", "Геленджик"] | |
for (var i = 0; i < 4; i++) { | |
$("ul.forecast").append("<li><a href=\"\">" + "<b>" + resorts[i] + " </b>" + data.query.results.channel[i].item.condition.temp + "°" + " C" + "</a></li>") | |
} | |
}; |
This file contains hidden or 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
Репозиторий https://github.com/gorborukov/autocar – создаем пустой проект и делаем пуш в ветку мастер, далее каждую задачу в отдельную ветку и по окончании задачи делаешь пул реквест http://ivan.rolik.name/2013/01/29/pull-request-without-fork-github/. | |
Разделы сайта: | |
Главная | |
Каталог | |
- Бетононасосы | |
- Подкатегории бетононасосов | |
- Товар отдельно |
This file contains hidden or 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
= form_for(@content) do |f| | |
- if @content.errors.any? | |
#error_explanation | |
%h2 | |
= pluralize(@content.errors.count, "error") | |
prohibited this content from being saved: | |
%ul | |
- @content.errors.full_messages.each do |msg| | |
%li= msg | |
.form-group |
This file contains hidden or 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
# заменяем в /app/views/common/_header.html.erb | |
<h1> | |
<%= link_to image_tag('/img/logo.png', :alt => 'Морской квартал'), root_path, :title => 'Морской квартал', :remote => true %> | |
</h1> | |
на | |
<h1 class="logo"> | |
<%= link_to image_tag('/img/logo.png', :alt => 'Морской квартал'), root_path, :title => 'Морской квартал', :remote => true, :class => 'logo-main' %> | |
<%= link_to image_tag('/img/printlogo.png', :alt => 'Морской квартал'), root_path, :title => 'Морской квартал', :remote => true, :class => 'logo-printable' %> |
This file contains hidden or 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
class ApartmentsController < ApplicationController | |
layout :choose_layout | |
def show | |
@building = Building.find params[:building_id] | |
@apartment = @building.apartments.find params[:id] | |
end | |
def printable | |
@building = Building.find params[:building_id] | |
@apartment = params[:apartment_id] |
This file contains hidden or 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
@media print { | |
* { | |
background: transparent !important; | |
color: #333 !important; /* Black prints faster: h5bp.com/s */ | |
box-shadow: none !important; | |
text-shadow: none !important; | |
} | |
a, | |
a:visited { |
This file contains hidden or 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
- meta :title => @tour.seo_title, | |
- :description => @tour.seo_description, | |
- :keywords => @tour.seo_keywords | |
.content | |
.tour_column | |
.tour_block | |
.blue | |
%h3 | |
Тур «#{@tour.name}» | |
.resort |
This file contains hidden or 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
!!! | |
%html | |
%head | |
= metamagic :title, :description, :keywords | |
= stylesheet_link_tag "application", :media => "all" | |
= javascript_include_tag "application" | |
= csrf_meta_tags | |
%body | |
.update-message | |
.container |
This file contains hidden or 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
# Sample verbose configuration file for Unicorn (not Rack) | |
# | |
# This configuration file documents many features of Unicorn | |
# that may not be needed for some applications. See | |
# http://unicorn.bogomips.org/examples/unicorn.conf.minimal.rb | |
# for a much simpler configuration file. | |
# | |
# See http://unicorn.bogomips.org/Unicorn/Configurator.html for complete | |
# documentation. |