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

Fix #587 - Move buttons to top blue header. #589

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
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
15 changes: 0 additions & 15 deletions docs/site/components/docs/docs.html
Original file line number Diff line number Diff line change
@@ -1,20 +1,5 @@
<script id="docs-header.html" type="text/ng-template">
<header header title="{{pageTitle}}">
<div class="row row--right">
<div class="col margin-vertical">
<a href="https://github.com/GoogleCloudPlatform/gcloud-node/issues/new"
class="v-btn">
<img src="site/img/icon-link-github.svg" />
Report an Issue
</a>
</div>
<div class="col margin-vertical">
<a href="#/docs/history" ng-show="showReference"
class="v-btn">
<img src="site/img/icon-arrow-bullet.svg" />
Version History (<i>{{version}}</i>)
</a>
</div>
<div>
<div ng-if="lastBuiltDate" class="build-date">Docs last built {{lastBuiltDate}}.</div>
</div>
Expand Down
18 changes: 18 additions & 0 deletions docs/site/components/subpage/subpage.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,25 @@ <h1 class="logo">
<span class="gcloud">gcloud</span>
</a>
</h1>

<div language-switcher></div>

<div class="page-header-buttons">
<div class="col margin-vertical">
<a href="https://github.com/GoogleCloudPlatform/gcloud-node/issues/new"
class="v-btn">
<img src="site/img/icon-link-github.svg" />
Report an Issue
</a>
</div>
<div class="col margin-vertical">
<a href="#/docs/history" ng-show="showReference"
class="v-btn">
<img src="site/img/icon-arrow-bullet.svg" />
Version History (<i>{{version}}</i>)
</a>
</div>
</div>
</header>

<header ng-if="headerTemplateUrl" ng-include="headerTemplateUrl"></header>
Expand Down
7 changes: 7 additions & 0 deletions docs/site/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,12 @@ ul {
padding: 0;
}

.page-header-buttons {
position: fixed;
right: 20px;
top: 10px;
}

/*
Logo
*/
Expand Down Expand Up @@ -835,6 +841,7 @@ ul {
}

.build-date {
float: right;
font-style: italic;
font-size: 0.8em;
}
Expand Down