From 5d302aec915e1791d831bb58e7556113fbb5c0e1 Mon Sep 17 00:00:00 2001 From: Peter Rotich <peter@osticket.com> Date: Mon, 13 Jul 2015 17:59:51 +0000 Subject: [PATCH] Add sticky bar to tasks listing Remove manual roll-up on tickets page since it's auto-added. --- include/staff/tasks.inc.php | 4 +++- include/staff/tickets.inc.php | 3 --- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/include/staff/tasks.inc.php b/include/staff/tasks.inc.php index 5a3a80df9..d908312bd 100644 --- a/include/staff/tasks.inc.php +++ b/include/staff/tasks.inc.php @@ -253,7 +253,8 @@ return false;"> <!-- SEARCH FORM END --> <div class="clear"></div> <div style="margin-bottom:20px; padding-top:10px;"> -<div> +<div class="sticky bar opaque"> + <div class="content"> <div class="pull-left flush-left"> <h2><a href="<?php echo $refresh_url; ?>" title="<?php echo __('Refresh'); ?>"><i class="icon-refresh"></i> <?php echo @@ -264,6 +265,7 @@ return false;"> Task::getAgentActions($thisstaff, array('status' => $status)); ?> </div> + </div> </div> <div class="clear"></div> <form action="tasks.php" method="POST" name='tasks' id="tasks"> diff --git a/include/staff/tickets.inc.php b/include/staff/tickets.inc.php index 4a6519410..270f1e287 100644 --- a/include/staff/tickets.inc.php +++ b/include/staff/tickets.inc.php @@ -376,9 +376,6 @@ return false;"> class="icon-trash"></i> <?php echo __('Delete'); ?></a> <?php } ?> - <a class="only sticky scroll-up" href="#" onclick="javascript: $('html, body').animate({scrollTop: 0}, 'fast'); return false;" - ><i class="icon-chevron-up icon-large"></i> - </a> </div> </div> </div> -- GitLab