summaryrefslogtreecommitdiffstats
path: root/application/views/file/upload_form.php
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2013-09-08 20:58:17 +0200
committerFlorian Pritz <bluewind@xinu.at>2013-09-22 16:30:56 +0200
commitf872de7d981eeeb506f23c99412bb7de584c661d (patch)
tree38ad6ccaeae03b35a148f9cd30aeae01a1e997b4 /application/views/file/upload_form.php
parent3591b77fe20377d0ad46b93e16cbb0600c9c806b (diff)
Fix display issues on upload_form for smaller displays
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/views/file/upload_form.php')
-rw-r--r--application/views/file/upload_form.php10
1 files changed, 6 insertions, 4 deletions
diff --git a/application/views/file/upload_form.php b/application/views/file/upload_form.php
index 782ba48c7..b3e405173 100644
--- a/application/views/file/upload_form.php
+++ b/application/views/file/upload_form.php
@@ -1,10 +1,10 @@
<?php if (user_logged_in()) { ?>
<div class="well">
<div class="row">
- <div class="col-lg-12 text-upload-form">
+ <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 text-upload-form">
<?php echo form_open_multipart('file/do_paste'); ?>
<h2>Text paste</h2>
- <textarea name="content" class="col-lg-12 form-control" rows="15"><?php
+ <textarea name="content" class="form-control" rows="15"><?php
if (isset($textarea_content)) {
echo $textarea_content;
}
@@ -14,14 +14,15 @@
</div>
</div>
<div class="row">
- <div class="col-lg-6">
+ <div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
<?php echo form_open_multipart('file/do_upload'); ?>
<h2>File upload</h2>
<input class="file-upload" type="file" name="file[]" multiple="multiple"><br>
<button type="submit" id="upload_button" class="btn btn-primary">Upload it!</button>
</form>
</div>
- <div class="col-lg-6 alert alert-info">
+ <div class="col-lg-6 col-md-6 col-sm-6 col-xs-12 col-topfix">
+ <div class="alert alert-info">
<h4 class="alert-heading">Notice!</h4>
<p>
Uploads/pastes are <?php if ($upload_max_age > 0) {
@@ -34,6 +35,7 @@
} ?>. Maximum upload size is <?php echo format_bytes($max_upload_size); ?>.
You can upload a maximum of <?php echo ini_get("max_file_uploads"); ?> files at once.
</p>
+</div>
</div>
</div>
</div>