Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
Yii Bootstrap 3
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Common
Yii Bootstrap 3
Commits
bea88c1b
Commit
bea88c1b
authored
Feb 14, 2012
by
Crisu83
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed a hack for including highlight style in the demo
parent
ce38a566
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
388 additions
and
31 deletions
+388
-31
highlight.css
demo/css/highlight.css
+384
-0
styles.css
demo/css/styles.css
+1
-0
styles.less
demo/less/styles.less
+2
-2
SiteController.php
demo/protected/controllers/SiteController.php
+1
-4
column2.php
demo/protected/views/layouts/column2.php
+0
-25
No files found.
demo/css/highlight.css
0 → 100644
View file @
bea88c1b
.php-hl-default
{
color
:
Black
;
}
.php-hl-code
{
color
:
Gray
;
}
.php-hl-brackets
{
color
:
Olive
;
}
.php-hl-comment
{
color
:
#808080
;
font-style
:
italic
;
}
.php-hl-quotes
{
color
:
red
;
}
.php-hl-string
{
color
:
Red
;
}
.php-hl-identifier
{
color
:
green
;
}
.php-hl-builtin
{
color
:
Teal
;
}
.php-hl-reserved
{
color
:
black
;
font-weight
:
bold
;
}
.php-hl-inlinedoc
{
color
:
Blue
;
}
.php-hl-var
{
color
:
blue
;
}
.php-hl-url
{
color
:
Blue
;
}
.php-hl-special
{
color
:
Navy
;
}
.php-hl-number
{
color
:
Maroon
;
}
.php-hl-inlinetags
{
color
:
Blue
;
}
.php-hl-main
{
font-family
:
'Courier New'
,
Courier
,
monospace
;
font-weight
:
normal
;
font-size
:
12px
;
}
ol
.php-hl-main
pre
{
margin
:
0
;
padding
:
0
;
}
.php-hl-gutter
{
background-color
:
#999999
;
color
:
White
}
.php-hl-table
{
font-family
:
courier
;
font-size
:
12px
;
border
:
solid
1px
#505050
;
}
.xml-hl-default
{
color
:
Black
;
}
.xml-hl-code
{
color
:
Gray
;
}
.xml-hl-brackets
{
color
:
Olive
;
}
.xml-hl-comment
{
color
:
#808080
;
font-style
:
italic
;
}
.xml-hl-quotes
{
color
:
red
;
}
.xml-hl-string
{
color
:
Red
;
}
.xml-hl-identifier
{
color
:
Blue
;
}
.xml-hl-builtin
{
color
:
Teal
;
}
.xml-hl-reserved
{
color
:
Green
;
}
.xml-hl-inlinedoc
{
color
:
Blue
;
}
.xml-hl-var
{
color
:
#000020
;
}
.xml-hl-url
{
color
:
Blue
;
}
.xml-hl-special
{
color
:
Navy
;
}
.xml-hl-number
{
color
:
Maroon
;
}
.xml-hl-inlinetags
{
color
:
Blue
;
}
.xml-hl-main
{
font-family
:
'Courier New'
,
Courier
,
monospace
;
font-weight
:
normal
;
}
.xml-hl-gutter
{
background-color
:
#999999
;
color
:
White
}
.xml-hl-table
{
font-family
:
courier
;
font-size
:
12px
;
border
:
solid
1px
#505050
;
}
.html-hl-default
{
color
:
Black
;
}
.html-hl-code
{
color
:
Gray
;
}
.html-hl-brackets
{
color
:
Olive
;
}
.html-hl-comment
{
color
:
#808080
;
font-style
:
italic
;
}
.html-hl-quotes
{
color
:
red
;
}
.html-hl-string
{
color
:
Red
;
}
.html-hl-identifier
{
color
:
Blue
;
}
.html-hl-builtin
{
color
:
Teal
;
}
.html-hl-reserved
{
color
:
Green
;
}
.html-hl-inlinedoc
{
color
:
Blue
;
}
.html-hl-var
{
color
:
#000020
;
}
.html-hl-url
{
color
:
Blue
;
}
.html-hl-special
{
color
:
Navy
;
}
.html-hl-number
{
color
:
Maroon
;
}
.html-hl-inlinetags
{
color
:
Blue
;
}
.html-hl-main
{
font-family
:
'Courier New'
,
Courier
,
monospace
;
font-weight
:
normal
;
}
.html-hl-gutter
{
background-color
:
#999999
;
color
:
White
}
.html-hl-table
{
font-family
:
courier
;
font-size
:
12px
;
border
:
solid
1px
#505050
;
}
.css-hl-default
{
color
:
Black
;
}
.css-hl-code
{
color
:
Gray
;
}
.css-hl-brackets
{
color
:
Olive
;
}
.css-hl-comment
{
color
:
#808080
;
font-style
:
italic
;
}
.css-hl-quotes
{
color
:
red
;
}
.css-hl-string
{
color
:
Red
;
}
.css-hl-identifier
{
color
:
Blue
;
}
.css-hl-builtin
{
color
:
Teal
;
}
.css-hl-reserved
{
color
:
Green
;
}
.css-hl-inlinedoc
{
color
:
Blue
;
}
.css-hl-var
{
color
:
#000020
;
}
.css-hl-url
{
color
:
Blue
;
}
.css-hl-special
{
color
:
Navy
;
}
.css-hl-number
{
color
:
Maroon
;
}
.css-hl-inlinetags
{
color
:
Blue
;
}
.css-hl-main
{
font-family
:
'Courier New'
,
Courier
,
monospace
;
font-weight
:
normal
;
}
.css-hl-gutter
{
background-color
:
#999999
;
color
:
White
}
.css-hl-table
{
font-family
:
courier
;
font-size
:
12px
;
border
:
solid
1px
#505050
;
}
.javascript-hl-default
{
color
:
Black
;
}
.javascript-hl-code
{
color
:
Gray
;
}
.javascript-hl-brackets
{
color
:
Olive
;
}
.javascript-hl-comment
{
color
:
#808080
;
font-style
:
italic
;
}
.javascript-hl-quotes
{
color
:
red
;
}
.javascript-hl-string
{
color
:
Red
;
}
.javascript-hl-identifier
{
color
:
Blue
;
}
.javascript-hl-builtin
{
color
:
Teal
;
}
.javascript-hl-reserved
{
color
:
Green
;
}
.javascript-hl-inlinedoc
{
color
:
Blue
;
}
.javascript-hl-var
{
color
:
#000020
;
}
.javascript-hl-url
{
color
:
Blue
;
}
.javascript-hl-special
{
color
:
Navy
;
}
.javascript-hl-number
{
color
:
Maroon
;
}
.javascript-hl-inlinetags
{
color
:
Blue
;
}
.javascript-hl-main
{
font-family
:
'Courier New'
,
Courier
,
monospace
;
font-weight
:
normal
;
}
.javascript-hl-gutter
{
background-color
:
#999999
;
color
:
White
}
.javascript-hl-table
{
font-family
:
courier
;
font-size
:
12px
;
border
:
solid
1px
#505050
;
}
.sql-hl-default
{
color
:
Black
;
}
.sql-hl-code
{
color
:
Gray
;
}
.sql-hl-brackets
{
color
:
Olive
;
}
.sql-hl-comment
{
color
:
#808080
;
font-style
:
italic
;
}
.sql-hl-quotes
{
color
:
red
;
}
.sql-hl-string
{
color
:
Red
;
}
.sql-hl-identifier
{
color
:
Blue
;
}
.sql-hl-builtin
{
color
:
Teal
;
}
.sql-hl-reserved
{
color
:
Green
;
}
.sql-hl-inlinedoc
{
color
:
Blue
;
}
.sql-hl-var
{
color
:
#000020
;
}
.sql-hl-url
{
color
:
Blue
;
}
.sql-hl-special
{
color
:
Navy
;
}
.sql-hl-number
{
color
:
Maroon
;
}
.sql-hl-inlinetags
{
color
:
Blue
;
}
.sql-hl-main
{
font-family
:
'Courier New'
,
Courier
,
monospace
;
font-weight
:
normal
;
}
.sql-hl-gutter
{
background-color
:
#999999
;
color
:
White
}
.sql-hl-table
{
font-family
:
courier
;
font-size
:
12px
;
border
:
solid
1px
#505050
;
}
.source
.copycode
{
text-align
:
right
;
float
:
right
;
}
.source
.copycode
a
{
cursor
:
pointer
;
color
:
blue
;
}
.source
.copycode_hover
a
{
color
:
red
;
}
\ No newline at end of file
demo/css/styles.css
View file @
bea88c1b
@import
"../css/highlight.css"
;
body
{
padding-top
:
60px
;
padding-bottom
:
60px
;
...
...
demo/less/styles.less
View file @
bea88c1b
//
PRE-
IMPORTS
// IMPORTS
@import "../../lib/bootstrap/less/mixins.less";
//@import "../yii/vendors/TextHighlighter
/highlight.css";
@import "../css
/highlight.css";
// VARIABLES
...
...
demo/protected/controllers/SiteController.php
View file @
bea88c1b
...
...
@@ -63,15 +63,12 @@ class SiteController extends Controller
'pagination'
=>
array
(
'pageSize'
=>
8
),
));
$parser
=
new
CMarkdownParser
();
Yii
::
app
()
->
clientScript
->
registerCss
(
'TextHighligther'
,
file_get_contents
(
$parser
->
getDefaultCssFile
()));
$this
->
render
(
'index'
,
array
(
'model'
=>
$model
,
'gridDataProvider'
=>
$gridDataProvider
,
'gridColumns'
=>
$gridColumns
,
'listDataProvider'
=>
$listDataProvider
,
'parser'
=>
$parser
,
'parser'
=>
new
CMarkdownParser
()
,
));
}
...
...
demo/protected/views/layouts/column2.php
deleted
100644 → 0
View file @
ce38a566
<?php
$this
->
beginContent
(
'//layouts/main'
);
?>
<div
class=
"row"
>
<div
class=
"span8"
>
<?php
echo
$content
;
?>
</div>
<div
class=
"span4"
>
<?php
$this
->
beginWidget
(
'zii.widgets.CPortlet'
,
array
(
'title'
=>
'Operations'
,
));
$this
->
widget
(
'zii.widgets.CMenu'
,
array
(
'items'
=>
$this
->
menu
,
'htmlOptions'
=>
array
(
'class'
=>
'operations'
),
));
$this
->
endWidget
();
?>
</div>
</div>
<?php
$this
->
endContent
();
?>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment