Skip to content

Commit

Permalink
minor formatting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
sdiemert committed Aug 9, 2015
1 parent 2dfeb71 commit b65cfd1
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 22 deletions.
6 changes: 3 additions & 3 deletions public/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ body {
}

#info-panel {
height:350px;
max-height:350px;
min-height:200px;
height:410px;
max-height:500px;
min-height:350px;
}

.input-table th {
Expand Down
39 changes: 22 additions & 17 deletions views/instructor.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@
if (className) {
$.ajax(hostaddr + '/classifier/' + className, {
method: 'POST',
method : 'POST',
headers: {
'Content-type': 'application/x-www-form-urlencoded'
}
}).done(function(/*data, statusText, xhr*/) {
}).done(function (/*data, statusText, xhr*/) {
$("#success").show();
$("#danger").hide();
$("#warn").hide();
$("#error").hide();
}).fail(function(data/*, statusText, xhr*/) {
}).fail(function (data/*, statusText, xhr*/) {
if (data.status === 403) {
$("#success").hide();
$("#danger").hide();
Expand Down Expand Up @@ -54,23 +54,28 @@
<div class="row">
<div class="col-sm-3"></div>
<div class='col-sm-6'>
<p>
Enter a code to identify the classifier that your group is creating.
</p>
<div class="panel panel-default">
<div class="panel-body">
<h3>Welcome to the Instructor Page!</h3>

<p>
Save this code and make sure your students enter it when prompted.
</p>
<p>This page is intended to allow instructors and/or educators to create a classifiers.</p>
<p>
Enter a code to identify the classifier that your group is creating.
</p>

<p>
Use this code to identify the classifier while testing the classifier as well.
</p>
<p>
Save this code and make sure your students enter it when prompted.
</p>

<p>
The code should only consist of numbers and letters (no spaces or punctuation).
</p>
<br>
<br>
<p>
Use this code to identify the classifier while testing the classifier as well.
</p>

<p>
The code should only consist of numbers and letters (no spaces or punctuation).
</p>
</div>
</div>
</div>
</div>
<div class='row' style="">
Expand Down
4 changes: 2 additions & 2 deletions views/student.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
s += "<td id='attr-" + rowCount + "-2-data'><input type='text'/></td>"
s += "<td id='attr-" + rowCount + "-3-data'><input type='text'/></td>"
s += "<td id='class-" + rowCount + "'><input type='text'/></td>"
s += "<td id='remove-" + rowCount + "'><button type='button' class='close' onclick='removeRow(" + rowCount + ");'>"
s += "<td class='remove-button' id='remove-" + rowCount + "'><button type='button' class='close' onclick='removeRow(" + rowCount + ");'>"
s += "<span>&times</span>";
s += "</td>";
s += "</tr>";
Expand Down Expand Up @@ -160,7 +160,7 @@
</div>
</div>
<div class='row' style="">
<div class="col-xs-4">
<div class="col-xs-12">
<button class="btn btn-warning" onclick="addNewRow();">New Data</button>
<a href="/"><button class="btn btn-danger">Home</button></a>
<button class='btn btn-success' onclick="submit();">Submit</button>
Expand Down

0 comments on commit b65cfd1

Please sign in to comment.