Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-analytics-dashboard
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-analytics-dashboard
Commits
0da1e1e4
Commit
0da1e1e4
authored
Sep 08, 2014
by
Clinton Blackburn
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #85 from edx/navbar-update
Navbar Updates
parents
9f99cd3b
2acd8c5a
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
3 deletions
+10
-3
analytics_dashboard/static/sass/_base.scss
+5
-2
analytics_dashboard/templates/base.html
+2
-0
analytics_dashboard/templates/header.html
+1
-1
analytics_dashboard/templates/lens-navigation.html
+2
-0
No files found.
analytics_dashboard/static/sass/_base.scss
View file @
0da1e1e4
...
...
@@ -55,6 +55,11 @@ hr.has-emphasis {
// nav + header
// --------------------
.navbar
{
margin-bottom
:
0
;
// Get rid of Bootstrap's default margin. Many of our pages have a secondary navbar
// that needs to sit right below the main navbar.
}
.navbar-brand
{
padding
:
25px
50px
;
// needed for edX logo to render properly
...
...
@@ -328,8 +333,6 @@ hr.has-emphasis {
// view: dashboard
// --------------------
.view-dashboard
{
padding-top
:
$navbar-height
;
// move down content because we have a fixed navbar
.main
{
padding
:
(
$padding-large-vertical
*
2
)
(
$padding-large-horizontal
*
3
);
}
...
...
analytics_dashboard/templates/base.html
View file @
0da1e1e4
...
...
@@ -72,9 +72,11 @@
<script
type=
"text/javascript"
src=
"{% url 'django.views.i18n.javascript_catalog' %}"
></script>
{# Initial page data passed from view to JS initializer #}
{% if page_data %}
<script
type=
"text/javascript"
>
var
initModelData
=
{{
page_data
|
safe
}};
</script>
{% endif %}
{% compress js %}
<script
src=
"{% static 'js/common.js' %}"
></script>
...
...
analytics_dashboard/templates/header.html
View file @
0da1e1e4
...
...
@@ -4,7 +4,7 @@
Partial: App-wide header element
{% endcomment %}
<nav
class=
"navbar navbar-default
navbar-fixed-top
"
role=
"navigation"
id=
"nav"
>
<nav
class=
"navbar navbar-default"
role=
"navigation"
id=
"nav"
>
<div
class=
"container"
>
<div
class=
"navbar-header"
>
<button
type=
"button"
class=
"navbar-toggle"
data-toggle=
"collapse"
data-target=
"#main-nav"
>
...
...
analytics_dashboard/templates/lens-navigation.html
View file @
0da1e1e4
...
...
@@ -2,6 +2,7 @@
Partial for displaying the lens navigation and the sections within the lenses.
{% endcomment %}
{% if primary_nav_items %}
<nav
class=
"navbar navbar-default lens-nav"
role=
"navigation"
>
<div
class=
"container "
>
<ul
class=
"nav navbar-nav"
>
...
...
@@ -34,3 +35,4 @@ Partial for displaying the lens navigation and the sections within the lenses.
</ul>
</div>
</nav>
{% endif %}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment