Commit 1b5f0400 by Brian Talbot

studio - checklists: roughed out initial static design, HTML, and most CSS for checklists v0 UI

parent bc854ef0
...@@ -113,6 +113,9 @@ def howitworks(request): ...@@ -113,6 +113,9 @@ def howitworks(request):
else: else:
return render_to_response('howitworks.html', {}) return render_to_response('howitworks.html', {})
def ux_checklists(request):
return render_to_response('ux-checklists.html', {})
# ==== Views for any logged-in user ================================== # ==== Views for any logged-in user ==================================
......
...@@ -214,7 +214,7 @@ h1 { ...@@ -214,7 +214,7 @@ h1 {
color: $gray-l2; color: $gray-l2;
} }
.title, .title-1 { .title-1 {
@include font-size(32); @include font-size(32);
margin: 0; margin: 0;
padding: 0; padding: 0;
...@@ -283,8 +283,8 @@ h1 { ...@@ -283,8 +283,8 @@ h1 {
.title-3 { .title-3 {
@include font-size(16); @include font-size(16);
margin: 0 0 ($baseline/4) 0; margin: 0 0 ($baseline/2) 0;
font-weight: 500; font-weight: 600;
} }
.title-4 { .title-4 {
...@@ -772,6 +772,10 @@ hr.divide { ...@@ -772,6 +772,10 @@ hr.divide {
word-wrap: break-word; word-wrap: break-word;
} }
hr.divider {
@extend .sr;
}
// ==================== // ====================
// js dependant // js dependant
......
...@@ -77,6 +77,9 @@ $shadow: rgba(0,0,0,0.2); ...@@ -77,6 +77,9 @@ $shadow: rgba(0,0,0,0.2);
$shadow-l1: rgba(0,0,0,0.1); $shadow-l1: rgba(0,0,0,0.1);
$shadow-d1: rgba(0,0,0,0.4); $shadow-d1: rgba(0,0,0,0.4);
// misc.
$elem-height-imaginary: 1000000px;
// colors - inherited // colors - inherited
$baseFontColor: #3c3c3c; $baseFontColor: #3c3c3c;
$offBlack: #3c3c3c; $offBlack: #3c3c3c;
......
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
@import "login"; @import "login";
@import "account"; @import "account";
@import "index"; @import "index";
@import "checklists";
@import 'jquery-ui-calendar'; @import 'jquery-ui-calendar';
@import 'content-types'; @import 'content-types';
......
<%inherit file="base.html" />
<%block name="title">Course Checklists</%block>
<%block name="bodyclass">is-signedin course checklists</%block>
<%block name="jsextra">
<script type="text/javascript">
// checklists - prototype/basic concept JS
$(document).ready(function() {
});
</script>
</%block>
<%block name="content">
<div class="wrapper-mast wrapper">
<header class="mast has-actions has-subtitle">
<div class="title">
<span class="title-sub">UX Design</span>
<h1 class="title-1">Alerts &amp; Notifications</h1>
</div>
</header>
</div>
<div class="wrapper-content wrapper">
<section class="content">
<article class="content-primary" role="main">
<section>
<header>
<h2 class="title-2">Alerts</h2>
<span class="tip">persistant, static messages to the user</span>
</header>
<p>In Studio, alerts are 1) general warnings/notes (e.g. drafts, published content, next steps) about the current view a user is interacting with or 2) notes about the status (e.g. saved confirmations, errors, next system steps) of any previous state that need to communicated to the user when arriving at the current view.</p>
</section>
</article>
</section>
</div>
</%block>
<%block name="view_alerts">
<!-- alerts, notifications, prompts here -->
</%block>
\ No newline at end of file
...@@ -58,6 +58,7 @@ ...@@ -58,6 +58,7 @@
<ul> <ul>
<li class="nav-item nav-course-tools-import"><a href="${reverse('import_course', kwargs=dict(org=ctx_loc.org, course=ctx_loc.course, name=ctx_loc.name))}">Import</a></li> <li class="nav-item nav-course-tools-import"><a href="${reverse('import_course', kwargs=dict(org=ctx_loc.org, course=ctx_loc.course, name=ctx_loc.name))}">Import</a></li>
<li class="nav-item nav-course-tools-export"><a href="${reverse('export_course', kwargs=dict(org=ctx_loc.org, course=ctx_loc.course, name=ctx_loc.name))}">Export</a></li> <li class="nav-item nav-course-tools-export"><a href="${reverse('export_course', kwargs=dict(org=ctx_loc.org, course=ctx_loc.course, name=ctx_loc.name))}">Export</a></li>
<li class="nav-item nav-course-tools-checklists"><a href="${reverse('checklists')}">Tasks &amp; Checklists</a></li>
</ul> </ul>
</div> </div>
</div> </div>
......
...@@ -83,6 +83,7 @@ urlpatterns = ('', ...@@ -83,6 +83,7 @@ urlpatterns = ('',
# User creation and updating views # User creation and updating views
urlpatterns += ( urlpatterns += (
url(r'^ux-checklists$', 'contentstore.views.ux_checklists', name='checklists'),
url(r'^howitworks$', 'contentstore.views.howitworks', name='howitworks'), url(r'^howitworks$', 'contentstore.views.howitworks', name='howitworks'),
url(r'^signup$', 'contentstore.views.signup', name='signup'), url(r'^signup$', 'contentstore.views.signup', name='signup'),
......
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