corrade-nucleus-nucleons – Blame information for rev 38
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | <!DOCTYPE html> |
2 | |||
3 | <html lang="en"> |
||
4 | <head> |
||
5 | <meta charset="utf-8"> |
||
6 | <meta http-equiv="X-UA-Compatible" content="IE=edge"> |
||
7 | <meta name="viewport" content="width=device-width, initial-scale=1"> |
||
8 | <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> |
||
9 | <meta name="description" content="Corrade Nucleon"> |
||
10 | <meta name="author" content="Wizardry and Steamworks"> |
||
11 | <link rel="icon" href="favicon.ico"> |
||
12 | |||
13 | <title>Corrade Nucleus - Initial Configuration Bootstrap</title> |
||
14 | |||
15 | <!-- Bootstrap core CSS --> |
||
20 | office | 16 | <link href="/node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet" type="text/css"> |
1 | office | 17 | <!-- Corrade Nucleus Fonts --> |
18 | <link href="/css/nucleus/fonts.css" rel="stylesheet" type="text/css"> |
||
19 | |||
20 | </script> |
||
21 | </head> |
||
22 | |||
23 | <body> |
||
24 | <!-- Bootstrap Modal --> |
||
25 | <div id="popup" class="modal fade bs-example-modal-lg" role="dialog"> |
||
26 | <div class="modal-dialog modal-lg"> |
||
27 | <!-- Modal content--> |
||
28 | |||
29 | <div class="modal-content"> |
||
30 | <div class="modal-header"> |
||
31 | <button type="button" class="close" data-dismiss="modal">×</button> |
||
32 | |||
33 | <h1 id="title" class="modal-title"></h1> |
||
34 | </div> |
||
35 | |||
36 | <div id="content" class="modal-body"> |
||
37 | <div class="progress"> |
||
38 | <div id="progressbar" class="progress-bar" role="progressbar" aria-valuenow="2" aria-valuemin="0" aria-valuemax="100" style="min-width: 2em; width: 2%;"> |
||
39 | 0% |
||
40 | </div> |
||
41 | </div> |
||
42 | |||
43 | <div class="modal-footer"> |
||
44 | <button type="button" class="btn btn-default" data-dismiss="modal">Close</button> |
||
45 | </div> |
||
46 | </div> |
||
47 | </div> |
||
48 | </div> |
||
49 | </div> |
||
50 | |||
51 | <div class="container"> |
||
52 | <div class="jumbotron"> |
||
53 | <h1>Corrade Bootstrap</h1> |
||
54 | <p class="lead">The Corrade bootstrap utility is used to create an initial configuration for Corrade by allowing you to fill in the bare essentials to get your bot connected to the grid.</p> |
||
2 | office | 55 | <img src="/bootstrap/img/bootstrap.png"></div> |
1 | office | 56 | |
57 | <div id="cfgform"></div> |
||
58 | |||
59 | <footer class="footer"> |
||
60 | <p>© 2017 Wizardry and Steamworks</p> |
||
61 | </footer> |
||
62 | </div> |
||
2 | office | 63 | <!-- jQuery --> |
20 | office | 64 | <script src="/node_modules/jquery/dist/jquery.min.js" type="text/javascript"></script> |
2 | office | 65 | <!-- Bootstrap Javascript --> |
20 | office | 66 | <script src="/node_modules/bootstrap/dist/js/bootstrap.min.js" type="text/javascript"></script> |
2 | office | 67 | <!-- Bootstrap Form Validator --> |
20 | office | 68 | <script src="/node_modules/bootstrap-validator/dist/validator.min.js" type="text/javascript"></script> |
23 | office | 69 | <!-- Forge --> |
70 | <script src="/node_modules/node-forge/dist/forge.all.min.js" type="text/javascript"></script> |
||
20 | office | 71 | <!-- Form To Object --> |
2 | office | 72 | <script src="/bootstrap/node_modules/form_to_object/dist/formToObject.min.js" type="text/javascript"></script> |
21 | office | 73 | <!-- X2JS --> |
74 | <script src="/bootstrap/node_modules/x2js/x2js.js" type="text/javascript"></script> |
||
1 | office | 75 | <!-- Load form processor. --> |
2 | office | 76 | <script src="/bootstrap/js/corrade-bootstrap-processor.js" type="text/javascript"></script> |
1 | office | 77 | <!-- Load Corrade Bootstrap Form --> |
78 | <script type="text/javascript"> |
||
79 | $(document).ready(function() { |
||
80 | $.get('/cfg/Corrade.ini', function() { |
||
81 | $('#cfgform').load('bootstrap/htm/bootstrap-configuration-exists.html', function() { |
||
82 | $( "#proceed" ).click(function() { |
||
83 | $('#cfgform').load('bootstrap/htm/bootstrap-configuration-form.html', function() { |
||
84 | // Trigger form validation. |
||
85 | $('#cfgform').validator(); |
||
86 | }); |
||
87 | }); |
||
88 | }); |
||
89 | }).fail(function() { |
||
90 | $('#cfgform').load('bootstrap/htm/bootstrap-configuration-form.html', function() { |
||
91 | // Trigger form validation. |
||
92 | $('#cfgform').validator(); |
||
93 | }); |
||
94 | }); |
||
95 | }); |
||
96 | </script> |
||
97 | </body> |
||
98 | </html> |