Commits (1)
......@@ -10,7 +10,7 @@
</h1>
<div id="collections-table-container" class="col-12">
<div class="row">
<div class="${_auth.level >= 100 ? 'col-sm-12 col-md-8' : 'col-12'}">
<div class="col-12">
<div class="data-table-count float-left">
<label><s:message code="~eu.dariah.de.minfba.common.labels.show" />:
<select class="custom-select custom-select-sm form-control form-control-sm" aria-controls="collections-table">
......@@ -28,15 +28,6 @@
</label>
</div>
</div>
<c:if test="${_auth.level >= 100}">
<div class="col-sm-12 col-md-4">
<div style="text-align: right;">
<button id="btn-resync-colreg" class="btn btn-primary">
<i class="fas fa-sync-alt"></i> <s:message code="~eu.dariah.de.minfba.common.actions.synchronize" />
</button>
</div>
</div>
</c:if>
</div>
<div class="row">
<div class="col-sm-12">
......
......@@ -23,13 +23,27 @@
<th><s:message code="~eu.dariah.de.minfba.search.view.config.sync_cr" /></th>
<td><em><s:message code="${autoSyncCr ? '~eu.dariah.de.minfba.search.view.config.enabled' : '~eu.dariah.de.minfba.search.view.config.disabled'}" /></em></td>
</tr>
<tr>
<th><s:message code="~eu.dariah.de.minfba.search.view.config.auto_offline" /></th>
<td><em><s:message code="${autoOffline ? '~eu.dariah.de.minfba.search.view.config.enabled' : '~eu.dariah.de.minfba.search.view.config.disabled'}" /></em></td>
</tr>
<tr>
<th><s:message code="~eu.dariah.de.minfba.search.view.config.auto_online" /></th>
<td><em><s:message code="${autoOnline ? '~eu.dariah.de.minfba.search.view.config.enabled' : '~eu.dariah.de.minfba.search.view.config.disabled'}" /></em></td>
</tr>
</table>
</nav>
\ No newline at end of file
</nav>
<c:if test="${_auth.level >= 100}">
<nav class="sidebar-block">
<h2><s:message code="~eu.dariah.de.minfba.common.actions" /></h2>
<ul class="status-container">
<li>
<button id="btn-resync-colreg" class="btn btn-inline">
<i class="fas fa-sync-alt"></i> <s:message code="~eu.dariah.de.minfba.search.view.actions.synchronize_cr" />
</button>
</li>
<li>
<button id="btn-force-online" class="btn btn-inline">
<i class="fas fa-sync-alt"></i> <s:message code="~eu.dariah.de.minfba.search.view.actions.crawl_outdated" />
</button>
</li>
</ul>
</nav>
</c:if>
\ No newline at end of file
......@@ -13,7 +13,7 @@
</h1>
<div id="datamodels-table-container" class="col-12">
<div class="row">
<div class="${_auth.level >= 100 ? 'col-sm-12 col-md-8' : 'col-12'}">
<div class="col-12">
<div class="data-table-count float-left">
<label><s:message code="~eu.dariah.de.minfba.common.labels.show" />:
<select class="custom-select custom-select-sm form-control form-control-sm" aria-controls="datamodels-table">
......@@ -31,15 +31,6 @@
</label>
</div>
</div>
<c:if test="${_auth.level >= 100}">
<div class="col-sm-12 col-md-4">
<div style="text-align: right;">
<button id="btn-sync" class="btn btn-primary">
<i class="fas fa-sync-alt"></i> <s:message code="~eu.dariah.de.minfba.common.actions.synchronize" />
</button>
</div>
</div>
</c:if>
</div>
<div class="row">
<div class="col-sm-12">
......
......@@ -21,15 +21,29 @@
<table class="table table-sm">
<tr>
<th><s:message code="~eu.dariah.de.minfba.search.view.config.sync_dme" /></th>
<td><em><s:message code="${autoSyncDme ? '~eu.dariah.de.minfba.search.view.config.enabled' : '~eu.dariah.de.minfba.search.view.config.disabled'}" /></em></td>
<td><s:message code="${autoSyncDme ? '~eu.dariah.de.minfba.search.view.config.enabled' : '~eu.dariah.de.minfba.search.view.config.disabled'}" /></td>
</tr>
<tr>
<th><s:message code="~eu.dariah.de.minfba.search.view.config.auto_offline" /></th>
<td><em><s:message code="${autoOffline ? '~eu.dariah.de.minfba.search.view.config.enabled' : '~eu.dariah.de.minfba.search.view.config.disabled'}" /></em></td>
</tr>
<tr>
<th><s:message code="~eu.dariah.de.minfba.search.view.config.auto_online" /></th>
<td><em><s:message code="${autoOnline ? '~eu.dariah.de.minfba.search.view.config.enabled' : '~eu.dariah.de.minfba.search.view.config.disabled'}" /></em></td>
<td><s:message code="${autoOffline ? '~eu.dariah.de.minfba.search.view.config.enabled' : '~eu.dariah.de.minfba.search.view.config.disabled'}" /></td>
</tr>
</table>
</nav>
\ No newline at end of file
</nav>
<c:if test="${_auth.level >= 100}">
<nav class="sidebar-block">
<h2><s:message code="~eu.dariah.de.minfba.common.actions" /></h2>
<ul class="status-container">
<li>
<button id="btn-sync" class="btn btn-inline">
<i class="fas fa-sync-alt"></i> <s:message code="~eu.dariah.de.minfba.search.view.actions.synchronize_dme" />
</button>
</li>
<li>
<button id="btn-force-offline" class="btn btn-inline">
<i class="fas fa-sync-alt"></i> <s:message code="~eu.dariah.de.minfba.search.view.actions.reindex_outdated" />
</button>
</li>
</ul>
</nav>
</c:if>
\ No newline at end of file