2014-02-01 02:49:22 +00:00
|
|
|
{{%define "content"%}} {{%template "nav" .User%}}
|
2013-12-12 06:27:43 +00:00
|
|
|
<div class="jumbotron">
|
|
|
|
<div class="container" style="text-align:center;">
|
|
|
|
<h1 class="sans header">
|
|
|
|
Settings
|
|
|
|
</h1>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="container">
|
|
|
|
<div class="col-md-3 sidebar">
|
|
|
|
<ul class="nav nav-pills nav-stacked">
|
|
|
|
<li><a href="/">Dashboard</a>
|
|
|
|
</li>
|
|
|
|
<li><a href="/users">Users & Groups</a>
|
|
|
|
</li>
|
|
|
|
<li class="active"><a href="/settings">Settings</a>
|
|
|
|
</li>
|
2014-02-02 22:37:36 +00:00
|
|
|
<li><a href="/api/">API Documentation</a>
|
2013-12-12 06:27:43 +00:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-9 sans">
|
2014-02-02 20:47:06 +00:00
|
|
|
{{%template "flashes" .Flashes%}}
|
2014-01-31 04:46:25 +00:00
|
|
|
<h1 style="margin:0px 0px 15px 0px;">User Settings</h1>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-2">
|
|
|
|
<p><b>Username:</b>
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-6">
|
2014-02-01 02:49:22 +00:00
|
|
|
<input type="text" value="{{%.User.Username%}}" class="form-control" />
|
2014-01-31 04:46:25 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<br/>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-2">
|
|
|
|
<p><b>API Key:</b>
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-6">
|
2014-02-01 02:49:22 +00:00
|
|
|
<input type="text" value="{{%.User.APIKey%}}" class="form-control" readonly/>
|
2014-01-31 04:46:25 +00:00
|
|
|
</div>
|
2014-02-02 20:47:06 +00:00
|
|
|
<a href="/api/reset">
|
|
|
|
<button class="btn btn-primary"><i class="fa fa-refresh"></i> Reset</button>
|
|
|
|
</a>
|
2014-01-31 04:46:25 +00:00
|
|
|
</div>
|
|
|
|
<br />
|
|
|
|
<button class="btn btn-primary">Save</button>
|
2013-12-12 06:27:43 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2014-02-01 02:49:22 +00:00
|
|
|
{{%end%}}
|