Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
Lesson Template
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
prace-lessons
Lesson Template
Commits
254d7306
Commit
254d7306
authored
9 years ago
by
Greg Wilson
Browse files
Options
Downloads
Patches
Plain Diff
Workshop page layout
parent
4cbaeae7
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
_includes/workshop_ad.html
+29
-0
29 additions, 0 deletions
_includes/workshop_ad.html
_includes/workshop_navbar.html
+19
-0
19 additions, 0 deletions
_includes/workshop_navbar.html
_layouts/workshop.html
+47
-0
47 additions, 0 deletions
_layouts/workshop.html
with
95 additions
and
0 deletions
_includes/workshop_ad.html
0 → 100644
+
29
−
0
View file @
254d7306
<div
class=
"jumbotron"
>
<div
class=
"row"
>
<div
class=
"col-md-10 col-md-offset-1"
>
<h2>
{{page.venue}}
</h2>
<div
class=
"row"
>
<div
class=
"col-md-6"
>
<p>
{{page.humandate}}
</p>
<p>
{% if page.humantime %}{{page.humantime}}{% endif %}
</p>
</div>
<div
class=
"col-md-6"
>
<p>
<strong>
Instructors:
</strong>
{% if page.instructor %}
{{page.instructor | join: ', ' %}}
{% else %}
to be announced.
{% endif %}
</p>
{% if page.helper %}
<p>
<strong>
Helpers:
</strong>
{{page.helper | join: ', ' %}}
</p>
{% endif %}
</div>
</div>
</div>
</div>
</div>
This diff is collapsed.
Click to expand it.
_includes/workshop_navbar.html
0 → 100644
+
19
−
0
View file @
254d7306
<nav
class=
"navbar navbar-default"
>
<div
class=
"container-fluid"
>
<div
class=
"navbar-header"
>
<a
href=
"{{ site.swc_site }}"
class=
"pull-left"
><img
class=
"navbar-logo"
src=
"{{ site.root }}/assets/img/swc-icon-blue.svg"
alt=
"Software Carpentry logo"
/></a>
<a
class=
"navbar-brand"
href=
"{{ site.root }}/"
>
Home
</a>
</div>
<div
class=
"collapse navbar-collapse"
id=
"bs-example-navbar-collapse-1"
>
<ul
class=
"nav navbar-nav"
>
<li><a
href=
"{{ site.root }}/conduct/"
>
Code of Conduct
</a></li>
<li><a
href=
"{{ site.root }}/license/"
>
License
</a></li>
</ul>
<form
class=
"navbar-form navbar-right"
role=
"search"
id=
"search"
onsubmit=
"google_search(); return false;"
>
<div
class=
"form-group"
>
<input
type=
"text"
id=
"google-search"
placeholder=
"Search..."
>
</div>
</form>
</div>
</div>
</nav>
This diff is collapsed.
Click to expand it.
_layouts/workshop.html
0 → 100644
+
47
−
0
View file @
254d7306
---
---
<!doctype html>
<html
lang=
"en"
>
<head>
<meta
name=
"slug"
content=
"{{site.github.project_title}}"
/>
<meta
name=
"startdate"
content=
"{{page.startdate}}"
/>
<meta
name=
"enddate"
content=
"{{page.enddate}}"
/>
<meta
name=
"country"
content=
"{{page.country}}"
/>
<meta
name=
"venue"
content=
"{{page.venue}}"
/>
<meta
name=
"address"
content=
"{{page.address}}"
/>
<meta
name=
"latlng"
content=
"{{page.latlng}}"
/>
<meta
name=
"language"
content=
"{{page.language}}"
/>
<meta
name=
"eventbrite"
content=
"{{page.eventbrite}}"
/>
<meta
name=
"instructor"
content=
"{{page.instructor|join:'|'}}"
/>
<meta
name=
"helper"
content=
"{{page.helper|join:'|'}}"
/>
<meta
name=
"contact"
content=
"{{page.contact}}"
/>
{% if page.redirect %}
<meta
http-equiv=
"refresh"
content=
"0; url={{page.redirect}}"
/>
{% endif %}
<meta
charset=
"utf-8"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<meta
name=
"search-domain"
value=
"{{ site.domain }}"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{{ site.root }}/assets/css/bootstrap.css"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{{ site.root }}/assets/css/bootstrap-theme.css"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{{ site.root }}/assets/css/lesson.css"
/>
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<title>
{{ page.venue }}: {{ page.humandate }}
</title>
</head>
<body>
<div
class=
"container"
>
{% include workshop_navbar.html %}
{% include workshop_ad.html %}
{{ content }}
{% include footer.html %}
</div>
{% include javascript.html %}
</body>
</html>
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment