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

Added footer with licensing information #194

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

lucabtz
Copy link

@lucabtz lucabtz commented Sep 22, 2021

Added footer with licensing information solving #175

Copy link
Member

@jelly jelly left a comment

Choose a reason for hiding this comment

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

Please combine the base.html and style.css changes into one commit and create a new commit for todo.html.

@@ -47,5 +47,29 @@
{%- endwith -%}
{%- block content -%}{%- endblock %}
</div>
<div id="page_footer">
<p>
Copyright © 2002-2021
Copy link
Member

Choose a reason for hiding this comment

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

Ideally, we don't have to update this every year manually in archweb we have something like:

templates/base.html:            <p>Copyright © 2002-{% now "Y" %} <a href="mailto:[email protected]"

So a jinja template variable should contain the current year.

@@ -47,5 +47,29 @@
{%- endwith -%}
{%- block content -%}{%- endblock %}
</div>
<div id="page_footer">
<p>
Copyright © 2002-2021
Copy link
Member

Choose a reason for hiding this comment

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

This line and the line below contains an extraneous space at the end of the line

Arch Security Tracker is licensed under the terms of the MIT License,
<a href="https://github.com/archlinux/arch-security-tracker" target="_blank" title="Arch Security Tracker source code">source code</a>.
</p>
</div>
Copy link
Member

Choose a reason for hiding this comment

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

everything should be tab indented here, see our .editorconfig file.

@@ -7,7 +7,7 @@
<p class="icon">{{ smiley }}</p>
<pre class="text">nothing to do
Yippie!</pre>
<div>
</div>
Copy link
Member

Choose a reason for hiding this comment

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

ideally this would be a separate commit in this PR

font-size: 0.9em;
margin: 0 auto;
font-size: 0.75em;
margin: 10px auto 20px auto;
Copy link
Member

Choose a reason for hiding this comment

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

Please use em / rem for marging.

@lucabtz
Copy link
Author

lucabtz commented Oct 19, 2021

Sorry for my late reply will look into it asap

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.

2 participants