summaryrefslogtreecommitdiffstats
path: root/src/html/networkdiscovery_debug.html
blob: be0c35f3093b17697e23622037bbc900b03f4d9c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<html>
<head>
<!--qrc:/html/ is needed. otherwise qt won't find the files-->
<link rel="stylesheet" type="text/css" href="qrc:/html/networkdiscovery.css">
<link rel="stylesheet" type="text/css" href="qrc:/html/css/jquery-ui-1.8.16.css">
<script type="text/javascript" src="qrc:/html/js/jquery-1.6.4.min.js"></script>
<script type="text/javascript" src="qrc:/html/js/jquery-ui-1.8.16.min.js"></script>
<script type="text/javascript" src="qrc:/html/js/networkDiscovery.js"></script>


<script type="text/javascript">
// prepare the form when the DOM is ready 
$(document).ready(function() { 
	// Setup the ajax indicator
	$("#nd_status").append('<div id="ajaxBusy"><p><img src="qrc:/html/images/loading.gif"></p></div>');
});

</script> 

</head>
<body>
    <header>  
      <h1>Network Discovery</h1>  
    </header> 
      <section id="intro">  
        <p id="into_msg">Welcome to the Network Discovery. <br/>
Please press <strong>F5</strong> if you want to choose which interface to use. <br/>
We are now looking for usable interfaces and will go on as soon as we found one. This may take a few seconds.</p> 
      </section> 
      <div id="content">
        <div id="left_spacer">        
          <aside>  
            <!-- free space -->  
          </aside>
        </div>
        <div id="mainContent">
          <section>  
            <!-- Main content area -->
            <p id="nd_status"></p>
            <!-- anchor for the show log dialog -->
            <div id="nd_show_log_dialog" title="Log File">
              <pre id="nd_show_log_msg"></pre>
            </div> 
            <!-- anchor for the abort boot dialog -->
            <div id="nd_abort_boot_dialog" title="Abort Boot">
              <p id="nd_abort_boot_msg"> <p>
            </div>
            <!-- anchor for the choose interface dialog -->
            <div id="nd_choose_interface_dialog" title="Choose your Interface">
              <p id="nd_choose_interface_msg"></p>
            </div>
            <!-- anchor for the manual configuration dialog -->
            <div id="nd_manual_configuration_dialog" title="Manual Configuration">
              <p id="nd_manual_configuration_msg"></p>
              <p class="validateTips">All form fields are required.</p>
              <form>
                <fieldset>
                  <label for="nd_mc_ifname">Interface</label>
                  <span id="nd_mc_ifname"></span>		  
                  <label for="ipaddr">IP-Address</label>
                  <input type="text" name="ipaddr" id="ipaddr" class="text ui-widget-content ui-corner-all"/>
                  <label for="netmask">Netmask</label>
                  <input type="text" name="netmask" id="netmask" class="text ui-widget-content ui-corner-all"/>
                  <label for="broadcast">Broadcast Address</label>
                  <input type="text" name="broadcast" id="broadcast" class="text ui-widget-content ui-corner-all"/>
                  <label for="gateway">Gateway Address</label>
                  <input type="text" name="gateway" id="gateway" class="text ui-widget-content ui-corner-all"/>
                  <label for="dns">DNS</label>
                  <input type="text" name="dns" id="dns" class="text ui-widget-content ui-corner-all"/>
                </fieldset>
              </form>
            </div>
            <!-- anchor for qt interface progress foo -->
            <div id="nd_progress_container"></div>  
          </section>  
        </div>
        <div id="right_spacer">        
          <aside>  
            <!-- free space -->  
          </aside>
        </div>
      </div> 
      <footer>  
        <p>RZ Uni Freiburg, 2011</p> 
      </footer>
</body>
</html>