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

Commit 0f62f5a

Browse files
committed
fix - forms work on small devices now
1 parent 3801fe8 commit 0f62f5a

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

views/default/user.html

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -217,16 +217,15 @@ <h4>Course IDs for open courses</h4>
217217
{{pass}}
218218
</div>
219219
{{pass}} <!-- end of always show the carousel EXCEPT for registration -->
220-
220+
{{if request.args(0) != 'register': }}
221221
<div class="content row">
222+
{{pass}}
222223
<!-- REGISTRATION -->
223224
{{if (request.args(0) == 'register'): }} <!-- register page -->
224225
{{if not settings.lti_only_mode:}}
225226
<div id="registration_div">
226-
<div class="col-md-6 col-md-offset-3">
227+
<div class="col-md-6 col-sm-12 col-xs-12">
227228
<h2>Runestone Registration</h2>
228-
</div>
229-
<div class="col-md-6">
230229
<div id="web2py_user_form">
231230
<script type="text/javascript">
232231
function checkTcp() {
@@ -340,7 +339,7 @@ <h2>Runestone Registration</h2>
340339
</div> <!-- end form div -->
341340
</div>
342341
</div> <!-- end register div -->
343-
<div class="col-md-6">
342+
<div class="col-md-6 col-sm-12 col-xs-12">
344343
<h4>Registration Hints</h4>
345344
<p>Runestone uses usernames to keep track of you. Please write it down somewhere if you're likely to forget it. In the field for the coursename please use the name your instructor gave you are use one of the following for our open, public courses</p>
346345
<ul>
@@ -361,10 +360,9 @@ <h4>Registration Hints</h4>
361360
Registration is disabled. Please login via your learning management system (Coursera, Canvas, Blackboard, etc.)
362361
{{pass}}
363362
{{pass}} <!-- end register page -->
364-
363+
<div class="row">
365364
{{if (request.args(0) != 'register') and settings.academy_mode:}}
366-
<div class="row">
367-
<div class='col-md-6'>
365+
<div class='col-md-6 col-sm-12 col-xs-12'>
368366
<h2>About Runestone</h2>
369367
<p>The mission of Runestone Interactive is to democratize textbooks for the 21st century. Textbook prices are too high, and paper textbooks are too old fashioned. We are changing that.</p>
370368
<ul>
@@ -374,7 +372,7 @@ <h2>About Runestone</h2>
374372
</ul>
375373
<p>To learn more about this project, <a href="https://runestone.academy/runestone/static/overview/overview.html">see this overview</a>. For more information about the whole <b>Runestone Interactive</b> community and project, including how to contribute, please <a href="http://runestoneinteractive.org">click here</a>!</p>
376374
</div>
377-
<div class="col-md-6">
375+
<div class="col-md-6 col-sm-6 col-xs-6">
378376
<h2>Support Us</h2>
379377
<p>This project is Open Source, but it does take time and resources.
380378
Especially as our popularity has grown we have server costs. We
@@ -391,7 +389,7 @@ <h2>Support Us</h2>
391389
</div>
392390
{{pass}}
393391
{{if settings.academy_mode:}}
394-
<div class="col-md-6">
392+
<div class="col-md-6 col-sm-6 col-xs-6">
395393
<h2>Your Privacy</h2>
396394
<p>The books provided on Runestone Academy are free and open source. They are for educational purposes. As part
397395
of our educational mission we do collect usage data to help us better understand how you learn and how you

0 commit comments

Comments
 (0)