Skip to content
This repository has been archived by the owner on Apr 7, 2022. It is now read-only.

Commit

Permalink
style some buttons, update Form -> FlaskForm
Browse files Browse the repository at this point in the history
  • Loading branch information
samwachspress committed Jun 16, 2021
1 parent 26bdf4a commit 0a34fc2
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion base/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ class heritability_form(Form):
#
# Variant Browser Forms
#
class vbrowser_form(Form):
class vbrowser_form(FlaskForm):
pass


Expand Down
7 changes: 6 additions & 1 deletion base/static/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -1008,4 +1008,9 @@ article {
box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
width: 100%;
border: 1px solid rgba(0,0,0,.2);
}
}

.list-group-nu .list-group-item.active, .list-group-item:focus, .list-group-item:hover {
background-color: #401F68 !important;
border: none;
}
2 changes: 1 addition & 1 deletion base/templates/help_item.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{% block content %}
<div class="row">
<div class = 'col-md-3'>
<ul class="list-group">
<ul class="list-group list-group-nu">
{% for f in files %}
<a class="list-group-item {% if f == filename %}active{% endif %}" href="{{ url_for('primary.help_item', filename = f) }}">
<strong>{{ f.replace("-", " ") }}</strong>
Expand Down
2 changes: 1 addition & 1 deletion base/templates/primary/outreach.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@

<div class="col-md-4">
<br>
<a class="btn btn-primary btn-block" href="{{ url_for("strains.strains_submission_page") }}" role="button">Submit Strains</a>
<a class="btn btn-nu btn-block" href="{{ url_for("strains.strains_submission_page") }}" role="button">Submit Strains</a>
</p>
<div class="thumbnail img-responsive">
<img src="/static/img/outreach/HappyPicking.jpg" />
Expand Down

0 comments on commit 0a34fc2

Please sign in to comment.