Skip to content
This repository was archived by the owner on Jun 30, 2024. It is now read-only.

Commit 42d16af

Browse files
committed
More cleanup with page design
1 parent dbd0e12 commit 42d16af

File tree

1 file changed

+25
-12
lines changed

1 file changed

+25
-12
lines changed

views/designer/index.html

Lines changed: 25 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,15 @@
66
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.9.0/css/bootstrap-datepicker.min.css" />
77
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.9.0/js/bootstrap-datepicker.min.js"></script>
88

9-
<h3>{{=message}}</h3>
9+
10+
<div class="col-md-8 col-md-offset-2">
11+
<h1>{{=message}}</h1>
1012

1113
<p><strong>For Instructors ONLY</strong> If you are an independent learner you DO NOT need to build your own course. If you are a student and think that building your own course will show you the answers, YOU ARE WRONG.</p>
1214
<p>
1315
This page allows you to select a book for your own class. Once you have selected and built the book, you will be able to create assignments for your students. These assignments will be published right in the book. As the instructor, You can grade your students homework, and have access to a dashboard that allows you to monitor student progress. To begin, enter a course name below. Selecting an appropriate course level will help us to recommend questions and practice exercises from the question bank.
1416
</p>
17+
</div>
1518

1619
<script type="text/javascript">
1720
function validateForm() {
@@ -61,7 +64,7 @@ <h3>{{=message}}</h3>
6164
let suggestedCourse = ""
6265

6366
if ( instid ) {
64-
suggestedCourse += instid.toLowerCase();
67+
suggestedCourse += instid.toLowerCase().replace(/ /g,'');
6568
}
6669
if (basecourse) {
6770
suggestedCourse += "_" + basecourse.toLowerCase();
@@ -74,13 +77,18 @@ <h3>{{=message}}</h3>
7477

7578

7679
</script>
77-
<div class="col-md-7">
80+
<div class="col-md-8 col-md-offset-2">
7881
<form name="mainform" action="/{{=request.application}}/{{=request.controller}}/build" method="get" onsubmit="return validateForm();">
7982

8083
<div class="form-group row">
81-
<div class="col-md-6">
84+
<div class="col-md-8">
85+
<h3>Step 1</h3>
86+
<p><i>Tell us the name of your Institution. We may use this to verify your status as an instructor.</i></p>
8287
<label for="institution">Institution (required)</label>
8388
<input type="text" class="form-control" placeholder="Your school" name="institution" id="institution" onchange="suggested_course_name()" />
89+
<hr />
90+
<h3>Step 2</h3>
91+
<p><i>Tell us approximately what level you are teaching at. This is important for research and providing you with appropriate questions.</i></p>
8492
<label for="courselevel">Course Level (required)</label>
8593
<select id="courselevel" class="form-control" name="courselevel">
8694
<option value="unknown" disabled selected>Please Select</option>
@@ -94,9 +102,10 @@ <h3>{{=message}}</h3>
94102
</div>
95103
</div>
96104

97-
<br />
98-
99105
<div class="form-group">
106+
<hr />
107+
<h3>Step 3</h3>
108+
<p><i>Choose a book to use in your course.</i></p>
100109
{{ for section in sorted(sections): }}
101110
<h4>{{=section}}</h4>
102111
{{ for course in course_list: }}
@@ -125,24 +134,26 @@ <h4>{{=section}}</h4>
125134
rad[i].addEventListener('change', suggested_course_name);
126135
}
127136
</script>
137+
<hr />
138+
<h3>Step 4</h3>
128139

129-
<br />
130-
131-
<p>This is our <strong>suggestion</strong> for your course name it will be the name your students use when they register. Feel free to change it if it does not work for you.</p>
140+
<p><i>Choose a name for your course. This is our <strong>suggestion</strong> for your course name it will be the name your students use when they register. Feel free to change it if it does not work for you.</i></p>
132141
<div class="form-group row">
133142
<div class="col-md-6">
134143
<label for="projectname">Course Name</label>
135144
<input type="text" class="form-control" placeholder="myproject" name="projectname" id="projectname" size="50" />
136145
</div>
137146
</div>
138-
147+
<!--
139148
<div class="form-group row">
140149
<div class="col-md-6">
141150
<label for="projectdescription">Description</label>
142151
<input type="text" class="form-control" placeholder="Enter a short description" name="projectdescription" id="projectdescription" />
143152
</div>
144-
</div>
145-
153+
</div> -->
154+
<hr />
155+
<h3>Step 5</h3>
156+
<p><i>Choose Options and set your start date. An accurate start date is important when you copy questions from previous courses as well as for educational research.</i></p>
146157
<div class="form-group">
147158
<div class="checkbox">
148159
<label>
@@ -191,6 +202,8 @@ <h4>{{=section}}</h4>
191202
</p>
192203
</div>
193204
</div>
205+
<h3>Step 6</h3>
206+
<p><i>Click Submit to create your course.</i></p>
194207
<input type="submit" class="btn btn-default" value="Submit" />
195208
</form>
196209
</div>

0 commit comments

Comments
 (0)