2014-03-31 22:03:12 +02:00
<!-- %tpl_server_list -->
2014-04-18 01:42:26 +02:00
< table class = "table table-bordered table-striped" >
2014-03-28 17:00:23 +01:00
< thead >
< tr >
2014-04-14 00:00:00 +02:00
< th class = "hidden-phone" > < / th >
2014-04-18 01:42:26 +02:00
< th class = "hidden-phone" > {label_label}< / th >
2014-04-14 00:00:00 +02:00
< th class = "hidden-phone" > {label_domain}< / th >
2014-04-12 17:06:16 +02:00
< th class = "visible-desktop" > {label_port}< / th >
< th class = "visible-desktop" > {label_type}< / th >
2014-04-14 00:00:00 +02:00
< th class = "hidden-phone" > {label_rtime}< / th >
< th class = "hidden-phone" > {label_last_online}< / th >
< th class = "hidden-phone" > {label_monitoring}< / th >
< th class = "hidden-phone" > {label_action}< / th >
2014-03-28 17:00:23 +01:00
< / tr >
< / thead >
< tbody >
<!-- %tpl_repeat_servers -->
< tr >
2014-04-18 01:42:26 +02:00
< td class = "hidden-phone" > < div class = "table-cell-title" > < span class = "label label-status-{status}" > < a href = "{url_view}" title = "{error}" > {status}< / a > < / span > < / div > < / td >
< td class = "hidden-phone" > < div class = "table-cell-title" > < a href = "{url_view}" > {label}< / a > < / div > < / td >
< td class = "nowrap visible-tablet" > < div class = "table-cell-title" > < i class = "{type_icon}" title = "{type}" > < / i > {ip_short}< / div > < / td >
< td class = "nowrap visible-desktop" > < div class = "table-cell-title" > {ip}< / div > < / td >
< td class = "nowrap visible-desktop" > < div class = "table-cell-title" > {port}< / div > < / td >
< td class = "nowrap visible-desktop" > < div class = "table-cell-title" > {type}< / div > < / td >
< td class = "nowrap hidden-phone" > < div class = "table-cell-title" > {rtime} s< / div > < / td >
< td class = "nowrap hidden-phone" > < div class = "table-cell-title" > {last_online}< / div > < / td >
2014-07-31 12:11:32 +02:00
< td class = "tight hidden-phone" > < div class = "table-cell-title" > < i class = "{active_icon}" title = "{active_title}" > < / i > < i class = "{email_icon}" title = "{label_email}" > < / i > < i class = "{sms_icon}" title = "{label_sms}" > < / i > < i class = "{pushover_icon}" title = "Pushover" > < / i > < / div > < / td >
2014-04-14 00:00:00 +02:00
< td class = "tight hidden-phone" >
2014-04-18 01:42:26 +02:00
< div class = "table-cell-title" >
2014-07-31 14:37:27 +02:00
< a class = "btn btn-small" href = "{url_view}" > < i class = "icon-chart" > < / i > < / a >
2014-04-18 01:42:26 +02:00
{html_actions}
< / div >
2014-04-14 00:00:00 +02:00
< / td >
< td class = "visible-phone" >
< div class = "table-body" >
< div class = "table-cell-title" >
< span class = "label label-status-{status}" > < a href = "{url_view}" title = "{error}" > {status}< / a > < / span >
2014-04-18 01:42:26 +02:00
< a class = "title" href = "{url_view}" > {label}< / a >
2014-04-14 00:00:00 +02:00
< / div >
< div class = "table-cell tight" >
2014-07-31 14:37:27 +02:00
< a class = "btn btn-small" href = "{url_view}" > < i class = "icon-chart" > < / i > < / a >
2014-04-14 00:00:00 +02:00
{html_actions}
< / div >
< / div >
< div class = "table-body" >
< div class = "table-row" >
2014-04-16 22:02:04 +02:00
< div class = "table-cell" > < i class = "{type_icon}" title = "{type}" > < / i > {ip_short}< / div >
2014-04-14 00:00:00 +02:00
< div class = "table-cell tight" >
2014-07-31 12:11:32 +02:00
< i class = "{active_icon}" title = "{active_title}" > < / i > < i class = "{email_icon}" title = "{label_email}" > < / i > < i class = "{sms_icon}" title = "{label_sms}" > < / i > < i class = "{pushover_icon}" title = "Pushover" > < / i >
2014-04-14 00:00:00 +02:00
< / div >
< / div >
< / div >
< div class = "table-body" >
2014-04-14 00:13:45 +02:00
< div class = "table-row" > < div class = "table-cell-details tight" > {label_rtime}: < / div > < div class = "table-cell-details" > {rtime} s< / div > < / div >
2014-04-14 00:00:00 +02:00
< div class = "table-row" > < div class = "table-cell-details tight" > {label_last_online}: < / div > < div class = "table-cell-details" > {last_online}< / div > < / div >
< / div >
2014-03-28 17:00:23 +01:00
< / td >
< / tr >
<!-- %%tpl_repeat_servers -->
{servers}
< / tbody >
< / table >
2014-03-31 22:03:12 +02:00
<!-- %%tpl_server_list -->
2014-01-07 20:24:48 +01:00
2014-03-31 22:03:12 +02:00
<!-- %tpl_server_list_admin_actions -->
2014-07-31 14:37:27 +02:00
< a class = "btn btn-small" href = "{url_edit}" title = "{label_edit}" >
2014-03-15 22:38:17 +01:00
< i class = "icon-pencil" > < / i >
< / a >
2014-07-31 14:37:27 +02:00
< a class = "btn btn-small btn-danger show-modal" href = "{url_delete}" title = "{label_delete}" data-modal-id = "delete" data-modal-param = "{label}" >
2014-03-15 22:38:17 +01:00
< i class = "icon-remove icon-white" > < / i >
< / a >
2014-03-31 22:03:12 +02:00
<!-- %%tpl_server_list_admin_actions -->
2014-01-10 11:03:07 +01:00
2014-03-31 22:03:12 +02:00
<!-- %tpl_server_update -->
2014-04-04 21:35:10 +02:00
< form class = "form-horizontal well" action = "{url_save}" method = "post" >
2014-03-28 17:00:23 +01:00
< fieldset >
< legend > {titlemode}< / legend >
2014-08-01 15:30:01 +02:00
< div class = "control-group" >
< label class = "control-label" for = "label" > {label_label}< / label >
< div class = "controls" >
< input type = "text" id = "label" name = "label" value = "{edit_value_label}" maxlength = "255" / >
2014-03-28 17:00:23 +01:00
< / div >
2014-08-01 15:30:01 +02:00
< / div >
< div class = "control-group" >
< label class = "control-label" for = "ip" > {label_domain}< / label >
< div class = "controls" >
< input type = "text" id = "ip" name = "ip" value = "{edit_value_ip}" maxlength = "100" / >
< / div >
< / div >
< div class = "control-group" >
< label class = "control-label" for = "type" > {label_type}< / label >
< div class = "controls" >
< select id = "type" name = "type" >
< option value = "service" { edit_type_selected_service } > {label_service}< / option >
< option value = "website" { edit_type_selected_website } > {label_website}< / option >
< / select >
< / div >
< / div >
< div class = "control-group" >
< label class = "control-label" for = "port" > {label_port}< / label >
< div class = "controls" >
< input class = "input-mini" type = "text" id = "port" name = "port" value = "{edit_value_port}" maxlength = "5" / >
< / div >
< / div >
< div class = "control-group" >
< label class = "control-label" for = "pattern" > {label_pattern}< / label >
< div class = "controls" >
< input type = "text" id = "pattern" name = "pattern" value = "{edit_value_pattern}" maxlength = "255" data-toggle = "tooltip" title = "{label_pattern_description}" / >
< / div >
< / div >
< div class = "control-group" >
< label class = "control-label" for = "warning_threshold" > {label_warning_threshold}< / label >
< div class = "controls" >
< input class = "input-mini" type = "text" id = "warning_threshold" name = "warning_threshold" value = "{edit_value_warning_threshold}" maxlength = "5" data-toggle = "tooltip" title = "{label_warning_threshold_description}" / >
2014-07-28 11:10:23 +02:00
< / div >
< / div >
2014-08-01 15:30:01 +02:00
< div class = "control-group" >
< label class = "control-label" for = "timeout" > {label_timeout}< / label >
< div class = "controls" >
< input class = "input-mini" type = "text" id = "timeout" name = "timeout" value = "{edit_value_timeout}" placeholder = "{default_value_timeout}" maxlength = "10" data-toggle = "tooltip" title = "{label_timeout_description}" / > s
2014-07-30 14:30:41 +02:00
< / div >
< / div >
2014-08-01 15:30:01 +02:00
< div class = "control-group" >
< label class = "control-label" for = "active" > {label_monitoring}< / label >
< div class = "controls" >
< select id = "active" name = "active" >
< option value = "yes" { edit_active_selected_yes } > {label_yes}< / option >
< option value = "no" { edit_active_selected_no } > {label_no}< / option >
< / select >
< / div >
< / div >
< div class = "control-group {control_class_email}" >
< label class = "control-label" for = "email" > {label_send_email} {warning_email}< / label >
< div class = "controls" >
< select id = "email" name = "email" >
< option value = "yes" { edit_email_selected_yes } > {label_yes}< / option >
< option value = "no" { edit_email_selected_no } > {label_no}< / option >
< / select >
< / div >
< / div >
< div class = "control-group {control_class_sms}" >
< label class = "control-label" for = "sms" > {label_send_sms} {warning_sms}< / label >
< div class = "controls" >
< select id = "sms" name = "sms" >
< option value = "yes" { edit_sms_selected_yes } > {label_yes}< / option >
< option value = "no" { edit_sms_selected_no } > {label_no}< / option >
< / select >
< / div >
< / div >
< div class = "control-group {control_class_pushover}" >
< label class = "control-label" for = "pushover" > {label_pushover} {warning_pushover}< / label >
< div class = "controls" >
< select id = "pushover" name = "pushover" >
< option value = "yes" { edit_pushover_selected_yes } > {label_yes}< / option >
< option value = "no" { edit_pushover_selected_no } > {label_no}< / option >
< / select >
< / div >
< / div >
< div class = "control-group" >
< label class = "control-label" for = "user_id" > {label_users}< / label >
< div class = "controls" >
< select class = "multiselect" multiple = "multiple" id = "user_id" name = "user_id[]" >
<!-- %tpl_repeat_users -->
< option value = "{user_id}" { edit_selected } > {name}< / option >
<!-- %%tpl_repeat_users -->
{users}
< / select >
< / div >
< / div >
< div class = "form-actions" >
< button class = "btn btn-success" type = "submit" > {label_save}< / button >
< a class = "btn" href = "{url_go_back}" > {label_go_back}< / a >
< / div >
2014-03-28 17:00:23 +01:00
< / fieldset >
< / form >
2014-06-27 14:26:26 +02:00
<!-- %%tpl_server_update -->
2014-08-01 15:04:36 +02:00
<!-- %tpl_server_update_warning -->
< p class = "help-inline" > < i class = "icon-warning-sign" data-toggle = "tooltip" title = "{label_warning}" > < / i > < / p >
<!-- %%tpl_server_update_warning -->