forked from openspending/spendingstories
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue #6 show static pages in landing page
- Loading branch information
Javier Cordero
committed
Apr 25, 2014
1 parent
5e4f0a2
commit cceaa0e
Showing
4 changed files
with
117 additions
and
10 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
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,90 @@ | ||
{% extends "base.html" %} | ||
{% load staticfiles %} | ||
{% load compress %} | ||
|
||
{% block extracss %} | ||
{% compress css %} | ||
<link rel="stylesheet" type="text/less" href="{% static 'less/base.less' %}" media="all"> | ||
{% endcompress %} | ||
{% endblock %} | ||
|
||
{% block extrajs %} | ||
{% compress js %} | ||
<script type="text/javascript" src="{% static 'js/vendor/bootstrap-select.custom.js' %}"></script> | ||
<script type="text/javascript" src="{% static 'js/vendor/bootstrap.js' %}"></script> | ||
<script type="text/javascript" src="{% static 'js/vendor/d3.v3.js' %}"></script> | ||
<script type="text/javascript" src="{% static 'js/vendor/fuse.min.js' %}"></script> | ||
<script type="text/javascript" src="{% static 'js/vendor/masonry.min.js' %}"></script> | ||
<script type="text/javascript" src="{% static 'js/vendor/messageformat.js' %}"></script> | ||
<script type="text/javascript" src="{% static 'js/vendor/underscore-min.js' %}"></script> | ||
<script type="text/javascript" src="{% static 'js/vendor/modernizr.custom.js' %}"></script> | ||
<script type="text/javascript" src="{% static 'js/vendor/imagesloaded.js' %}"></script> | ||
<script type="text/javascript" src="{% static 'js/vendor/angular/angular.js' %}"></script> | ||
<script type="text/javascript" src="{% static 'js/vendor/angular/angular-cookies.js' %}"></script> | ||
<script type="text/javascript" src="{% static 'js/vendor/angular/angular-resource.js' %}"></script> | ||
<script type="text/javascript" src="{% static 'js/vendor/angular/angular-translate.min.js' %}"></script> | ||
<script type="text/javascript" src="{% static 'js/vendor/angular/angular-translate-handler-log.min.js' %}"></script> | ||
<script type="text/javascript" src="{% static 'js/vendor/angular/angular-translate-loader-static-files.min.js' %}"></script> | ||
<script type="text/javascript" src="{% static 'js/vendor/angular/ui-bootstrap-custom-tpls-0.5.0.js' %}"></script> | ||
<script type="text/javascript" src="{% static 'js/vendor/angular/restangular.js' %}"></script> | ||
<script type="text/javascript" src="{% static 'js/vendor/angular/angular-masonry.min.js' %}"></script> | ||
|
||
<script type="text/coffeescript" src="{% static 'coffee/app.coffee' %}"></script> | ||
<script type="text/coffeescript" src="{% static 'coffee/controllers/CardsCtrl.coffee' %}"></script> | ||
<script type="text/coffeescript" src="{% static 'coffee/controllers/ContributeCtrl.coffee' %}"></script> | ||
<script type="text/coffeescript" src="{% static 'coffee/controllers/FilterCtrl.coffee' %}"></script> | ||
<script type="text/coffeescript" src="{% static 'coffee/controllers/LanguageCtrl.coffee' %}"></script> | ||
<script type="text/coffeescript" src="{% static 'coffee/controllers/HeaderCtrl.coffee' %}"></script> | ||
<script type="text/coffeescript" src="{% static 'coffee/controllers/PageCtrl.coffee' %}"></script> | ||
<script type="text/coffeescript" src="{% static 'coffee/controllers/ScaleCtrl.coffee' %}"></script> | ||
<script type="text/coffeescript" src="{% static 'coffee/controllers/TabsCtrl.coffee' %}"></script> | ||
<script type="text/coffeescript" src="{% static 'coffee/controllers/StaticPageCtrl.coffee' %}"></script> | ||
<script type="text/coffeescript" src="{% static 'coffee/directives/ScalePoints.coffee' %}"></script> | ||
<script type="text/coffeescript" src="{% static 'coffee/directives/SelectPicker.coffee' %}"></script> | ||
<script type="text/coffeescript" src="{% static 'coffee/directives/StickToTop.coffee' %}"></script> | ||
<script type="text/coffeescript" src="{% static 'coffee/filters.coffee' %}"></script> | ||
<script type="text/coffeescript" src="{% static 'coffee/services/Currency.coffee' %}"></script> | ||
<script type="text/coffeescript" src="{% static 'coffee/services/Filters.coffee' %}"></script> | ||
<script type="text/coffeescript" src="{% static 'coffee/services/Languages.coffee' %}"></script> | ||
<script type="text/coffeescript" src="{% static 'coffee/services/Meta.coffee' %}"></script> | ||
<script type="text/coffeescript" src="{% static 'coffee/services/Page.coffee' %}"></script> | ||
<script type="text/coffeescript" src="{% static 'coffee/services/Search.coffee' %}"></script> | ||
<script type="text/coffeescript" src="{% static 'coffee/services/Comprehension.coffee' %}"></script> | ||
<script type="text/coffeescript" src="{% static 'coffee/services/Humanize.coffee' %}"></script> | ||
<script type="text/coffeescript" src="{% static 'coffee/services/Share.coffee' %}"></script> | ||
{% endcompress %} | ||
{% endblock %} | ||
|
||
{% block content %} | ||
{% include "partials/header.html" %} | ||
<div ng-view id="content" class="container" ng-class="{loading: loading, home : getContentClass()}"> | ||
{{ page.content }} | ||
</div> | ||
<footer> | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-sm-1 col-md-2"> | ||
{% include "partials/languages.html" %} | ||
<div class="col links"> | ||
<a href="#/about">[[about]]</a> | ||
</div> | ||
</div> | ||
<div class="col-sm-offset-2 col-sm-3 col-md-3 col-md-offset-1 col"> | ||
<a href="http://knightfoundation.org" target="_blank"> | ||
<img src="{% static 'img/knight-logo.png' %}" /> | ||
</a> | ||
</div> | ||
<div class="col-sm-3 col-md-3 col"> | ||
<a href="http://okfn.org" target="_blank"> | ||
<img src="{% static 'img/okfn-logo.png' %}" /> | ||
</a> | ||
</div> | ||
<div class="col-sm-3 col-md-3 col"> | ||
<a href="http://jplusplus.org" target="_blank"> | ||
<img src="{% static 'img/jpp-logo.png' %}" /> | ||
</a> | ||
</div> | ||
</div> | ||
</div> | ||
</footer> | ||
{% endblock %} |
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