Merge pull request #82 from dod-ccpo/styleguide-link

DEV links
This commit is contained in:
andrewdds
2018-07-20 14:51:16 -04:00
committed by GitHub
4 changed files with 13 additions and 0 deletions

View File

@@ -1,5 +1,9 @@
<div class="global-navigation sidenav global-navigation__context--{{context}}">
<ul>
{% if dev() %}
{% module SidenavItem("Styleguide", href="/styleguide", icon="visible", active=matchesPath('/styleguide')) %}
{% end %}
{% module SidenavItem("Requests", href="/requests", icon="document", active=matchesPath('/requests')) %}
{% module SidenavItem("Workspaces", href="/workspaces", icon="cloud", active=matchesPath('/workspaces')) %}
</ul>

View File

@@ -19,6 +19,9 @@
<a class="usa-button" href='{{ config['default'].get('cac_url','https://cac.atat.codes') }}'><span>Sign In with CAC</span></a>
<button class="usa-button" disabled>Sign In via MFA</button>
{% if dev() %}
<a class="usa-button usa-button-secondary" href='/login-dev'><span>DEV Login</span></a>
{% end %}
</main>