|
|
@ -15,50 +15,53 @@ |
|
|
|
{{.i18n.Tr "admin.dashboard.operations"}} |
|
|
|
{{.i18n.Tr "admin.dashboard.operations"}} |
|
|
|
</h4> |
|
|
|
</h4> |
|
|
|
<div class="ui attached table segment"> |
|
|
|
<div class="ui attached table segment"> |
|
|
|
<table class="ui very basic table"> |
|
|
|
<form method="post" action="{{AppSubUrl}}/admin"> |
|
|
|
<tbody> |
|
|
|
{{.CsrfTokenHtml}} |
|
|
|
<tr> |
|
|
|
<table class="ui very basic table"> |
|
|
|
<td>{{.i18n.Tr "admin.dashboard.delete_inactivate_accounts"}}</td> |
|
|
|
<tbody> |
|
|
|
<td><i class="fa fa-caret-square-o-right"></i> <a href="{{AppSubUrl}}/admin?op=1">{{.i18n.Tr "admin.dashboard.operation_run"}}</a></td> |
|
|
|
<tr> |
|
|
|
</tr> |
|
|
|
<td>{{.i18n.Tr "admin.dashboard.delete_inactivate_accounts"}}</td> |
|
|
|
<tr> |
|
|
|
<td><button type="submit" class="ui green button" name="op" value="1">{{svg "octicon-triangle-right" 16}} {{.i18n.Tr "admin.dashboard.operation_run"}}</button></td> |
|
|
|
<td>{{.i18n.Tr "admin.dashboard.delete_repo_archives"}}</td> |
|
|
|
</tr> |
|
|
|
<td><i class="fa fa-caret-square-o-right"></i> <a href="{{AppSubUrl}}/admin?op=2">{{.i18n.Tr "admin.dashboard.operation_run"}}</a></td> |
|
|
|
<tr> |
|
|
|
</tr> |
|
|
|
<td>{{.i18n.Tr "admin.dashboard.delete_repo_archives"}}</td> |
|
|
|
<tr> |
|
|
|
<td><button type="submit" class="ui green button" name="op" value="2">{{svg "octicon-triangle-right" 16}} {{.i18n.Tr "admin.dashboard.operation_run"}}</button></td> |
|
|
|
<td>{{.i18n.Tr "admin.dashboard.delete_missing_repos"}}</td> |
|
|
|
</tr> |
|
|
|
<td><i class="fa fa-caret-square-o-right"></i> <a href="{{AppSubUrl}}/admin?op=3">{{.i18n.Tr "admin.dashboard.operation_run"}}</a></td> |
|
|
|
<tr> |
|
|
|
</tr> |
|
|
|
<td>{{.i18n.Tr "admin.dashboard.delete_missing_repos"}}</td> |
|
|
|
<tr> |
|
|
|
<td><button type="submit" class="ui green button" name="op" value="3">{{svg "octicon-triangle-right" 16}} {{.i18n.Tr "admin.dashboard.operation_run"}}</button></td> |
|
|
|
<td>{{.i18n.Tr "admin.dashboard.git_gc_repos"}}</td> |
|
|
|
</tr> |
|
|
|
<td><i class="fa fa-caret-square-o-right"></i> <a href="{{AppSubUrl}}/admin?op=4">{{.i18n.Tr "admin.dashboard.operation_run"}}</a></td> |
|
|
|
<tr> |
|
|
|
</tr> |
|
|
|
<td>{{.i18n.Tr "admin.dashboard.git_gc_repos"}}</td> |
|
|
|
<tr> |
|
|
|
<td><button type="submit" class="ui green button" name="op" value="4">{{svg "octicon-triangle-right" 16}} {{.i18n.Tr "admin.dashboard.operation_run"}}</button></td> |
|
|
|
<td>{{.i18n.Tr "admin.dashboard.resync_all_sshkeys"}}</td> |
|
|
|
</tr> |
|
|
|
<td><i class="fa fa-caret-square-o-right"></i> <a href="{{AppSubUrl}}/admin?op=5">{{.i18n.Tr "admin.dashboard.operation_run"}}</a></td> |
|
|
|
<tr> |
|
|
|
</tr> |
|
|
|
<td>{{.i18n.Tr "admin.dashboard.resync_all_sshkeys"}}</td> |
|
|
|
<tr> |
|
|
|
<td><button type="submit" class="ui green button" name="op" value="5">{{svg "octicon-triangle-right" 16}} {{.i18n.Tr "admin.dashboard.operation_run"}}</button></td> |
|
|
|
<td>{{.i18n.Tr "admin.dashboard.resync_all_hooks"}}</td> |
|
|
|
</tr> |
|
|
|
<td><i class="fa fa-caret-square-o-right"></i> <a href="{{AppSubUrl}}/admin?op=6">{{.i18n.Tr "admin.dashboard.operation_run"}}</a></td> |
|
|
|
<tr> |
|
|
|
</tr> |
|
|
|
<td>{{.i18n.Tr "admin.dashboard.resync_all_hooks"}}</td> |
|
|
|
<tr> |
|
|
|
<td><button type="submit" class="ui green button" name="op" value="6">{{svg "octicon-triangle-right" 16}} {{.i18n.Tr "admin.dashboard.operation_run"}}</button></td> |
|
|
|
<td>{{.i18n.Tr "admin.dashboard.reinit_missing_repos"}}</td> |
|
|
|
</tr> |
|
|
|
<td><i class="fa fa-caret-square-o-right"></i> <a href="{{AppSubUrl}}/admin?op=7">{{.i18n.Tr "admin.dashboard.operation_run"}}</a></td> |
|
|
|
<tr> |
|
|
|
</tr> |
|
|
|
<td>{{.i18n.Tr "admin.dashboard.reinit_missing_repos"}}</td> |
|
|
|
<tr> |
|
|
|
<td><button type="submit" class="ui green button" name="op" value="7">{{svg "octicon-triangle-right" 16}} {{.i18n.Tr "admin.dashboard.operation_run"}}</button></td> |
|
|
|
<td>{{.i18n.Tr "admin.dashboard.sync_external_users"}}</td> |
|
|
|
</tr> |
|
|
|
<td><i class="fa fa-caret-square-o-right"></i> <a href="{{AppSubUrl}}/admin?op=8">{{.i18n.Tr "admin.dashboard.operation_run"}}</a></td> |
|
|
|
<tr> |
|
|
|
</tr> |
|
|
|
<td>{{.i18n.Tr "admin.dashboard.sync_external_users"}}</td> |
|
|
|
<tr> |
|
|
|
<td><button type="submit" class="ui green button" name="op" value="8">{{svg "octicon-triangle-right" 16}} {{.i18n.Tr "admin.dashboard.operation_run"}}</button></td> |
|
|
|
<td>{{.i18n.Tr "admin.dashboard.git_fsck"}}</td> |
|
|
|
</tr> |
|
|
|
<td><i class="fa fa-caret-square-o-right"></i> <a href="{{AppSubUrl}}/admin?op=9">{{.i18n.Tr "admin.dashboard.operation_run"}}</a></td> |
|
|
|
<tr> |
|
|
|
</tr> |
|
|
|
<td>{{.i18n.Tr "admin.dashboard.git_fsck"}}</td> |
|
|
|
<tr> |
|
|
|
<td><button type="submit" class="ui green button" name="op" value="9">{{svg "octicon-triangle-right" 16}} {{.i18n.Tr "admin.dashboard.operation_run"}}</button></td> |
|
|
|
<td>{{.i18n.Tr "admin.dashboard.delete_generated_repository_avatars"}}</td> |
|
|
|
</tr> |
|
|
|
<td><i class="fa fa-caret-square-o-right"></i> <a href="{{AppSubUrl}}/admin?op=10">{{.i18n.Tr "admin.dashboard.operation_run"}}</a></td> |
|
|
|
<tr> |
|
|
|
</tr> |
|
|
|
<td>{{.i18n.Tr "admin.dashboard.delete_generated_repository_avatars"}}</td> |
|
|
|
</tbody> |
|
|
|
<td><button type="submit" class="ui green button" name="op" value="10">{{svg "octicon-triangle-right" 16}} {{.i18n.Tr "admin.dashboard.operation_run"}}</button></td> |
|
|
|
</table> |
|
|
|
</tr> |
|
|
|
|
|
|
|
</tbody> |
|
|
|
|
|
|
|
</table> |
|
|
|
|
|
|
|
</form> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<h4 class="ui top attached header"> |
|
|
|
<h4 class="ui top attached header"> |
|
|
|