Skip to content
This repository was archived by the owner on Mar 28, 2019. It is now read-only.

Commit 418a419

Browse files
committed
Textboxes were changed to adapt to responsive design priciples.
Closes #3
1 parent d03c14b commit 418a419

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

admin/problems.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -112,15 +112,15 @@
112112
</ul>
113113
<div class="tab-content">
114114
<div class="tab-pane active" id="tab1">
115-
Problem Title: <input style="width:700px;" type="text" id="title" name="title"/><br/>
115+
Problem Title: <input class="span8" type="text" id="title" name="title"/><br/>
116116
Detailed problem: <span class="label label-info">Markdown formatting supported</span></br/><br/>
117-
<textarea style="width:785px; height:400px;" name="problem" id="text"></textarea><br/>
117+
<textarea style="height:400px;" class="span9" name="problem" id="text"></textarea><br/>
118118
</div>
119119
<div class="tab-pane" id="tab2">
120-
<textarea style="font-family: mono; width:785px; height:400px;" name="input" id="input"></textarea><br/>
120+
<textarea style="font-family: mono; height:400px;" class="span9" name="input" id="input"></textarea><br/>
121121
</div>
122122
<div class="tab-pane" id="tab3">
123-
<textarea style="font-family: mono; width:785px; height:400px;" name="output" id="output"></textarea><br/>
123+
<textarea style="font-family: mono; height:400px;" class="span9" name="output" id="output"></textarea><br/>
124124
</div>
125125
</div>
126126
<input class="btn btn-primary btn-large" type="submit" value="Add Problem"/>

solve.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,9 @@
9797
</ul>
9898
</div>
9999
<br/>
100-
Filename: <input style="width:725px;" type="text" id="filename" name="filename" value="<?php if(!($num == 0)) echo($fields['filename']);?>"/>
100+
Filename: <input class="span8" type="text" id="filename" name="filename" value="<?php if(!($num == 0)) echo($fields['filename']);?>"/>
101101
<br/>Type your program below:<br/><br/>
102-
<textarea style="font-family: mono; width:785px; height:400px;" name="soln" id="text"><?php if(!($num == 0)) echo($fields['soln']);?></textarea><br/>
102+
<textarea style="font-family: mono; height:400px;" class="span9" name="soln" id="text"><?php if(!($num == 0)) echo($fields['soln']);?></textarea><br/>
103103
<?php if($accept['accept'] == 1 and $status['status'] == 1) echo("<input type=\"submit\" value=\"Run\" class=\"btn btn-primary btn-large\"/>");
104104
else echo("<input type=\"submit\" value=\"Run\" class=\"btn disabled btn-large\" disabled=\"disabled\"/>");
105105
?>

0 commit comments

Comments
 (0)