Created
December 3, 2015 06:10
-
-
Save gititGoro/7e7f67965906e640c091 to your computer and use it in GitHub Desktop.
Craigslists
This file contains hidden or 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
<div ng-app="craigsLists" ng-controller='mainController'> | |
<div id="weatherSection" class="mainSection"> | |
<div class="container-fluid"> | |
<div class="row"> | |
<div class="col-xs-6 col-sm-6 col-md-6 col-lg-6 mainContentPanel"></div> | |
<div class="col-xs-6 col-sm-6 col-md-6 col-lg-6 mainImage"></div> | |
</div> | |
</div> | |
</div> | |
<div id="ImportantPricesSection" class="mainSection"> | |
sugar | |
<br /> ascendis | |
<br /> bitcoin | |
<br /> Set price warning | |
</div> | |
<div id="jokeOftheDaySection" class="mainSection"> | |
</div> | |
<div id="famousPeopleBornTodaySection" class="mainSection"> | |
</div> | |
<div id="controlsSection" class="mainSection"> | |
email this list | |
<br /> Make funny sound | |
<br /> | |
</div> | |
</div> |
This file contains hidden or 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
var apiKey = "ebe08609f4bd837284605ecc7d0f3324"; | |
var iconPrefix = "http://openweathermap.org/img/w/"; | |
var realTime = true; | |
var app = angular.module('craigsLists', []); | |
app.controller('mainController', function($scope, $http) { | |
setUpWeather($scope,$http); | |
setupPrices($scope,$http); | |
setupJokeOfTheDay($scope,$http); | |
setupFamousPeopleBornTodaySection($scope,$http); | |
}); | |
var setUpWeather = function(scope,http){ //including sea temp | |
}; | |
var setupPrices = function(scope,http){ | |
}; | |
var setupJokeOfTheDay = function(scope,http){ | |
}; | |
var setupFamousPeopleBornTodaySection = function(scope,http){ | |
}; |
This file contains hidden or 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
<script src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.5.0-beta.1/angular.min.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/angular-ui/0.4.0/angular-ui.min.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/angular-ui-bootstrap/0.14.3/ui-bootstrap-tpls.min.js"></script> |
This file contains hidden or 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
.mainSection{ | |
border:1px dotted blue; | |
display:block; | |
.container-fluid{ | |
.row{ | |
div{ | |
height:400px; | |
border:1px solid red; | |
} | |
.mainContentPanel{ | |
} | |
.mainImage{ | |
} | |
} | |
} | |
} |
This file contains hidden or 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
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css" rel="stylesheet" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment