Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

few layout fix and footer is completed

  • Loading branch information...
commit 11ee6b1d7974b6736e1800fda9395db9500e60f8 1 parent 77082fe
Chris Wang authored
22 app/Plugin/Croogo/View/Elements/footer.ctp
View
@@ -15,7 +15,16 @@
</div>
<div class="large-4 columns">
- <?php echo $this->Html->image('Croogo.sandy.png',array("class" => "right"));?>
+ <div class = 'row'>
+
+ <div class ='large-6 large-offset-3 columns panel'>
+ <span style="font-size:50%"> i said its good</span>
+ </div>
+ <div class ='large-3 columns'>
+ <?php echo $this->Html->image('Croogo.sandy.png',array("class" => "right"));?>
+ </div>
+ </div>
+
</div>
</div>
@@ -26,6 +35,17 @@
<div class="row ">
<hr >
<div class="large-12 columns">
+ <div id = 'copyright' class='left'>
+ © 2013 Jiheng Wang from <?php echo $this->Html->link('RMIT', 'http://www.rmit.edu.au')?> university
+ </div>
+ <div id = 'powered' class ='right'>
+ Powered by
+ <?php echo $this->Html->link('CakePHP', 'http://www.cakephp.org')?>,
+ <?php echo $this->Html->link('Croogo', 'http://www.croogo.org')?>,
+ <?php echo $this->Html->link('Foundation Css', 'http://foundation.zurb.com')?>,
+
+
+ </div>
</div>
</div>
</footer>
7 app/Plugin/Croogo/View/Layouts/foundation_news.ctp
View
@@ -89,7 +89,7 @@
<?php echo $this->Html->image('Croogo.logo-m.jpg')?>
<p>Pork drumstick turkey fugiat. Tri-tip elit turducken pork chop in. Swine short ribs meatball irure bacon nulla pork belly cupidatat meatloaf cow.</p>
- <a href="#">Read More &rarr;</a>
+
</div>
</aside>
@@ -110,7 +110,10 @@
<div class="large-10 small-6 columns">
<strong><?php echo $this->Html->image('Croogo.pen-icon.png')?>This Site Is Managed By<hr/></strong>
- Jiheng wang, with Bachelor Degree of Information Technology (Network Programming) at RMIT, graduated at July 2013.
+ Jiheng wang, with Bachelor Degree of Information Technology (Network Programming) at RMIT, graduated at July 2013. <br />
+ <span style ="font-size:60%;" class= 'right'>
+ <?php echo $this->Html->image('Croogo.mail-icon.png')?>
+ wang1230ji@gmail.com</span>
</div>
</div>
23 app/Plugin/Croogo/webroot/css/theme.css
View
@@ -163,7 +163,7 @@ body{
* Footer
*/
-
+
#footer {}
footer { height: 300px; background-image: url("../img/footer.png");}
@@ -187,7 +187,7 @@ body{
}
#product_low{
- height: 462px;
+ height: 426px;
background-image: url("../img/shop.jpg");
position: relative;
}
@@ -233,4 +233,23 @@ body{
position: relative;
top: -30px;
z-index: 99;
+ }
+
+ #copyright{
+ font-size: 50%;
+ }
+
+ #powered{
+ font-size: 50%;
+ }
+ .home_low_section img{
+ border: 4px solid #fff;
+ }
+ .home_low_section h4{
+ font-family: "Rockwell Extra Bold", "Rockwell Bold", monospace;
+ font-size: 120%;
+ }
+
+ .home_low_section p{
+ font-family: Perpetua, Baskerville, "Big Caslon", "Palatino Linotype", Palatino, "URW Palladio L", "Nimbus Roman No9 L", serif;
}
4 app/Plugin/Nodes/Controller/NodesController.php
View
@@ -821,6 +821,7 @@ protected function _setCommonVariables($type) {
*/
public function home(){
+ $this->set("title_for_layout",'Home');
$this->layout = 'foundation';
$dir=APP."plugin/Croogo/webroot/img/home_slider";
@@ -832,6 +833,8 @@ public function home(){
}
public function news(){
+ $this->set("title_for_layout",'News');
+
$this->layout = 'foundation_news';
$this->set('title_for_layout', __d('croogo', 'Nodes'));
@@ -887,6 +890,7 @@ public function news(){
}
public function products(){
+ $this->set("title_for_layout",'Product');
$this->layout = 'foundation';
$root_dir = APP."plugin/Croogo/webroot/img/products";
27 app/Plugin/Nodes/View/Nodes/home.ctp
View
@@ -40,19 +40,28 @@
<div class="row">
<div class="large-4 columns">
- <?php echo $this->Html->image('Croogo.home_section/1.jpg');?>
- <h4>This is a content section.</h4>
- <p>Bacon ipsum dolor sit amet nulla ham qui sint exercitation eiusmod commodo, chuck duis velit. Aute in reprehenderit, dolore aliqua non est magna in labore pig pork biltong. Eiusmod swine spare ribs reprehenderit culpa. Boudin aliqua adipisicing rump corned beef.</p>
+ <div class ='home_low_section'>
+ <?php echo $this->Html->image('Croogo.home_section/1.jpg');?>
+ <h4>This is a content section.</h4>
+ <p>Bacon ipsum dolor sit amet nulla ham qui sint exercitation eiusmod commodo, chuck duis velit. Aute in reprehenderit, dolore aliqua non est magna in labore pig pork biltong. Eiusmod swine spare ribs reprehenderit culpa. Boudin aliqua adipisicing rump corned beef.</p>
+ </div>
+
</div>
<div class="large-4 columns">
- <?php echo $this->Html->image('Croogo.home_section/2.jpg');?>
- <h4>This is a content section.</h4>
- <p>Bacon ipsum dolor sit amet nulla ham qui sint exercitation eiusmod commodo, chuck duis velit. Aute in reprehenderit, dolore aliqua non est magna in labore pig pork biltong. Eiusmod swine spare ribs reprehenderit culpa. Boudin aliqua adipisicing rump corned beef.</p>
+ <div class ='home_low_section'>
+ <?php echo $this->Html->image('Croogo.home_section/2.jpg');?>
+ <h4>This is a content section.</h4>
+ <p>Bacon ipsum dolor sit amet nulla ham qui sint exercitation eiusmod commodo, chuck duis velit. Aute in reprehenderit, dolore aliqua non est magna in labore pig pork biltong. Eiusmod swine spare ribs reprehenderit culpa. Boudin aliqua adipisicing rump corned beef.</p>
+ </div>
+
</div>
<div class="large-4 columns">
- <?php echo $this->Html->image('Croogo.home_section/3.jpg');?>
- <h4>This is a content section.</h4>
- <p>Bacon ipsum dolor sit amet nulla ham qui sint exercitation eiusmod commodo, chuck duis velit. Aute in reprehenderit, dolore aliqua non est magna in labore pig pork biltong. Eiusmod swine spare ribs reprehenderit culpa. Boudin aliqua adipisicing rump corned beef.</p>
+ <div class ='home_low_section'>
+ <?php echo $this->Html->image('Croogo.home_section/3.jpg');?>
+ <h4>This is a content section.</h4>
+ <p>Bacon ipsum dolor sit amet nulla ham qui sint exercitation eiusmod commodo, chuck duis velit. Aute in reprehenderit, dolore aliqua non est magna in labore pig pork biltong. Eiusmod swine spare ribs reprehenderit culpa. Boudin aliqua adipisicing rump corned beef.</p>
+ </div>
+
</div>
</div>
<!-- Call to Action Panel -->
2  app/Plugin/Nodes/View/Nodes/products.ctp
View
@@ -51,7 +51,7 @@
<div class="hide-for-small ">
- <h3 ><span style="font-size:160%;">Most popular</span></h3>
+ <h3 ><span style="font-size:160%;color: #FF9900;">Most popular</span></h3>
<div id ='product_display'>
<?php echo $this->Html->image('Croogo.products/'.$popular)?>
Please sign in to comment.
Something went wrong with that request. Please try again.