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

fixed alignment issues on certain pages #57

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 8 additions & 0 deletions distro/templates/distribution/hours_create.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{% extends 'base.html' %}
{% load staticfiles %}
{% load url from future %}
{% load crispy_forms_tags %}
{% block title %}Volunteers
{% endblock title %}
Expand Down Expand Up @@ -55,6 +57,8 @@ <h3 style="padding-top: 0px; margin-top: 0px;">All their work, easy to see</h3>
<input type="submit" name="filter" class="glean-button green-button no-margin" value="View Edit">
<!--input type="submit" name="download" class="glean-button yellow-button no-margin" value="Download"-->
</form>
<script src="{% static '/static/js/footer-fix.js' %}">
</script>
{% endblock body %}

{% block style %}
Expand Down Expand Up @@ -116,4 +120,8 @@ <h3 style="padding-top: 0px; margin-top: 0px;">All their work, easy to see</h3>
height: 140px !important;
}
</style>
<style>
#footer-overall {
}
</style>
{% endblock style %}
7 changes: 7 additions & 0 deletions static/js/footer-fix.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
$(document).ready(function(){
position = $("#wrapper").offset();
top = position.top
bottom = position.top + $("#wrapper").height()
bottom = bottom - 100
$("#footer-overall").css({"top": bottom });
});
9 changes: 4 additions & 5 deletions userprofile/templates/userprofile/userLists.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{% extends 'base.html' %}
{% load url from future %}
{% load staticfiles %}
{% load url from future %}
{% block title %}
Volunteer Index
{% endblock title %}
Expand Down Expand Up @@ -53,11 +55,8 @@ <h3>Our Volunteer Rolls</h3>
<span>No users :(</span>
{% endif %}
</div>
<style>
#footer-overall {
top: 1300px;
}
</style>
<script src="{% static '/static/js/footer-fix.js' %}">
</script>
{% include "about_box.html" %}
{% include "partners.html" %}
{% endblock body %}