<?php
/***
*/
$msg="";
?>
<div id="success"><?php echo $msg; ?></div>
    <span class="breadcrumb_head" style="height:37px;padding:9px 16px">Email <?=$Assignment?> Rules Declaration</span>

    <div class="style2-table">
        <div class="table">
            <form id="emailRuleForm">
                <table class="tableview tableview-2 main-form">
                    <tbody>
                        <tr>
                            <td><label for="stickyAgent">Sticky Agent:</label></td>
                            <td>
                                <select name="stickyAgent" id="stickyAgent" required class="input-style1">
                                    <option value="1">Yes</option>
                                    <option value="0">No</option>
                                </select>
                            </td>

                            <td><label for="microsoftDynamics">Microsoft Dynamics:</label></td>
                            <td>
                                <select name="microsoftDynamics" id="microsoftDynamics" required class="input-style1">
                                    <option value="1">Enabled</option>
                                    <option value="0">Disabled</option>
                                </select>
                            </td>
                        </tr>

                        <tr>
                            <td><label for="priorityEscalationHour">Priority Escalation Hours:</label></td>
                            <td><input type="text" name="priorityEscalationHour" id="priorityEscalationHour" class="input-style1"></td>

                            <td><label for="nonpriorityEscalationHour">Non-Priority Hours:</label></td>
                            <td><input type="text" name="nonpriorityEscalationHour" id="nonpriorityEscalationHour" class="input-style1"></td>
                        </tr>

                        <tr>
                            <td><label for="escalationTime">Escalation Time (HH:MM):</label></td>
                            <td><input type="text" name="escalationTime" id="escalationTime" class="input-style1"></td>

                            <td><label for="enableLogging">Enable Logging:</label></td>
                            <td>
                                <select name="enableLogging" id="enableLogging" required class="input-style1">
                                    <option value="1">Yes</option>
                                    <option value="0">No</option>
                                </select>
                            </td>
                        </tr>
                        <tr>
                            <td><label for="escalationEmailIDs">Escalation Emails:</label></td>
                            <td>
                                <textarea name="escalationEmailIDs" id="escalationEmailIDs" rows="3" class="input-style1" style="width: 100%;"></textarea>
                            </td>

                            <td><label for="blockedMails">Blocked Emails:</label></td>
                            <td>
                                <textarea name="blockedMails" id="blockedMails" rows="3" class="input-style1" style="width: 100%;"></textarea>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="4" style="text-align: center;">
                                <button type="submit" class="button-orange1" style="float: none;">Save Settings</button>
                            </td>
                        </tr>
                    </tbody>
                </table>
            </form>
        </div>
    </div>
