0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-29 02:13:41 +01:00
gitea/templates/repo/settings/push_mirror_sync_modal.tmpl

33 lines
1.1 KiB
Handlebars
Raw Normal View History

2023-08-01 18:00:59 +02:00
<div class="ui small modal" id="push-mirror-edit-modal">
<div class="header">
{{ctx.Locale.Tr "repo.settings.mirror_settings.push_mirror.edit_sync_time"}}
2023-08-01 18:00:59 +02: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">
<label for="name">{{ctx.Locale.Tr "repo.settings.mirror_settings.mirrored_repository"}}</label>
2023-08-01 18:00:59 +02:00
<div class="ui small input">
<input id="push-mirror-edit-address" readonly>
</div>
</div>
<div class="inline field">
<label for="push-mirror-edit-interval">{{ctx.Locale.Tr "repo.mirror_interval" .MinimumMirrorInterval}}</label>
2023-08-01 18:00:59 +02: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"}}
{{ctx.Locale.Tr "cancel"}}
2023-08-01 18:00:59 +02:00
</button>
<button class="ui primary small approve button">
{{svg "fontawesome-save"}}
{{ctx.Locale.Tr "save"}}
2023-08-01 18:00:59 +02:00
</button>
</div>
</form>
</div>
</div>