-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2f76081
commit 9a758c2
Showing
6 changed files
with
198 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
|
||
|
||
saburiKonnect.controller('kidController', function($scope,$routeParams){ | ||
|
||
$scope.kid = JSON.parse($routeParams.object) | ||
|
||
console.log($scope.kid) | ||
|
||
}); | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
<div ng-controller="kidController"> | ||
<style type="text/css"> | ||
|
||
|
||
.large-8 { | ||
width: 66.66667%; | ||
float: right; } | ||
|
||
.large-4 { | ||
width: 33.33333%; | ||
} | ||
|
||
.columns { | ||
position: relative; | ||
padding-left: 0.9375rem; | ||
padding-right: 0.9375rem; | ||
} | ||
img{ | ||
float: left; | ||
} | ||
|
||
.myButton { | ||
-moz-box-shadow: 0px 1px 0px 0px #fff6af; | ||
-webkit-box-shadow: 0px 1px 0px 0px #fff6af; | ||
box-shadow: 0px 1px 0px 0px #fff6af; | ||
background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #ffec64), color-stop(1, #ffab23)); | ||
background:-moz-linear-gradient(top, #ffec64 5%, #ffab23 100%); | ||
background:-webkit-linear-gradient(top, #ffec64 5%, #ffab23 100%); | ||
background:-o-linear-gradient(top, #ffec64 5%, #ffab23 100%); | ||
background:-ms-linear-gradient(top, #ffec64 5%, #ffab23 100%); | ||
background:linear-gradient(to bottom, #ffec64 5%, #ffab23 100%); | ||
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffec64', endColorstr='#ffab23',GradientType=0); | ||
background-color:#ffec64; | ||
-moz-border-radius:6px; | ||
-webkit-border-radius:6px; | ||
border-radius:6px; | ||
border:1px solid #ffaa22; | ||
display:inline-block; | ||
cursor:pointer; | ||
color:#333333; | ||
font-family:Arial; | ||
font-size:15px; | ||
font-weight:bold; | ||
padding:6px 24px; | ||
text-decoration:none; | ||
text-shadow:0px 1px 0px #ffee66; | ||
text-align: center; | ||
} | ||
.myButton:hover { | ||
background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #ffab23), color-stop(1, #ffec64)); | ||
background:-moz-linear-gradient(top, #ffab23 5%, #ffec64 100%); | ||
background:-webkit-linear-gradient(top, #ffab23 5%, #ffec64 100%); | ||
background:-o-linear-gradient(top, #ffab23 5%, #ffec64 100%); | ||
background:-ms-linear-gradient(top, #ffab23 5%, #ffec64 100%); | ||
background:linear-gradient(to bottom, #ffab23 5%, #ffec64 100%); | ||
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffab23', endColorstr='#ffec64',GradientType=0); | ||
background-color:#ffab23; | ||
} | ||
.myButton:active { | ||
position:relative; | ||
top:1px; | ||
} | ||
|
||
|
||
|
||
.row { | ||
margin: 0 auto; | ||
max-width: 62.5rem; | ||
width: 100%; } | ||
</style> | ||
|
||
<div class="row"> | ||
<hr> | ||
<div class="large-4 columns"> | ||
<img src="" width="250" height="250"> | ||
</div> | ||
<div class="large-8 columns"> | ||
<!-- <p>{{kid}}</p> --> | ||
First Name: <h4 ng-bind="kid.first_name"></h4> | ||
Last Name : <h4 ng-bind="kid.last_name"></h4> | ||
Age : <h4 ng-bind="kid.age"></h4> | ||
Story: <h4 ng-bind="kid.description"></h4> | ||
<a href="https://www.paypal.me/saburicharity" class="myButton">Support</a> | ||
</div> | ||
|
||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters