~bigbes/sr-ht-dolt

ref: 8527f0fdd75341f817d55c259583dd1dbebe173f sr-ht-dolt/web/templates/index.html -rw-r--r-- 801 bytes
8527f0fd — Eugene Blikh feat(web/beads): hierarchy in the milestone view 13 days ago
                                                                                
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
{{define "content" -}}
{{if .CurrentUser}}
<div class="row">
  <div class="col-md-8">
    <h2>Your databases</h2>
  </div>
  <div class="col-md-4 text-right">
    <a href="/create" class="btn btn-primary">{{icon "plus-square"}} Create database</a>
  </div>
</div>
{{template "repoList" .Repos}}
{{else}}
<div class="header-extension"></div>
<h2>{{.SiteName}} <span class="text-danger">{{.SiteLabel}}</span></h2>
<p>
  dolt.sr.ht hosts <a href="https://www.dolthub.com/">Dolt</a> databases the way
  git.sr.ht hosts git repositories: <code>dolt clone</code>, <code>push</code> and
  <code>pull</code> over HTTPS, with an integrated web UI for browsing branches,
  commits and tables.
</p>
<p>
  <a href="{{.LoginURL}}" rel="nofollow">Log in</a> to create and manage
  databases.
</p>
{{end}}
{{- end}}