|
| 1 | +<%@ page language="java" contentType="text/html; charset=UTF-8" |
| 2 | + pageEncoding="UTF-8"%> |
| 3 | +<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> |
| 4 | +<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> |
| 5 | + |
| 6 | +<!DOCTYPE html> |
| 7 | +<html lang="zh"> |
| 8 | + |
| 9 | +<head> |
| 10 | + |
| 11 | +<meta charset="utf-8"> |
| 12 | +<meta http-equiv="X-UA-Compatible" content="IE=edge"> |
| 13 | +<meta name="viewport" content="width=device-width, initial-scale=1"> |
| 14 | +<meta name="description" content=""> |
| 15 | +<meta name="author" content=""> |
| 16 | + |
| 17 | +<title>Alarm - KafkaEagle</title> |
| 18 | +<jsp:include page="../public/css.jsp"> |
| 19 | + <jsp:param value="plugins/select2/select2.min.css" name="css" /> |
| 20 | +</jsp:include> |
| 21 | +</head> |
| 22 | + |
| 23 | +<body> |
| 24 | + <jsp:include page="../public/navbar.jsp"></jsp:include> |
| 25 | + <div id="wrapper"> |
| 26 | + <div id="page-wrapper"> |
| 27 | + <div class="row"> |
| 28 | + <div class="col-lg-12"> |
| 29 | + <h1 class="page-header"> |
| 30 | + Config <small>message</small> |
| 31 | + </h1> |
| 32 | + </div> |
| 33 | + <!-- /.col-lg-12 --> |
| 34 | + </div> |
| 35 | + <!-- /.row --> |
| 36 | + <div class="row"> |
| 37 | + <div class="col-lg-12"> |
| 38 | + <div class="alert alert-info alert-dismissable"> |
| 39 | + <button type="button" class="close" data-dismiss="alert" |
| 40 | + aria-hidden="true">×</button> |
| 41 | + <i class="fa fa-info-circle"></i> <strong>Select kafka |
| 42 | + topic, then edit the simulation message, and then click send to |
| 43 | + produce the message.</strong> |
| 44 | + </div> |
| 45 | + </div> |
| 46 | + </div> |
| 47 | + <!-- /.row --> |
| 48 | + <div class="row"> |
| 49 | + <div class="col-lg-12"> |
| 50 | + <div class="panel panel-default"> |
| 51 | + <div class="panel-heading"> |
| 52 | + <i class="fa fa-cogs fa-fw"></i> Content |
| 53 | + <div class="pull-right"></div> |
| 54 | + </div> |
| 55 | + <!-- /.panel-heading --> |
| 56 | + <div class="panel-body"> |
| 57 | + <div class="form-group"> |
| 58 | + <label>Alarm Group Name (*)</label> <input |
| 59 | + id="ke_alarm_group_name" name="ke_alarm_group_name" |
| 60 | + class="form-control" placeholder="Enter Alarm Group Name"> |
| 61 | + <label for="inputError" class="control-label text-danger"><i |
| 62 | + class="fa fa-info-circle"></i> Input the alarm group name .</label> |
| 63 | + </div> |
| 64 | + <div class="form-group"> |
| 65 | + <label>Alarm Type (*)</label> <select id="select2val" |
| 66 | + name="select2val" tabindex="-1" |
| 67 | + style="width: 100%; font-family: 'Microsoft Yahei', 'HelveticaNeue', Helvetica, Arial, sans-serif; font-size: 1px;"></select> |
| 68 | + <input id="ke_alarm_type" name="ke_alarm_type" type="hidden" /> |
| 69 | + <label for="inputError" class="control-label text-danger"><i |
| 70 | + class="fa fa-info-circle"></i> Select the type you need to |
| 71 | + alarm .</label> |
| 72 | + </div> |
| 73 | + <div class="form-group"> |
| 74 | + <label>Message (*)</label> |
| 75 | + <textarea id="ke_mock_content" name="ke_mock_content" |
| 76 | + class="form-control" placeholder="Limit 120 words." rows="3" |
| 77 | + maxlength="120"></textarea> |
| 78 | + <label for="inputError" class="control-label text-danger"><i |
| 79 | + class="fa fa-info-circle"></i> Write something and send message |
| 80 | + to owner .</label> |
| 81 | + </div> |
| 82 | + <button type="button" class="btn btn-success" id="btn_send">Save |
| 83 | + </button> |
| 84 | + <button type="button" class="btn btn-primary" id="btn_send_test">Send Test |
| 85 | + </button> |
| 86 | + <div id="alert_mssage_alarm_config" style="display: none" |
| 87 | + class="alert alert-danger"> |
| 88 | + <label>Oops! Please make some changes . (*) is required |
| 89 | + .</label> |
| 90 | + </div> |
| 91 | + <div id="success_mssage_alarm_config" style="display: none" |
| 92 | + class="alert alert-success"> |
| 93 | + <label>Message sent success .</label> |
| 94 | + </div> |
| 95 | + </div> |
| 96 | + </div> |
| 97 | + <!-- /.col-lg-4 --> |
| 98 | + </div> |
| 99 | + <!-- /.row --> |
| 100 | + </div> |
| 101 | + <!-- /#page-wrapper --> |
| 102 | + </div> |
| 103 | + </div> |
| 104 | +</body> |
| 105 | +<jsp:include page="../public/script.jsp"> |
| 106 | + <jsp:param value="plugins/select2/select2.min.js" name="loader" /> |
| 107 | + <jsp:param value="main/alarm/config.js" name="loader" /> |
| 108 | +</jsp:include> |
| 109 | +</html> |
0 commit comments