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
4a43d72
commit 200e18a
Showing
8 changed files
with
129 additions
and
195 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
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,75 +1,114 @@ | ||
{% extends LayoutTemplate %} | ||
|
||
|
||
|
||
{% block stylesheets %} | ||
{{ parent() }} | ||
{% block stylesheets_extra %} | ||
{% endblock stylesheets_extra %} | ||
|
||
<style type="text/css"> | ||
section {border-bottom:none;} | ||
.page-footer {border-top:1px solid #eee !important;} | ||
</style> | ||
{% endblock stylesheets %} | ||
|
||
|
||
|
||
{% block javascripts %} | ||
{{ parent() }} | ||
{% block javascripts_extra %} | ||
{% endblock javascripts_extra %} | ||
{% endblock javascripts %} | ||
|
||
|
||
{% block tool_bar %} | ||
{%- spaceless -%} | ||
<header> | ||
<div class="container-fluid clear-top crumb-bar-container"> | ||
<div class="row-fluid"> | ||
<div class="span2"> | ||
<h3> | ||
{% block sub_title %} | ||
<a href="{{ path('ccdn_component_dashboard_index') }}"> | ||
{{- 'ccdn_component_dashboard.title.dashboard' | trans({}, 'CCDNComponentDashboardBundle') -}} | ||
</a> | ||
{% endblock sub_title %} | ||
</h3> | ||
</div> | ||
|
||
{%- if crumbs is defined -%} | ||
<nav class="span10"> | ||
{%- block crumb_trail -%} | ||
{%- include 'CCDNComponentCrumbTrailBundle:Trail:trail.html.twig' with {'crumbs': crumbs } -%} | ||
{%- endblock crumb_trail -%} | ||
</nav> | ||
{%- endif -%} | ||
<!DOCTYPE html> | ||
<html lang="{{- app.request.locale -}}"> | ||
<head> | ||
<meta http-equiv="content-type" content="text/html;charset=utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
|
||
<title>{%- block title -%}{%- endblock -%}</title> | ||
|
||
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css"> | ||
{%- block stylesheets -%} | ||
{%- endblock -%} | ||
</head> | ||
<body> | ||
|
||
{%- spaceless -%} | ||
|
||
<div id="page-wrap"> | ||
<div id="page-main"> | ||
|
||
{%- block navbar -%} | ||
<header class="navbar navbar-default navbar-fixed-top clearfix" role="navigation"> | ||
<a target="_blank" class="navbar-brand" href="http://www.codeconsortium.com/">Code Consortium</a> | ||
|
||
<p class="navbar-text pull-right"> | ||
<i class="glyphicon glyphicon-user"></i> | ||
| ||
{%- if app.user -%} | ||
{{- app.user.email -}} | ||
{%- endif -%} | ||
</p> | ||
</header> | ||
|
||
{%- block tool_bar -%} | ||
{%- endblock tool_bar -%} | ||
{%- endblock navbar -%} | ||
|
||
<div class="container clearfix"> | ||
<br> | ||
<div class="row"> | ||
<aside class="col-md-2 page-sidebar-left"> | ||
{%- block sidebar -%} | ||
{%- endblock sidebar -%} | ||
</aside> | ||
|
||
<div class="col-md-10 page-body-right"> | ||
<div id="top clearfix"></div> | ||
{%- block body -%} | ||
{%- endblock body -%} | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</header> | ||
{%- endspaceless -%} | ||
{% endblock tool_bar %} | ||
</div> | ||
|
||
<br> | ||
|
||
{% block sidebar %} | ||
{{ parent() }} | ||
<footer class="footer site-footer"> | ||
|
||
{%- block sidebar_extra_top -%}{%- endblock sidebar_extra_top -%} | ||
{%- block sidebar_extra_bottom -%}{%- endblock sidebar_extra_bottom -%} | ||
|
||
{% endblock %} | ||
|
||
|
||
|
||
{% block body %} | ||
{%- spaceless -%} | ||
|
||
{%- block body_content -%} | ||
{%- endblock body_content -%} | ||
|
||
{%- block body_footer -%} | ||
{%- include 'CCDNComponentDashboardBundle:Footer:footer.html.twig' -%} | ||
{%- endblock body_footer -%} | ||
<div class="navbar navbar-default clearfix"> | ||
<p class="navbar-text pull-right content-right"> | ||
Copyright <a target="_blank" class="navbar-link" href="http://www.codeconsortium.com/">Code Consortium</a> 2011 - {{ 'now'|date("Y") }}. | ||
</p> | ||
</div> | ||
|
||
{%- endspaceless -%} | ||
{% endblock body %} | ||
<nav class="navbar navbar-inverse clearfix" style="bottom:0px;margin-bottom:0px;"> | ||
<div class="collapse navbar-collapse navbar-ex1-collapse"> | ||
<ul class="nav navbar-nav"> | ||
<li> | ||
<a href="http://www.codeconsortium.com"> | ||
Code Consortium | ||
</a> | ||
</li> | ||
|
||
<li> | ||
<a rel="friend" target="_blank" href="http://github.com/codeconsortium">Contribute</a> | ||
</li> | ||
</ul> | ||
</div> | ||
</nav> | ||
|
||
</footer> | ||
|
||
<script src="//code.jquery.com/jquery.js"></script> | ||
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script> | ||
{%- block javascripts -%} | ||
{%- endblock -%} | ||
|
||
<script type='text/javascript'> | ||
<!-- | ||
$(document).ready(function() { | ||
// make visible js compat toolbars site wide | ||
$("[data-js-non-compat]").each(function(i, el) { | ||
$(el).addClass('collapse').addClass('hidden'); | ||
}); | ||
$("[data-js-compat]").each(function(i, el) { | ||
$(el).removeClass('collapse').removeClass('hidden'); | ||
}); | ||
$('[data-tip]').each(function() { | ||
$(this).tooltip({ | ||
html: true, | ||
placement: $(this).data('tip') | ||
}); | ||
}); | ||
$('[data-toggle="dropdown"]').dropdown(); | ||
}); | ||
//--> | ||
</script> | ||
|
||
{%- endspaceless -%} | ||
</body> | ||
</html> |