Skip to content

Commit

Permalink
Improved layout
Browse files Browse the repository at this point in the history
  • Loading branch information
Iago committed Feb 13, 2016
1 parent 244069a commit 1e616b2
Show file tree
Hide file tree
Showing 11 changed files with 14 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@


{% block content %}
<div class="container mtb">
<div class="container mb">
<div class="row">
<div class="col-lg-10 col-lg-offset-1 centered">
<img class="center-block img-responsive" src="{{ programme.photo.url }}" alt="...">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@


{% block content %}
<div class="container mt">
<div class="container mb">
<div class="row">
<div class="col-lg-10 col-lg-offset-1 centered">
<img class="center-block img-responsive" src="{{ programme.photo.url }}" alt="...">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

{% block content %}
{% for programme in programme_list %}
<div class="container mtb">
<div class="container mb">
<div class="row">
<div class="col-lg-6">
<a href="{% url 'programmes:detail' programme.slug %}">
Expand Down
14 changes: 8 additions & 6 deletions radio/apps/radio/static/radio/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,13 @@ a:focus {
height: 368px;
}

.himg {
padding-bottom: 10px;
}

.himg a img{
max-height: 400px;
}


/* ################################################################
Expand Down Expand Up @@ -276,16 +283,11 @@ a:focus {

/* Portfolio Wrap */
#portfoliowrap {
padding-top: 60px;
margin-bottom: 60px;
display: block;
text-align: center
}

#portfoliowrap h3 {
margin-bottom: 0px;
}

.portfolio {
padding:0 !important;
margin:0 !important;
Expand Down Expand Up @@ -371,7 +373,7 @@ a:focus {
/* Footer */
#footerwrap {
padding-top: 60px;
padding-bottom: 60px;
padding-bottom: 30px;
background: #384452;
}

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified radio/apps/radio/static/radio/images/default-userprofile-avatar.jpg
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion radio/apps/radio/templates/radio/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ <h5><strong>{{start_time|date:"G:i" }} - {{end_time|date:"G:i" }}</strong></h5>
</div>
</div>
<div class="col-lg-8 col-lg-offset-2 himg">
<a href="{{ schedule_now.programme.get_absolute_url }}"><img src="{{ schedule_now.programme.photo.url }}" class="img-responsive"></a>
<a href="{{ schedule_now.programme.get_absolute_url }}"><img src="{{ schedule_now.programme.photo.url }}" class="img-responsive img-thumbnail"></a>
</div>
{% else %}
<div class="col-lg-8 col-lg-offset-2">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@


{% block content %}
<div class="container mtb">
<div class="container mb">
<div class="row">

<div class="col-xs-12" id='calendar'></div>
Expand Down
2 changes: 1 addition & 1 deletion radio/apps/users/templates/users/userprofile_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@


{% block content %}
<div class="container mt">
<div class="container">
<div class="row">
<div class="col-lg-10 col-lg-offset-1 centered">
<img class="center-block img-responsive" src="{{ userprofile.avatar.url }}" alt="...">
Expand Down
Binary file modified radio/media/defaults/default-programme-photo.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified radio/media/defaults/default-userprofile-avatar.jpg
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1e616b2

Please sign in to comment.