2023-08-01 16:00:59 +00:00
|
|
|
<div class="ui small modal" id="push-mirror-edit-modal">
|
|
|
|
<div class="header">
|
2023-09-25 08:56:50 +00:00
|
|
|
{{ctx.Locale.Tr "repo.settings.mirror_settings.push_mirror.edit_sync_time"}}
|
2023-08-01 16:00:59 +00:00
|
|
|
</div>
|
|
|
|
<div class="content">
|
|
|
|
<form class="ui form ignore-dirty" method="post">
|
|
|
|
{{.CsrfTokenHtml}}
|
|
|
|
<input type="hidden" name="action" value="push-mirror-update">
|
|
|
|
<input type="hidden" name="push_mirror_id" id="push-mirror-edit-id">
|
|
|
|
<div class="field">
|
2023-09-25 08:56:50 +00:00
|
|
|
<label for="name">{{ctx.Locale.Tr "repo.settings.mirror_settings.mirrored_repository"}}</label>
|
2023-08-01 16:00:59 +00:00
|
|
|
<div class="ui small input">
|
|
|
|
<input id="push-mirror-edit-address" readonly>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="inline field">
|
2023-09-25 08:56:50 +00:00
|
|
|
<label for="push-mirror-edit-interval">{{ctx.Locale.Tr "repo.mirror_interval" .MinimumMirrorInterval}}</label>
|
2023-08-01 16:00:59 +00:00
|
|
|
<input id="push-mirror-edit-interval" name="push_mirror_interval" autofocus>
|
|
|
|
</div>
|
|
|
|
<div class="actions">
|
|
|
|
<button class="ui small basic cancel button">
|
|
|
|
{{svg "octicon-x"}}
|
2023-09-25 08:56:50 +00:00
|
|
|
{{ctx.Locale.Tr "cancel"}}
|
2023-08-01 16:00:59 +00:00
|
|
|
</button>
|
|
|
|
<button class="ui primary small approve button">
|
|
|
|
{{svg "fontawesome-save"}}
|
2023-09-25 08:56:50 +00:00
|
|
|
{{ctx.Locale.Tr "save"}}
|
2023-08-01 16:00:59 +00:00
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|