Take two:
[www-register-wizard.git] / application / views / stage7_firstcontact.php
1 <div class="plroundedupdate">
2 <div class="plroundedwhite">
3 <h3>Confirm Node Boot and PLC Contact</h3>
4 <table><tbody>
5         <tr><th>Site: </th><td> <a href='/db/sites/index.php?id=$site_id'><?= $site['name'] ?></a></td></tr>
6         <tr><th>Hostname: </th><td nowrap='1'><?= $node['hostname'] ?></td></tr>
7         <tr><th>Boot State: </th><td><?= $node['boot_state'] ?> </td></tr>
8         <tr><th>Model: </th><td><?= $node['model'] ?></td></tr>
9         <tr><th>Version: </th><td nowrap='1'><?= $node['version'] ?></td></tr>
10         <tr><th>Last Contact: </th><td><?= $last_contact_str ?></td>
11                 <td>
12                 <?php if ( $last_contact_str == "Never" ): ?>
13                         <span class='error'> Once your machine has booted and contacted PLC,
14                                 this field will update and you will be able to 'Continue' to the next
15                                 stage.
16                         </span>
17                         <br>
18                         'Reload' to refresh this page.
19                 <?php else: ?>
20                         <b>Success!!</b> Your machine has booted and contacted PLC.<br>
21                         'Continue' and test the remote reset function.
22                 <?php endif; ?>
23                 </td>
24         </tr>
25         <tr>
26                 <td>&nbsp;</td>
27         </tr>
28         <tr>
29                 <td>
30                 </td>
31                 <td colspan='2'>
32                         <?= form_open("confirm/stage7_firstcontact/$pcu_id/$site_id/$node_id", array('style' => 'display: inline; margin: 0px')) ?>
33                                 <input type='submit' name='reload_contact' value='Reload'>
34                         </form>
35                         <?= form_open("confirm/stage8_rebootpcu/$pcu_id/$site_id/$node_id", array('style' => 'display: inline; margin: 0px')) ?>
36                 <?php if ( $last_contact_str != "Never" ): ?>
37                                 <input type='submit' value='Continue'>
38                 <?php else: ?>
39                                 <input type='submit' disabled value='Continue'>
40                 <?php endif; ?>
41                                 <input type='submit' value='Debug Continue'>
42                         </form>
43                 </td>
44         </tr>
45 </tbody></table><br/>
46 </div>
47 </div>
48 <p>
49 <h3>Trouble Shooting:</h3>
50 <ul>
51 <li>If you have booted the machine, but the <em>Last Contact</em> field has
52 not updated, then there is very likely a local, network configuration problem. <br> 
53 We recommend verifying that the machine's network settings are correct and operational.  You can achieve this using the <code>site_admin</code> account on the BootCD to manually diagnose the problem.</li>
54 </ul>
55 </p>