Code
Branches
CI
Releases
Discussions
Prompts
Settings
fiesta / check / testdata / seed / examples / api-tokens / no-tokens-yet.html
Download this file
1 <!doctype html> 2 <html lang="en" dir="ltr"> 3 <head> 4 <meta charset="utf-8"> 5 <meta name="viewport" content="width=device-width"> 6 <title>api-tokens: No tokens yet</title> 7 <link rel="stylesheet" href="../../css/tokens.css"> 8 <link rel="stylesheet" href="../../css/themes/day.css"> 9 <script defer src="../../js/fiesta.js"></script> 10 <script defer src="../../js/light.js"></script> 11 </head> 12 <body> 13 <div rst-tokens> 14 <section rst-box><form rst-form method="post" action="/tokens"> 15 <div rst-field><label rst-field-label for="agent">Agent name</label> 16 <input rst-input type="text" id="agent" name="agent" maxlength="40"> 17 </div> 18 <label rst-switch><input type="checkbox" name="for_self" value="on"><span rst-switch-track aria-hidden="true"></span> This token is for me, not an agent</label> 19 <fieldset rst-choice><legend>Access</legend><div rst-choice-cards><label><input type="radio" name="access" value="write" checked><span><span rst-choice-title>Read and write</span></span></label><label><input type="radio" name="access" value="read"><span><span rst-choice-title>Read only</span></span></label></div></fieldset> 20 <div rst-field><label rst-field-label for="expiry">Expires</label> 21 <select rst-input="short" id="expiry" name="expiry"><option value="30">30 days</option><option value="90" selected>90 days</option><option value="365">1 year</option><option value="never">Never</option></select> 22 </div> 23 <div rst-form-foot> 24 <button rst-btn="primary lg" type="submit">Create token</button> 25 </div> 26 </form></section> 27 <div rst-empty> 28 <p rst-empty-body>No tokens yet.</p> 29 </div> 30 </div> 31 </body> 32 </html> 33