summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2012-04-09 14:36:24 +0200
committerFlorian Pritz <bluewind@xinu.at>2012-04-09 20:48:22 +0200
commitdd0a983735e404d4f1f41184940f8f91940735e6 (patch)
tree1ece3a8d066f70fa660e06bd0ad7b5ef436afe62 /application
parentfd5d406cee52da3aa28475b2418c1787e3489da2 (diff)
css: limit width of <p> and <li> to 800px
Long lines streching across the entire screen are hard to read on wide screens. 800px should be a good compromise Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application')
-rw-r--r--application/views/file/delete_form.php2
-rw-r--r--application/views/file/deleted.php2
-rw-r--r--application/views/file/non_existent.php2
-rw-r--r--application/views/file/show_url.php2
-rw-r--r--application/views/file/too_big.php2
-rw-r--r--application/views/file/upload_error.php2
-rw-r--r--application/views/file/upload_form.php2
7 files changed, 7 insertions, 7 deletions
diff --git a/application/views/file/delete_form.php b/application/views/file/delete_form.php
index 4a5cc0566..9e4562081 100644
--- a/application/views/file/delete_form.php
+++ b/application/views/file/delete_form.php
@@ -1,4 +1,4 @@
-<div style="text-align:center">
+<div class="center">
<?php echo form_open('file/delete/'.$id); ?>
<?php if(isset($msg)) echo "<p>".$msg."</p>"; ?>
<?php if($filedata): ?>
diff --git a/application/views/file/deleted.php b/application/views/file/deleted.php
index 865b5304a..f12433808 100644
--- a/application/views/file/deleted.php
+++ b/application/views/file/deleted.php
@@ -1,3 +1,3 @@
-<div style="text-align:center">
+<div class="center">
<p><?php echo $id; ?> has been deleted.</p>
</div>
diff --git a/application/views/file/non_existent.php b/application/views/file/non_existent.php
index 9f4a79913..13d8c6950 100644
--- a/application/views/file/non_existent.php
+++ b/application/views/file/non_existent.php
@@ -1,3 +1,3 @@
-<div style="text-align:center">
+<div class="center">
<p>I'm sorry, but the requested file doesn't exist.</p>
</div>
diff --git a/application/views/file/show_url.php b/application/views/file/show_url.php
index e0e3dc8a6..3c08ed952 100644
--- a/application/views/file/show_url.php
+++ b/application/views/file/show_url.php
@@ -1,4 +1,4 @@
-<div style="text-align:center">
+<div class="center">
<p>
You can get your file here:<br />
<a href="<?php echo $url; ?>"><?php echo $url; ?></a><br />
diff --git a/application/views/file/too_big.php b/application/views/file/too_big.php
index aa5c42835..5b970a4c8 100644
--- a/application/views/file/too_big.php
+++ b/application/views/file/too_big.php
@@ -1,3 +1,3 @@
-<div style="text-align:center">
+<div class="center">
<p>Sorry, the file you uploaded is too big.</p>
</div>
diff --git a/application/views/file/upload_error.php b/application/views/file/upload_error.php
index 9df86b8a8..83968eec2 100644
--- a/application/views/file/upload_error.php
+++ b/application/views/file/upload_error.php
@@ -1,4 +1,4 @@
-<div style="text-align:center">
+<div class="center">
<p>
An error occurred while uploading.<br />
<?php echo $msg; ?>
diff --git a/application/views/file/upload_form.php b/application/views/file/upload_form.php
index 0d9bba998..a0805013d 100644
--- a/application/views/file/upload_form.php
+++ b/application/views/file/upload_form.php
@@ -1,5 +1,5 @@
<? if ($username) { ?>
-<div style="margin-top: 100px; text-align:center">
+<div class="center">
<?php echo form_open_multipart('file/do_upload'); ?>
<p>
File: <input type="file" id="file" name="file" size="30" />