Permalink
Browse files

Twitter bootstrap layout.

  • Loading branch information...
1 parent 0f9c0e2 commit eea0837926b0c1eb782838990fc09510bc2125fe @akzhan akzhan committed Apr 19, 2012

Large diffs are not rendered by default.

Oops, something went wrong.
View
@@ -2,20 +2,6 @@ form.service-action, form.service-signal
{
display: inline;
}
-#container{margin:0 auto;border-top:0;border-top:0;padding-left: 2em; padding-right: 2em;}
-.content{position:relative;padding: 16px 0;color:#c0baba;font-size:1.27em;line-height:1.7}
-.content:after{content:".";display:block;height:0;clear:both;visibility:hidden;}
-.content{display:inline-block;}
-/* \*/ * html .content{height:1%;}.content{display:block;}/* */
-
-#error { display: none; }
-.error, .notice, .success {padding:.8em;margin-bottom:1em;border:2px solid #ddd;}
-.error {background:#FBE3E4;color:#8a1f11;border-color:#FBC2C4;}
-.notice {background:#FFF6BF;color:#514721;border-color:#FFD324;}
-.success {background:#E6EFC2;color:#264409;border-color:#C6D880;}
-.error a {color:#8a1f11;}
-.notice a {color:#514721;}
-.success a {color:#264409;}
span.inactive {color:gray;}
span.down {color:#8a1f11;}
@@ -24,6 +10,3 @@ span.danger {color:red;}
#services { text-align: center; }
-table {width:90%; margin-left:5%; margin-right:5%; color: #000; }
-
-pre {color:#111;}

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

Oops, something went wrong.
@@ -1,14 +0,0 @@
-/*
- * Tripoli is a generic CSS standard for HTML rendering.
- * Copyright (C) 2007-2008 David Hellsing
- *
- * http://devkick.com/lab/tripoli/
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
-**
-_______________________________
-BASE.IE */
-textarea{white-space:pre}.content legend{margin-bottom:1.6em}.content fieldset{padding-top:0}sup,sub{font-size:100%}.content legend:first-child{margin-top:0}a abbr,a acronym{text-decoration:underline}* html .content blockquote *{margin:.8em 0}* html input{cursor:expression(this.type=='text' || this.type=='password' ? 'text' : 'pointer');display:expression(this.type=='hidden' ? 'none' : 'inline')}* html .content textarea,* html .content input,.content input[type='submit'],.content input[type='button']{padding:0}/*
-_______________________________
-END */
@@ -1,5 +1,5 @@
- if enabled
%form.service-action{:action=>"#{name}/#{action}", :method=>"POST"}
- %input{:type=>"submit", :value=>label}/
+ %input.btn-small{:type=>"submit", :value=>label}/
- else
- %input{:type=>"submit", :disabled=>"disabled", :value=>label, :onclick=>"return false;"}/
+ %input.btn-small{:type=>"submit", :disabled=>"disabled", :value=>label, :onclick=>"return false;"}/
View
@@ -1,4 +1,4 @@
-%table
+%table.table.table-stripped
%caption= h(t('runit.services.table.caption'))
%thead
%tr
View
@@ -2,21 +2,23 @@
%html
%head
%title= h(t('runit.title', :p1 => @title, :p2 => t('runit.label')))
- %link{:href=>"/css/tripoli.simple.css", :type=>"text/css", :rel=>"stylesheet"}/
- /[if IE]
- %link{:href=>"/css/tripoli.simple.ie.css", :type=>"text/css", :rel=>"stylesheet"}/
+ %link{:href=>"/css/bootstrap.min.css", :type=>"text/css", :rel=>"stylesheet"}/
%link{:href=>"/css/runit-man.css", :type=>"text/css", :rel=>"stylesheet"}/
%body
- #container
- #header
- .content
- %strong= h(t('runit.header', :p1 => host_name, :p2 => t('runit.label')))
- %a{:href=>'/info'}= h(t('runit.info.title'))
+ .container-fluid
+ .navbar
+ .navbar-inner
+ .container
+ %a.brand{:href=>"/"}= h(t('runit.header', :p1 => host_name, :p2 => t('runit.label')))
+ %ul.nav
+ %li
+ %a.info{:href=>'/info'}= h(t('runit.info.title'))
- .content= yield_content :content
+ .row-fluid
+ .span12= yield_content :content
- #footer
- .content= yield_content :footer
+ .row-fluid
+ .span12= yield_content :footer
- @scripts.each do |name|
%script{:type=>"text/javascript", :src=>"/js/#{h(name)}.js"}

0 comments on commit eea0837

Please sign in to comment.