mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-06-17 02:29: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
|
else
|
||||||
$('#status_'+data.data).html('<?= getMLText('index_done').' ('.getMLText('index_no_content').')' ?>');
|
$('#status_'+data.data).html('<?= getMLText('index_done').' ('.getMLText('index_no_content').')' ?>');
|
||||||
} else {
|
} 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') ?>');
|
$('#status_'+data.data).html('<?= getMLText('index_error') ?>');
|
||||||
noty({
|
noty({
|
||||||
text: '<p><strong>Docid: ' + data.data + ' (' + data.mimetype + ')</strong></p>' + '<p>Cmd: ' + data.cmd + '</p>' + data.message,
|
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->globalNavigation();
|
||||||
$this->contentStart();
|
$this->contentStart();
|
||||||
$this->pageNavigation(getMLText("admin_tools"), "admin_tools");
|
$this->pageNavigation(getMLText("admin_tools"), "admin_tools");
|
||||||
|
$this->rowStart();
|
||||||
|
$this->columnStart(6);
|
||||||
$this->contentHeading(getMLText("update_fulltext_index"));
|
$this->contentHeading(getMLText("update_fulltext_index"));
|
||||||
if($fulltextservice) {
|
if($fulltextservice) {
|
||||||
$index = $fulltextservice->Indexer();
|
$index = $fulltextservice->Indexer();
|
||||||
|
@ -230,7 +233,6 @@ div.folder {font-weight: bold; line-height: 20px; margin-top: 10px;}
|
||||||
.progress {margin-bottom: 2px;}
|
.progress {margin-bottom: 2px;}
|
||||||
.bar-legend {text-align: right; font-size: 85%; margin-bottom: 15px;}
|
.bar-legend {text-align: right; font-size: 85%; margin-bottom: 15px;}
|
||||||
</style>
|
</style>
|
||||||
<div style="max-width: 900px;">
|
|
||||||
<div>
|
<div>
|
||||||
<div class="progress">
|
<div class="progress">
|
||||||
<div class="progress-bar bar total-bar" role="progressbar" style="width: 100%;"></div>
|
<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);
|
$folderprocess = new SeedDMS_View_Indexer_Process_Folder($fulltextservice, $forceupdate);
|
||||||
call_user_func(array($folderprocess, 'process'), $folder, -1);
|
call_user_func(array($folderprocess, 'process'), $folder, -1);
|
||||||
$tree = new SeedDMS_FolderTree($folder, array($folderprocess, 'process'));
|
$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->commit();
|
||||||
$index->optimize();
|
$index->optimize();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user