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