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
578c333f
Commit
578c333f
authored
Feb 08, 2012
by
Crisu83
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor formatting changes.
parent
57263457
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
26 deletions
+34
-26
index.php
demo/protected/views/site/index.php
+34
-26
No files found.
demo/protected/views/site/index.php
View file @
578c333f
...
@@ -411,17 +411,15 @@ Yii::app()->user->setFlash('error',
...
@@ -411,17 +411,15 @@ Yii::app()->user->setFlash('error',
<h2>
BootTooltip
</h2>
<h2>
BootTooltip
</h2>
<p
class=
"well"
>
<p
class=
"well"
>
Lorem ipsum dolor sit amet,
Lorem ipsum dolor sit
<a
href=
"#"
rel=
"tooltip"
title=
"First tooltip"
>
amet
</a>
,
<a
href=
"#"
rel=
"tooltip"
title=
"First tooltip"
>
consectetur
</a>
consectetur adipiscing elit.
adipiscing elit.
Fusce ut velit sem, id elementum elit. Quisque tincidunt magna in quam luctus a ultrices tellus luctus.
Fusce ut velit sem, id elementum elit. Quisque tincidunt magna in quam luctus a ultrices tellus luctus.
Pellentesque at tellus urna.
Ut congue, nibh eu
Pellentesque at tellus urna.
<a
href=
"#"
rel=
"tooltip"
title=
"Another tooltip"
>
interdum commodo
</a>
,
Ut congue,
<a
href=
"#"
rel=
"tooltip"
title=
"Another tooltip"
>
nibh eu
</a>
interdum commodo
,
ligula urna consequat tortor, at vehicula tellus est a orci.
ligula urna consequat tortor, at vehicula tellus est a orci.
Maecenas nec ligula sed ipsum posuere sollicitudin pretium ac sapien.
Maecenas nec ligula sed ipsum posuere sollicitudin pretium ac sapien.
Sed odio dui, pretium eu pellentesque ac, tempor sed sem. Sed
Sed odio dui, pretium eu pellentesque ac,
<a
href=
"#"
rel=
"tooltip"
title=
"Yet another tooltip"
>
sodales
</a>
<a
href=
"#"
rel=
"tooltip"
title=
"Yet another tooltip"
>
tempor
</a>
sed sem.
massa a dui tempor dapibus.
</p>
</p>
<?php
$this
->
widget
(
'bootstrap.widgets.BootTooltip'
);
?>
<?php
$this
->
widget
(
'bootstrap.widgets.BootTooltip'
);
?>
...
@@ -431,17 +429,15 @@ Yii::app()->user->setFlash('error',
...
@@ -431,17 +429,15 @@ Yii::app()->user->setFlash('error',
<?php
echo
$parser
->
safeTransform
(
"~~~
<?php
echo
$parser
->
safeTransform
(
"~~~
[html]
[html]
<p class=
\"
well
\"
>
<p class=
\"
well
\"
>
Lorem ipsum dolor sit amet,
Lorem ipsum dolor sit <a href=
\"
#
\"
rel=
\"
tooltip
\"
title=
\"
First tooltip
\"
>amet</a>,
<a href=
\"
#
\"
rel=
\"
tooltip
\"
title=
\"
First tooltip
\"
>consectetur</a>
consectetur adipiscing elit.
adipiscing elit.
Fusce ut velit sem, id elementum elit. Quisque tincidunt magna in quam luctus a ultrices tellus luctus.
Fusce ut velit sem, id elementum elit. Quisque tincidunt magna in quam luctus a ultrices tellus luctus.
Pellentesque at tellus urna.
Ut congue, nibh eu
Pellentesque at tellus urna.
<a href=
\"
#
\"
rel=
\"
tooltip
\"
title=
\"
Another tooltip
\"
>interdum commodo</a>
,
Ut congue, <a href=
\"
#
\"
rel=
\"
tooltip
\"
title=
\"
Another tooltip
\"
>nibh eu</a> interdum commodo
,
ligula urna consequat tortor, at vehicula tellus est a orci.
ligula urna consequat tortor, at vehicula tellus est a orci.
Maecenas nec ligula sed ipsum posuere sollicitudin pretium ac sapien.
Maecenas nec ligula sed ipsum posuere sollicitudin pretium ac sapien.
Sed odio dui, pretium eu pellentesque ac, tempor sed sem. Sed
Sed odio dui, pretium eu pellentesque ac,
<a href=
\"
#
\"
rel=
\"
tooltip
\"
title=
\"
Yet another tooltip
\"
>sodales</a>
<a href=
\"
#
\"
rel=
\"
tooltip
\"
title=
\"
Yet another tooltip
\"
>tempor</a> sed sem.
massa a dui tempor dapibus.
</p>
</p>
~~~
~~~
~~~
~~~
...
@@ -457,8 +453,12 @@ Yii::app()->user->setFlash('error',
...
@@ -457,8 +453,12 @@ Yii::app()->user->setFlash('error',
<h2>
BootPopover
</h2>
<h2>
BootPopover
</h2>
<p>
<?php
echo
CHtml
::
link
(
'Hover me'
,
'#'
,
<p>
<?php
echo
CHtml
::
link
(
'Hover me'
,
'#'
,
array
(
array
(
'class'
=>
'btn btn-primary btn-danger'
,
'data-title'
=>
'Heading'
,
'data-content'
=>
'Content ...'
,
'rel'
=>
'popover'
));
?>
</p>
'class'
=>
'btn btn-primary btn-danger'
,
'data-title'
=>
'Heading'
,
'data-content'
=>
'Content ...'
,
'rel'
=>
'popover'
));
?>
</p>
<?php
$this
->
widget
(
'bootstrap.widgets.BootPopover'
);
?>
<?php
$this
->
widget
(
'bootstrap.widgets.BootPopover'
);
?>
...
@@ -466,8 +466,12 @@ Yii::app()->user->setFlash('error',
...
@@ -466,8 +466,12 @@ Yii::app()->user->setFlash('error',
<?php
echo
$parser
->
safeTransform
(
"~~~
<?php
echo
$parser
->
safeTransform
(
"~~~
[php]
[php]
<p><?php echo CHtml::link('Hover me', '#',
<p><?php echo CHtml::link('Hover me', '#', array(
array('class'=>'btn btn-primary btn-danger','data-title'=>'Heading','data-content'=>'Content ...','rel'=>'popover')); ?></p>
'class'=>'btn btn-primary btn-danger',
'data-title'=>'Heading',
'data-content'=>'Content ...',
'rel'=>'popover'
)); ?></p>
~~~
~~~
~~~
~~~
[php]
[php]
...
@@ -509,8 +513,10 @@ Yii::app()->user->setFlash('error',
...
@@ -509,8 +513,10 @@ Yii::app()->user->setFlash('error',
<?php
$this
->
endWidget
();
?>
<?php
$this
->
endWidget
();
?>
<p>
<?php
echo
CHtml
::
link
(
'Click me'
,
'#'
,
<p>
<?php
echo
CHtml
::
link
(
'Click me'
,
'#'
,
array
(
array
(
'class'
=>
'btn btn-primary'
,
'onclick'
=>
"jQuery('#modal').bootModal('open'); return false;"
));
?>
</p>
'class'
=>
'btn btn-primary'
,
'onclick'
=>
"jQuery('#modal').bootModal('open'); return false;"
,
));
?>
</p>
<h4>
Source code
</h4>
<h4>
Source code
</h4>
...
@@ -549,8 +555,10 @@ Content ...
...
@@ -549,8 +555,10 @@ Content ...
~~~
~~~
~~~
~~~
[php]
[php]
<p><?php echo CHtml::link('Click me', '#',
<p><?php echo CHtml::link('Click me', '#', array(
array('class'=>'btn btn-primary', 'onclick'=>
\"
jQuery('#modal').bootModal('open'); return false;
\"
)); ?></p>
'class'=>'btn btn-primary',
'onclick'=>
\"
jQuery('#modal').bootModal('open'); return false;
\"
,
)); ?></p>
~~~"
);
?>
~~~"
);
?>
<a
class=
"top"
href=
"#top"
>
Back to top
↑
</a>
<a
class=
"top"
href=
"#top"
>
Back to top
↑
</a>
...
@@ -618,7 +626,7 @@ Content ...
...
@@ -618,7 +626,7 @@ Content ...
<div
class=
"form-actions"
>
<div
class=
"form-actions"
>
<?php
echo
CHtml
::
htmlButton
(
'<i class="icon-ok icon-white"></i> Submit'
,
<?php
echo
CHtml
::
htmlButton
(
'<i class="icon-ok icon-white"></i> Submit'
,
array
(
'class'
=>
'btn btn-primary'
,
'type'
=>
'submit'
));
?>
array
(
'class'
=>
'btn btn-primary'
,
'type'
=>
'submit'
));
?>
<?php
echo
CHtml
::
htmlButton
(
'<i class="icon-
remov
e"></i> Reset'
,
<?php
echo
CHtml
::
htmlButton
(
'<i class="icon-
ban-circl
e"></i> Reset'
,
array
(
'class'
=>
'btn'
,
'type'
=>
'reset'
));
?>
array
(
'class'
=>
'btn'
,
'type'
=>
'reset'
));
?>
</div>
</div>
...
@@ -685,7 +693,7 @@ Content ...
...
@@ -685,7 +693,7 @@ Content ...
<div class=
\"
form-actions
\"
>
<div class=
\"
form-actions
\"
>
<?php echo CHtml::htmlButton('<i class=
\"
icon-ok icon-white
\"
></i> Submit',
<?php echo CHtml::htmlButton('<i class=
\"
icon-ok icon-white
\"
></i> Submit',
array('class'=>'btn btn-primary','type'=>'submit')); ?>
array('class'=>'btn btn-primary','type'=>'submit')); ?>
<?php echo CHtml::htmlButton('<i class=
\"
icon-
remov
e
\"
></i> Reset',
<?php echo CHtml::htmlButton('<i class=
\"
icon-
ban-circl
e
\"
></i> Reset',
array('class'=>'btn','type'=>'reset')); ?>
array('class'=>'btn','type'=>'reset')); ?>
</div>
</div>
...
...
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