Commit 34746013 by Sarina Canelake

Add CSS rules for legacy dash deprecation warnings

parent e3179c37
...@@ -2,6 +2,11 @@ ...@@ -2,6 +2,11 @@
display: table; display: table;
position: relative; position: relative;
// deprecated content
.deprecated {
font-style: italic;
}
.beta-button-wrapper { .beta-button-wrapper {
position: absolute; position: absolute;
top: 2em; top: 2em;
......
...@@ -201,13 +201,17 @@ function goto( mode) ...@@ -201,13 +201,17 @@ function goto( mode)
</div> </div>
% endif % endif
<p> <p class="deprecated">
${_("To view the Gradebook (small courses only), please visit the 'Student Admin' section of the instructor dashboard.")} ${_("To view the Gradebook (small courses only), please visit the 'Student Admin' section of the instructor dashboard.")}
</p> </p>
<p> <p>
<input type="submit" name="action" value="Dump list of enrolled students" class="${'is-disabled' if disable_buttons else ''}"> <input type="submit" name="action" value="Dump list of enrolled students" class="${'is-disabled' if disable_buttons else ''}">
</p> </p>
<p class="deprecated">
${_("To perform grade downloads, please visit the 'Data Download' section of the instructor dashboard.")}
</p>
<p class="is-deprecated"> <p class="is-deprecated">
${_("To download student grades, please visit the 'Data Download' section of the instructor dashboard.")} ${_("To download student grades, please visit the 'Data Download' section of the instructor dashboard.")}
</p> </p>
...@@ -263,13 +267,13 @@ function goto( mode) ...@@ -263,13 +267,13 @@ function goto( mode)
%if settings.FEATURES.get('ENABLE_INSTRUCTOR_BACKGROUND_TASKS'): %if settings.FEATURES.get('ENABLE_INSTRUCTOR_BACKGROUND_TASKS'):
<H2>${_("Course-specific grade adjustment")}</h2> <H2>${_("Course-specific grade adjustment")}</h2>
<p>${_("To perform these actions, please visit the 'Student Admin' section of the instructor dashboard.")}</p> <p class="deprecated">${_("To perform these actions, please visit the 'Student Admin' section of the instructor dashboard.")}</p>
%endif %endif
<h2>${_("Student-specific grade inspection and adjustment")}</h2> <h2>${_("Student-specific grade inspection and adjustment")}</h2>
<p>${_("To perform these actions, please visit the 'Student Admin' section of the instructor dashboard.")}</p> <p class="deprecated">${_("To perform these actions, please visit the 'Student Admin' section of the instructor dashboard.")}</p>
%endif %endif
......
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