Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

initial commit

  • Loading branch information
h-m-f-t committed Sep 28, 2017
0 parents commit 820125fddfaa22c6572915b9e633c6864c30ecaa
Showing with 18,285 additions and 0 deletions.
  1. +18 −0 CONTRIBUTING.md
  2. +35 −0 LICENSE.md
  3. +10 −0 README.md
  4. +87 −0 _config.yml
  5. +6 −0 _includes/alert-error.html
  6. +6 −0 _includes/alert-info.html
  7. +6 −0 _includes/alert-success.html
  8. +6 −0 _includes/alert-warning.html
  9. +25 −0 _includes/analytics.html
  10. +17 −0 _includes/footer.html
  11. +56 −0 _includes/head.html
  12. +27 −0 _includes/header.html
  13. +38 −0 _includes/navbar.html
  14. +6 −0 _includes/scripts.html
  15. +30 −0 _includes/sidebar.html
  16. +42 −0 _layouts/default.html
  17. +204 −0 _sass/_base.scss
  18. +236 −0 _sass/_layout.scss
  19. +67 −0 _sass/_syntax-highlighting.scss
  20. +10 −0 _services/overview_services.md
  21. +6 −0 _services/page1.md
  22. +6 −0 _services/page2.md
  23. +6 −0 _services/page3.md
  24. +7 −0 assets/css/jquery-ui.min.css
  25. +5 −0 assets/css/jquery-ui.structure.min.css
  26. +5 −0 assets/css/jquery-ui.theme.min.css
  27. +3,390 −0 assets/css/styleguide.css
  28. BIN assets/img/alerts/error.png
  29. +17 −0 assets/img/alerts/error.svg
  30. BIN assets/img/alerts/info.png
  31. +18 −0 assets/img/alerts/info.svg
  32. BIN assets/img/alerts/success.png
  33. +12 −0 assets/img/alerts/success.svg
  34. +1 −0 assets/img/alerts/test.md
  35. BIN assets/img/alerts/warning.png
  36. +16 −0 assets/img/alerts/warning.svg
  37. BIN assets/img/favicons/favicon-114.png
  38. BIN assets/img/favicons/favicon-144.png
  39. BIN assets/img/favicons/favicon-16.png
  40. BIN assets/img/favicons/favicon-192.png
  41. BIN assets/img/favicons/favicon-57.png
  42. BIN assets/img/favicons/favicon-72.png
  43. BIN assets/img/favicons/favicon.ico
  44. BIN assets/img/favicons/favicon.png
  45. +399 −0 assets/img/logo-dhs.svg
  46. BIN assets/img/us_flag_small.png
  47. +48 −0 assets/js/accordion.js
  48. +4 −0 assets/js/jquery-1.11.2.min.js
  49. +2 −0 assets/js/jquery-migrate-1.2.1.min.js
  50. +8 −0 assets/js/jquery-ui.min.js
  51. +6 −0 assets/js/respond.min.js
  52. +146 −0 assets/js/styleguide.js
  53. +2,792 −0 assets/uswds-0.9.1/css/uswds.css
  54. +1 −0 assets/uswds-0.9.1/css/uswds.min.css
  55. +1 −0 assets/uswds-0.9.1/css/uswds.min.css.map
  56. BIN assets/uswds-0.9.1/fonts/merriweather-bold-webfont.eot
  57. BIN assets/uswds-0.9.1/fonts/merriweather-bold-webfont.ttf
  58. BIN assets/uswds-0.9.1/fonts/merriweather-bold-webfont.woff
  59. BIN assets/uswds-0.9.1/fonts/merriweather-bold-webfont.woff2
  60. BIN assets/uswds-0.9.1/fonts/merriweather-italic-webfont.eot
  61. BIN assets/uswds-0.9.1/fonts/merriweather-italic-webfont.ttf
  62. BIN assets/uswds-0.9.1/fonts/merriweather-italic-webfont.woff
  63. BIN assets/uswds-0.9.1/fonts/merriweather-italic-webfont.woff2
  64. BIN assets/uswds-0.9.1/fonts/merriweather-light-webfont.eot
  65. BIN assets/uswds-0.9.1/fonts/merriweather-light-webfont.ttf
  66. BIN assets/uswds-0.9.1/fonts/merriweather-light-webfont.woff
  67. BIN assets/uswds-0.9.1/fonts/merriweather-light-webfont.woff2
  68. BIN assets/uswds-0.9.1/fonts/merriweather-regular-webfont.eot
  69. BIN assets/uswds-0.9.1/fonts/merriweather-regular-webfont.ttf
  70. BIN assets/uswds-0.9.1/fonts/merriweather-regular-webfont.woff
  71. BIN assets/uswds-0.9.1/fonts/merriweather-regular-webfont.woff2
  72. BIN assets/uswds-0.9.1/fonts/sourcesanspro-bold-webfont.eot
  73. BIN assets/uswds-0.9.1/fonts/sourcesanspro-bold-webfont.ttf
  74. BIN assets/uswds-0.9.1/fonts/sourcesanspro-bold-webfont.woff
  75. BIN assets/uswds-0.9.1/fonts/sourcesanspro-bold-webfont.woff2
  76. BIN assets/uswds-0.9.1/fonts/sourcesanspro-italic-webfont.eot
  77. BIN assets/uswds-0.9.1/fonts/sourcesanspro-italic-webfont.ttf
  78. BIN assets/uswds-0.9.1/fonts/sourcesanspro-italic-webfont.woff
  79. BIN assets/uswds-0.9.1/fonts/sourcesanspro-italic-webfont.woff2
  80. BIN assets/uswds-0.9.1/fonts/sourcesanspro-light-webfont.eot
  81. BIN assets/uswds-0.9.1/fonts/sourcesanspro-light-webfont.ttf
  82. BIN assets/uswds-0.9.1/fonts/sourcesanspro-light-webfont.woff
  83. BIN assets/uswds-0.9.1/fonts/sourcesanspro-light-webfont.woff2
  84. BIN assets/uswds-0.9.1/fonts/sourcesanspro-regular-webfont.eot
  85. BIN assets/uswds-0.9.1/fonts/sourcesanspro-regular-webfont.ttf
  86. BIN assets/uswds-0.9.1/fonts/sourcesanspro-regular-webfont.woff
  87. BIN assets/uswds-0.9.1/fonts/sourcesanspro-regular-webfont.woff2
  88. BIN assets/uswds-0.9.1/img/alerts/error.png
  89. +17 −0 assets/uswds-0.9.1/img/alerts/error.svg
  90. BIN assets/uswds-0.9.1/img/alerts/info.png
  91. +18 −0 assets/uswds-0.9.1/img/alerts/info.svg
  92. BIN assets/uswds-0.9.1/img/alerts/success.png
  93. +12 −0 assets/uswds-0.9.1/img/alerts/success.svg
  94. BIN assets/uswds-0.9.1/img/alerts/warning.png
  95. +16 −0 assets/uswds-0.9.1/img/alerts/warning.svg
  96. BIN assets/uswds-0.9.1/img/arrow-down.png
  97. +1 −0 assets/uswds-0.9.1/img/arrow-down.svg
  98. BIN assets/uswds-0.9.1/img/arrow-right.png
  99. +1 −0 assets/uswds-0.9.1/img/arrow-right.svg
  100. BIN assets/uswds-0.9.1/img/correct8.png
  101. +1 −0 assets/uswds-0.9.1/img/correct8.svg
  102. BIN assets/uswds-0.9.1/img/correct9.png
  103. +1 −0 assets/uswds-0.9.1/img/correct9.svg
  104. BIN assets/uswds-0.9.1/img/favicons/favicon-114.png
  105. BIN assets/uswds-0.9.1/img/favicons/favicon-144.png
  106. BIN assets/uswds-0.9.1/img/favicons/favicon-16.png
  107. BIN assets/uswds-0.9.1/img/favicons/favicon-192.png
  108. BIN assets/uswds-0.9.1/img/favicons/favicon-57.png
  109. BIN assets/uswds-0.9.1/img/favicons/favicon-72.png
  110. BIN assets/uswds-0.9.1/img/favicons/favicon.ico
  111. BIN assets/uswds-0.9.1/img/favicons/favicon.png
  112. BIN assets/uswds-0.9.1/img/logo-img.png
  113. BIN assets/uswds-0.9.1/img/minus.png
  114. +1 −0 assets/uswds-0.9.1/img/minus.svg
  115. BIN assets/uswds-0.9.1/img/plus.png
  116. +1 −0 assets/uswds-0.9.1/img/plus.svg
  117. BIN assets/uswds-0.9.1/img/search.png
  118. +1 −0 assets/uswds-0.9.1/img/search.svg
  119. BIN assets/uswds-0.9.1/img/social-icons/png/facebook25.png
  120. BIN assets/uswds-0.9.1/img/social-icons/png/rss25.png
  121. BIN assets/uswds-0.9.1/img/social-icons/png/twitter16.png
  122. BIN assets/uswds-0.9.1/img/social-icons/png/youtube15.png
  123. +1 −0 assets/uswds-0.9.1/img/social-icons/svg/facebook25.svg
  124. +1 −0 assets/uswds-0.9.1/img/social-icons/svg/rss25.svg
  125. +1 −0 assets/uswds-0.9.1/img/social-icons/svg/twitter16.svg
  126. +1 −0 assets/uswds-0.9.1/img/social-icons/svg/youtube15.svg
  127. BIN assets/uswds-0.9.1/img/us_flag_small.png
  128. +10,206 −0 assets/uswds-0.9.1/js/uswds.js
  129. +3 −0 assets/uswds-0.9.1/js/uswds.min.js
  130. +1 −0 assets/uswds-0.9.1/js/uswds.min.js.map
  131. +30 −0 feed.xml
  132. BIN img/logo.png
  133. +16 −0 pages/guide.md
  134. +61 −0 pages/home.md
  135. +26 −0 pages/https.md
  136. +40 −0 pages/intro.md
@@ -0,0 +1,18 @@
Thank you for considering contributing to the development of body.

### Public domain

All contributions to this project will be released into the public domain worldwide through the [CC0 1.0 Universal public domain dedication](https://creativecommons.org/publicdomain/zero/1.0/).

By submitting a pull request, you are agreeing to comply with this waiver of copyright interest.

We encourage you to read our [LICENSE](LICENSE.md) and our [README](README.md), which exist within this repository.

### Plain Language

Contributors should consider the audience when submitting content. Plain language benefits a broad audience. Review your proposed content for use of acronyms and specialized jargon before submitting.

<!-- ### How to Contribute
For detailed instructions on how to contribute, visit the [Contributing page here:](https://arch.idmanagement.gov/contribute/)
-->
@@ -0,0 +1,35 @@
---
layout: default
title: License
permalink: /license/
---
This project is in the public domain within the United States.

We waive copyright and related rights in the work
worldwide through the CC0 1.0 Universal public domain dedication.

## CC0 1.0 Universal Summary

This is a human-readable summary of the [Legal Code (read the full text)](https://creativecommons.org/publicdomain/zero/1.0/legalcode).

### No Copyright

The person who associated a work with this deed has dedicated the work to
the public domain by waiving all of his or her rights to the work worldwide
under copyright law, including all related and neighboring rights, to the
extent allowed by law.

You can copy, modify, distribute and perform the work, even for commercial
purposes, all without asking permission.

### Other Information

In no way are the patent or trademark rights of any person affected by CC0,
nor are the rights that other persons may have in the work or in how the
work is used, such as publicity or privacy rights.

Unless expressly stated otherwise, the person who associated a work with
this deed makes no warranties about the work, and disclaims liability for
all uses of the work, to the fullest extent permitted by applicable law.
When using or citing the work, you should not imply endorsement by the
author or the affirmer.
@@ -0,0 +1,10 @@
### Public domain

This project is in the worldwide [public domain](LICENSE.md).

> This project is in the public domain within the United States, and copyright and related rights in the work worldwide are waived through the [CC0 1.0 Universal public domain dedication](https://creativecommons.org/publicdomain/zero/1.0/).
>
> All contributions to this project will be released under the CC0 dedication. By submitting a pull request, you are agreeing to comply with this waiver of copyright interest.
### Special Thanks
Special thanks to the teams at [18F](https://18f.gsa.gov/) and [FICAM](https://arch.idmanagement.gov/) for their open and transparent model which benefits citizens, government, and technology.
@@ -0,0 +1,87 @@
# Site settings
title: Body
name: body
email: body
author:
name: DHS
description: body
highlighter: rouge
repo_url: https://github.com/dhs-ncats/body
baseurl: '/body'
branch: federalist-pages
# Federalist overwrites the site.branch value when deploying
# the site.branch was used in dynamic link generation for objects like Edit Page
# we want the dynamic links to send users to the staging branch. Adding new site variable to ensure federalist doesn't overwrite.
editbranch: master

# Point the logo URL at a file in your repo or hosted elsewhere by your organization
logourl: /body/img/logo.png
logoalt: Department of Homeland Security

# Links
# List links that you would like to appear on the top navigation bar here
navbar:
- title: dhs.gov
description: dhs.gov
url: https://www.dhs.gov/cyber

# Put the information about your site's GitHub repository if it is public
repo_url: https://github.com/dhs-ncats/body

# Build settings
markdown: kramdown

exclude:
- bin
- config.rb
- Gemfile
- Gemfile.lock
- gems
- Procfile
- Rakefile
- README.md
- script
- vendor

navigation:
- text: Home
url: ''
internal: true
coll: false
- text: Guide
url: guide
internal: true
coll: false
- text: Introduction
url: intro
internal: true
coll: false
- text: HTTPS
url: https
internal: true
coll: false
- text: Services Framework
url: services/
internal: true
coll: true
collname: services

#https://github.com/jekyll/jekyll/issues/2346
collections:
usecases:
label: "Use Cases"
permalink: usecases/:path/
output: true
services:
label: "Services"
permalink: services/:path/
output: true

include:
- _stylesheets
- _javascript



# Custom site configuration
lang: en
@@ -0,0 +1,6 @@
<div class="usa-alert usa-alert-error" role="alert">
<div class="usa-alert-body">
<h3 class="usa-alert-heading">{{include.heading}}</h3>
<p class="usa-alert-text">{{include.content}}</p>
</div>
</div>
@@ -0,0 +1,6 @@
<div class="usa-alert usa-alert-info">
<div class="usa-alert-body">
<h3 class="usa-alert-heading">{{include.heading}}</h3>
<p class="usa-alert-text">{{include.content}}</p>
</div>
</div>
@@ -0,0 +1,6 @@
<div class="usa-alert usa-alert-success">
<div class="usa-alert-body">
<h3 class="usa-alert-heading">{{include.heading}}</h3>
<p class="usa-alert-text">{{include.content}}</p>
</div>
</div>
@@ -0,0 +1,6 @@
<div class="usa-alert usa-alert-warning">
<div class="usa-alert-body">
<h3 class="usa-alert-heading">{{include.heading}}</h3>
<p class="usa-alert-text">{{include.content}}</p>
</div>
</div>
@@ -0,0 +1,25 @@
<!-- Digital Analytics Program roll-up, see https://analytics.usa.gov for data -->

<script language="javascript" id="_fed_an_ua_tag" src="https://dap.digitalgov.gov/Universal-Federated-Analytics-Min.js?agency=GSA"></script>
<!--
<script id="_fed_an_ua_tag" src="https://dap.digitalgov.gov/Universal-Federated-Analytics-Min.js?agency=GSA&subagency=OGP></script>
-->

<!-- Google Analytics -->
<!--
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', '{{ site.google_analytics_ua_need_to_addvarriable }}', 'gsa.gov');
// anonymize user IPs (chops off the last IP triplet)
ga('set', 'anonymizeIp', true);
// forces SSL even if the page were somehow loaded over http://
// ga('set', 'forceSSL', true); //
ga('send', 'pageview');
</script>
-->
@@ -0,0 +1,17 @@
<div class="usa-grid">
<div class="usa-width-one-fourth">
<p></p>
<a href="http://www.dhs.gov/cyber">
<img src="{{ site.baseurl }}/assets/img/logo-dhs.svg" alt="DHS">
</a>
<p></p>
</div>
<div class="usa-width-one-fourth">
<p>Feedback? Create an issue on the <a href="{{ site.repo_url }}">site repository</a></a>.</p>
<p>Want to suggest updates? Read our <a href="{{ site.repo_url }}blob/{{ site.branch }}/CONTRIBUTING.md">contribution guidelines</a>.</p>
</div>
<div class="usa-width-one-fourth last-child">
<p>As a work of the United States government, this project is in the public domain. Copyright is also waived internationally via a CC0 1.0 waiver. </p>
<p><a href="{{ site.repo_url }}blob/{{ site.branch }}/LICENSE.md">Read More.</a></p>
</div>
</div>
@@ -0,0 +1,56 @@
<!-- Basic Page Needs
================================================== -->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">

<!-- Mobile Specific Metas
================================================== -->
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<!-- Title and meta description
================================================== -->
{% if page.title %}
<title>{{ page.title }} | {{ site.title }}</title>
<meta property="og:title" content="{{ page.title | xml_escape }} | {{ site.name | xml_escape }}" />
{% else %}
<title>{{ site.title }}</title>
<meta property="og:title" content="{{ site.title | xml_escape }} | {{ site.name | xml_escape }}" />
{% endif %}

{% if page.description %}
<meta name="description" content="{{ page.description | xml_escape }}">
<meta property="og:description" content="{{ page.description | xml_escape }}" />
{% else %}
<meta name="description" content="{{ site.description | xml_escape }}">
<meta property="og:description" content="{{ site.description | xml_escape }}" />
{% endif %}

<link rel="canonical" href="{{ site.url }}{{ page.url }}" />


<!-- Favicons
================================================== -->
<!-- 128x128 -->
<link rel="shortcut icon" type="image/ico" href="{{ site.baseurl }}/assets/img/favicons/favicon.ico" />
<link rel="icon" type="image/png" href="{{ site.baseurl }}/assets/img/favicons/favicon.png" />

<!-- 192x192, as recommended for Android
http://updates.html5rocks.com/2014/11/Support-for-theme-color-in-Chrome-39-for-Android
-->
<link rel="icon" type="image/png" sizes="192x192" href="{{ site.baseurl }}/assets/img/favicons/favicon-192.png" />

<!-- 57x57 (precomposed) for iPhone 3GS, pre-2011 iPod Touch and older Android devices -->
<link rel="apple-touch-icon-precomposed" href="{{ site.baseurl }}/assets/img/favicons/favicon-57.png">
<!-- 72x72 (precomposed) for 1st generation iPad, iPad 2 and iPad mini -->
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="{{ site.baseurl }}/assets/img/favicons/favicon-72.png">
<!-- 114x114 (precomposed) for iPhone 4, 4S, 5 and post-2011 iPod Touch -->
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="{{ site.baseurl }}/assets/img/favicons/favicon-114.png">
<!-- 144x144 (precomposed) for iPad 3rd and 4th generation -->
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="{{ site.baseurl }}/assets/img/favicons/favicon-144.png">

<!-- CSS
================================================== -->
<link rel="stylesheet" href="{{ "/assets/css/styleguide.css" | prepend: site.baseurl }}">
<script src="https://use.fontawesome.com/31c6dd7025.js"></script>
@@ -0,0 +1,27 @@
<header class="site-header">

<div class="wrapper">

<a class="site-title" href="{{ site.baseurl }}/">{{ site.title }}</a>

<nav class="site-nav">
<a href="#" class="menu-icon">
<svg viewBox="0 0 18 15">
<path fill="#424242" d="M18,1.484c0,0.82-0.665,1.484-1.484,1.484H1.484C0.665,2.969,0,2.304,0,1.484l0,0C0,0.665,0.665,0,1.484,0 h15.031C17.335,0,18,0.665,18,1.484L18,1.484z"/>
<path fill="#424242" d="M18,7.516C18,8.335,17.335,9,16.516,9H1.484C0.665,9,0,8.335,0,7.516l0,0c0-0.82,0.665-1.484,1.484-1.484 h15.031C17.335,6.031,18,6.696,18,7.516L18,7.516z"/>
<path fill="#424242" d="M18,13.516C18,14.335,17.335,15,16.516,15H1.484C0.665,15,0,14.335,0,13.516l0,0 c0-0.82,0.665-1.484,1.484-1.484h15.031C17.335,12.031,18,12.696,18,13.516L18,13.516z"/>
</svg>
</a>

<div class="trigger">
{% for page in site.pages %}
{% if page.title %}
<a class="page-link" href="{{ page.url | prepend: site.baseurl }}">{{ page.title }}</a>
{% endif %}
{% endfor %}
</div>
</nav>

</div>

</header>
@@ -0,0 +1,38 @@
<a class="skipnav" href="#main-content">Skip to main content</a>

<header class="usa-site-header" role="banner">

<div class="usa-disclaimer">
<span class="usa-disclaimer-official">
<img class="usa-flag_icon" alt="US flag signifying that this is a United States Federal Government website" src="{{ site.baseurl }}/assets/img/us_flag_small.png">
An official website of the United States Government
</span>
<span class="usa-disclaimer-stage"></span>
</div>

<nav class="usa-site-navbar">
<a class="menu-btn" href="#">Menu</a>
<div class="logo" id="logo">
<h1>
<a href="{{ site.baseurl }}/" accesskey="1" title="Home" aria-label="Home">
{{site.title}}</a>
</h1>
</div>
<ul class="usa-button-list usa-unstyled-list">
<li>
<a class="usa-button usa-button-outline-inverse" href="{{ site.repo_url }}">
Download as a PDF
</a>
</li>
</ul>
</nav>
<nav class="usa-site-navbar-secondary">
<ul class="usa-unstyled-list">
{% for nav in site.navbar %}
<li><a href="{{ nav.url }}" title="{{ nav.title }}">{{ nav.title }}</a></li>
{% endfor %}
</ul>
</nav>
</header>

<div class="overlay"></div>
@@ -0,0 +1,6 @@
<script src="{{ site.baseurl }}/assets/js/jquery-1.11.2.min.js"></script>
<script src="{{ site.baseurl }}/assets/js/styleguide.js"></script>
<script src="{{ site.baseurl }}/assets/js/accordion.js"></script>
<script src="{{ site.baseurl }}/assets/js/jquery-ui.min.js"></script>
<script src="{{ site.baseurl }}/assets/js/respond.min.js"></script>
<script src="{{ site.baseurl }}/assets/js/jquery-migrate-1.2.1.min.js"></script>
@@ -0,0 +1,30 @@
{% assign current = page.url | downcase | split: '/' %}

<aside class="sidenav" id="menu-content">
<nav>
<ul class="usa-sidenav-list">
{% for link in site.navigation %}
<li class="group {% if page.title == link.text %}usa-current-section{% endif %}">
<a href="{% if link.internal == true %}{{ site.baseurl }}/{% endif %}{{ link.url }}" title="{{ link.text }}">{{ link.text }}</a>

{% if link.coll == true %}
<button class="usa-sidenav-expand_subnav"
aria-expanded="{% if page.collection == link.collname %}true{% else %}false{% endif %}"
aria-controls="nav-collapsible-{{ forloop.index }}">+</button>

{% assign collectionName = link.collname %}
<ul class="nav-children usa-current-section" id="nav-collapsible-{{ forloop.index }}" aria-hidden="{% if page.collection == link.collname %}false{% else %}true{% endif %}">

{% for child in site.[collectionName] %}
<li class="group {% if page.title == child.title %}usa-current{% endif %}">
<a href="{{ site.baseurl }}{{ child.url }}" title="{% if page.title == child.title %}Current Page {% else %}{{ child.title }}{% endif %}">{{ child.title }}</a>
</li>
{% endfor %}
</ul>
{% endif %}
</li>
{% endfor %}
</ul>
</nav>
<a href="{{site.repo_url}}/issues" class="btn btn-primary" target="_blank">Submit Issues Here</a>
</aside>

0 comments on commit 820125f

Please sign in to comment.
You can’t perform that action at this time.