mirror of
				https://github.com/ShaYmez/FreeSTAR-Status-Engine.git
				synced 2025-10-31 03:50:20 -04:00 
			
		
		
		
	HTML template for status updates to subscribers
- Initial HTML template used to generate HTML emails when status notifications is sent to subscribers. TODO: Should probably be located in a different directory structure
This commit is contained in:
		
							parent
							
								
									28eaede6a2
								
							
						
					
					
						commit
						4903c3bb89
					
				
							
								
								
									
										56
									
								
								libs/templates/email_status_update.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										56
									
								
								libs/templates/email_status_update.html
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,56 @@ | ||||
| <!DOCTYPE html> | ||||
| <html xmlns="http://www.w3.org/1999/xhtml" | ||||
| 	xmlns:v="urn:schemas-microsoft-com:vml" | ||||
| 	xmlns:o="urn:schemas-microsoft-com:office:office"> | ||||
| <head> | ||||
| <title></title> | ||||
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | ||||
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||||
| <style type="text/css"> | ||||
| .button { | ||||
|     background-color: #4CAF50; | ||||
|     border: none; | ||||
|     color: white; | ||||
|     padding: 20px; | ||||
|     text-align: center; | ||||
|     text-decoration: none; | ||||
|     display: inline-block; | ||||
|     font-size: 16px; | ||||
|     margin: 4px 2px; | ||||
| } | ||||
| .button1 {border-radius: 12px;} | ||||
| </style> | ||||
| </head> | ||||
| <body> | ||||
| <h2 style="text-align: center;">%service_status_update_from% %name%</h2> | ||||
| <hr /> | ||||
| <table style="height: 240px; width: 624px; margin-left: auto; margin-right: auto;"> | ||||
| <tbody> | ||||
| <tr style="height: 11px;"> | ||||
| <td style="width: 232.383px; height: 11px; text-align: right;"><strong>%services_impacted%:</strong></td> | ||||
| <td style="width: 375.617px; height: 11px;">%service%</td> | ||||
| </tr> | ||||
| <tr style="height: 11px;"> | ||||
| <td style="width: 232.383px; height: 11px; text-align: right;"><strong>%status_label%:</strong></td> | ||||
| <td style="width: 375.617px; height: 11px;">%status%</td> | ||||
| </tr> | ||||
| <tr style="height: 14.7667px;"> | ||||
| <td style="width: 232.383px; height: 14.7667px; text-align: right;"><strong>%time_label%:</strong></td> | ||||
| <td style="width: 375.617px; height: 14.7667px;">%time%</td> | ||||
| </tr> | ||||
| <tr style="height: 53px;"> | ||||
| <td style="width: 232.383px; height: 53px;"> </td> | ||||
| <td style="width: 375.617px; height: 53px; text-align: left;">%comment%</td> | ||||
| </tr> | ||||
| </tbody> | ||||
| </table> | ||||
| <hr /> | ||||
| <table style="height: 27px; margin-left: auto; margin-right: auto;" width="192"> | ||||
| <tbody> | ||||
| <tr> | ||||
| <td style="text-align: center;"><a href="%url%/?do=manage&token=%token%"><button class="button button1">%manage_subscription%</button></a></td> | ||||
| </tr> | ||||
| </tbody> | ||||
| </table> | ||||
| <p style="text-align: center;"><a href="%url%/?do=unsubscribe&token=%token%"><sub><sup>%unsubscribe%</sup></sub></a></p> | ||||
| <p style="text-align: center;"><a href="%url%"><img src="%url%/favicon/apple-icon-57x57.png" alt="" /> %powered_by% Server-Status</a></p> | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user