mosh_generator 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.editorconfig +9 -0
- data/.gitignore +3 -0
- data/.ruby-gemset +1 -0
- data/.ruby-version +1 -0
- data/Gemfile +3 -0
- data/Gemfile.lock +93 -0
- data/LICENSE +21 -0
- data/README.md +5 -0
- data/bin/mosh_generator +11 -0
- data/doc/MoshGenerator/AppBuilder.html +823 -0
- data/doc/MoshGenerator/AppGenerator.html +503 -0
- data/doc/MoshGenerator.html +151 -0
- data/doc/_index.html +132 -0
- data/doc/class_list.html +53 -0
- data/doc/css/common.css +1 -0
- data/doc/css/full_list.css +57 -0
- data/doc/css/style.css +338 -0
- data/doc/file.README.html +79 -0
- data/doc/file_list.html +55 -0
- data/doc/frames.html +28 -0
- data/doc/index.html +79 -0
- data/doc/js/app.js +214 -0
- data/doc/js/full_list.js +178 -0
- data/doc/js/jquery.js +4 -0
- data/doc/method_list.html +142 -0
- data/doc/top-level-namespace.html +112 -0
- data/lib/mosh_generator/app_builder.rb +137 -0
- data/lib/mosh_generator/generators/app_generator.rb +104 -0
- data/lib/mosh_generator/version.rb +6 -0
- data/lib/mosh_generator.rb +5 -0
- data/mosh_generator.gemspec +30 -0
- data/templates/.editorconfig +29 -0
- data/templates/.gitignore +21 -0
- data/templates/.jshintrc +20 -0
- data/templates/.ruby-gemset +1 -0
- data/templates/.ruby-version +1 -0
- data/templates/Gemfile.tt +13 -0
- data/templates/Gruntfile.js +80 -0
- data/templates/README.md.tt +1 -0
- data/templates/app_directory/helpers/application_helper.rb.tt +30 -0
- data/templates/app_directory/views/application/_chrome_frame.html +3 -0
- data/templates/app_directory/views/application/_google_analytics.html +9 -0
- data/templates/app_directory/views/layouts/application.html.erb.tt +52 -0
- data/templates/config/database.yml +12 -0
- data/templates/package.json.tt +15 -0
- data/templates/public_directory/404.html +157 -0
- data/templates/public_directory/apple-touch-icon-114x114-precomposed.png +0 -0
- data/templates/public_directory/apple-touch-icon-144x144-precomposed.png +0 -0
- data/templates/public_directory/apple-touch-icon-57x57-precomposed.png +0 -0
- data/templates/public_directory/apple-touch-icon-72x72-precomposed.png +0 -0
- data/templates/public_directory/apple-touch-icon-precomposed.png +0 -0
- data/templates/public_directory/apple-touch-icon.png +0 -0
- data/templates/public_directory/crossdomain.xml +15 -0
- data/templates/public_directory/favicon.ico +0 -0
- data/templates/public_directory/humans.txt +14 -0
- data/templates/public_directory/images/.gitkeep +0 -0
- data/templates/public_directory/javascripts/.gitkeep +0 -0
- data/templates/public_directory/javascripts/vendor/modernizr.custom.js +4 -0
- data/templates/public_directory/javascripts/vendor/respond.min.js +6 -0
- data/templates/public_directory/robots.txt +3 -0
- data/templates/public_directory/stylesheets/.gitkeep +0 -0
- data/templates/public_directory/stylesheets/scss/core/_base.scss +52 -0
- data/templates/public_directory/stylesheets/scss/core/_reset.scss +56 -0
- data/templates/public_directory/stylesheets/scss/core/_settings.scss +61 -0
- data/templates/public_directory/stylesheets/scss/site.scss +21 -0
- metadata +143 -0
@@ -0,0 +1,104 @@
|
|
1
|
+
require 'rails/generators'
|
2
|
+
require 'rails/generators/rails/app/app_generator'
|
3
|
+
|
4
|
+
module MoshGenerator
|
5
|
+
|
6
|
+
#
|
7
|
+
# Override Rails default AppGenerator.
|
8
|
+
#
|
9
|
+
class AppGenerator < Rails::Generators::AppGenerator
|
10
|
+
|
11
|
+
class << self
|
12
|
+
#
|
13
|
+
# Banner for the cli.
|
14
|
+
#
|
15
|
+
def banner
|
16
|
+
"mosh_generator #{self.arguments.map(&:usage).join(' ')} [options]"
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
# Override skip_test_unit option defaults to true.
|
21
|
+
class_option :skip_test_unit, :type => :boolean, :aliases => '-T',
|
22
|
+
:default => true, :desc => 'Skip Test::Unit files'
|
23
|
+
|
24
|
+
# Override skip_sprockets option defaults to true.
|
25
|
+
class_option :skip_sprockets, :type => :boolean, :aliases => '-S',
|
26
|
+
:default => true, :desc => 'Skip Sprockets files'
|
27
|
+
|
28
|
+
# Override skip_javascript option defaults to true.
|
29
|
+
class_option :skip_javascript, :type => :boolean, :aliases => '-J',
|
30
|
+
:default => true, :desc => 'Skip JavaScript files'
|
31
|
+
|
32
|
+
#
|
33
|
+
# Overrides default implementation to run customization code.
|
34
|
+
#
|
35
|
+
def finish_template
|
36
|
+
invoke :mosh_generator_customization
|
37
|
+
super
|
38
|
+
end
|
39
|
+
|
40
|
+
#
|
41
|
+
# Customized generator wrapper.
|
42
|
+
#
|
43
|
+
def mosh_generator_customization
|
44
|
+
invoke :remove_files_we_dont_need
|
45
|
+
invoke :create_configuration_files
|
46
|
+
invoke :create_staging_environment
|
47
|
+
invoke :create_application_structure
|
48
|
+
end
|
49
|
+
|
50
|
+
#
|
51
|
+
# Do some clean up.
|
52
|
+
#
|
53
|
+
def remove_files_we_dont_need
|
54
|
+
build :remove_public_index
|
55
|
+
build :remove_assets_directories
|
56
|
+
build :remove_doc_directory
|
57
|
+
end
|
58
|
+
|
59
|
+
#
|
60
|
+
# Creates some configuration files for tools.
|
61
|
+
#
|
62
|
+
def create_configuration_files
|
63
|
+
build :create_editorconfig_file
|
64
|
+
build :create_ruby_version_file
|
65
|
+
build :create_ruby_gemset_file
|
66
|
+
end
|
67
|
+
|
68
|
+
#
|
69
|
+
# Creates a staging environment
|
70
|
+
#
|
71
|
+
def create_staging_environment
|
72
|
+
build :create_staging_environment_file
|
73
|
+
end
|
74
|
+
|
75
|
+
#
|
76
|
+
# Create the minimal application structure.
|
77
|
+
#
|
78
|
+
def create_application_structure
|
79
|
+
build :create_helpers
|
80
|
+
build :create_layout
|
81
|
+
build :create_partial_views
|
82
|
+
build :configure_grunt
|
83
|
+
end
|
84
|
+
|
85
|
+
#
|
86
|
+
# Override the original run_bundle to do nothing.
|
87
|
+
#
|
88
|
+
def run_bundle
|
89
|
+
bundle_command 'install --without production staging'
|
90
|
+
end
|
91
|
+
|
92
|
+
protected
|
93
|
+
|
94
|
+
#
|
95
|
+
# Override get_builder_class to get builder class from MoshGenerator module.
|
96
|
+
#
|
97
|
+
# @return [MoshGenerator::AppBuilder] Mosh Generator's AppBuilder implementation.
|
98
|
+
#
|
99
|
+
def get_builder_class
|
100
|
+
MoshGenerator::AppBuilder
|
101
|
+
end
|
102
|
+
end
|
103
|
+
|
104
|
+
end
|
@@ -0,0 +1,30 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
|
3
|
+
$:.push File.expand_path('../lib', __FILE__)
|
4
|
+
require 'mosh_generator/version'
|
5
|
+
require 'date'
|
6
|
+
|
7
|
+
Gem::Specification.new do |s|
|
8
|
+
s.name = 'mosh_generator'
|
9
|
+
s.version = MoshGenerator::VERSION
|
10
|
+
s.summary = "Rails application generator with Mosh Creative's standards."
|
11
|
+
s.description = <<-HERE
|
12
|
+
Mosh Generator is a Rails application generator that was made to get a jump
|
13
|
+
start on generating a working application with our defaults.
|
14
|
+
HERE
|
15
|
+
s.author = 'Mosh Creative'
|
16
|
+
s.email = 'contato@moshcreative.com.br'
|
17
|
+
s.homepage = 'http://github.com/MoshCreative/mosh-generator'
|
18
|
+
|
19
|
+
s.files = `git ls-files`.split("\n")
|
20
|
+
s.require_paths << 'lib'
|
21
|
+
s.executables << 'mosh_generator'
|
22
|
+
s.extra_rdoc_files = ['README.md']
|
23
|
+
s.rdoc_options = ['--charset=UTF-8']
|
24
|
+
s.license = 'MIT'
|
25
|
+
s.date = Date.today.strftime '%Y-%m-%d'
|
26
|
+
|
27
|
+
s.add_dependency 'rails', '~> 3.2.13'
|
28
|
+
|
29
|
+
s.add_development_dependency 'yard', '~> 0.8.6.1'
|
30
|
+
end
|
@@ -0,0 +1,29 @@
|
|
1
|
+
; EditorConfig is awesome: http://EditorConfig.org
|
2
|
+
|
3
|
+
root = true
|
4
|
+
|
5
|
+
[*]
|
6
|
+
charset = utf-8
|
7
|
+
end_of_line = lf
|
8
|
+
insert_final_newline = true
|
9
|
+
trim_trailing_whitespace = true
|
10
|
+
|
11
|
+
[**.rb]
|
12
|
+
indent_style = space
|
13
|
+
indent_size = 2
|
14
|
+
|
15
|
+
[**.erb]
|
16
|
+
indent_style = space
|
17
|
+
indent_size = 2
|
18
|
+
|
19
|
+
[**.html]
|
20
|
+
indent_style = space
|
21
|
+
indent_size = 2
|
22
|
+
|
23
|
+
[**.yml]
|
24
|
+
indent_style = space
|
25
|
+
indent_size = 2
|
26
|
+
|
27
|
+
[**.scss]
|
28
|
+
indent_style = space
|
29
|
+
indent_size = 2
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# See http://help.github.com/ignore-files/ for more about ignoring files.
|
2
|
+
#
|
3
|
+
# If you find yourself ignoring temporary files generated by your text editor
|
4
|
+
# or operating system, you probably want to add a global ignore instead:
|
5
|
+
# git config --global core.excludesfile ~/.gitignore_global
|
6
|
+
|
7
|
+
# Ignore bundler config
|
8
|
+
/.bundle
|
9
|
+
|
10
|
+
# Ignore the default SQLite database.
|
11
|
+
/db/*.sqlite3
|
12
|
+
|
13
|
+
# Ignore all logfiles and tempfiles.
|
14
|
+
/log/*.log
|
15
|
+
/tmp
|
16
|
+
|
17
|
+
# Ignores node_modules directory
|
18
|
+
/.node_modules
|
19
|
+
|
20
|
+
# Ignores .sass-cache directory
|
21
|
+
/**/.sass-cache
|
data/templates/.jshintrc
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
{
|
2
|
+
"bitwise": true,
|
3
|
+
"camelcase": true,
|
4
|
+
"curly": true,
|
5
|
+
"eqeqeq": true,
|
6
|
+
"es3": true,
|
7
|
+
"forin": true,
|
8
|
+
"immed": true,
|
9
|
+
"latedef": true,
|
10
|
+
"newcap": true,
|
11
|
+
"noarg": true,
|
12
|
+
"noempty": true,
|
13
|
+
"nonew": true,
|
14
|
+
"quotmark": true,
|
15
|
+
"undef": true,
|
16
|
+
"unused": true,
|
17
|
+
"strict": true,
|
18
|
+
"trailing": true,
|
19
|
+
"browser": true
|
20
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
<%= app_name %>
|
@@ -0,0 +1 @@
|
|
1
|
+
<%= RUBY_VERSION %>
|
@@ -0,0 +1,80 @@
|
|
1
|
+
/* global module:false */
|
2
|
+
|
3
|
+
'use strict';
|
4
|
+
|
5
|
+
module.exports = function (grunt) {
|
6
|
+
// Project configuration
|
7
|
+
grunt.initConfig({
|
8
|
+
// Metadata
|
9
|
+
pkg: grunt.file.readJSON('package.json'),
|
10
|
+
banner: '/*! <%= pkg.title || pkg.name %> - v<%= pkg.version %> - ' +
|
11
|
+
'<%= grunt.template.today("yyyy-mm-dd") %>\n' +
|
12
|
+
'<%= pkg.homepage ? "* " + pkg.homepage + "\\n" : "" %>' +
|
13
|
+
'* Copyright (c) <%= grunt.template.today("yyyy") %> <%= pkg.author.name %>; */\n',
|
14
|
+
|
15
|
+
// Tasks configuration
|
16
|
+
compass: {
|
17
|
+
options: {
|
18
|
+
basePath: 'public',
|
19
|
+
sassDir: 'stylesheets/scss',
|
20
|
+
imagesDir: 'images',
|
21
|
+
javascriptsDir: 'javascripts'
|
22
|
+
},
|
23
|
+
dev: {
|
24
|
+
options: {
|
25
|
+
cssDir: 'stylesheets/dev'
|
26
|
+
}
|
27
|
+
},
|
28
|
+
dist: {
|
29
|
+
options: {
|
30
|
+
cssDir: 'stylesheets/dist',
|
31
|
+
environment: 'production'
|
32
|
+
}
|
33
|
+
}
|
34
|
+
},
|
35
|
+
concat: {
|
36
|
+
options: {
|
37
|
+
banner: '<%= banner %>',
|
38
|
+
stripBanners: true
|
39
|
+
},
|
40
|
+
dist: {
|
41
|
+
src: '<%= jshint.all.src %>',
|
42
|
+
dest: 'public/javascripts/<%= pkg.name %>.js'
|
43
|
+
}
|
44
|
+
},
|
45
|
+
jshint: {
|
46
|
+
options: {
|
47
|
+
jshintrc: '.jshintrc'
|
48
|
+
},
|
49
|
+
all: {
|
50
|
+
src: ['public/javascripts/lib/**/*.js', 'public/javascripts/src/**/*.js']
|
51
|
+
}
|
52
|
+
},
|
53
|
+
uglify: {
|
54
|
+
options: {
|
55
|
+
banner: '<%= banner %>'
|
56
|
+
},
|
57
|
+
dist: {
|
58
|
+
files: {
|
59
|
+
'public/javascripts/<%= pkg.name %>.min.js': '<%= concat.dist.dest %>'
|
60
|
+
}
|
61
|
+
}
|
62
|
+
},
|
63
|
+
watch: {
|
64
|
+
all: {
|
65
|
+
files: '<%= jshint.all.src %>',
|
66
|
+
tasks: ['jshint:lib_src', 'concat', 'uglify']
|
67
|
+
}
|
68
|
+
}
|
69
|
+
});
|
70
|
+
|
71
|
+
// Tasks load
|
72
|
+
grunt.loadNpmTasks('grunt-contrib-compass');
|
73
|
+
grunt.loadNpmTasks('grunt-contrib-concat');
|
74
|
+
grunt.loadNpmTasks('grunt-contrib-jshint');
|
75
|
+
grunt.loadNpmTasks('grunt-contrib-uglify');
|
76
|
+
grunt.loadNpmTasks('grunt-contrib-watch');
|
77
|
+
|
78
|
+
// Tasks declaration
|
79
|
+
grunt.registerTask('default', ['compass', 'jshint', 'concat', 'uglify']);
|
80
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
# <%= app_name.humanize.titleize %>
|
@@ -0,0 +1,30 @@
|
|
1
|
+
module ApplicationHelper
|
2
|
+
|
3
|
+
def full_title title
|
4
|
+
base_title = "<%= app_name.humanize.titleize %>"
|
5
|
+
if title.empty?
|
6
|
+
"#{base_title}"
|
7
|
+
else
|
8
|
+
"#{base_title} | #{title}"
|
9
|
+
end
|
10
|
+
end
|
11
|
+
|
12
|
+
def meta_description description
|
13
|
+
base_description = "<%= app_name.humanize.titleize %>"
|
14
|
+
if description.empty?
|
15
|
+
base_description
|
16
|
+
else
|
17
|
+
description
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
def meta_keywords keywords
|
22
|
+
base_keywords = "<%= app_name.humanize.downcase %>"
|
23
|
+
if keywords.empty?
|
24
|
+
base_keywords
|
25
|
+
else
|
26
|
+
keywords
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
end
|
@@ -0,0 +1,3 @@
|
|
1
|
+
<!--[if lt IE 7]>
|
2
|
+
<p class="chromeframe">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">activate Google Chrome Frame</a> to improve your experience.</p>
|
3
|
+
<![endif]-->
|
@@ -0,0 +1,9 @@
|
|
1
|
+
<!-- Google Analytics: change UA-XXXXX-X to be your site's ID. -->
|
2
|
+
<script>
|
3
|
+
(function(b,o,i,l,e,r){b.GoogleAnalyticsObject=l;b[l]||(b[l]=
|
4
|
+
function(){(b[l].q=b[l].q||[]).push(arguments)});b[l].l=+new Date;
|
5
|
+
e=o.createElement(i);r=o.getElementsByTagName(i)[0];
|
6
|
+
e.src='//www.google-analytics.com/analytics.js';
|
7
|
+
r.parentNode.insertBefore(e,r)}(window,document,'script','ga'));
|
8
|
+
ga('create','UA-XXXXX-X');ga('send','pageview');
|
9
|
+
</script>
|
@@ -0,0 +1,52 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<!--[if lt IE 7]><html class="no-js lt-ie9 lt-ie8 lt-ie7"><![endif]-->
|
3
|
+
<!--[if IE 7]><html class="no-js lt-ie9 lt-ie8"><![endif]-->
|
4
|
+
<!--[if IE 8]><html class="no-js lt-ie9"><![endif]-->
|
5
|
+
<!--[if gt IE 8]><!--><html class="no-js"><!--<![endif]-->
|
6
|
+
<head>
|
7
|
+
<meta charset="utf-8" />
|
8
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
|
9
|
+
|
10
|
+
<title><%%= full_title yield :title %></title>
|
11
|
+
|
12
|
+
<meta name="description" content="<%%= meta_description yield :description %>" />
|
13
|
+
<meta name="keywords" content="<%%= meta_keywords yield :description %>" />
|
14
|
+
|
15
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
16
|
+
|
17
|
+
<meta property="og:title" content="<%%= full_title yield :title %>" />
|
18
|
+
<meta property="og:description" content="<%%= meta_description yield :description %>" />
|
19
|
+
<meta property="og:site_name" content="<%= app_name.humanize.titleize %>" />
|
20
|
+
<meta property="og:type" content="website" />
|
21
|
+
|
22
|
+
<meta rel="author" href="/humans.txt" />
|
23
|
+
|
24
|
+
<% if options[:skip_sprockets] %>
|
25
|
+
<%%= stylesheet_link_tag (Rails.env.production? || Rails.env.staging?) ? 'dist/site.css' : 'dev/site.css' %>
|
26
|
+
<%%= javascript_include_tag 'vendor/modernizr.custom.js' %>
|
27
|
+
<script>
|
28
|
+
Modernizr.load({
|
29
|
+
test: Modernizr.mq('only all'),
|
30
|
+
nope: 'javascripts/vendor/respond.min.js'
|
31
|
+
});
|
32
|
+
</script>
|
33
|
+
<% else %>
|
34
|
+
<%%= stylesheet_link_tag 'application', media: 'all' %>
|
35
|
+
<%%= javascript_include_tag 'application' %>
|
36
|
+
<% end %>
|
37
|
+
|
38
|
+
<%%= yield :head %>
|
39
|
+
|
40
|
+
<%%= csrf_meta_tags %>
|
41
|
+
</head>
|
42
|
+
<body>
|
43
|
+
<%%= render 'chrome_frame' %>
|
44
|
+
|
45
|
+
<%%= yield %>
|
46
|
+
|
47
|
+
<%%= javascript_include_tag (Rails.env.production? || Rails.env.staging?) ? '<%= app_name %>.min.js' : '<%= app_name %>.js' %>
|
48
|
+
<%%= yield :script %>
|
49
|
+
|
50
|
+
<%%= render 'google_analytics' %>
|
51
|
+
</body>
|
52
|
+
</html>
|
@@ -0,0 +1,15 @@
|
|
1
|
+
{
|
2
|
+
"name": "<%= app_name %>",
|
3
|
+
"version": "0.1.0",
|
4
|
+
"author": "Mosh Creative",
|
5
|
+
"readmeFilename": "README.md",
|
6
|
+
"private": true,
|
7
|
+
"devDependencies": {
|
8
|
+
"grunt": "~0.4.1",
|
9
|
+
"grunt-contrib-compass": "~0.2.0",
|
10
|
+
"grunt-contrib-concat": "~0.3.0",
|
11
|
+
"grunt-contrib-jshint": "~0.6.0",
|
12
|
+
"grunt-contrib-uglify": "~0.2.2",
|
13
|
+
"grunt-contrib-watch": "~0.4.4"
|
14
|
+
}
|
15
|
+
}
|
@@ -0,0 +1,157 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<title>Page Not Found :(</title>
|
6
|
+
<style>
|
7
|
+
::-moz-selection {
|
8
|
+
background: #b3d4fc;
|
9
|
+
text-shadow: none;
|
10
|
+
}
|
11
|
+
|
12
|
+
::selection {
|
13
|
+
background: #b3d4fc;
|
14
|
+
text-shadow: none;
|
15
|
+
}
|
16
|
+
|
17
|
+
html {
|
18
|
+
padding: 30px 10px;
|
19
|
+
font-size: 20px;
|
20
|
+
line-height: 1.4;
|
21
|
+
color: #737373;
|
22
|
+
background: #f0f0f0;
|
23
|
+
-webkit-text-size-adjust: 100%;
|
24
|
+
-ms-text-size-adjust: 100%;
|
25
|
+
}
|
26
|
+
|
27
|
+
html,
|
28
|
+
input {
|
29
|
+
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
30
|
+
}
|
31
|
+
|
32
|
+
body {
|
33
|
+
max-width: 500px;
|
34
|
+
_width: 500px;
|
35
|
+
padding: 30px 20px 50px;
|
36
|
+
border: 1px solid #b3b3b3;
|
37
|
+
border-radius: 4px;
|
38
|
+
margin: 0 auto;
|
39
|
+
box-shadow: 0 1px 10px #a7a7a7, inset 0 1px 0 #fff;
|
40
|
+
background: #fcfcfc;
|
41
|
+
}
|
42
|
+
|
43
|
+
h1 {
|
44
|
+
margin: 0 10px;
|
45
|
+
font-size: 50px;
|
46
|
+
text-align: center;
|
47
|
+
}
|
48
|
+
|
49
|
+
h1 span {
|
50
|
+
color: #bbb;
|
51
|
+
}
|
52
|
+
|
53
|
+
h3 {
|
54
|
+
margin: 1.5em 0 0.5em;
|
55
|
+
}
|
56
|
+
|
57
|
+
p {
|
58
|
+
margin: 1em 0;
|
59
|
+
}
|
60
|
+
|
61
|
+
ul {
|
62
|
+
padding: 0 0 0 40px;
|
63
|
+
margin: 1em 0;
|
64
|
+
}
|
65
|
+
|
66
|
+
.container {
|
67
|
+
max-width: 380px;
|
68
|
+
_width: 380px;
|
69
|
+
margin: 0 auto;
|
70
|
+
}
|
71
|
+
|
72
|
+
/* google search */
|
73
|
+
|
74
|
+
#goog-fixurl ul {
|
75
|
+
list-style: none;
|
76
|
+
padding: 0;
|
77
|
+
margin: 0;
|
78
|
+
}
|
79
|
+
|
80
|
+
#goog-fixurl form {
|
81
|
+
margin: 0;
|
82
|
+
}
|
83
|
+
|
84
|
+
#goog-wm-qt,
|
85
|
+
#goog-wm-sb {
|
86
|
+
border: 1px solid #bbb;
|
87
|
+
font-size: 16px;
|
88
|
+
line-height: normal;
|
89
|
+
vertical-align: top;
|
90
|
+
color: #444;
|
91
|
+
border-radius: 2px;
|
92
|
+
}
|
93
|
+
|
94
|
+
#goog-wm-qt {
|
95
|
+
width: 220px;
|
96
|
+
height: 20px;
|
97
|
+
padding: 5px;
|
98
|
+
margin: 5px 10px 0 0;
|
99
|
+
box-shadow: inset 0 1px 1px #ccc;
|
100
|
+
}
|
101
|
+
|
102
|
+
#goog-wm-sb {
|
103
|
+
display: inline-block;
|
104
|
+
height: 32px;
|
105
|
+
padding: 0 10px;
|
106
|
+
margin: 5px 0 0;
|
107
|
+
white-space: nowrap;
|
108
|
+
cursor: pointer;
|
109
|
+
background-color: #f5f5f5;
|
110
|
+
background-image: -webkit-linear-gradient(rgba(255,255,255,0), #f1f1f1);
|
111
|
+
background-image: -moz-linear-gradient(rgba(255,255,255,0), #f1f1f1);
|
112
|
+
background-image: -ms-linear-gradient(rgba(255,255,255,0), #f1f1f1);
|
113
|
+
background-image: -o-linear-gradient(rgba(255,255,255,0), #f1f1f1);
|
114
|
+
-webkit-appearance: none;
|
115
|
+
-moz-appearance: none;
|
116
|
+
appearance: none;
|
117
|
+
*overflow: visible;
|
118
|
+
*display: inline;
|
119
|
+
*zoom: 1;
|
120
|
+
}
|
121
|
+
|
122
|
+
#goog-wm-sb:hover,
|
123
|
+
#goog-wm-sb:focus {
|
124
|
+
border-color: #aaa;
|
125
|
+
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
|
126
|
+
background-color: #f8f8f8;
|
127
|
+
}
|
128
|
+
|
129
|
+
#goog-wm-qt:hover,
|
130
|
+
#goog-wm-qt:focus {
|
131
|
+
border-color: #105cb6;
|
132
|
+
outline: 0;
|
133
|
+
color: #222;
|
134
|
+
}
|
135
|
+
|
136
|
+
input::-moz-focus-inner {
|
137
|
+
padding: 0;
|
138
|
+
border: 0;
|
139
|
+
}
|
140
|
+
</style>
|
141
|
+
</head>
|
142
|
+
<body>
|
143
|
+
<div class="container">
|
144
|
+
<h1>Not found <span>:(</span></h1>
|
145
|
+
<p>Sorry, but the page you were trying to view does not exist.</p>
|
146
|
+
<p>It looks like this was the result of either:</p>
|
147
|
+
<ul>
|
148
|
+
<li>a mistyped address</li>
|
149
|
+
<li>an out-of-date link</li>
|
150
|
+
</ul>
|
151
|
+
<script>
|
152
|
+
var GOOG_FIXURL_LANG = (navigator.language || '').slice(0,2),GOOG_FIXURL_SITE = location.host;
|
153
|
+
</script>
|
154
|
+
<script src="//linkhelp.clients.google.com/tbproxy/lh/wm/fixurl.js"></script>
|
155
|
+
</div>
|
156
|
+
</body>
|
157
|
+
</html>
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,15 @@
|
|
1
|
+
<?xml version="1.0"?>
|
2
|
+
<!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
|
3
|
+
<cross-domain-policy>
|
4
|
+
<!-- Read this: www.adobe.com/devnet/articles/crossdomain_policy_file_spec.html -->
|
5
|
+
|
6
|
+
<!-- Most restrictive policy: -->
|
7
|
+
<site-control permitted-cross-domain-policies="none"/>
|
8
|
+
|
9
|
+
<!-- Least restrictive policy: -->
|
10
|
+
<!--
|
11
|
+
<site-control permitted-cross-domain-policies="all"/>
|
12
|
+
<allow-access-from domain="*" to-ports="*" secure="false"/>
|
13
|
+
<allow-http-request-headers-from domain="*" headers="*" secure="false"/>
|
14
|
+
-->
|
15
|
+
</cross-domain-policy>
|
Binary file
|
File without changes
|
File without changes
|