Skip to content
Snippets Groups Projects
Commit cbc003fd authored by Peter Rotich's avatar Peter Rotich
Browse files

Fixes: usability and style issues

parent c4ab64e0
No related branches found
No related tags found
No related merge requests found
......@@ -34,7 +34,7 @@ if ($info['error']) {
<table width="100%">
<?php
if(!$form) $form = UserForm::getInstance();
$form->render(true, 'New User Information'); ?>
$form->render(true, 'Create New User'); ?>
</table>
<hr>
<p class="full-width">
......
......@@ -32,8 +32,8 @@ if ($_POST)
$.userLookup('ajax.php/tickets/<?php echo $ticket->getId(); ?>/change-user',
function(user) {
$('input#user_id').val(user.id);
$('#user_name').html(user.name);
$('#user_email').html('&lt;'+user.email+'&gt;');
$('#client-name').html(user.name);
$('#client-email').html('&lt;'+user.email+'&gt;');
});
return false;
"><i class="icon-edit"></i> Change</a>
......
......@@ -26,11 +26,12 @@ $info=Format::htmlchars(($errors && $_POST)?$_POST:$info);
if ($user) { ?>
<tr><td>Client:</td><td>
<div id="client-info">
<input type="hidden" name="uid" id="uid" value="<?php echo $user->getId(); ?>" />
<span id="client-name"><?php echo $user->getName(); ?></span>
<span id="client-email">&lt;<?php echo $user->getEmail(); ?>&gt;</span>
<a class="action-button" style="float:none;overflow:inherit" href="#"
onclick="javascript:
$.userLookup('ajax.php/users/select/<?php echo $user->getId(); ?>',
$.userLookup('ajax.php/users/select/'+$('input#uid').val(),
function(user) {
$('input#uid').val(user.id);
$('#client-name').html(user.name);
......@@ -38,7 +39,6 @@ $info=Format::htmlchars(($errors && $_POST)?$_POST:$info);
});
return false;
"><i class="icon-edit"></i> Change</a>
<input type="hidden" name="uid" id="uid" value="<?php echo $user->getId(); ?>" />
</div>
</td></tr>
<?php
......
......@@ -1264,7 +1264,7 @@ time {
box-shadow: 0 5px 60px #001;
border-radius: 5px;
max-height: 72%;
overflow-y: scroll;
overflow-y: auto;
}
.redactor_air {
......@@ -1402,6 +1402,7 @@ time {
}
.dialog input[type=submit]:hover, .dialog input[type=submit]:active,
.dialog input[type=button]:hover, .dialog input[type=button]:active,
.dialog input[type=reset]:hover, .dialog input[type=reset]:active {
background-position:bottom left;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment