mirror of
				https://github.com/owntone/owntone-server.git
				synced 2025-10-30 00:05:05 -04:00 
			
		
		
		
	
		
			
				
	
	
		
			103 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			103 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
| @include hdr.html@
 | |
| <style type="text/css">
 | |
| #service, #stat {
 | |
|   width: 70ex;
 | |
| }
 | |
| #thread {
 | |
|   width: 80ex;
 | |
| }
 | |
| #server_stopped_message {
 | |
|   position: absolute;
 | |
|   background-color: yellow;
 | |
|   padding: 1em;
 | |
| /*  border: 1px solid #8CACBB;*/
 | |
|   font-size: 120%;
 | |
|   margin-bottom: 1em;
 | |
|   z-index: 100;
 | |
| 
 | |
| }
 | |
| #grey_screen {
 | |
|   position: absolute;
 | |
|   top: 0;
 | |
|   left: 0;
 | |
|   width: 100%;
 | |
|   height: 1000px;
 | |
|   background-color: #000;
 | |
|   filter:alpha(opacity=60);
 | |
|   opacity: 0.6;
 | |
|   z-index: 10;
 | |
| }
 | |
| </style>
 | |
| 
 | |
| <h1>Server Status</h1>
 | |
| 
 | |
| <div id="server_stopped_message" style="display: none;">The Firefly server is not running, this page will be inaccessible until you start the server again.</div>
 | |
| <table id="service" cellspacing="0">
 | |
| <thead>
 | |
|   <tr>
 | |
|     <th>Service</th>
 | |
|     <th>Status</th>
 | |
|     <th>Control</th>
 | |
|   </tr>
 | |
| </thead>
 | |
| <tbody>
 | |
|   <tr>
 | |
|     <td>Bonjour</td>
 | |
|     <td id="rendezvous">Running</td>
 | |
|     <td><!-- <a href="config-update.html?action=stopmdns">Stop MDNS Server</a> --></td>
 | |
|   </tr>
 | |
|   <tr>
 | |
|     <td>Firefly Media Server</td>
 | |
|     <td id="daap_server">Running</td>
 | |
|     <td><button id="button_stop_server" type="button">Stop Server</button></td>
 | |
|   </tr>
 | |
|   <tr>
 | |
|     <td>File scanner</td>
 | |
|     <td id="file_scanner">Idle</td>
 | |
|     <td><button id="button_start_scan" type="button">Start Scan</button></td>
 | |
|   </tr>
 | |
|   <tr>
 | |
|     <td></td>
 | |
|     <td></td>
 | |
|     <td><button id="button_start_full_scan" type="button">Start Full Scan</button></td>
 | |
|   </tr>  
 | |
| </tbody>
 | |
| </table>  
 | |
| <br />
 | |
| <table id="stat" cellspacing="0">
 | |
|   <col style="width: 20ex;" />
 | |
|   <col />
 | |
|   <tr>
 | |
|     <th>Uptime</th>
 | |
|     <td id="uptime"> </td>
 | |
|   </tr>
 | |
|   <tr>
 | |
|     <th>Songs</th>
 | |
|     <td id="songs"> </td>
 | |
|   </tr>
 | |
|   <tr>
 | |
|    <th>Songs Served</th>
 | |
|    <td id="songs_served"> </td>
 | |
|   </tr>
 | |
|   <tr>
 | |
|     <th>DB Version</th>
 | |
|     <td>2</td>
 | |
|   </tr>
 | |
| </table>
 | |
| <br />
 | |
| <table id="thread" cellspacing="0">
 | |
|   <col style="width: 20ex;" />
 | |
|   <col />
 | |
| <thead>
 | |
|   <tr>
 | |
|     <th>Client IP</th>
 | |
|     <th>Action</th>
 | |
|   </tr>
 | |
| </thead>
 | |
| <tbody>
 | |
|   <tr><td></td><td></td></tr>
 | |
| </tbody>  
 | |
| </table>
 | |
| 
 | |
| @include ftr.html@
 |