Disabled most of status page for Airtime Pro and fixed HTML syntax errors

This commit is contained in:
Albert Santoni 2015-06-12 10:36:27 -04:00
parent 980e2ad767
commit 53b67d0826
2 changed files with 10 additions and 7 deletions

View file

@ -23,6 +23,7 @@ class CORSHelper
return array("http://www.airtime.pro", return array("http://www.airtime.pro",
"https://www.airtime.pro", "https://www.airtime.pro",
"https://account.sourcefabric.com", "https://account.sourcefabric.com",
"https://account.sourcefabric.com:5001",
"http://" . $_SERVER['SERVER_NAME'], "http://" . $_SERVER['SERVER_NAME'],
"https://" . $_SERVER['SERVER_NAME']); "https://" . $_SERVER['SERVER_NAME']);
} }

View file

@ -21,6 +21,7 @@
?> ?>
<table width="60%" cellpadding="0" cellspacing="0" border="0" class="statustable"> <table width="60%" cellpadding="0" cellspacing="0" border="0" class="statustable">
<?php /* Disabling most of the status page for Airtime Pro
<thead> <thead>
<tr class="ui-state-default strong"> <tr class="ui-state-default strong">
<td><?php echo _("Service") ?></td> <td><?php echo _("Service") ?></td>
@ -64,7 +65,7 @@
<td class="solution <?php if ($postgres) {echo 'check';?>"> <td class="solution <?php if ($postgres) {echo 'check';?>">
<?php <?php
} else { } else {
?>"> ?>"
Try running <code>sudo apt-get install php5-pgsql</code> Try running <code>sudo apt-get install php5-pgsql</code>
<?php <?php
} }
@ -81,7 +82,7 @@
<td class="solution <?php if ($database) {echo 'check';?>"> <td class="solution <?php if ($database) {echo 'check';?>">
<?php <?php
} else { } else {
?>"> ?>"
Make sure you aren't missing any of the Postgres dependencies in the table above. Make sure you aren't missing any of the Postgres dependencies in the table above.
If your dependencies check out, make sure your database configuration settings in If your dependencies check out, make sure your database configuration settings in
<code>/etc/airtime.conf</code> are correct and the Airtime database was installed correctly. <code>/etc/airtime.conf</code> are correct and the Airtime database was installed correctly.
@ -100,7 +101,7 @@
<td class="solution <?php if ($rabbitmq) {echo 'check';?>"> <td class="solution <?php if ($rabbitmq) {echo 'check';?>">
<?php <?php
} else { } else {
?>"> ?>"
Make sure RabbitMQ is installed correctly, and that your settings in /etc/airtime/airtime.conf Make sure RabbitMQ is installed correctly, and that your settings in /etc/airtime/airtime.conf
are correct. Try using <code>sudo rabbitmqctl list_users</code> and <code>sudo rabbitmqctl list_vhosts</code> are correct. Try using <code>sudo rabbitmqctl list_users</code> and <code>sudo rabbitmqctl list_vhosts</code>
to see if the airtime user (or your custom RabbitMQ user) exists, then checking that to see if the airtime user (or your custom RabbitMQ user) exists, then checking that
@ -121,7 +122,7 @@
<td class="solution <?php if ($mediamonitor) {echo 'check';?>"> <td class="solution <?php if ($mediamonitor) {echo 'check';?>">
<?php <?php
} else { } else {
?>"> ?>"
Check that the airtime-media-monitor service is installed correctly in <code>/etc/init</code>, Check that the airtime-media-monitor service is installed correctly in <code>/etc/init</code>,
and ensure that it's running with and ensure that it's running with
<br/><code>initctl list | grep airtime-media-monitor</code><br/> <br/><code>initctl list | grep airtime-media-monitor</code><br/>
@ -141,7 +142,7 @@
<td class="solution <?php if ($pypo) {echo 'check';?>"> <td class="solution <?php if ($pypo) {echo 'check';?>">
<?php <?php
} else { } else {
?>"> ?>"
Check that the airtime-playout service is installed correctly in <code>/etc/init</code>, Check that the airtime-playout service is installed correctly in <code>/etc/init</code>,
and ensure that it's running with and ensure that it's running with
<br/><code>initctl list | grep airtime-playout</code><br/> <br/><code>initctl list | grep airtime-playout</code><br/>
@ -161,7 +162,7 @@
<td class="solution <?php if ($liquidsoap) {echo 'check';?>"> <td class="solution <?php if ($liquidsoap) {echo 'check';?>">
<?php <?php
} else { } else {
?>"> ?>"
Check that the airtime-liquidsoap service is installed correctly in <code>/etc/init</code>, Check that the airtime-liquidsoap service is installed correctly in <code>/etc/init</code>,
and ensure that it's running with and ensure that it's running with
<br/><code>initctl list | grep airtime-liquidsoap</code><br/> <br/><code>initctl list | grep airtime-liquidsoap</code><br/>
@ -171,6 +172,7 @@
?> ?>
</td> </td>
</tr> </tr>
*/?>
<tr id="partitions" class="even"> <tr id="partitions" class="even">
<th colspan="5"><?php echo _("Disk Space") ?></th> <th colspan="5"><?php echo _("Disk Space") ?></th>
</tr> </tr>