Skip to content
Open
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
5 changes: 5 additions & 0 deletions dnsvizwww/templates/base_site.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ <h2 class="site-subtitle"><a href="/"><img src="{% static "images/logo-dnsviz.pn
<ul>
<li><a href="https://www.sandia.gov/"><img src="{% static "images/logo-sandia.png" %}" alt="Sandia National Laboratories" /></a></li>
<li><a href="https://www.verisign.com/"><img src="{% static "images/logo-verisign.png" %}" alt="Verisign" /></a></li>
</ul>
</div>
<div id="footer-buttons">
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not an HTML/CSS expert, but I think element IDs are supposed to be unique throughout the doc.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, you're right about that. I was a bit on autopilot when I did that and was reading that as class, not id.

You know the CSS setup for the site better than I do.. if you want to suggest the correct way to set up those elements to get the right effect I'm happy to take your advice.

Copy link
Contributor

Choose a reason for hiding this comment

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

As a non-Web designer, I'm actually not sure the best way to fix this... 😬 I know that I'm the one that brought it up. Maybe change the CSS, so footer buttons is a class instead of an id?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'll have a closer look at the CSS later and see what makes sense.

<p>This site currently hosted and operated by:</p>
<ul>
<li><a href="https://www.dns-oarc.net/"><img src="{% static "images/oarc_banner_050_white.png" %}" alt="DNS-OARC" /></a></li>
</ul>
</div>
Expand Down
63 changes: 36 additions & 27 deletions dnsvizwww/templates/contact.html
Original file line number Diff line number Diff line change
@@ -1,31 +1,40 @@
{% extends "base_site.html" %}

{% block body_tag %}
<body id="dnsviz-home">
{% endblock %}
<body id="dnsviz-home">
{% endblock %}

{% block maincontent %}
<h3>Contact</h3>
<p>DNSViz was developed by <a href="http://casey.byu.edu/">Casey Deccio</a>, originally at <a href="http://www.sandia.gov/">Sandia National Laboratories</a>. <a href="http://www.verisignlabs.com/">Verisign Labs</a> continues to sponsor ongoing development of DNSViz.</p>
<p>Please use the form below to contact us with your comments and questions. We appreciate your feedback!</p>
<form action="" method="post">
{% csrf_token %}
{% for field in form %}
<p>
{% if field.errors %}
<ul class="formfield-error-list">
{% for err in field.errors %}
<li>{{ err }}
{% endfor %}
</ul>
{% endif %}
{% if field.label %}{{ field.label_tag }}:{% endif %}
{{ field }}
{% if field.help_text %}
<br />{{ field.help_text }}
{% endif %}
</p>
{% endfor %}
<p><input type="submit" class="button" value="Submit" /></p>
</form>
{% endblock %}
{% block maincontent %}
<h3>Contact</h3>
<p>
DNSViz was developed by <a href="http://casey.byu.edu/">Casey Deccio</a>,
originally at
<a href="http://www.sandia.gov/">Sandia National Laboratories</a>.
This site is currently hosted and operated by
<a href="https://www.dns-oarc.net/">DNS-OARC</a>.
</p>
<p>
Please use the form below to contact us with your comments and questions.
We appreciate your feedback!
</p>
<form action="" method="post">
{% csrf_token %}
{% for field in form %}
<p>
{% if field.errors %}
<ul class="formfield-error-list">
{% for err in field.errors %}
<li>{{ err }}
{% endfor %}
</ul>
{% endif %}
{% if field.label %}{{ field.label_tag }}:{% endif %}
{{ field }}
{% if field.help_text %}
<br />{{ field.help_text }}
{% endif %}
</p>
{% endfor %}
<p><input type="submit" class="button" value="Submit" /></p>
</form>
{% endblock %}