Commit fd963852f6e93ffeba5589b8a011e184067637fc
1 parent
4ce43abd
KTC-608
"Table Columns go way off the page to the right on Task Scheduler Management Page" Fixed. Added a scrollable div, set the width to 750px to display in IE properly. Committed by: Megan Watson Reviewed by: Conrad Vermeulen git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@9363 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
88 additions
and
86 deletions
templates/ktcore/scheduler.smarty
| 1 | -<h2>{i18n}Task Scheduler Management{/i18n}</h2> | ||
| 2 | - | ||
| 3 | -{* Display the list of tasks *} | ||
| 4 | - | ||
| 5 | -<p> | ||
| 6 | -<span class="descriptiveText"> | ||
| 7 | - {i18n}The scheduler runs document indexing and various house keeping tasks, etc in the background. | ||
| 8 | - {/i18n} | ||
| 9 | -</span> | ||
| 10 | -</p> | ||
| 11 | - | ||
| 12 | -<table class="kt_collection" cellspacing = "0" cellpadding = "4"> | ||
| 13 | - | ||
| 14 | -{if $aHeadings} | ||
| 15 | -<thead> | ||
| 16 | - <tr> | ||
| 17 | - {foreach from=$aHeadings item=head} | ||
| 18 | - <th> | ||
| 19 | - {$head} | ||
| 20 | - </th> | ||
| 21 | - {/foreach} | ||
| 22 | - </tr> | ||
| 23 | -</thead> | ||
| 24 | -{/if} | ||
| 25 | - | ||
| 26 | -{if $aList} | ||
| 27 | -{foreach from=$aList item=task} | ||
| 28 | -{assign var=taskId value=$task->getId()} | ||
| 29 | - | ||
| 30 | - <tr class="{cycle name=rows values=",odd"}"> | ||
| 31 | - <td width='2%'> | ||
| 32 | - {$i++} | ||
| 33 | - </td> | ||
| 34 | - <td> | ||
| 35 | - {$task->getTaskDiv()} | ||
| 36 | - </td> | ||
| 37 | - <td> | ||
| 38 | - {$task->getFreqDiv()} | ||
| 39 | - <div id="col_{$taskId}"> | ||
| 40 | - </div> | ||
| 41 | - <div style="visibility: hidden; display: none;"> | ||
| 42 | - <input type="hidden" name="freq_{$taskId}" id="freq_{$taskId}" value="{$task->getFrequency()}" /> | ||
| 43 | - </div> | ||
| 44 | - </td> | ||
| 45 | - <td> | ||
| 46 | - <div id="runDiv{$taskId}"> | ||
| 47 | - {if $task->getStatus() != 'disabled'} | ||
| 48 | - {$task->getRunTime()} | ||
| 49 | - {/if} | ||
| 50 | - </div> | ||
| 51 | - </td> | ||
| 52 | - <td> | ||
| 53 | - <div id="prevDiv{$taskId}" style="display:none; visibility:hidden;"> | ||
| 54 | - <input type="hidden" name="prev{$taskId}" id="prev{$taskId}" value="{$task->getPrevious()}" /> | ||
| 55 | - </div> | ||
| 56 | - {$task->getPrevious(TRUE)} | ||
| 57 | - </td> | ||
| 58 | - <td width="10%"> | ||
| 59 | - {$task->getRunDuration()} | ||
| 60 | - </td> | ||
| 61 | - <td> | ||
| 62 | - {$task->getAlterFreqLink()} {$task->getRunNowLink()} {$task->getStatusLink()} | ||
| 63 | - </td> | ||
| 64 | - </tr> | ||
| 65 | - | ||
| 66 | -{/foreach} | ||
| 67 | - | ||
| 68 | -{else} | ||
| 69 | - <tr> | ||
| 70 | - <td class="descriptiveText" colspan="7"> | ||
| 71 | - {i18n}No tasks have been scheduled{/i18n} | ||
| 72 | - </td> | ||
| 73 | - </tr> | ||
| 74 | -{/if} | ||
| 75 | -</table> | ||
| 76 | - | ||
| 77 | -<div id="formDiv" style="display: none; visibility: hidden;"> | ||
| 78 | - <form name="changefreq" id="changefreq" method="post" action="{$sUrl}"> | ||
| 79 | - | ||
| 80 | - <select name="frequency" id="frequency"> | ||
| 81 | - {html_options options=$aFrequencies} | ||
| 82 | - </select> | ||
| 83 | - <input type="hidden" name="fId" id="fId" value="" /> | ||
| 84 | - <input type="button" name="save" id="save" onclick='javascript: saveFreq("{$sUrl}");' value="{i18n}Save{/i18n}" /> | ||
| 85 | - </form> | ||
| 86 | -</div> | 1 | +<h2>{i18n}Task Scheduler Management{/i18n}</h2> |
| 2 | + | ||
| 3 | +{* Display the list of tasks *} | ||
| 4 | + | ||
| 5 | +<p> | ||
| 6 | +<span class="descriptiveText"> | ||
| 7 | + {i18n}The scheduler runs document indexing and various house keeping tasks, etc in the background. | ||
| 8 | + {/i18n} | ||
| 9 | +</span> | ||
| 10 | +</p> | ||
| 11 | + | ||
| 12 | +<div style="overflow: auto; width: 730px;"> | ||
| 13 | +<table class="kt_collection" cellspacing = "0" cellpadding = "4"> | ||
| 14 | + | ||
| 15 | +{if $aHeadings} | ||
| 16 | +<thead> | ||
| 17 | + <tr> | ||
| 18 | + {foreach from=$aHeadings item=head} | ||
| 19 | + <th> | ||
| 20 | + {$head} | ||
| 21 | + </th> | ||
| 22 | + {/foreach} | ||
| 23 | + </tr> | ||
| 24 | +</thead> | ||
| 25 | +{/if} | ||
| 26 | + | ||
| 27 | +{if $aList} | ||
| 28 | +{foreach from=$aList item=task} | ||
| 29 | +{assign var=taskId value=$task->getId()} | ||
| 30 | + | ||
| 31 | + <tr class="{cycle name=rows values=",odd"}"> | ||
| 32 | + <td width='2%'> | ||
| 33 | + {$i++} | ||
| 34 | + </td> | ||
| 35 | + <td> | ||
| 36 | + {$task->getTaskDiv()} | ||
| 37 | + </td> | ||
| 38 | + <td> | ||
| 39 | + {$task->getFreqDiv()} | ||
| 40 | + <div id="col_{$taskId}"> | ||
| 41 | + </div> | ||
| 42 | + <div style="visibility: hidden; display: none;"> | ||
| 43 | + <input type="hidden" name="freq_{$taskId}" id="freq_{$taskId}" value="{$task->getFrequency()}" /> | ||
| 44 | + </div> | ||
| 45 | + </td> | ||
| 46 | + <td> | ||
| 47 | + <div id="runDiv{$taskId}"> | ||
| 48 | + {if $task->getStatus() != 'disabled'} | ||
| 49 | + {$task->getRunTime()} | ||
| 50 | + {/if} | ||
| 51 | + </div> | ||
| 52 | + </td> | ||
| 53 | + <td> | ||
| 54 | + <div id="prevDiv{$taskId}" style="display:none; visibility:hidden;"> | ||
| 55 | + <input type="hidden" name="prev{$taskId}" id="prev{$taskId}" value="{$task->getPrevious()}" /> | ||
| 56 | + </div> | ||
| 57 | + {$task->getPrevious(TRUE)} | ||
| 58 | + </td> | ||
| 59 | + <td width="10%"> | ||
| 60 | + {$task->getRunDuration()} | ||
| 61 | + </td> | ||
| 62 | + <td> | ||
| 63 | + {$task->getAlterFreqLink()} {$task->getRunNowLink()} {$task->getStatusLink()} | ||
| 64 | + </td> | ||
| 65 | + </tr> | ||
| 66 | + | ||
| 67 | +{/foreach} | ||
| 68 | + | ||
| 69 | +{else} | ||
| 70 | + <tr> | ||
| 71 | + <td class="descriptiveText" colspan="7"> | ||
| 72 | + {i18n}No tasks have been scheduled{/i18n} | ||
| 73 | + </td> | ||
| 74 | + </tr> | ||
| 75 | +{/if} | ||
| 76 | +</table> | ||
| 77 | +</div> | ||
| 78 | + | ||
| 79 | +<div id="formDiv" style="display: none; visibility: hidden;"> | ||
| 80 | + <form name="changefreq" id="changefreq" method="post" action="{$sUrl}"> | ||
| 81 | + | ||
| 82 | + <select name="frequency" id="frequency"> | ||
| 83 | + {html_options options=$aFrequencies} | ||
| 84 | + </select> | ||
| 85 | + <input type="hidden" name="fId" id="fId" value="" /> | ||
| 86 | + <input type="button" name="save" id="save" onclick='javascript: saveFreq("{$sUrl}");' value="{i18n}Save{/i18n}" /> | ||
| 87 | + </form> | ||
| 88 | +</div> |