Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add top-navbar with useful links. #9

Merged
merged 4 commits into from
Jan 17, 2018
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions frontend/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
<title>Outrigger Dashboard</title>

<link rel="shortcut icon" href="favicon.ico">

<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/css/bootstrap.min.css" integrity="sha384-PsH8R72JQ3SOdhVi3uxftmaW6Vc51MKb0q5P2rRUpPvrszuE4W1povHYgTpBfshb" crossorigin="anonymous">

<!-- Fonts -->
<link href="https://fonts.googleapis.com/css?family=Oswald:200,300,400,500,700|Source+Sans+Pro:200,300,400,600" rel="stylesheet">
Expand All @@ -28,4 +27,8 @@
<div id="app"></div>
<script src="dist/build.js"></script>
</body>

<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.3/umd/popper.min.js" integrity="sha384-vFJXuSJphROIrBnz7yo7oB41mKfc8JzQZiCq4NCceLEaO4IHwicKwpJf9c9IpFgh" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/js/bootstrap.min.js" integrity="sha384-alpBpkh1PFOepccYVYDB4do5UnbKysX5WZXm3XxPqe5iKTfUKjNkCk9SaVuEZflJ" crossorigin="anonymous"></script>
</html>
36 changes: 29 additions & 7 deletions frontend/src/components/App.vue
Original file line number Diff line number Diff line change
@@ -1,21 +1,43 @@
<template>
<div id="app" class="container">
<div class="jumbotron">

<nav class="navbar navbar-light bg-light navbar-expand-lg fixed-top">
<a class="navbar-brand" href="#"><img src="../assets/logo.png" height="40" width="40" alt="Outrigger Logo" /></a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavDropdown" aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNavDropdown">
<ul class="navbar-nav mr-auto">
<li class="nav-item"><a class="nav-link" href="http://outrigger.sh">What is Outrigger?</a></li>
<li class="nav-item"><a class="nav-link" href="http://docs.outrigger.sh">Documentation</a></li>
<li class="nav-item"><a class="nav-link" href="http://slack.outrigger.sh/">Join us on Slack</a></li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="supportDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
File an Issue
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A++++ would file an issue again.

</a>
<div class="dropdown-menu" aria-labelledby="supportDropdown">
<a class="dropdown-item" href="https://github.com/phase2/outrigger-dashboard/issues">Dashboard issues</a>
<a class="dropdown-item" href="https://github.com/phase2/outrigger-docs/issues">Documentation issues</a>
<a class="dropdown-item" href="https://github.com/phase2/rig/issues">Outrigger CLI issues</a>
</div>
</li>
</ul>
</div>
</nav>

<header class="jumbotron">
<div class="project-title__wrapper">
<div class="media-left media-middle">
<img class="logo-image" src="../assets/logo.png">
</div>
<div class="media-body">
<h1 class="project-name">Outrigger Dashboard</h1>
</div>
</div>
</div>
<div class="container">
</header>
<main class="container">
<div class="row">
<dns-records :entries="dnsRecords"></dns-records>
</div>
<project-list :projects="projects"></project-list>
</div>
</main>
</div>
</template>

Expand Down