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
9db95b04
Commit
9db95b04
authored
Mar 08, 2012
by
Crisu83
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed add-this in the demo
parent
a96183cd
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
17 deletions
+15
-17
styles.css
demo/css/styles.css
+1
-5
styles.less
demo/less/styles.less
+1
-3
main.php
demo/protected/views/layouts/main.php
+9
-9
index.php
demo/protected/views/site/index.php
+4
-0
No files found.
demo/css/styles.css
View file @
9db95b04
...
...
@@ -33,12 +33,8 @@ p {
text-align
:
justify
;
}
.navbar
.add-this
{
background
:
#EEE
;
margin
:
6px
0
6px
10px
;
padding
:
6px
;
-webkit-border-radius
:
3px
;
-moz-border-radius
:
3px
;
border-radius
:
3px
;
padding
:
6px
0
;
}
.subnav
{
border
:
1px
solid
#E5E5E5
;
...
...
demo/less/styles.less
View file @
9db95b04
...
...
@@ -32,10 +32,8 @@ p {
.navbar {
.add-this {
background: #EEE;
margin: 6px 0 6px 10px;
padding: 6px;
.border-radius(3px);
padding: 6px 0;
}
}
...
...
demo/protected/views/layouts/main.php
View file @
9db95b04
...
...
@@ -59,7 +59,7 @@
'active'
=>
Yii
::
app
()
->
controller
->
id
===
'site'
&&
Yii
::
app
()
->
controller
->
action
->
id
===
'index'
),
array
(
'label'
=>
'Setup'
,
'url'
=>
array
(
'site/setup'
)),
),
'htmlOptions'
=>
array
(
'pull-left'
),
'htmlOptions'
=>
array
(
'
class'
=>
'
pull-left'
),
),
'<div class="add-this pull-right">
<!-- AddThis Button BEGIN -->
...
...
@@ -113,13 +113,13 @@
<footer>
<p
class=
"powered"
>
Powered by
<?php
echo
CHtml
::
link
(
'Yii PHP framework 1.1.10'
,
'http://www.yiiframework.com'
,
array
(
'target'
=>
'_blank'
));
?>
/
/
<?php
echo
CHtml
::
link
(
'jQuery 1.7.1'
,
'http://www.jquery.com'
,
array
(
'target'
=>
'_blank'
));
?>
/
/
<?php
echo
CHtml
::
link
(
'Yii-Bootstrap 0.9.10'
,
'http://www.yiiframework.com/extension/bootstrap'
,
array
(
'target'
=>
'_blank'
));
?>
/
/
<?php
echo
CHtml
::
link
(
'Yii-LESS 0.9.1'
,
'http://www.yiiframework.com/extension/less'
,
array
(
'target'
=>
'_blank'
));
?>
/
/
<?php
echo
CHtml
::
link
(
'Yii-SEO 0.9.3'
,
'http://www.yiiframework.com/extension/seo'
,
array
(
'target'
=>
'_blank'
));
?>
/
/
<?php
echo
CHtml
::
link
(
'Yii-Facebook 0.9.1'
,
'#'
,
array
(
'rel'
=>
'tooltip'
,
'title'
=>
'Link available soon'
));
?>
/
/
<?php
echo
CHtml
::
link
(
'Bootstrap 2.0.2'
,
'http://twitter.github.com/bootstrap'
,
array
(
'target'
=>
'_blank'
));
?>
/
/
Powered by
<?php
echo
CHtml
::
link
(
'Yii PHP framework 1.1.10'
,
'http://www.yiiframework.com'
,
array
(
'target'
=>
'_blank'
));
?>
/
<?php
echo
CHtml
::
link
(
'jQuery 1.7.1'
,
'http://www.jquery.com'
,
array
(
'target'
=>
'_blank'
));
?>
/
<?php
echo
CHtml
::
link
(
'Yii-Bootstrap 0.9.10'
,
'http://www.yiiframework.com/extension/bootstrap'
,
array
(
'target'
=>
'_blank'
));
?>
/
<?php
echo
CHtml
::
link
(
'Yii-LESS 0.9.1'
,
'http://www.yiiframework.com/extension/less'
,
array
(
'target'
=>
'_blank'
));
?>
/
<?php
echo
CHtml
::
link
(
'Yii-SEO 0.9.3'
,
'http://www.yiiframework.com/extension/seo'
,
array
(
'target'
=>
'_blank'
));
?>
/
<?php
echo
CHtml
::
link
(
'Yii-Facebook 0.9.1'
,
'#'
,
array
(
'rel'
=>
'tooltip'
,
'title'
=>
'Link available soon'
));
?>
/
<?php
echo
CHtml
::
link
(
'Bootstrap 2.0.2'
,
'http://twitter.github.com/bootstrap'
,
array
(
'target'
=>
'_blank'
));
?>
/
<?php
echo
CHtml
::
link
(
'LESS'
,
'http://www.lesscss.org'
,
array
(
'target'
=>
'_blank'
));
?>
</p>
...
...
@@ -131,7 +131,7 @@
</div>
<?php
Yii
::
app
()
->
clientScript
->
registerScript
(
'http://s7.addthis.com/js/250/addthis_widget.js#pubid=ra-4f362fc83fc39768'
,
CClientScript
::
POS_END
);
?>
<?php
Yii
::
app
()
->
clientScript
->
registerScript
File
(
'http://s7.addthis.com/js/250/addthis_widget.js#pubid=ra-4f362fc83fc39768'
,
CClientScript
::
POS_END
);
?>
</body>
</html>
demo/protected/views/site/index.php
View file @
9db95b04
...
...
@@ -701,6 +701,10 @@ Yii::app()->user->setFlash('error', '<strong>Oh snap!</strong> Change a few thin
<?php
$this
->
endWidget
();
?>
<div
class=
"alert alert-block alert-warning"
>
</div>
<h3>
Horizontal
</h3>
<?php
/** @var BootActiveForm $form */
...
...
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