code.gitea.io/gitea@v1.22.3/templates/admin/auth/list.tmpl (about) 1 {{template "admin/layout_head" (dict "ctxData" . "pageClass" "admin authentication")}} 2 <div class="admin-setting-content"> 3 <h4 class="ui top attached header"> 4 {{ctx.Locale.Tr "admin.auths.auth_manage_panel"}} ({{ctx.Locale.Tr "admin.total" .Total}}) 5 <div class="ui right"> 6 <a class="ui primary tiny button" href="{{AppSubUrl}}/admin/auths/new">{{ctx.Locale.Tr "admin.auths.new"}}</a> 7 </div> 8 </h4> 9 <div class="ui attached table segment"> 10 <table class="ui very basic striped table unstackable"> 11 <thead> 12 <tr> 13 <th>ID</th> 14 <th>{{ctx.Locale.Tr "admin.auths.name"}}</th> 15 <th>{{ctx.Locale.Tr "admin.auths.type"}}</th> 16 <th>{{ctx.Locale.Tr "admin.auths.enabled"}}</th> 17 <th>{{ctx.Locale.Tr "admin.auths.updated"}}</th> 18 <th>{{ctx.Locale.Tr "admin.users.created"}}</th> 19 <th>{{ctx.Locale.Tr "admin.users.edit"}}</th> 20 </tr> 21 </thead> 22 <tbody> 23 {{range .Sources}} 24 <tr> 25 <td>{{.ID}}</td> 26 <td><a href="{{AppSubUrl}}/admin/auths/{{.ID}}">{{.Name}}</a></td> 27 <td>{{.TypeName}}</td> 28 <td>{{if .IsActive}}{{svg "octicon-check"}}{{else}}{{svg "octicon-x"}}{{end}}</td> 29 <td>{{DateTime "short" .UpdatedUnix}}</td> 30 <td>{{DateTime "short" .CreatedUnix}}</td> 31 <td><a href="{{AppSubUrl}}/admin/auths/{{.ID}}">{{svg "octicon-pencil"}}</a></td> 32 </tr> 33 {{end}} 34 </tbody> 35 </table> 36 </div> 37 </div> 38 {{template "admin/layout_footer" .}}