﻿<!DOCTYPE html>
<html>
<head>
    <title></title>
    <style type="text/css">
        body
        {
            font-family: Segoe UI,Tahoma,Arial;
            font-size: 11px;
            color: #000;
            padding: 0px;
            margin: 0px;
        }
        
        .displaylbl
        {
            margin: 0px;
            padding: 0px;
            list-style: none;
        }
        
        .displaylbl li
        {
            margin: 0px;
            padding: 3px 10px;
            list-style: none;
        }
        
        .displaylbl li a
        {
            text-decoration: none;
        }
        
        .loadingPanelcs
        {
            position: fixed;
            z-index: 10000; /*ooveeerrrr nine thoussaaaannnd*/
            top: 0px;
            left: 0px;
            width: 100%;
            height: 135%;
            background-color: #fff; /*opacity:0.50;
                filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#4cffffff', endColorstr='#4cffffff');
                 works for IE 5+.
              filter:alpha(opacity=30); */ /* works for IE 8.
        -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";*/
        }
        
        .picklist_tbl
        {
            border: 1px solid #a5acb5;
            border-bottom: none;
        }
        
        .picklist_tbl th
        {
            border-bottom: 1px solid #a5acb5;
            border-right: 1px solid #a5acb5;
            background-color: #e3e3e3;
            padding-left: 7px;
        }
        
        .picklist_tbl th:last-child
        {
            border-right: none;
        }
        
        .picklist_tbl td
        {
            border-bottom: 1px solid #a5acb5;
            border-right: 1px solid #a5acb5;
            padding-left: 7px;
        }
        
        .picklist_tbl td:last-child
        {
            border-right: none;
        }
        
        table#header th
        {
            border-right: solid 1px #a5acb5;
        }
        
        table#header th .right-border
        {
            padding: 0 4px 0 3px;
            border-right: none;
        }
        
        table.tbl-content td
        {
            border-bottom: solid 1px #a5acb5;
            border-right: solid 1px #a5acb5;
        }
        
        table.tbl-content td .inner_tbl td
        {
            border-bottom: none;
            text-align: center;
            padding: 0px;
        }
        
        table.tbl-content tr#bottom td
        {
            border-bottom: none;
        }
        
        table#tbl_Trucks th
        {
            border-right: solid 1px #a5acb5;
            border-bottom: solid 1px #a5acb5;
        }
        
        table#tbl_Trucks td
        {
            border-right: solid 1px #a5acb5;
            padding: 0px;
            text-align: center;
        }
        
        table#tbl_Trucks td .right-border
        {
            padding: 3px;
            border-right: none;
        }
        
        table#tbl_Trucks th .right-border
        {
            padding: 0 4px 0 3px;
            border-right: none;
        }
    </style>
    <link href="../Styles/kendo.common.min.css" rel="stylesheet" />
    <link href="../Styles/kendo.default.min.css" rel="stylesheet" />
    <script src="../../../ClientGlobalContext.js.aspx" type="text/javascript"></script>
    <script src="../JavaScripts/Sdk.Metadata.js"></script>
    <script src="../JavaScripts/jquery.min.js"></script>
    <script src="../JavaScripts/kendo.web.min.js"></script>
    <script src="../JavaScripts/EntityMetadata.Retrieve.js"></script>
    <script src="../JavaScripts/jscolor.js"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            entitysRetrieveing();
        });
    </script>
    <script type="text/javascript">
        function CreateNewRow() {
            CreateRow();
        }
    </script>
    <script>
        function submiting() {
            CopyValuewithColor();
        }
    </script>
</head>
<body>
    <div id="progressbarlayer" style="z-index: 100000;">
        <img style="margin: 100px auto 0px 45%; position: absolute; z-index: 100000;" alt="Loading"
            src="../images/loadingimage.gif" />
    </div>
    <div class="loadingPanelcs" id="progressbarimage" style="font-size: 20px; font-weight: bold;
        display: none;">
    </div>
    <table style="width: 100%; table-layout: fixed;" cellspacing="0" cellpadding="3">
        <tbody>
            <tr>
                <td valign="top" style="width: 50%; margin: 0px; padding: 0px;">
                    <table style="width: 100%; table-layout: fixed; font-size: 11px;" cellspacing="0"
                        cellpadding="5">
                        <tbody>
                            <tr>
                                <td style="width: 89px;">
                                    Entity Name
                                </td>
                                <td style="width: auto;">
                                    <select id="entitySelect" style="width: 180px; font-size: 11px;">
                                    </select>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    Start Date
                                </td>
                                <td>
                                    <select id="StartDateField" style="width: 180px; font-size: 11px;">
                                    </select>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    End Date
                                </td>
                                <td>
                                    <select id="EndDateField" style="width: 180px; font-size: 11px;">
                                    </select>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    Filters
                                </td>
                                <td>
                                    <select id="FilterField" style="width: 180px; font-size: 11px;">
                                    </select>
                                </td>
                            </tr>
                            <tr>
                                <td style="display: none;">
                                    <input id="checkboxfeild" type="checkbox" />
                                </td>
                                <td style="display: none;">
                                    Is differentiate with filter color
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    Display
                                </td>
                                <td>
                                    <select id="DisplayField" style="width: 180px; font-size: 11px;">
                                    </select>
                                </td>
                            </tr>

                            <tr>
                                <td valign="top" style="width: 108px;">
                                    Display Multiples
                                </td>
                                <td>
                                    <div id="DisplayMultiple" style="border: 1px solid rgb(169, 169, 169); width: 250px;
                                        height: 140px; overflow-y: auto;">
                                    </div>
                                </td>
                            </tr>


                            <tr>
                                <td style="width: 89px;">
                                    PickList Attributes
                                </td>
                                <td style="width: auto;">
                                    <select id="FieldName" style="width: 180px; font-size: 11px;">
                                    </select>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </td>
                <td valign="top" style="width: 50%;">
                    <table style="width: 100%; table-layout: fixed;" cellspacing="0" cellpadding="3">
                        <tbody>
                            <tr>
                                <td valign="top" style="width: 108px;">
                                    Display Labels
                                </td>
                                <td>
                                    <div id="DisplayLabelField" style="border: 1px solid rgb(169, 169, 169); width: 250px;
                                        height: 140px; overflow-y: auto;">
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    Calendar Start Time
                                </td>
                                <td>
                                    <input id="StartTimeField" style="width: 180px; background-color: #fff;" />
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    Calendar End Time
                                </td>
                                <td>
                                    <input id="EndTimeField" style="width: 100%;" />
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </td>
            </tr>
        </tbody>
    </table>
    <div style="overflow-y: auto; margin-top: 10px;">
        <div id="boundary" style="padding-right: 17px; *padding-right: 0px; background: #f1f2f3;
            border: solid 1px #a5acb5; border-bottom: none;">
            <table id="tbl_Calendar" cellpadding="5" cellspacing="0" border="0" style="width: 100%;
                text-align: left; table-layout: fixed;">
                <colgroup>
                    <col style="width: 25%;" />
                    <col style="width: 25%;" />
                    <col style="width: 50%;" />
                </colgroup>
                <tr>
                    <th style="text-align: left; font-size: 12px;">
                        PickList Labels
                    </th>
                    <th style="text-align:left;">
                        <label style="font-size: 12px;">
                            Color
                        </label>
                    </th>
                    <th style="text-align: left;">
                        <label style="position: absolute; margin-top: 5px; font-size: 12px;">
                            Font Color
                        </label>
                        <label style="text-align: right; float: right; margin-left:5px;">
                            <input type="button" id="btnNewrow" value="NewRow" onclick="CreateNewRow()" /></label>
                        <label style="text-align: right; float: right;">
                            <input type="button" id="btnSave" value="Submit" onclick="submiting()" /></label>
                    </th>
                </tr>
            </table>
        </div>
        <div id="box" style="width: 100%; height: 194px; overflow-y: scroll; border: solid 1px #a5acb5;
            box-sizing: border-box; border-top: none;">
            <table id="tbl_Calendar1" class="tbl-content" cellpadding="3" cellspacing="0" border="0"
                style="width: 100%; table-layout: fixed; background: #fff;">
                <colgroup>
                    <col style="width: 25%;" />
                    <col style="width: 25%;" />
                    <col style="width: 50%;" />
                </colgroup>
                <tr id="RowId">
                    <td>
                        <select id="FieldValue" style="width: 160px;">
                        </select>
                    </td>
                    <td>
                        <input id="FieldColor" class="color {hash:true,caps:false}" value="66ff00" />
                    </td>
                    <td>
                        <input id="FontColor" class="color {hash:true,caps:false}" value="66ff00" />
                    </td>
                </tr>
            </table>
        </div>
    </div>
</body>
</html>
