Commit a5913a48 by Brian Talbot Committed by Sarina Canelake

LMS: adding in basic is-deprecated visual styling

parent 919e411f
...@@ -315,6 +315,11 @@ mark { ...@@ -315,6 +315,11 @@ mark {
display: none; display: none;
} }
// UI - is deprecated
.is-deprecated {
@extend %ui-deprecated;
}
// UI - semantically hide text // UI - semantically hide text
.sr { .sr {
@extend %text-sr; @extend %text-sr;
......
...@@ -113,3 +113,10 @@ ...@@ -113,3 +113,10 @@
padding: 0; padding: 0;
} }
} }
%ui-deprecated {
@extend %t-weight4;
background: tint($warning-color, 85%);
padding: ($baseline/5) ($baseline/2);
color: shade($warning-color, 45%);
}
...@@ -2,11 +2,6 @@ ...@@ -2,11 +2,6 @@
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,7 +201,7 @@ function goto( mode) ...@@ -201,7 +201,7 @@ function goto( mode)
</div> </div>
% endif % endif
<p class="deprecated"> <p class="is-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>
...@@ -225,7 +225,7 @@ function goto( mode) ...@@ -225,7 +225,7 @@ function goto( mode)
%if not settings.FEATURES.get('ENABLE_ASYNC_ANSWER_DISTRIBUTION'): %if not settings.FEATURES.get('ENABLE_ASYNC_ANSWER_DISTRIBUTION'):
<input type="submit" name="action" value="Download CSV of answer distributions" class="${'is-disabled' if disable_buttons else ''}"> <input type="submit" name="action" value="Download CSV of answer distributions" class="${'is-disabled' if disable_buttons else ''}">
%endif %endif
<p class="deprecated"> <p class="is-deprecated">
${_("To view the graded assignments configuration, please visit the 'Data Download' section of the instructor dashboard.")} ${_("To view the graded assignments configuration, please visit the 'Data Download' section of the instructor dashboard.")}
</p> </p>
</p> </p>
...@@ -267,13 +267,13 @@ function goto( mode) ...@@ -267,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 class="deprecated">${_("To perform these actions, please visit the 'Student Admin' section of the instructor dashboard.")}</p> <p class="is-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 class="deprecated">${_("To perform these actions, please visit the 'Student Admin' section of the instructor dashboard.")}</p> <p class="is-deprecated">${_("To perform these actions, please visit the 'Student Admin' section of the instructor dashboard.")}</p>
%endif %endif
...@@ -302,11 +302,11 @@ function goto( mode) ...@@ -302,11 +302,11 @@ function goto( mode)
%if modeflag.get('Admin'): %if modeflag.get('Admin'):
%if instructor_access: %if instructor_access:
<p class="deprecated">${_("To add or remove course staff, please visit the 'Membership' section of the instructor dashboard.")}</p> <p class="is-deprecated">${_("To add or remove course staff, please visit the 'Membership' section of the instructor dashboard.")}</p>
%endif %endif
%if admin_access: %if admin_access:
<p class="deprecated">${_("To add or remove course instructors, please visit the 'Membership' section of the instructor dashboard.")}</p> <p class="is-deprecated">${_("To add or remove course instructors, please visit the 'Membership' section of the instructor dashboard.")}</p>
%endif %endif
%if settings.FEATURES['ENABLE_MANUAL_GIT_RELOAD'] and admin_access: %if settings.FEATURES['ENABLE_MANUAL_GIT_RELOAD'] and admin_access:
...@@ -318,7 +318,7 @@ function goto( mode) ...@@ -318,7 +318,7 @@ function goto( mode)
##----------------------------------------------------------------------------- ##-----------------------------------------------------------------------------
%if modeflag.get('Forum Admin'): %if modeflag.get('Forum Admin'):
<p class="deprecated">${_("To manage forum roles, please visit the 'Membership' section of the instructor dashboard.")}</p> <p class="is-deprecated">${_("To manage forum roles, please visit the 'Membership' section of the instructor dashboard.")}</p>
%endif %endif
##----------------------------------------------------------------------------- ##-----------------------------------------------------------------------------
...@@ -369,7 +369,7 @@ function goto( mode) ...@@ -369,7 +369,7 @@ function goto( mode)
%if modeflag.get('Data'): %if modeflag.get('Data'):
<hr width="40%" style="align:left"> <hr width="40%" style="align:left">
<p class="deprecated"> <p class="is-deprecated">
${_("To download student profile data, please visit the 'Data Download' section of the instructor dashboard.")} ${_("To download student profile data, please visit the 'Data Download' section of the instructor dashboard.")}
</p> </p>
...@@ -378,7 +378,7 @@ function goto( mode) ...@@ -378,7 +378,7 @@ function goto( mode)
<input type="submit" name="action" value="Download CSV of all responses to problem"> <input type="submit" name="action" value="Download CSV of all responses to problem">
</p> </p>
<p class="deprecated"> <p class="is-deprecated">
${_("To download student anonymized IDs, please visit the 'Data Download' section of the instructor dashboard.")} ${_("To download student anonymized IDs, please visit the 'Data Download' section of the instructor dashboard.")}
</p> </p>
<hr width="40%" style="align:left"> <hr width="40%" style="align:left">
...@@ -388,10 +388,10 @@ function goto( mode) ...@@ -388,10 +388,10 @@ function goto( mode)
%if modeflag.get('Manage Groups'): %if modeflag.get('Manage Groups'):
%if instructor_access: %if instructor_access:
<p class="deprecated">${_("To manage beta tester roles, please visit the 'Membership' section of the instructor dashboard.")}</p> <p class="is-deprecated">${_("To manage beta tester roles, please visit the 'Membership' section of the instructor dashboard.")}</p>
%if course.is_cohorted: %if course.is_cohorted:
<p class="deprecated">${_("To manage course cohorts, please visit the 'Membership' section of the instructor dashboard.")}</p> <p class="is-deprecated">${_("To manage course cohorts, please visit the 'Membership' section of the instructor dashboard.")}</p>
%endif %endif
%endif %endif
...@@ -400,7 +400,7 @@ function goto( mode) ...@@ -400,7 +400,7 @@ function goto( mode)
##----------------------------------------------------------------------------- ##-----------------------------------------------------------------------------
%if modeflag.get('Email'): %if modeflag.get('Email'):
<p class="deprecated">${_("To send email, please visit the 'Email' section of the instructor dashboard.")}</p> <p class="is-deprecated">${_("To send email, please visit the 'Email' section of the instructor dashboard.")}</p>
%endif %endif
</form> </form>
...@@ -697,7 +697,7 @@ function goto( mode) ...@@ -697,7 +697,7 @@ function goto( mode)
<br/> <br/>
<br/> <br/>
<h2>${_("Course Statistics At A Glance")}</h2> <h2>${_("Course Statistics At A Glance")}</h2>
<p class="deprecated"> <p class="is-deprecated">
${_("These statistics can be viewed under the 'Admin' tab of the legacy instructor dashboard.")} ${_("These statistics can be viewed under the 'Admin' tab of the legacy instructor dashboard.")}
</p> </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