Skip to content
Closed
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
3 changes: 3 additions & 0 deletions app/config/contributors.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,7 @@ contributors:
- name: "Oluwagbayi Makinde"
username: "makindeo"
year: 2024
- name: "Bhushan Sah "
username: "sahb"
year: 2029

2 changes: 1 addition & 1 deletion app/models/positionHistory.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ class PositionHistory(baseModel):
Department = ForeignKeyField(Department)

class Meta:
primary_key = CompositeKey('positioncode', 'revisiondate', 'status')
primary_key = CompositeKey('positioncode', 'revisiondate', 'status')
25 changes: 25 additions & 0 deletions app/static/css/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,31 @@ a {
z-index:999;
}

.site-footer {
position: fixed;
left: 280px;
right: 0;
bottom: 0;

background-color: #e9ebec;
color: #1e2433;

padding: 8px 15px;
line-height: 1.4;
box-sizing: border-box;
z-index: 101;

}

.sidebar-push {
padding-bottom: 85px;
}

@media (max-width: 991px) {
.site-footer {
left: 0;
width: 100%;
}
.card {
position: relative;
display: -webkit-box;
Expand Down
1 change: 0 additions & 1 deletion app/static/css/contributors.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
color: #ffffff;
padding: 7px 30px;
margin-top: 100px;
margin-right: 250px;
}
.container {
top: -75px;
Expand Down
20 changes: 15 additions & 5 deletions app/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,20 @@
<div class="row bottom-buffer"></div>

{% block footer %}
<div class="footer">
<span><strong>Issues? Contact: </strong><a href="mailto:support@bereacollege.onmicrosoft.com" class="footerlink">Systems Support </a>
<strong>Created & Designed by the </strong><a href="/contributors" id = "contribLink" class="footerlink">Student Software Development Team</a></span>
</div>
{% endblock %}
<footer class="site-footer text-center d-print-none">
<div>
<strong>Issues? Contact: </strong>
<a href="mailto:support@bereacollege.onmicrosoft.com" class="footerlink">
Systems Support
</a>
</div>

<div>
<strong>Created &amp; Designed by the </strong>
<a href="/contributors" id="contribLink" class="footerlink">
Student Software Development Team
</a>
</div>
</footer>
{% endblock %}
{% endblock %}
6 changes: 3 additions & 3 deletions app/templates/main/contributors.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ <h2> Contributors </h2>
{% endfor %}
</table>

<div class= "btn-holder pull-left col-lg-6">
<button type='button' class='btn btn-lg btn-newcolor' id='backButton' onclick ="history.back()">Back</button>
</div>
<div class="row">
<div class="col-xs-12 text-center">
<button type="button" class="btn btn-lg btn-newcolor" id="backButton" onclick="history.back()"> Back </button> </div> </div>

</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion database/demo_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -869,4 +869,4 @@
},

]
PositionHistory.insert_many(positionhistory).on_conflict_replace().execute()
PositionHistory.insert_many(positionhistory).on_conflict_replace().execute()