summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
Diffstat (limited to 'application')
-rw-r--r--application/views/user/apikeys.php10
-rw-r--r--application/views/user/hash_password.php30
-rw-r--r--application/views/user/profile.php56
-rw-r--r--application/views/user/register.php50
-rw-r--r--application/views/user/reset_password_form.php28
-rw-r--r--application/views/user/reset_password_username_form.php26
6 files changed, 100 insertions, 100 deletions
diff --git a/application/views/user/apikeys.php b/application/views/user/apikeys.php
index ddc1d56db..02a11767c 100644
--- a/application/views/user/apikeys.php
+++ b/application/views/user/apikeys.php
@@ -19,8 +19,8 @@
<td><?php echo date("Y/m/d H:i", $item["created"]); ?></td>
<td>
<?php echo form_open("user/delete_apikey", array("style" => "margin-bottom: 0")); ?>
- <?php echo form_hidden("key", $item["key"]); ?>
- <button class="btn btn-danger btn-xs" type="submit">Delete</input>
+ <?php echo form_hidden("key", $item["key"]); ?>
+ <button class="btn btn-danger btn-xs" type="submit">Delete</input>
</form>
</td>
</tr>
@@ -30,7 +30,7 @@
<p>
<?php echo form_open('user/create_apikey', array("class" => "form-inline")); ?>
- <input type="text" name="comment" placeholder="Comment" class="form-control" style="width: 200px;"/>
- <input class="btn btn-primary" type="submit" value="Create a new key" name="process" />
- </form>
+ <input type="text" name="comment" placeholder="Comment" class="form-control" style="width: 200px;"/>
+ <input class="btn btn-primary" type="submit" value="Create a new key" name="process" />
+</form>
</p>
diff --git a/application/views/user/hash_password.php b/application/views/user/hash_password.php
index 60df6e1c5..6daa594f4 100644
--- a/application/views/user/hash_password.php
+++ b/application/views/user/hash_password.php
@@ -10,27 +10,27 @@ if ($hash) {
}
?>
<?php echo form_open('user/hash_password', array("class" => "form-horizontal")); ?>
- <div class="row">
- <div class="form-group col-lg-10">
- <label class="control-label col-lg-2" for="inputPassword">Password</label>
- <div class="col-lg-5">
- <input type="password" id="inputPassword" name="password" placeholder="Password" class="form-control">
- </div>
- </div>
+<div class="row">
+ <div class="form-group col-lg-10 col-md-10">
+ <label class="control-label col-lg-2 col-md-2" for="inputPassword">Password</label>
+ <div class="col-lg-5 col-md-5">
+ <input type="password" id="inputPassword" name="password" placeholder="Password" class="form-control">
+ </div>
</div>
+</div>
- <div class="row">
- <div class="form-group col-lg-10">
- <label class="control-label col-lg-2" for="inputPassword">Confirm password</label>
- <div class="col-lg-5">
+<div class="row">
+ <div class="form-group col-lg-10 col-md-10">
+ <label class="control-label col-lg-2 col-md-2" for="inputPassword">Confirm password</label>
+ <div class="col-lg-5 col-md-5">
<input type="password" id="inputPasswordConfirm" name="password_confirm" placeholder="Password confirmation" class="form-control">
</div>
- </div>
</div>
+</div>
- <div class="row">
- <div class="form-group col-lg-10">
- <div class="col-lg-offset-2 col-lg-5">
+<div class="row">
+ <div class="form-group col-lg-10 col-md-10">
+ <div class="col-lg-offset-2 col-lg-5 col-md-offset-2 col-md-5">
<button type="submit" class="btn btn-primary" name="process">Hash it</button>
</div>
</div>
diff --git a/application/views/user/profile.php b/application/views/user/profile.php
index c9f0a38f7..042612b60 100644
--- a/application/views/user/profile.php
+++ b/application/views/user/profile.php
@@ -1,40 +1,40 @@
<?php echo form_open("user/profile", array("class" => "form-horizontal")); ?>
- <div class="row">
- <div class="form-group col-lg-8">
- <label class="control-label col-lg-2" for="inputUsername">Username</label>
- <div class="col-lg-5">
- <input type="text" id="inputUsername" name="username" placeholder="Username" disabled="disabled" value="<?php echo $profile_data["username"]; ?>" class="form-control">
- </div>
- </div>
+<div class="row">
+ <div class="form-group col-lg-8 col-md-10">
+ <label class="control-label col-lg-2 col-md-2" for="inputUsername">Username</label>
+ <div class="col-lg-5 col-md-5">
+ <input type="text" id="inputUsername" name="username" placeholder="Username" disabled="disabled" value="<?php echo $profile_data["username"]; ?>" class="form-control">
+ </div>
</div>
+</div>
- <?php if($profile_data["email"] !== null) { ?>
- <div class="row">
- <div class="form-group col-lg-8">
- <label class="control-label col-lg-2" for="inputEmail">Email</label>
- <div class="col-lg-5">
- <input type="text" id="inputEmail" name="email" placeholder="Email" disabled="disabled" value="<?php echo $profile_data["email"]; ?>" class="form-control">
- </div>
- </div>
+<?php if($profile_data["email"] !== null) { ?>
+<div class="row">
+ <div class="form-group col-lg-8 col-md-10">
+ <label class="control-label col-lg-2 col-md-2" for="inputEmail">Email</label>
+ <div class="col-lg-5 col-md-5">
+ <input type="text" id="inputEmail" name="email" placeholder="Email" disabled="disabled" value="<?php echo $profile_data["email"]; ?>" class="form-control">
+ </div>
</div>
- <?php } ?>
+</div>
+<?php } ?>
- <div class="row">
- <div class="form-group col-lg-8">
- <label class="control-label col-lg-2" for="inputUploadIDLimits">Upload ID length limits</label>
- <div class="col-lg-5">
+<div class="row">
+ <div class="form-group col-lg-8 col-md-10">
+ <label class="control-label col-lg-2 col-md-2" for="inputUploadIDLimits">Upload ID length limits</label>
+ <div class="col-lg-5 col-md-5">
<input type="text" id="inputUploadIDLimits" name="upload_id_limits" placeholder="number-number" value="<?php echo $profile_data["upload_id_limits"]; ?>" class="form-control">
<span class="help-block">Values have to be between 3 and 64 inclusive. Please remember that longer IDs don't protect your pastes from being found if you post the link somewhere a search enginge can see it.</span>
- </div>
- </div>
+ </div>
</div>
+</div>
- <div class="row">
- <div class="form-group col-lg-8">
- <div class="col-lg-offset-2 col-lg-5">
- <button type="submit" class="btn btn-primary" name="process">Save changes</button>
- </div>
- </div>
+<div class="row">
+ <div class="form-group col-lg-8 col-md-10">
+ <div class="col-lg-offset-2 col-lg-5 col-md-offset-2 col-md-5">
+ <button type="submit" class="btn btn-primary" name="process">Save changes</button>
+ </div>
</div>
+</div>
</form>
diff --git a/application/views/user/register.php b/application/views/user/register.php
index 217a3d18f..fffd9d271 100644
--- a/application/views/user/register.php
+++ b/application/views/user/register.php
@@ -4,48 +4,48 @@
echo "</p>";
} ?>
<?php echo form_open('user/register/'.$key, array("class" => "form-horizontal")); ?>
- <div class="row">
- <div class="form-group col-lg-8">
- <label class="control-label col-lg-2" for="inputUsername">Username</label>
- <div class="col-lg-5">
+<div class="row">
+ <div class="form-group col-lg-8 col-md-10">
+ <label class="control-label col-lg-2 col-md-2" for="inputUsername">Username</label>
+ <div class="col-lg-5 col-md-5">
<input type="text" id="inputUsername" name="username" placeholder="Username" value="<?php echo $values["username"]; ?>" class="form-control">
</div>
- </div>
</div>
+</div>
- <div class="row">
- <div class="form-group col-lg-8">
- <label class="control-label col-lg-2" for="inputEmail">Email</label>
- <div class="col-lg-5">
+<div class="row">
+ <div class="form-group col-lg-8 col-md-10">
+ <label class="control-label col-lg-2 col-md-2" for="inputEmail">Email</label>
+ <div class="col-lg-5 col-md-5">
<input type="text" id="inputEmail" name="email" placeholder="Email" value="<?php echo $values["email"]; ?>" class="form-control">
</div>
- </div>
</div>
+</div>
- <div class="row">
- <div class="form-group col-lg-8">
- <label class="control-label col-lg-2" for="inputPassword">Password</label>
- <div class="col-lg-5">
+<div class="row">
+ <div class="form-group col-lg-8 col-md-10">
+ <label class="control-label col-lg-2 col-md-2" for="inputPassword">Password</label>
+ <div class="col-lg-5 col-md-5">
<input type="password" id="inputPassword" name="password" placeholder="Password" class="form-control">
</div>
- </div>
</div>
+</div>
- <div class="row">
- <div class="form-group col-lg-8">
- <label class="control-label col-lg-2" for="inputPassword">Confirm password</label>
- <div class="col-lg-5">
- <input type="password" id="inputPasswordConfirm" name="password_confirm" placeholder="Password confirmation">
+<div class="row">
+ <div class="form-group col-lg-8 col-md-10">
+ <label class="control-label col-lg-2 col-md-2" for="inputPassword">Confirm password</label>
+ <div class="col-lg-5 col-md-5">
+ <input type="password" id="inputPasswordConfirm" name="password_confirm" placeholder="Password confirmation" class="form-control">
</div>
- </div>
</div>
+</div>
- <div class="row">
- <div class="form-group col-lg-8">
- <div class="col-lg-offset-2 col-lg-5">
+<div class="row">
+ <div class="form-group col-lg-8 col-md-10">
+ <div class="col-lg-offset-2 col-lg-5 col-md-offset-2 col-md-5">
<button type="submit" class="btn btn-primary" name="process">Register</button>
</div>
- </div>
</div>
+</div>
</form>
diff --git a/application/views/user/reset_password_form.php b/application/views/user/reset_password_form.php
index 4ef84b7e7..99f5e54a0 100644
--- a/application/views/user/reset_password_form.php
+++ b/application/views/user/reset_password_form.php
@@ -4,24 +4,24 @@
echo "</p>";
} ?>
<?php echo form_open('user/reset_password/'.$key, array("class" => "form-horizontal")); ?>
- <div class="control-group">
- <label class="control-label" for="inputPassword">Password</label>
- <div class="controls">
- <input type="password" id="inputPassword" name="password" placeholder="Password">
- </div>
+<div class="control-group">
+ <label class="control-label" for="inputPassword">Password</label>
+ <div class="controls">
+ <input type="password" id="inputPassword" name="password" placeholder="Password">
</div>
+</div>
- <div class="control-group">
- <label class="control-label" for="inputPassword">Confirm password</label>
- <div class="controls">
- <input type="password" id="inputPasswordConfirm" name="password_confirm" placeholder="Password confirmation">
- </div>
+<div class="control-group">
+ <label class="control-label" for="inputPassword">Confirm password</label>
+ <div class="controls">
+ <input type="password" id="inputPasswordConfirm" name="password_confirm" placeholder="Password confirmation">
</div>
+</div>
- <div class="control-group">
- <div class="controls">
- <button type="submit" class="btn btn-primary" name="process">Change password</button>
- </div>
+<div class="control-group">
+ <div class="controls">
+ <button type="submit" class="btn btn-primary" name="process">Change password</button>
</div>
+</div>
</form>
diff --git a/application/views/user/reset_password_username_form.php b/application/views/user/reset_password_username_form.php
index e72c30850..5329a0b7e 100644
--- a/application/views/user/reset_password_username_form.php
+++ b/application/views/user/reset_password_username_form.php
@@ -1,19 +1,19 @@
<?php echo form_open('user/reset_password', array("class" => "form-horizontal")); ?>
- <div class="row">
- <div class="form-group col-lg-8">
- <label class="control-label col-lg-2" for="inputUsername">Username</label>
- <div class="col-lg-5">
- <input type="text" id="inputUsername" name="username" placeholder="Username" value="<?php echo isset($username) ? $username : ""; ?>" class="form-control">
- </div>
- </div>
+<div class="row">
+ <div class="form-group col-lg-8 col-md-10">
+ <label class="control-label col-lg-2 col-md-2" for="inputUsername">Username</label>
+ <div class="col-lg-5 col-md-5">
+ <input type="text" id="inputUsername" name="username" placeholder="Username" value="<?php echo isset($username) ? $username : ""; ?>" class="form-control">
+ </div>
</div>
+</div>
- <div class="row">
- <div class="form-group col-lg-8">
- <div class="col-lg-offset-2 col-lg-5">
- <button type="submit" class="btn btn-primary" name="process">Send mail</button>
- </div>
- </div>
+<div class="row">
+ <div class="form-group col-lg-8 col-md-10">
+ <div class="col-lg-offset-2 col-lg-5 col-md-offset-2 col-md-5">
+ <button type="submit" class="btn btn-primary" name="process">Send mail</button>
+ </div>
</div>
+</div>
</form>