summaryrefslogtreecommitdiffstats
path: root/templates/repo/settings/push_mirror_sync_modal.tmpl
blob: e8dad61a48702fb56748dc6e3c24a5bc7e42eb31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<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"}}
	</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>
				<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>
				<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"}}
				</button>
				<button class="ui primary small approve button">
					{{svg "fontawesome-save"}}
					{{ctx.Locale.Tr "save"}}
				</button>
			</div>
		</form>
	</div>
</div>