annotate public/index.html @ 2:42de15334db1

Added the pastes.
author Edho Arief <edho@myconan.net>
date Sun, 26 Aug 2012 11:28:23 -0700
parents 4aa8194a1733
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
1 <!DOCTYPE html>
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
2 <html>
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
3 <head>
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
4 <title>Ruby on Rails: Welcome aboard</title>
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
5 <style type="text/css" media="screen">
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
6 body {
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
7 margin: 0;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
8 margin-bottom: 25px;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
9 padding: 0;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
10 background-color: #f0f0f0;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
11 font-family: "Lucida Grande", "Bitstream Vera Sans", "Verdana";
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
12 font-size: 13px;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
13 color: #333;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
14 }
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
15
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
16 h1 {
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
17 font-size: 28px;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
18 color: #000;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
19 }
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
20
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
21 a {color: #03c}
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
22 a:hover {
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
23 background-color: #03c;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
24 color: white;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
25 text-decoration: none;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
26 }
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
27
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
28
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
29 #page {
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
30 background-color: #f0f0f0;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
31 width: 750px;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
32 margin: 0;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
33 margin-left: auto;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
34 margin-right: auto;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
35 }
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
36
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
37 #content {
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
38 float: left;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
39 background-color: white;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
40 border: 3px solid #aaa;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
41 border-top: none;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
42 padding: 25px;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
43 width: 500px;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
44 }
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
45
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
46 #sidebar {
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
47 float: right;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
48 width: 175px;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
49 }
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
50
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
51 #footer {
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
52 clear: both;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
53 }
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
54
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
55 #header, #about, #getting-started {
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
56 padding-left: 75px;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
57 padding-right: 30px;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
58 }
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
59
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
60
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
61 #header {
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
62 background-image: url("assets/rails.png");
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
63 background-repeat: no-repeat;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
64 background-position: top left;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
65 height: 64px;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
66 }
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
67 #header h1, #header h2 {margin: 0}
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
68 #header h2 {
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
69 color: #888;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
70 font-weight: normal;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
71 font-size: 16px;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
72 }
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
73
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
74
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
75 #about h3 {
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
76 margin: 0;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
77 margin-bottom: 10px;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
78 font-size: 14px;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
79 }
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
80
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
81 #about-content {
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
82 background-color: #ffd;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
83 border: 1px solid #fc0;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
84 margin-left: -55px;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
85 margin-right: -10px;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
86 }
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
87 #about-content table {
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
88 margin-top: 10px;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
89 margin-bottom: 10px;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
90 font-size: 11px;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
91 border-collapse: collapse;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
92 }
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
93 #about-content td {
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
94 padding: 10px;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
95 padding-top: 3px;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
96 padding-bottom: 3px;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
97 }
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
98 #about-content td.name {color: #555}
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
99 #about-content td.value {color: #000}
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
100
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
101 #about-content ul {
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
102 padding: 0;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
103 list-style-type: none;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
104 }
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
105
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
106 #about-content.failure {
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
107 background-color: #fcc;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
108 border: 1px solid #f00;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
109 }
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
110 #about-content.failure p {
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
111 margin: 0;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
112 padding: 10px;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
113 }
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
114
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
115
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
116 #getting-started {
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
117 border-top: 1px solid #ccc;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
118 margin-top: 25px;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
119 padding-top: 15px;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
120 }
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
121 #getting-started h1 {
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
122 margin: 0;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
123 font-size: 20px;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
124 }
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
125 #getting-started h2 {
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
126 margin: 0;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
127 font-size: 14px;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
128 font-weight: normal;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
129 color: #333;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
130 margin-bottom: 25px;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
131 }
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
132 #getting-started ol {
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
133 margin-left: 0;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
134 padding-left: 0;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
135 }
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
136 #getting-started li {
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
137 font-size: 18px;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
138 color: #888;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
139 margin-bottom: 25px;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
140 }
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
141 #getting-started li h2 {
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
142 margin: 0;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
143 font-weight: normal;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
144 font-size: 18px;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
145 color: #333;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
146 }
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
147 #getting-started li p {
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
148 color: #555;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
149 font-size: 13px;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
150 }
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
151
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
152
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
153 #sidebar ul {
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
154 margin-left: 0;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
155 padding-left: 0;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
156 }
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
157 #sidebar ul h3 {
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
158 margin-top: 25px;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
159 font-size: 16px;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
160 padding-bottom: 10px;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
161 border-bottom: 1px solid #ccc;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
162 }
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
163 #sidebar li {
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
164 list-style-type: none;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
165 }
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
166 #sidebar ul.links li {
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
167 margin-bottom: 5px;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
168 }
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
169
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
170 .filename {
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
171 font-style: italic;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
172 }
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
173 </style>
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
174 <script type="text/javascript">
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
175 function about() {
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
176 info = document.getElementById('about-content');
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
177 if (window.XMLHttpRequest)
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
178 { xhr = new XMLHttpRequest(); }
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
179 else
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
180 { xhr = new ActiveXObject("Microsoft.XMLHTTP"); }
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
181 xhr.open("GET","rails/info/properties",false);
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
182 xhr.send("");
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
183 info.innerHTML = xhr.responseText;
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
184 info.style.display = 'block'
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
185 }
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
186 </script>
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
187 </head>
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
188 <body>
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
189 <div id="page">
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
190 <div id="sidebar">
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
191 <ul id="sidebar-items">
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
192 <li>
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
193 <h3>Browse the documentation</h3>
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
194 <ul class="links">
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
195 <li><a href="http://guides.rubyonrails.org/">Rails Guides</a></li>
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
196 <li><a href="http://api.rubyonrails.org/">Rails API</a></li>
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
197 <li><a href="http://www.ruby-doc.org/core/">Ruby core</a></li>
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
198 <li><a href="http://www.ruby-doc.org/stdlib/">Ruby standard library</a></li>
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
199 </ul>
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
200 </li>
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
201 </ul>
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
202 </div>
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
203
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
204 <div id="content">
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
205 <div id="header">
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
206 <h1>Welcome aboard</h1>
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
207 <h2>You&rsquo;re riding Ruby on Rails!</h2>
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
208 </div>
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
209
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
210 <div id="about">
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
211 <h3><a href="rails/info/properties" onclick="about(); return false">About your application&rsquo;s environment</a></h3>
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
212 <div id="about-content" style="display: none"></div>
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
213 </div>
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
214
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
215 <div id="getting-started">
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
216 <h1>Getting started</h1>
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
217 <h2>Here&rsquo;s how to get rolling:</h2>
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
218
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
219 <ol>
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
220 <li>
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
221 <h2>Use <code>rails generate</code> to create your models and controllers</h2>
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
222 <p>To see all available options, run it without parameters.</p>
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
223 </li>
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
224
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
225 <li>
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
226 <h2>Set up a default route and remove <span class="filename">public/index.html</span></h2>
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
227 <p>Routes are set up in <span class="filename">config/routes.rb</span>.</p>
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
228 </li>
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
229
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
230 <li>
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
231 <h2>Create your database</h2>
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
232 <p>Run <code>rake db:create</code> to create your database. If you're not using SQLite (the default), edit <span class="filename">config/database.yml</span> with your username and password.</p>
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
233 </li>
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
234 </ol>
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
235 </div>
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
236 </div>
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
237
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
238 <div id="footer">&nbsp;</div>
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
239 </div>
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
240 </body>
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
241 </html>