forked from timwis/jkan
-
Notifications
You must be signed in to change notification settings - Fork 0
/
admin.html
54 lines (41 loc) · 1.95 KB
/
admin.html
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
---
title: Administration
layout: default
permalink: /admin/
---
{% include breadcrumbs.html %}
<div class="alert alert-success" role="alert" data-hook="alert-success" style="display: none;">
These settings have been <a href="#" data-hook="commit-url">saved</a> and the site is currently regenerating.
</div>
<div class="alert alert-danger" role="alert" data-hook="alert-error" style="display: none;">
There was an error saving this page
</div>
<h1>Administration</h1>
<form data-hook="admin-form">
<fieldset>
<div class="form-group">
<label for="title">Site Title</label>
<input type="text" class="form-control" id="title" name="title" value="{{ site.title }}">
</div>
<div class="form-group">
<label for="description">Site Description</label>
<textarea class="form-control" id="description" name="description">{{ site.description }}</textarea>
</div>
<div class="form-group">
<label for="baseurl">Base URL</label>
<input type="text" class="form-control" id="baseurl" name="baseurl" value="{{ site.baseurl }}" placeholder="ie. /JKAN">
</div>
<h3>Authentication</h3>
<div class="form-group">
<label for="github_client_id">GitHub Client ID</label>
<input type="text" class="form-control" id="github_client_id" name="github_client_id" value="{{ site.github_client_id }}" placeholder="ie. 9098sdf876sdfs768az">
<p class="help-block"><a href="https://github.com/settings/applications/new">Register a Github application</a> to get a Client ID</p>
</div>
<div class="form-group">
<label for="gatekeeper_host">Gatekeeper Host</label>
<input type="text" class="form-control" id="gatekeeper_host" name="gatekeeper_host" value="{{ site.gatekeeper_host }}" placeholder="ie. http://jkan-gatekeeper.herokuapp.com">
<p class="help-block">Authentication server you deployed</p>
</div>
<button type="submit" class="btn btn-primary">Submit</button>
</fieldset>
</form>