Goit

Simple and lightweight Git web server
git clone https://git.omkov.net/Goit
git clone [email protected]:Goit
Log | Tree | Refs | README | Download

Goit/res/admin/cron.html (37 lines, 850 B) -rw-r--r-- blame download

0123456789101112131415161718192021222324252627282930313233343536
<!DOCTYPE html>
<html lang="en">
	<head>{{template "base/head" .}}</head>
	<body>
		<header>{{template "admin/header" .}}</header><hr>
		<main>
			<table class="highlight-row">
				<thead>
					<tr>
						<td><b>ID</b></td>
						<td><b>Description</b></td>
						<td><b>Schedule</b></td>
						<td><b>Next</b></td>
						<td><b>Last</b></td>
					</tr>
				</thead>
				<tbody>
					{{range .Jobs}}
					<tr>
						<td>{{.ID}}</td>
						{{if .Repo}}
						<td>Mirror <a href="/{{.Repo}}">{{.Description}}</a></td>
						{{else}}
						<td>{{.Description}}</td>
						{{end}}
						<td>{{.Schedule}}</td>
						<td>{{.Next}}</td>
						<td>{{.Last}}</td>
					</tr>
					{{end}}
				</tbody>
			</table><hr>
			<span>Schedule format is month, day, weekday, hour, minute, second, where an asterisk represents "any".</span>
		</main>
	</body>
</html>