Changeset - 10c306594b64
[Not reviewed]
Dennis Fink - 9 years ago 2015-10-21 10:33:25
dennis.fink@c3l.lu
Make received donation page better looking on small screen

I added margins to the btn class, so that buttons have some space around them.
Secondly the sub header and the form are now in their own col-md-12
2 files changed with 11 insertions and 4 deletions:
0 comments (0 inline, 0 general)
ennstatus/static/css/ennstatus.css
Show inline comments
 
@@ -166,3 +166,8 @@ a, a:hover, a:active, a:visited {
 
.checkbox label, .radio label {
 
    padding-left: 12px;
 
}
 

	
 
.btn {
 
    margin-top: 5px;
 
    margin-bottom: 5px;
 
}
ennstatus/templates/donate/received.html
Show inline comments
 
@@ -6,6 +6,8 @@
 
{% block content %}
 
  <div class="col-md-12">
 
    <h2>Received Donations</h2>
 
  </div>
 
  <div class="col-md-12">
 
    <div class="pull-left">
 
      {% if csv_file %}
 
        <h3>{{ '-'.join([year, month]) }}</h3>
 
@@ -18,15 +20,15 @@
 
        {{ form.hidden_tag() }}
 
        <div class="form-group">
 
          {{ form.year.label }}
 
          {{ form.year(_class="form-control") }}
 
          {{ form.year(class="form-control input-sm") }}
 
          {{ form.month.label }}
 
          {{ form.month(_class="form-control") }}
 
          {{ form.month(class="form-control input-sm") }}
 
          <input type="submit" class="btn btn-primary btn-sm" value="Submit">
 
        </div>
 
        <input type="submit" class="btn btn-primary btn-sm" value="Submit">
 
      </form> 
 
    </div>
 
    <div class="clearfix"></div>
 
  </div>
 
  <div class="clearfix"></div>
 
  <div class="col-md-12">
 
    {% if csv_file %}
 
      {{ macros.create_donations_table(csv_file) }}
0 comments (0 inline, 0 general)