neat/templates/settings.hamlet

20 lines
799 B
Plaintext
Raw Permalink Normal View History

<div class="container">
<div class="panel panel-default">
<div class="panel-heading">Auth-Key settings
<div class="panel-body">
$maybe w <- insertionWidget
^{w}
<form role=form method=post action=@{SettingsR} enctype=#{formEnctype} class="form-horizontal">
^{formWidget}
$if validKey
<div class="panel panel-success">
<div class="panel-heading">API Key
<div class="panel-body">
<p>This auth-key is working.
$else
<div class="panel panel-danger">
<div class="panel-heading">API Key
<div class="panel-body">
<p>This auth-key is not suitable.<br>
2016-11-17 23:39:43 +00:00
<a href="https://community.eveonline.com/support/api-key/CreatePredefined?accessMask=132648971">Create API-Key