Skip to content

Commit

Permalink
Merge pull request #67 from devopsdays/mattstratton/add-event-template
Browse files Browse the repository at this point in the history
Add event template
  • Loading branch information
mattstratton committed Mar 3, 2016
2 parents 2b1d3f3 + 01294ae commit c54c7d5
Show file tree
Hide file tree
Showing 45 changed files with 2,628 additions and 16 deletions.
37 changes: 37 additions & 0 deletions themes/devopsdays-legacy/layouts/event/single.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{{ partial "header.html" . }}

{{ $event := .Params.event}}
{{ $e := (index $.Site.Data.events $event) }}
<div class = "container-fluid">
<div class="row">
<div class="col-md-8">
<h1> {{ $e.city }} - {{ title .Title }} </h1>
<!-- Main navigation -->
<ul class="nav nav-tabs">
{{ range $navigation := $e.navigationelements}}
<li role="presentation"><a href="/events/{{ $e.friendly }}/{{ $navigation}}">{{ $navigation }}</a></li>
{{ end }}
</ul>

{{ .Content }}
</div>
<div class="col-md-4">
<!-- sponsor code begin -->
{{ $sponsors := $e.sponsors }}
{{ range $e.sponsor_levels }}
<h2>{{ .label }} Sponsors</h2>
{{ range where $sponsors "level" .id }}
{{ $s := (index $.Site.Data.sponsors .id) }}
{{ if isset $.Site.Data.sponsors .id }}
<a href = "{{ $s.url }}"><img alt = "{{ .id }}" src = "/img/sponsors/{{ .id }}.png" class="img-responsive"></a>
{{ end }}
{{ end }}
<a href = "/events/{{ $e.friendly }}/sponsor">Become a {{ .label }} Sponsor!</a>
{{ end }}

<!-- sponsor code end -->
</div>
</div>

</div>
{{ partial "footer.html" . }}
15 changes: 2 additions & 13 deletions themes/devopsdays-legacy/layouts/index.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,4 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
{{ partial "html_head.html" . }}
</head>

<body>
<div class="container">
{{ partial "header.html" . }}
{{ partial "header.html" . }}

<div class="span-24">
{{ partial "header_menu.html" . }}
Expand Down Expand Up @@ -42,7 +34,4 @@ <h1>Future</h1>
</div>
</div>

{{ partial "googleanalytics.html" . }}

</body>
</html>
{{ partial "footer.html" . }}
4 changes: 4 additions & 0 deletions themes/devopsdays-legacy/layouts/partials/footer.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{{ partial "footer_scripts" . }}

</body>
</html>
7 changes: 7 additions & 0 deletions themes/devopsdays-legacy/layouts/partials/footer_scripts.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

<script src="{{ .Site.BaseURL }}/js/jquery.min.js"></script>
<script src="{{ .Site.BaseURL }}/js/bootstrap.min.js"></script>
<script src="{{ .Site.BaseURL }}/js/scripts.js"></script>
<script src="{{ .Site.BaseURL }}/js/jquery.validate.min.js"></script>
<script src="{{ .Site.BaseURL }}/js/additional-methods.min.js"></script>
<script type="text/javascript" src="https://www.google.com/jsapi"></script>
19 changes: 19 additions & 0 deletions themes/devopsdays-legacy/layouts/partials/head.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
{{ partial "meta.html" . }}
{{ partial "head/seo.html" . }}
{{ .Hugo.Generator }}
<base href="{{ .Site.BaseURL }}">
<title>
{{ $url := replace .Permalink ( printf "%s" .Site.BaseURL) "" }}
{{ if eq $url "/" }}
{{ .Site.Title }}
{{ else }}
{{ if .Params.Heading }} {{ .Params.Heading }} {{ else }} {{ .Title }} {{ end }}
{{ end }}
</title>
<link rel="canonical" href="{{ .Permalink }}">
{{ partial "head_includes.html" . }}
</head>
27 changes: 27 additions & 0 deletions themes/devopsdays-legacy/layouts/partials/head_includes.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<link href="{{ .Site.BaseURL }}/css/bootstrap.css" rel="stylesheet">
<link href="{{ .Site.BaseURL }}/css/style.css" rel="stylesheet">
<link rel="apple-touch-icon" sizes="57x57" href="/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="/apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="/apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/manifest.json">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-TileImage" content="/ms-icon-144x144.png">
<meta name="theme-color" content="#ffffff">
<link rel="alternate" type="application/rss+xml" title="devopsdays RSS Feed" href="{{ .Site.BaseURL }}/feed/">

<!--- Blueprint CSS Framework Screen + Fancytype-Screen + jedi.css -->
<link rel="stylesheet" href="{{ .Site.BaseURL }}/css/devops.min.css" type="text/css" media="screen, projection">
<link rel="stylesheet" href="{{ .Site.BaseURL }}/css/blueprint/print.css" type="text/css" media="print">
<!--[if IE]>
<link rel="stylesheet" href="/css/blueprint/ie.css" type="text/css" media="screen, projection">
<![endif]-->
13 changes: 10 additions & 3 deletions themes/devopsdays-legacy/layouts/partials/header.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
<div class="span-24">
<img src="/images/devopsdays-banner.png" title="devopsdays banner" width="801" height="115" alt="devopdays banner">
</div>
<!DOCTYPE html>
<html lang="{{ .Site.LanguageCode }}">
{{ partial "head.html" . }}

<body lang="{{ .Site.Params.Lang }}">

<div class="container">

<div class="row row-offcanvas row-offcanvas-right">
<div class = "col-md-12"><img src = "/img/devopsdays-banner.png" class = "img-responsive"></div>
6 changes: 6 additions & 0 deletions themes/devopsdays-legacy/layouts/partials/meta.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
{{ if .Site.Params.Description }}<meta name="description" content="{{ .Site.Params.Description }}">{{ end }}
5 changes: 5 additions & 0 deletions themes/devopsdays-legacy/static/css/bootstrap.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions themes/devopsdays-legacy/static/css/bootstrap.css.map

Large diffs are not rendered by default.

70 changes: 70 additions & 0 deletions themes/devopsdays-legacy/static/css/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
# Empty CSS file for your own CSS

.post-content {
background: rgba(0, 0, 0, 0.7) none repeat scroll 0 0;
opacity: 0.5;
top:0;
left:0;
min-width: 500px;
min-height: 500px;
position: absolute;
color: #ffffff;
}

.episode-image-homepage{
position:relative;
padding: 0;
margin-bottom: 20px;
margin-top: 10px;

}
.details {
position: absolute;
z-index: 2;
color: #ffffff;
left: 0px;
bottom: 0px;
width: 100%;
background-color: black;
padding: 5px;
font-size: larger;
}

.sidebar {
display: inline-block;
vertical-align: middle;
float: none;
}

.social-links {
margin-top: 10px !important;
margin-bottom: 0px !important;
margin-right: 0px !important;
padding-left: 2px !important;
padding-right: 2px !important;
padding-top: 0px !important;
padding-bottom: 0px !important;
}

.image-centered {
display: block;
margin-left: auto;
margin-right: auto;
}

#map_wrapper {
height: 400px;
}

#map_canvas {
width: 100%;
height: 100%;
}

.event-list-header {
background-color: #d7d7d7;
}

.event-list-footer {
background-color: #18b;
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions themes/devopsdays-legacy/static/images/browserconfig.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="utf-8"?>
<browserconfig><msapplication><tile><square70x70logo src="/ms-icon-70x70.png"/><square150x150logo src="/ms-icon-150x150.png"/><square310x310logo src="/ms-icon-310x310.png"/><TileColor>#ffffff</TileColor></tile></msapplication></browserconfig>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
41 changes: 41 additions & 0 deletions themes/devopsdays-legacy/static/images/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"name": "App",
"icons": [
{
"src": "\/android-icon-36x36.png",
"sizes": "36x36",
"type": "image\/png",
"density": "0.75"
},
{
"src": "\/android-icon-48x48.png",
"sizes": "48x48",
"type": "image\/png",
"density": "1.0"
},
{
"src": "\/android-icon-72x72.png",
"sizes": "72x72",
"type": "image\/png",
"density": "1.5"
},
{
"src": "\/android-icon-96x96.png",
"sizes": "96x96",
"type": "image\/png",
"density": "2.0"
},
{
"src": "\/android-icon-144x144.png",
"sizes": "144x144",
"type": "image\/png",
"density": "3.0"
},
{
"src": "\/android-icon-192x192.png",
"sizes": "192x192",
"type": "image\/png",
"density": "4.0"
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions themes/devopsdays-legacy/static/js/additional-methods.min.js

Large diffs are not rendered by default.

Loading

0 comments on commit c54c7d5

Please sign in to comment.