corrade-nucleus-nucleons – Blame information for rev 4
?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 --> |
||
16 | <link href="/bower_components/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet" type="text/css"> |
||
17 | <!-- Corrade Nucleus Fonts --> |
||
18 | <link href="/css/nucleus/fonts.css" rel="stylesheet" type="text/css"> |
||
19 | <!-- Customized bootstrap style. --> |
||
20 | <link href="/css/nucleus/nucleus.css" rel="stylesheet" type="text/css"> |
||
21 | |||
22 | </script> |
||
23 | </head> |
||
24 | |||
25 | <body> |
||
26 | <!-- Bootstrap Modal --> |
||
27 | <div id="popup" class="modal fade bs-example-modal-lg" role="dialog"> |
||
28 | <div class="modal-dialog modal-lg"> |
||
29 | <!-- Modal content--> |
||
30 | |||
31 | <div class="modal-content"> |
||
32 | <div class="modal-header"> |
||
33 | <button type="button" class="close" data-dismiss="modal">×</button> |
||
34 | |||
35 | <h1 id="title" class="modal-title"></h1> |
||
36 | </div> |
||
37 | |||
38 | <div id="content" class="modal-body"> |
||
39 | <div class="progress"> |
||
40 | <div id="progressbar" class="progress-bar" role="progressbar" aria-valuenow="2" aria-valuemin="0" aria-valuemax="100" style="min-width: 2em; width: 2%;"> |
||
41 | 0% |
||
42 | </div> |
||
43 | </div> |
||
44 | |||
45 | <div class="modal-footer"> |
||
46 | <button type="button" class="btn btn-default" data-dismiss="modal">Close</button> |
||
47 | </div> |
||
48 | </div> |
||
49 | </div> |
||
50 | </div> |
||
51 | </div> |
||
52 | |||
53 | <div class="container"> |
||
54 | <div class="jumbotron"> |
||
55 | <h1>Corrade Bootstrap</h1> |
||
56 | <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 | 57 | <img src="/bootstrap/img/bootstrap.png"></div> |
1 | office | 58 | |
59 | <div id="cfgform"></div> |
||
60 | |||
61 | <footer class="footer"> |
||
62 | <p>© 2017 Wizardry and Steamworks</p> |
||
63 | </footer> |
||
64 | </div> |
||
2 | office | 65 | <!-- jQuery --> |
66 | <script src="/bower_components/jquery/dist/jquery.min.js" type="text/javascript"></script> |
||
67 | <!-- Bootstrap Javascript --> |
||
68 | <script type="text/javascript" src="/bower_components/bootstrap/dist/js/bootstrap.min.js"></script> |
||
69 | <!-- Bootstrap Form Validator --> |
||
70 | <script src="/bootstrap/bower_components/bootstrap-validator/dist/validator.min.js" type="text/javascript"></script> |
||
71 | <!-- XML <-> JSON --> |
||
72 | <script src="/bootstrap/bower_components/x2js/xml2json.min.js" type="text/javascript"></script> |
||
73 | <!-- CryptoJS --> |
||
74 | <script src="/bower_components/cryptojslib/components/core.js" type="text/javascript"></script> |
||
75 | <script src="/bower_components/cryptojslib/rollups/md5.js" type="text/javascript"></script> |
||
76 | <!-- Form To Object --> |
||
77 | <script src="/bootstrap/node_modules/form_to_object/dist/formToObject.min.js" type="text/javascript"></script> |
||
1 | office | 78 | <!-- Load form processor. --> |
2 | office | 79 | <script src="/bootstrap/js/corrade-bootstrap-processor.js" type="text/javascript"></script> |
1 | office | 80 | <!-- Load Corrade Bootstrap Form --> |
81 | <script type="text/javascript"> |
||
82 | $(document).ready(function() { |
||
83 | $.get('/cfg/Corrade.ini', function() { |
||
84 | $('#cfgform').load('bootstrap/htm/bootstrap-configuration-exists.html', function() { |
||
85 | $( "#proceed" ).click(function() { |
||
86 | $('#cfgform').load('bootstrap/htm/bootstrap-configuration-form.html', function() { |
||
87 | // Trigger form validation. |
||
88 | $('#cfgform').validator(); |
||
89 | }); |
||
90 | }); |
||
91 | }); |
||
92 | }).fail(function() { |
||
93 | $('#cfgform').load('bootstrap/htm/bootstrap-configuration-form.html', function() { |
||
94 | // Trigger form validation. |
||
95 | $('#cfgform').validator(); |
||
96 | }); |
||
97 | }); |
||
98 | }); |
||
99 | </script> |
||
100 | </body> |
||
101 | </html> |