Commit c224fe57 by Sarina Canelake

Add banners to the instructor dashboard

Notification banner to default dash to announce the change

Warning banner on legacy instruction dashboard to explain it has been deprecated

LMS-1296
parent ced09a6b
...@@ -121,9 +121,9 @@ ...@@ -121,9 +121,9 @@
} }
} }
} }
//Metrics tab //Metrics tab
.metrics-container { .metrics-container {
position: relative; position: relative;
width: 100%; width: 100%;
...@@ -170,6 +170,15 @@ ...@@ -170,6 +170,15 @@
border-radius: 5px; border-radius: 5px;
margin-top: 25px; margin-top: 25px;
} }
.wrapper-msg {
margin-bottom: ($baseline*1.5);
padding: ($baseline/2) $baseline;
.msg {
margin-bottom: 0;
}
}
} }
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<%inherit file="../main.html" /> <%inherit file="../main.html" />
<%namespace name='static' file='/static_content.html'/> <%namespace name='static' file='/static_content.html'/>
<%block name="pagetitle">${_("Instructor Dashboard")}</%block> <%block name="pagetitle">${_("Legacy Instructor Dashboard")}</%block>
<%block name="nav_skip">#instructor-dashboard-content</%block> <%block name="nav_skip">#instructor-dashboard-content</%block>
<%block name="headextra"> <%block name="headextra">
...@@ -139,7 +139,12 @@ function goto( mode) ...@@ -139,7 +139,12 @@ function goto( mode)
<h1>${_("Instructor Dashboard")}</h1> <h1>${_("Instructor Dashboard")}</h1>
# TODO put in a banner <div class="wrapper-msg urgency-low warning">
<div class="msg""
<p>${_("You are using the legacy instructor dashboard, which will be going away in the near future. Please use the Standard Dashboard. If it is missing functionality, please let us know.")}
<a href="${ beta_dashboard_url }">${_("Return to the Standard Dashboard")} <i class="icon-angle-right"></i></a></p>
</div>
</div>
<h2 class="navbar">[ <a href="#" onclick="goto('Grades');" class="${modeflag.get('Grades')}">Grades</a> | <h2 class="navbar">[ <a href="#" onclick="goto('Grades');" class="${modeflag.get('Grades')}">Grades</a> |
%if settings.FEATURES.get('ENABLE_PSYCHOMETRICS'): %if settings.FEATURES.get('ENABLE_PSYCHOMETRICS'):
...@@ -413,7 +418,7 @@ function goto( mode) ...@@ -413,7 +418,7 @@ function goto( mode)
%else: %else:
<p>${_("User requires forum administrator privileges to perform administration tasks. See instructor.")}</p> <p>${_("User requires forum administrator privileges to perform administration tasks. See instructor.")}</p>
%endif %endif
<br /> <br />
<h2>${_("Explanation of Roles:")}</h2> <h2>${_("Explanation of Roles:")}</h2>
<p>${_("Forum Moderators: can edit or delete any post, remove misuse flags, close and re-open threads, endorse " <p>${_("Forum Moderators: can edit or delete any post, remove misuse flags, close and re-open threads, endorse "
...@@ -698,7 +703,7 @@ function goto( mode) ...@@ -698,7 +703,7 @@ function goto( mode)
</script> </script>
<div id="metrics"></div> <div id="metrics"></div>
<h3 class="attention">${_("Loading the latest graphs for you; depending on your class size, this may take a few minutes.")}</h3> <h3 class="attention">${_("Loading the latest graphs for you; depending on your class size, this may take a few minutes.")}</h3>
%for i in range(0,len(metrics_results['section_display_name'])): %for i in range(0,len(metrics_results['section_display_name'])):
......
...@@ -66,6 +66,12 @@ ...@@ -66,6 +66,12 @@
<h1>${_("Instructor Dashboard")}</h1> <h1>${_("Instructor Dashboard")}</h1>
<hr /> <hr />
<div class="wrapper-msg urgency-low warning">
<div class="msg"
<p>${_("We've changed the look and feel of the Instructor Dashboard. During this transition time, you can still access the old Instructor Dashboard by clicking the 'Revert to Legacy Dashboard' button in the top right hand corner.")}</p>
</div>
</div>
## links which are tied to idash-sections below. ## links which are tied to idash-sections below.
## the links are activated and handled in instructor_dashboard.coffee ## the links are activated and handled in instructor_dashboard.coffee
## when the javascript loads, it clicks on the first section ## when the javascript loads, it clicks on the first section
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment