dnet-applications/apps/dnet-orgs-database-application/src/main/resources/static/resources/html/pages/admin/utils.html

36 lines
1.4 KiB
HTML

<h4>System utilities</h4>
<br />
<table class="table table-sm table-striped">
<thead>
<tr>
<th style="width: 30%">Command</th>
<th style="width: 70%">Status</th>
</tr>
</thead>
<tbody>
<tr>
<td><button class="btn btn-sm btn-link" ng-click="refreshFulltextIndex()" ng-disabled="fulltextIndexMessage">Rebuild fulltext index</button></td>
<td>{{fulltextIndexMessage}}</td>
</tr>
<tr>
<td><button class="btn btn-sm btn-link" ng-click="performConsistencyCheck()" ng-disabled="consistencyCheckMessage">Perform consistency check</button></td>
<td>{{consistencyCheckMessage}}</td>
</tr>
<tr>
<td><button class="btn btn-sm btn-link" ng-click="verifyCountriesInSuggestions()" ng-disabled="invalidSuggestedCountriesMessage">Verify countries in suggestions</button></td>
<td>{{invalidSuggestedCountriesMessage}}</td>
</tr>
<tr>
<td><button class="btn btn-sm btn-link" ng-click="restartSuggestionsImport()" ng-disabled="suggestionImportMessage">Restart the import of the suggestions</button></td>
<td>{{suggestionImportMessage}}<span ng-show="suggestionImportMessage"> - to see the current import execution <a href="#!/lastImport">click here</a></span></td>
</tr>
<tr>
<td><button class="btn btn-sm btn-link" ng-click="clearCache()" ng-disabled="cacheMessage">Clear all caches</button></td>
<td>{{cacheMessage}}<span ng-show="cacheMessage"></span></td>
</tr>
</tbody>
</table>