Skip to content

Commit

Permalink
map class
Browse files Browse the repository at this point in the history
  • Loading branch information
jordij committed May 18, 2016
1 parent 6a7bb59 commit a09a0be
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

urlpatterns = [
url(r'^', include(router.urls)),
url(r'^api-auth/', include('rest_framework.urls', namespace='rest_framework'))
# url(r'^api-auth/', include('rest_framework.urls', namespace='rest_framework'))
]

if settings.DEBUG:
Expand Down
9 changes: 9 additions & 0 deletions core/frontend/sass/modules/_map.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/*============================================================================
Devs Google Map
==============================================================================*/

.nav {
height: rem(380);
margin-top: 1.5rem;
margin-bottom: 1.5rem;
}
2 changes: 2 additions & 0 deletions core/frontend/sass/screen.scss
Original file line number Diff line number Diff line change
Expand Up @@ -215,13 +215,15 @@ $outer-margin-small: 5%;
@import 'modules/spacing';
@import 'modules/cards';
@import 'modules/home';
@import 'modules/map';

@import 'modules/forms';
@import 'modules/search';

@import 'modules/grid';



// ----------------------------------------------------------------------------
// Misc
// ----------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion core/templates/core/company_index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ <h1>{{ self.title }}</h1>
{% if self.show_map and pages.number == 1 %}
</div> <!-- Close main div -->

<div id="map" style="height:380px;width:100%;margin-top:15px;margin-bottom:15px;"></div>
<div id="map" class="map content-width--full"></div>

<div class="site-content content-width"><!-- Reopen main div -->
{% endif %}
Expand Down

0 comments on commit a09a0be

Please sign in to comment.