Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
packer
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kristopher Ruzic
packer
Commits
47cb01ce
Commit
47cb01ce
authored
Jun 20, 2013
by
Mitchell Hashimoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
website: docs layout
parent
67a95d18
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
134 additions
and
136 deletions
+134
-136
website/source/layouts/docs.erb
website/source/layouts/docs.erb
+61
-73
website/source/layouts/layout.erb
website/source/layouts/layout.erb
+2
-2
website/source/stylesheets/components.scss
website/source/stylesheets/components.scss
+10
-0
website/source/stylesheets/helpers.scss
website/source/stylesheets/helpers.scss
+1
-1
website/source/stylesheets/sidebar.scss
website/source/stylesheets/sidebar.scss
+60
-60
No files found.
website/source/layouts/docs.erb
View file @
47cb01ce
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<meta
charset=
"utf-8"
>
<title>
Packer
</title>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<meta
name=
"description"
content=
""
>
<meta
name=
"author"
content=
""
>
<%
wrap_layout
:layout
do
%>
<div
class=
"docs-wrapper"
>
<div
class=
"sidebar dark-background hidden-phone"
>
<h2>
Docs
</h2>
<!-- Le styles -->
<%=
stylesheet_link_tag
"bootstrap.min"
,
"packer"
%>
<style
type=
"text/css"
>
body
{
padding-top
:
20px
;
padding-bottom
:
40px
;
}
</style>
<ul>
<li><a
href=
"/docs/what-is-packer.html"
>
What is Packer?
</a></li>
<li><a
href=
"/docs/installation.html"
>
Installation
</a></li>
<li><a
href=
"/docs/basics/terminology.html"
>
Terminology
</a></li>
</ul>
<script
src=
"https://google-code-prettify.googlecode.com/svn/loader/run_prettify.js"
></script>
</head>
<ul>
<li><h4>
Command-Line
</h4></li>
<li><a
href=
"/docs/command-line/introduction.html"
>
Introduction
</a></li>
<li><a
href=
"/docs/command-line/build.html"
>
Build
</a></li>
<li><a
href=
"/docs/command-line/validate.html"
>
Validate
</a></li>
</ul>
<body>
<ul>
<li><h4>
Templates
</h4></li>
<li><a
href=
"/docs/templates/introduction.html"
>
Introduction
</a></li>
<li><a
href=
"/docs/templates/builders.html"
>
Builders
</a></li>
<li><a
href=
"/docs/templates/provisioners.html"
>
Provisioners
</a></li>
<li><a
href=
"/docs/templates/post-processors.html"
>
Post-Processors
</a></li>
<li><a
href=
"/docs/templates/configuration-templates.html"
>
Configuration Templates
</a></li>
</ul>
<div
class=
"container"
>
<div
class=
"row"
>
<
div
class=
"span3"
>
<div
class=
"well sidebar-nav"
style=
"padding: 8px 0;"
>
<ul
class=
"nav nav-list"
>
<li><a
href=
"/docs/what-is-packer.html"
>
What is Packer?
</a></li>
<li><a
href=
"/docs/installation.html"
>
Installation
</a></li>
<li><a
href=
"/docs/basics/terminology.html"
>
Terminology
</a></li
>
<ul
>
<li><h4>
Builders
</h4></li
>
<
li><a
href=
"/docs/builders/digitalocean.html"
>
DigitalOcean
</a></li
>
<li><a
href=
"/docs/builders/amazon-ebs.html"
>
EC2 (AMI)
</a></li
>
<li><a
href=
"/docs/builders/virtualbox.html"
>
VirtualBox
</a></li
>
<li><a
href=
"/docs/builders/vmware.html"
>
VMware
</a></li>
<li><a
href=
"/docs/builders/custom.html"
>
Custom
</a></li>
</ul
>
<li
class=
"nav-header"
>
Command-Line
</li>
<li><a
href=
"/docs/command-line/introduction.html"
>
Introduction
</a></li>
<li><a
href=
"/docs/command-line/build.html"
>
Build
</a></li>
<li><a
href=
"/docs/command-line/validate.html"
>
Validate
</a></li>
<ul>
<li><h4>
Provisioners
</h4></li>
<li><a
href=
"/docs/provisioners/shell.html"
>
Shell Scripts
</a></li>
<li><a
href=
"/docs/provisioners/custom.html"
>
Custom
</a></li>
</ul>
<li
class=
"nav-header"
>
Templates
</li>
<li><a
href=
"/docs/templates/introduction.html"
>
Introduction
</a></li>
<li><a
href=
"/docs/templates/builders.html"
>
Builders
</a></li>
<li><a
href=
"/docs/templates/provisioners.html"
>
Provisioners
</a></li>
<li><a
href=
"/docs/templates/post-processors.html"
>
Post-Processors
</a></li>
<li><a
href=
"/docs/templates/configuration-templates.html"
>
Configuration Templates
</a></li>
<ul>
<li><h4>
Other
</h4></li>
<li><a
href=
"/docs/other/core-configuration.html"
>
Core Configuration
</a></li>
<li><a
href=
"/docs/other/debugging.html"
>
Debugging
</a></li>
</ul>
<li
class=
"nav-header"
>
Builders
</li>
<li><a
href=
"/docs/builders/digitalocean.html"
>
DigitalOcean
</a></li>
<li><a
href=
"/docs/builders/amazon-ebs.html"
>
EC2 (AMI)
</a></li>
<li><a
href=
"/docs/builders/virtualbox.html"
>
VirtualBox
</a></li>
<li><a
href=
"/docs/builders/vmware.html"
>
VMware
</a></li>
<li><a
href=
"/docs/builders/custom.html"
>
Custom
</a></li>
<ul>
<li><h4>
Extend Packer
</h4></li>
<li><a
href=
"/docs/extend/plugins.html"
>
Packer Plugins
</a></li>
<li><a
href=
"/docs/extend/developing-plugins.html"
>
Developing Plugins
</a></li>
<li><a
href=
"/docs/extend/builder.html"
>
Custom Builder
</a></li>
<li><a
href=
"/docs/extend/command.html"
>
Custom Command
</a></li>
<li><a
href=
"/docs/extend/post-processor.html"
>
Custom Post-Processor
</a></li>
<li><a
href=
"/docs/extend/provisioner.html"
>
Custom Provisioner
</a></li>
</ul>
<li
class=
"nav-header"
>
Provisioners
</li
>
<li><a
href=
"/docs/provisioners/shell.html"
>
Shell Scripts
</a></li
>
<li><a
href=
"/docs/provisioners/custom.html"
>
Custom
</a></li
>
<!-- trick it into having a full-height sidebar regardless of content height --
>
<div
class=
"sidebar-background"
></div
>
</div
>
<li
class=
"nav-header"
>
Other
</li>
<li><a
href=
"/docs/other/core-configuration.html"
>
Core Configuration
</a></li>
<li><a
href=
"/docs/other/debugging.html"
>
Debugging
</a></li>
<li
class=
"nav-header"
>
Extend Packer
</li>
<li><a
href=
"/docs/extend/plugins.html"
>
Packer Plugins
</a></li>
<li><a
href=
"/docs/extend/developing-plugins.html"
>
Developing Plugins
</a></li>
<li><a
href=
"/docs/extend/builder.html"
>
Custom Builder
</a></li>
<li><a
href=
"/docs/extend/command.html"
>
Custom Command
</a></li>
<li><a
href=
"/docs/extend/post-processor.html"
>
Custom Post-Processor
</a></li>
<li><a
href=
"/docs/extend/provisioner.html"
>
Custom Provisioner
</a></li>
</ul>
</div>
<!--/.well -->
</div>
<!--/span-->
<div
class=
"span9"
>
<%=
yield
%>
</div>
<!--/span-->
</div>
<!--/row-->
<hr>
<footer>
<p>
©
Mitchell Hashimoto 2013
</p>
</footer>
</div>
<!--/.fluid-container-->
</body>
</html>
<div
class=
"docs-body"
>
<div
class=
"docs-content"
>
<%=
yield
%>
</div>
<div
class=
"docs-background"
></div>
</div>
</div>
<%
end
%>
website/source/layouts/layout.erb
View file @
47cb01ce
...
...
@@ -27,7 +27,6 @@
<script
type=
"text/javascript"
>
try
{
Typekit
.
load
();}
catch
(
e
){}
</script>
</head>
<body>
<nav
class=
"dark-background"
>
<div
class=
"container-fluid"
>
<div
class=
"row-fluid"
>
...
...
@@ -38,7 +37,6 @@
<li><a
href=
"#"
>
About
</a></li>
<li><a
href=
"/docs"
>
Documentation
</a></li>
</ul>
</div>
</div>
</div>
...
...
@@ -46,6 +44,8 @@
<%=
yield
%>
<div
class=
"clearfix"
></div>
<footer
class=
"dark-background"
>
<div
class=
"container-fluid"
>
<div
class=
"row-fluid"
>
...
...
website/source/stylesheets/components.scss
View file @
47cb01ce
...
...
@@ -169,6 +169,16 @@
}
}
.docs-background
{
@extend
.white-background
;
height
:
100%
;
width
:
760px
;
position
:
fixed
;
top
:
0
;
left
:
$sidebar-width
;
z-index
:
-9999
;
}
section
{
margin-top
:
$docs-top-margin
;
}
...
...
website/source/stylesheets/helpers.scss
View file @
47cb01ce
...
...
@@ -36,7 +36,7 @@ $nav-height: 100px;
$hero-height
:
500px
;
$docs-top-margin
:
60px
;
$sidebar-background-color
:
$dark-background
;
$sidebar-width
:
2
25
px
;
$sidebar-width
:
2
50
px
;
//typography
...
...
website/source/stylesheets/sidebar.scss
View file @
47cb01ce
.sidebar
{
$border
:
1px
solid
$gray-dark
;
font-size
:
16px
;
font-family
:
$mono
;
color
:
$gray-light
;
width
:
$sidebar-width
;
float
:
left
;
background-color
:
$sidebar-background-color
;
height
:
100%
;
@include
respond-to
(
mobile
)
{
width
:
100%
;
}
h2
{
color
:
$green
;
text-transform
:
uppercase
;
padding
:
$docs-top-margin
20px
0
;
@include
respond-to
(
mobile
)
{
padding
:
$baseline
;
}
}
h4
{
color
:
$white
;
text-transform
:
uppercase
;
margin-bottom
:
-10px
;
}
ul
{
@extend
.padded-sm
;
li
{
border-bottom
:
$border
;
padding
:
15px
0
;
text-align
:
left
;
}
li
>
*
{
padding
:
auto
20px
;
margin-left
:
20px
;
display
:
block
;
width
:
100%
;
}
}
.sidebar-background
{
background-color
:
$sidebar-background-color
;
height
:
100%
;
width
:
$sidebar-width
;
position
:
fixed
;
top
:
0
;
left
:
0
;
z-index
:
-9999
;
}
}
\ No newline at end of file
$border
:
1px
solid
$gray-dark
;
font-size
:
16px
;
font-family
:
$mono
;
color
:
$gray-light
;
width
:
$sidebar-width
;
float
:
left
;
background-color
:
$sidebar-background-color
;
height
:
100%
;
@include
respond-to
(
mobile
)
{
width
:
100%
;
}
h2
{
color
:
$green
;
text-transform
:
uppercase
;
padding
:
$docs-top-margin
20px
0
;
@include
respond-to
(
mobile
)
{
padding
:
$baseline
;
}
}
h4
{
color
:
$white
;
text-transform
:
uppercase
;
margin-bottom
:
-10px
;
}
ul
{
@extend
.padded-sm
;
li
{
border-bottom
:
$border
;
padding
:
15px
0
;
text-align
:
left
;
}
li
>
*
{
padding
:
auto
20px
;
margin-left
:
20px
;
display
:
block
;
width
:
100%
;
}
}
.sidebar-background
{
background-color
:
$sidebar-background-color
;
height
:
100%
;
width
:
$sidebar-width
;
position
:
fixed
;
top
:
0
;
left
:
0
;
z-index
:
-9999
;
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment