Permalink
Browse files

style chnages

  • Loading branch information...
1 parent f307534 commit 01d36ea5c31d0c21c0f5c92a424e6536bd7cd86e @waytoexpress waytoexpress committed Oct 2, 2011
@@ -6,7 +6,7 @@ body{
background-color: #DDD;
margin: 0px;
- color: #303030;
+ color: #8b0808;
font-family:'Josefin Sans',Helvetica,Arial,sans-serif;
font-size: 16px;
font-weight: normal;
@@ -268,6 +268,31 @@ kbd{
font-family: monospace, sans-serif;
}
+.row h2{
+ font-weight:bold;
+ margin-bottom:0.6em;
+}
+.gray p{
+ color: black;
+}
+
+code{
+ font-family:monospace;
+ font-size:12px;
+ color: black;
+}
+
+ol{
+ padding-left:40px;
+ margin:0.6em 0px;
+ font: italic 1em Georgia, Times, serif;
+ color: #999;
+}
+ol li{
+ font-size:14px;
+ color:black;
+}
+
@@ -6,7 +6,7 @@ body{
background-color: #DDD;
margin: 0px;
- color: #303030;
+ color: #8b0808;
font-family:'Josefin Sans',Helvetica,Arial,sans-serif;
font-size: 16px;
font-weight: normal;
@@ -128,7 +128,7 @@ blockquote small
.gray{
background: none repeat scroll 0 0 #F0F0EB;
- background-image: url(/images/bkg.jpg);
+ background-image: url(/images/bkg_cyan.jpg);
background-position: center top;
background-color: #DDD;
}
@@ -268,6 +268,27 @@ kbd{
font-family: monospace, sans-serif;
}
+.row h2{
+ font-weight:bold;
+ margin-bottom:0.6em;
+}
+.gray p{
+ color: black;
+}
+
+code{
+ font-family:monospace;
+ font-size:12px;
+ color: black;
+}
+
+ol{
+ padding-left:40px;
+ margin:0.6em 0px;
+ font: italic 1em Georgia, Times, serif;
+ color: #999;
+}
+
View
@@ -6,7 +6,7 @@ body{
background-color: #DDD;
margin: 0px;
- color: #303030;
+ color: #8b0808;
font-family:'Josefin Sans',Helvetica,Arial,sans-serif;
font-size: 16px;
font-weight: normal;
@@ -268,6 +268,31 @@ kbd{
font-family: monospace, sans-serif;
}
+.row h2{
+ font-weight:bold;
+ margin-bottom:0.6em;
+}
+.gray p{
+ color: black;
+}
+
+code{
+ font-family:monospace;
+ font-size:12px;
+ color: black;
+}
+
+ol{
+ padding-left:40px;
+ margin:0.6em 0px;
+ font: italic 1em Georgia, Times, serif;
+ color: #999;
+}
+ol li{
+ font-size:14px;
+ color:black;
+}
+
View
@@ -6,7 +6,7 @@ body{
background-color: #DDD;
margin: 0px;
- color: #303030;
+ color: #8b0808;
font-family:'Josefin Sans',Helvetica,Arial,sans-serif;
font-size: 16px;
font-weight: normal;
@@ -128,7 +128,7 @@ blockquote small
.gray{
background: none repeat scroll 0 0 #F0F0EB;
- background-image: url(/images/bkg.jpg);
+ background-image: url(/images/bkg_cyan.jpg);
background-position: center top;
background-color: #DDD;
}
@@ -268,6 +268,27 @@ kbd{
font-family: monospace, sans-serif;
}
+.row h2{
+ font-weight:bold;
+ margin-bottom:0.6em;
+}
+.gray p{
+ color: black;
+}
+
+code{
+ font-family:monospace;
+ font-size:12px;
+ color: black;
+}
+
+ol{
+ padding-left:40px;
+ margin:0.6em 0px;
+ font: italic 1em Georgia, Times, serif;
+ color: #999;
+}
+
@@ -0,0 +1,38 @@
+---
+layout: post
+title: "Learning to Authenticate With Devise"
+date: 2011-10-01 19:37
+comments: true
+categories:
+---
+<div class="container">
+ <div class="row">
+ <div class="sixcol">&nbsp;</div>
+ <div class="sixcol last">
+ <h1 class="main-head">Learning to Authenticate with Devise</h1>
+ </div>
+ </div>
+</div>
+
+
+<div class="container padding40">
+ <div class="row">
+ <div class="eightcol">
+ The first step is to create a new rails application and bundle the devise gem inside it. Devise comes with a generator and it will configure the application and will walk you through the necessary steps. Run <code>rails g devise:install</code>. As instructed by the generator, you should add the configuration for mailer in the development environment, should add a root url, and should have the markup to display the flash messages. It's time to generate the model for representing the application users by running <code>rails g devise User</code>. The previous command will create the following.
+<ol>
+ <li>User model</li>
+ <li>Unit test file</li>
+ <li>User fixture</li>
+ <li>User migration file</li>
+ <li>Route for users</li>
+</ol>
+
+<p class="para">
+ After including the devise modules in the model and the migration file migrate the database updates and run the rails application.`
+</p>
+
+
+ </div>
+ <div class="fourcol last"></div>
+ </div>
+</div>
@@ -0,0 +1,32 @@
+---
+layout: post
+title: "Learning to Authenticate With Devise"
+date: 2011-10-01 19:37
+comments: true
+categories:
+---
+<div class="container">
+ <div class="row">
+ <div class="sixcol">&nbsp;</div>
+ <div class="sixcol last">
+ <h1 class="main-head">Learning to Authenticate with Devise</h1>
+ </div>
+ </div>
+</div>
+
+
+<div class="container padding40">
+ <div class="row">
+ <div class="eightcol">
+ The first step is to create a new rails application and bundle the devise gem inside it. Devise comes with a generator and it will configure the application and will walk you through the necessary steps. Run <code>rails g devise:install</code>. As instructed by the generator, you should add the configuration for mailer in the development environment, should add a root url, and should have the markup to display the flash messages. It's time to generate the model for representing the application users by running <code>rails g devise User</code>. The previous command will create the following.
+<ol>
+ <li>User model</li>
+ <li>Unit test file</li>
+ <li>User fixture</li>
+ <li>User migration file</li>
+ <li>Route for users</li>
+</ol>
+ </div>
+ <div class="fourcol last"></div>
+ </div>
+</div>
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

0 comments on commit 01d36ea

Please sign in to comment.