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 demo and development headers without breaking html. #35

Merged
merged 5 commits into from
Feb 16, 2020
Merged

Add demo and development headers without breaking html. #35

merged 5 commits into from
Feb 16, 2020

Conversation

greboid
Copy link
Contributor

@greboid greboid commented Feb 16, 2020

This is however a horrible, horrible hack and I do pretty much hate
it, but it does what you wanted and meets your requirements.

This is however a horrible, horrible hack and I do pretty much hate
it, but it does what you wanted and meets your requirements.
<div class="h2" style="background-color: purple; padding: 2px 2px 2px 16.666667%; color: white; text-align: center;">
Demo
</div>
<script>
Copy link
Contributor

@csmith csmith Feb 16, 2020

Choose a reason for hiding this comment

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

The <div id="outer"> comes in the include at the bottom of this file, so don't think this'll work?

$('#outer').prepend($('<div class="row center"><h2 style="background-color: red; padding: 2px 2px 2px 25%; color: white; text-align: center; width: 100%">Development</h2></div>'));
</script>

{% include "@default/__footage.html" %}
Copy link
Contributor

Choose a reason for hiding this comment

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

footage?

@csmith
Copy link
Contributor

csmith commented Feb 16, 2020

image

@tsumaru720 tsumaru720 merged commit 97cfc81 into tsumaru720:master Feb 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants