Skip to content

Commit

Permalink
Merge pull request #133 from betadots/issues-115-and-131
Browse files Browse the repository at this point in the history
Add logo and incorporate its colors #115 / #131
  • Loading branch information
rwaffen authored Jan 30, 2023
2 parents d4b751c + 1323ff4 commit 5735707
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 10 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# HDM - Hiera Data Manager

Copyright 2022 betadots GmbH
![Hiera Data Manager logo](/app/assets/images/logo_full.png)

Copyright 2023 betadots GmbH

This Rails application displays [Puppet](https://github.com/puppetlabs/puppet) Hiera data and offers a WebGUI to read/update/create that configuration.

Expand Down
Binary file added app/assets/images/logo_full.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 4 additions & 6 deletions app/assets/stylesheets/application.scss
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
$font-family-sans-serif: "Open Sans", "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !default;

$blue: #0c71c3;
$green: #6BBE6B;
$cyan: #49bcc3;
$yellow: #db9500;
$red: #af0c26;
$blue: #029a9b;
$cyan: #4dbcc1;
$dark: #1f2549;

$navbar-light-brand-color: $red;
$navbar-light-brand-color: $blue;

$breadcrumb-padding-x: 0;
$breadcrumb-font-size: .875em;
Expand Down
2 changes: 1 addition & 1 deletion app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<footer class="footer bg-light mt-auto py-4">
<div class="container text-center">
© <%= Date.today.year %>
<a href="https://betadots.de/" class="text-danger">
<a href="https://betadots.de/" class="text-dark">
<%= image_tag "betadots.png", alt: "betadots logo", width: "32", height: "32" %>
betadots GmbH
</a>
Expand Down
2 changes: 1 addition & 1 deletion app/views/page/index.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<h1>HDM (Hiera Data Manager)</h1>
<%= image_tag "logo_full.png", alt: "Hiera Data Manager logo", width: "50%" %>
<p>HDM is a webfrontend for visualizing and managing Hiera data.</p>
<% unless current_user %>
<%= render template: "sessions/new" %>
Expand Down
4 changes: 3 additions & 1 deletion app/views/shared/_top_navigation.html.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<div class="container">
<a class="navbar-brand font-weight-bold" href="/">HDM</a>
<a class="navbar-brand font-weight-bold" href="/">
<%= image_tag "logo_full.png", alt: "HDM", height: "48" %>
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
Expand Down

0 comments on commit 5735707

Please sign in to comment.