You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
925 B

<div class="narrow">
<div class="jumbotron">
<h3>Device Code</h3>
<p id="device-message">If you are prompted to log in on a device, click the button below to generate a device code.</p>
<div id="device-code">
<input type="button" class="btn btn-primary" value="Generate Device Code" id="generate-code">
<style type="text/css">
.screenshot {
-webkit-border-radius: 6px;
-moz-border-radius: 6px;
border-radius: 6px;
$.post("/settings/device-code", {
generate: 1
}, function(response){
$("#device-message").html('Enter the code below on the device in order to sign in. This code is valid for 5 minutes.');
}, 1000*300);