Skip to content
This repository has been archived by the owner on Apr 4, 2024. It is now read-only.

Enable custom dashboard header & footer #387

Merged
merged 3 commits into from
Mar 29, 2018

Conversation

couchand
Copy link
Contributor

These changes allow a user to set DASHBOARD_HEADER_HTML and DASHBOARD_FOOTER_HTML to customize the dashboard.

Fixes #376 #377

One question I had was about the proper indentation for the default values. As it is they're just verbatim moved from the template file, but I could see reformatting them.

(My first Elixir change ever! Figured this would be a good way to get started contributing here, before diving into some of the more involved issues I've got my eye on.)

Allows the user to set DASHBOARD_HEADER_HTML to customize the
navigation bar of the dashboard pages.

Fixes bors-ng#377
Allows the user to set DASHBOARD_FOOTER_HTML to customize the
informational message at the bottom of the dashboard pages.

Fixes bors-ng#376
@couchand
Copy link
Contributor Author

Looks like the failure is a line length issue on the default header markup. I can't see a good answer there, how would you suggest formatting it @notriddle?

This allows long URLs and stuff to be in there.
@notriddle
Copy link
Member

I've just gone ahead and turned the style checker off in the config files. That might not be the greatest thing ever, but I'm more concerned about coding style in the code itself anyway.

Copy link
Member

@notriddle notriddle left a comment

Choose a reason for hiding this comment

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

bors r+

bors bot added a commit that referenced this pull request Mar 29, 2018
387: Enable custom dashboard header & footer r=notriddle a=couchand

These changes allow a user to set `DASHBOARD_HEADER_HTML` and `DASHBOARD_FOOTER_HTML` to customize the dashboard.

Fixes #376 #377 

One question I had was about the proper indentation for the default values.  As it is they're just verbatim moved from the template file, but I could see reformatting them.

(My first Elixir change ever!  Figured this would be a good way to get started contributing here, before diving into some of the more involved issues I've got my eye on.)
@bors
Copy link
Contributor

bors bot commented Mar 29, 2018

Build succeeded

@bors bors bot merged commit b85d004 into bors-ng:master Mar 29, 2018
notriddle added a commit to bors-ng/bors-ng.github.io that referenced this pull request Mar 29, 2018
Add @couchand as a first-time contributor
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants