From cb4b7d330cee699bdb56759edcf63b102ac5d1c8 Mon Sep 17 00:00:00 2001 From: Jared Hancock <jared@osticket.com> Date: Fri, 25 Apr 2014 13:59:31 -0500 Subject: [PATCH] Fixup check ticket access page styles --- assets/default/css/theme.css | 6 +----- include/client/accesslink.inc.php | 12 +++++++----- include/client/login.inc.php | 4 ++-- 3 files changed, 10 insertions(+), 12 deletions(-) diff --git a/assets/default/css/theme.css b/assets/default/css/theme.css index 8a3ea45df..2166850b3 100644 --- a/assets/default/css/theme.css +++ b/assets/default/css/theme.css @@ -643,12 +643,8 @@ label.required { color: #d00; display: block; } -#clientLogin #email { - width: 250px; - margin-right: 0; -} +#clientLogin #email, #clientLogin #ticketno { - width: 120px; margin-right: 0; } #clientLogin input[type=text], diff --git a/include/client/accesslink.inc.php b/include/client/accesslink.inc.php index 0f1ef8c31..a87d08d58 100644 --- a/include/client/accesslink.inc.php +++ b/include/client/accesslink.inc.php @@ -14,12 +14,14 @@ link will be emailed to you.</p> <strong><?php echo Format::htmlchars($errors['login']); ?></strong> <br> <div> - <label for="email">E-Mail Address:</label><br/> - <input id="email" type="text" name="lemail" size="30" value="<?php echo $email; ?>"> + <label for="email">E-Mail Address: + <input id="email" placeholder="e.g. john.doe@osticket.com" type="text" + name="lemail" size="30" value="<?php echo $email; ?>"></label> </div> <div> <label for="ticketno">Ticket Number:</label><br/> - <input id="ticketno" type="text" name="lticket" size="16" value="<?php echo $ticketid; ?>"></td> + <input id="ticketno" type="text" name="lticket" placeholder="e.g. 051243" + size="30" value="<?php echo $ticketid; ?>"></td> </div> <p> <input class="btn" type="submit" value="Email Access Link"> @@ -28,9 +30,9 @@ link will be emailed to you.</p> <div style="display:table-cell;padding-left: 2em;padding-right:90px;"> <?php if ($cfg && $cfg->getClientRegistrationMode() !== 'disabled') { ?> Have an account with us? - <a href="account.php?do=create">Sign In</a> <?php + <a href="login.php">Sign In</a> <?php if ($cfg->isClientRegistrationEnabled()) { ?> - or <a href="login.php?do=create">register for an account</a> <?php + or <a href="account.php?do=create">register for an account</a> <?php } ?> to access all your tickets. <?php } ?> diff --git a/include/client/login.inc.php b/include/client/login.inc.php index 2430a77c0..062e1db7c 100644 --- a/include/client/login.inc.php +++ b/include/client/login.inc.php @@ -24,10 +24,10 @@ if ($content) { <div style="width:40%;display:table-cell;box-shadow: 12px 0 15px -15px rgba(0,0,0,0.4);padding:15px;"> <strong><?php echo Format::htmlchars($errors['login']); ?></strong> <div> - <input id="username" placeholder="username" type="text" name="luser" size="30" value="<?php echo $email; ?>"> + <input id="username" placeholder="Email or Username" type="text" name="luser" size="30" value="<?php echo $email; ?>"> </div> <div> - <input id="passwd" placeholder="password" type="password" name="lpasswd" size="30" value="<?php echo $passwd; ?>"></td> + <input id="passwd" placeholder="Password" type="password" name="lpasswd" size="30" value="<?php echo $passwd; ?>"></td> </div> <p> <input class="btn" type="submit" value="Sign In"> -- GitLab