Permalink
Browse files

Add layouts.

  • Loading branch information...
1 parent 8b56dff commit 7b04ff17982114e693dc9f012e7bdf6c95fa055e @stcatz committed Apr 12, 2012
@@ -2,9 +2,36 @@
%html
%head
%meta{:content => "text/html; charset=utf-8", "http-equiv" => "Content-Type"}
- %title PDF reader
+ %title PDF reader
+ =stylesheet_link_tag "/stylesheets/bootstrap"
+ :css
+ body {
+ padding-top: 60px;
+ padding-bottom: 40px;
+ }
+ .sidebar-nav {
+ padding: 9px 0;
+ }
=yield_content :head
%body
+ .navbar.navbar-fixed-top
+ .navbar-inner
+ .container-fluid
+ =link_to "PDF reader", '#', :class => 'brand', :style => 'float:center'
+
+ .container-fluid
+ .row-fluid
+ .span2
+ .well.sidebar-nav
+ %ul.nav.nav-list
+ %li.nav-header='Menu'
+ %li.active=link_to "PDF list", '#'
+ %li=link_to "upload file", '#'
+ %li=link_to '', '#'
+ .span10
+ =yield
+
+ -#
.header
= yield_content :body_head
#flash_info
View
@@ -1,8 +0,0 @@
----
-:bulk_threshold: 1000
-:update_sources: true
-:sources:
-- http://rubygems.org/
-:backtrace: false
-:verbose: true
-:benchmark: false
@@ -1 +0,0 @@
-Account.first
View
@@ -1,5 +0,0 @@
-.less-history-file:
-.search
-"===
-"done
-.shell
View
@@ -1,79 +0,0 @@
-quit
-help
-load
-config
-quit
-help
-load
-config
-servers
-hosts
-hosts
-hosts -server main
-routes
-routes -server main
-routes -server main -host 1
-routes -server main -host mongrel2.org
-help
-log
-uuid
-uuid
-uuid
-quit
-.quit
-
-shell
-uuid
-quit
-.quit
-hlep
-help
-stop
-info
-log
-control
-hosts
-hosts -server main
-quit
-help
-load
-config
-quit
-help
-load
-config
-servers
-hosts
-hosts
-hosts -server main
-routes
-routes -server main
-routes -server main -host 1
-routes -server main -host mongrel2.org
-help
-log
-uuid
-uuid
-uuid
-quit
-.quit
-
-shell
-uuid
-quit
-.quit
-hlep
-help
-stop
-info
-log
-control
-hosts
-hosts -server main
-help
-name
-info
-quit
-.quit
-
-control -host localhost
@@ -1,32 +0,0 @@
-.quit
-quit
-create databases test;
-help
-source /home/stcatz/Downloads/www.csdn.net.sql
-show databases
-;
-create database csdn
-;
-show databases
-;
-use csdn
-source /home/stcatz/Downloads/www.csdn.net.sql
-.quit
-;
-tables
-;
-ls
-pwd
-ls
-;
-ls pwd ls;
-show tables;
-show databases;
-create database teamhost
-;
-show databases;
-use teamhost
-show tables;
-select * from repositores;
-select * from repositories;
-.quit
View
No changes.
View
@@ -1,48 +0,0 @@
-p @role
-cont
-p @role
-request.post?
-@role.save
-help
-reload
-quit
-request.post?
-@role.save
-quit
-quit
-p @role
-cont
-p @role
-cont
-quit
-self
-self.calss
-self.class
-self.included_in_classes
-self.class.included_in_classes
-self.to_yaml
-self.class
-self.controller
-self.controllers
-p sel
-self.xss_safe?
-self.cache_template_loading?
-self.cache_template_loading
-self.config
-slef.id
-self.id
-self.view_renderer
-self.assign
-self.class
-self.metaclass
-self.name
-self.public_class_method
-self.forzen?
-self.frozen?
-self.to_enum
-self.type
-self.controller.view_context
-self.view_context
-self.view_class
-self.view_class
-quit
@@ -1,100 +0,0 @@
-select * from issues;
-.schema issue_reviewer
-select * from issue_reviewer
-;
-select * from issue_reviewer;
-select * from issues;
-select * from issues;
-select * from issue_reviewer;
-select * from issue_reviewer;
-select * from issues;
-select * from issues;
-select * from issues;
-select * from issue_reviewer;
-select * from issue_reviewer;
-select * from issues;
-delete from issue_reviewers;
-delete from issue_reviewer;
-select * from issues;
-select * from issues;
-select * from issue_reviewer;
-delete from issue_reviewer;
-delete from issues;
-select * from issue_reviewer;
-select * from issues;
-delete from issues;
-delete from issue_reviewer;
-select * from issues;
-select * from issue_reviewer;
-select * from issue_reviewer;
-select * from issues;
-select * from accounts;
-select * from issues;
-select * from issue_reviewer;
-select * from issue_reviewer;
-select * from issue_reviewer;
-select * from issue_reviewer;
-select * from issue_reviewer;
-select * from issue_reviewer;
-select * from accounts;
-select * from accounts;
-select * from accounts;
-select * from issue_reviewer;
-select * from issues;
-select * from issues;
-select * from issue_reviewer;
-.schema issue_reviewers
-.schema issue_reviewers
-.schema issue_reviewer
-quit
-.quit
-.schema issue_reviewer
-select * from issue_reviewer;
-select * from accounts;
-.quit
-select * from account
-;
-select * from accounts;
-.quit
-.tables
-.schema auths
-select * from auths;
-.schema issues
-.schema projects
-;
-.schema project
-.schema project
-.tables
-.tables
-.tables
-.tables
-.schema issue_reviewer
-select * from projects
-;
-.quit
-.tables
-.tables
-.quit
-.tables
-.quit
-.tables
-select * from issues;
-select * from issues;
-select * from issues;
-.tables
-select * from issues;
-select * from issues;
-.quit
-select * from issues;
-.quit
-select * from issues;
-.tables
-select * from issue_comments;
-.schema issue_comments;
-.schema issue_comments
-.tables
-select * from issue_comments;
-.schema issue_comments
-select * from issue_comments;
-.tables
-.quit
View
@@ -1,46 +0,0 @@
-"VIMIDE vimrc basic settings
-"--------start---------
-set fileencodings=ucs-bom,utf-8,cp936
-set helplang=cn
-
-set shiftwidth=2
-set tabstop=2
-set expandtab
-set nobackup
-set noswapfile
-set nowb
-set backspace=start,indent,eol
-set nu!
-set autoindent
-set smartindent
-set wrap
-
-set noerrorbells
-set novisualbell
-
-filetype plugin on
-filetype indent on
-
-syntax on
-set ruler
-
-map <C-t> :NERDTree<cr>
-map <C-y> :TlistToggle<cr>
-vmap <C-c> "+y
-"--------end--------
-
-
-let Tlist_Ctags_Cmd='/usr/bin/ctags'
-let Tlist_Show_One_File = 1
-
-
- let g:miniBufExplMapWindowNavVim = 1
- let g:miniBufExplMapWindowNavArrows = 1
- let g:miniBufExplMapCTabSwitchBufs = 1
- let g:miniBufExplModSelTarget = 1
-
-
-inoremap <C-P> <ESC>:call PhpDocSingle()<CR>i
-nnoremap <C-P> :call PhpDocSingle()<CR>
-vnoremap <C-P> :call PhpDocRange()<CR>
-
Oops, something went wrong.

0 comments on commit 7b04ff1

Please sign in to comment.