mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-12 00:45:34 +00:00
add second column with error messages
This commit is contained in:
parent
79b1560a27
commit
d72422eb36
|
@ -165,6 +165,7 @@ function check_queue() {
|
|||
else
|
||||
$('#status_'+data.data).html('<?= getMLText('index_done').' ('.getMLText('index_no_content').')' ?>');
|
||||
} else {
|
||||
$('#update_messages').append('<div><p><strong>Docid: ' + data.data + ' (' + data.mimetype + ')</strong></p>' + '<p>Cmd: ' + data.cmd + '</p>' + data.message+'</div>');
|
||||
$('#status_'+data.data).html('<?= getMLText('index_error') ?>');
|
||||
noty({
|
||||
text: '<p><strong>Docid: ' + data.data + ' (' + data.mimetype + ')</strong></p>' + '<p>Cmd: ' + data.cmd + '</p>' + data.message,
|
||||
|
@ -218,6 +219,8 @@ $(document).ready( function() {
|
|||
$this->globalNavigation();
|
||||
$this->contentStart();
|
||||
$this->pageNavigation(getMLText("admin_tools"), "admin_tools");
|
||||
$this->rowStart();
|
||||
$this->columnStart(6);
|
||||
$this->contentHeading(getMLText("update_fulltext_index"));
|
||||
if($fulltextservice) {
|
||||
$index = $fulltextservice->Indexer();
|
||||
|
@ -230,7 +233,6 @@ div.folder {font-weight: bold; line-height: 20px; margin-top: 10px;}
|
|||
.progress {margin-bottom: 2px;}
|
||||
.bar-legend {text-align: right; font-size: 85%; margin-bottom: 15px;}
|
||||
</style>
|
||||
<div style="max-width: 900px;">
|
||||
<div>
|
||||
<div class="progress">
|
||||
<div class="progress-bar bar total-bar" role="progressbar" style="width: 100%;"></div>
|
||||
|
@ -247,7 +249,13 @@ div.folder {font-weight: bold; line-height: 20px; margin-top: 10px;}
|
|||
$folderprocess = new SeedDMS_View_Indexer_Process_Folder($fulltextservice, $forceupdate);
|
||||
call_user_func(array($folderprocess, 'process'), $folder, -1);
|
||||
$tree = new SeedDMS_FolderTree($folder, array($folderprocess, 'process'));
|
||||
echo "</div>";
|
||||
$this->columnEnd();
|
||||
$this->columnStart(6);
|
||||
$this->contentHeading(getMLText("update_fulltext_messages"));
|
||||
echo '<div id="update_messages">';
|
||||
echo '</div>';
|
||||
$this->columnEnd();
|
||||
$this->rowEnd();
|
||||
|
||||
$index->commit();
|
||||
$index->optimize();
|
||||
|
|
Loading…
Reference in New Issue
Block a user