<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Mechnet Device Settings</title>
    <link rel="icon" type="image/png" href="./Images/logo.png">
    <link rel="stylesheet" href="deviceh.css">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
    <style>

        .info-icon {
            margin-right: 2px;
            cursor: pointer;
            position: relative;
            display: inline-block;
            color: pink;
        }

        .info-icon i {
            font-size: 18px;
        }

        .tooltiptext {
            visibility: hidden;
            background-color: #555;
            color: #fff;
            text-align: center;
            border-radius: 6px;
            padding: 5px;
            position: absolute;
            z-index: 1;
            top: 100%;
            left: 80%;
            margin-left: -15px;
            opacity: 0;
            transition: opacity 0.3s;
            width: 406px;
            box-sizing: border-box;
            font-size: 16px;
        }


        .tooltiptext::after {
            content: "";
            position: absolute;
            bottom: 100%;
            right: 96%;
            margin-left: -5px;
            border-width: 5px;
            border-style: solid;
            border-color: transparent transparent #555 transparent;
        }

        .info-icon:hover .tooltiptext {
            visibility: visible;
            opacity: 1;
        }
    </style>
</head>

<body>
    <div id="loading">
        <div class="loader"></div>
    </div>
    <div id="content">
        <div class="navbar">
            <nav>
                <div class="SoftName">
                    <img src="./Images/logo.png" href="Home.html" alt="Mechnet Logo">
                    <a href="#" onclick="redirectToHomePage()" class="nav-link">Mechnet</a>
                </div>
                <div class="hamburger" id="hamburger">
                    <div></div>
                    <div></div>
                    <div></div>
                </div>
                <ul>
                    <li><a href="#" onclick="redirectToAccountPage()">Account Settings</a>
                    <li><a href="#" onclick="redirectToDevicePage()">Device Settings</a>
                    <li><a href="faq.html" class="nav-link">FAQs</a></li>
                    <li><a href="User_Login.html" class="nav-link">LogOut</a></li>
                </ul>
            </nav>
        </div>
        <main>
            <h2 id="device-title">Device Settings</h2>
            <div id="message">Setting Saved Successful ✔</div>
            <div class="DVICont" id="device-settings-form">
                <div class="DLI">
                    <label for="DL">Device Label :-</label>
                    <input type="text" id="D0S1">
                </div>
                <div class="DNI">
                    <label for="DN">Device Name :- </label>
                    <input type="text" id="D0S2" placeholder="Enter Device Name" required>
                </div>
                <div class="UDIDI">
                    <label for="UDID">UDID :-</label>
                    <input type="text" id="D0S3" placeholder="Enter Device UDID" required>
                </div>
                <div class="PNI">
                    <label for="PN">Platform Name :-</label>
                    <select id="D0S4" required>
                        <option value="" disabled selected>Select Platform Version</option>
                        <option value="Android">Android</option>
                    </select>
                </div>
                <div class="AVI">
                    <label for="AVI">Android Version :-</label>
                    <select id="D0S5" required>
                        <option value="" disabled selected>Select Android Version</option>
                        <option value="6">6</option>
                        <option value="7">7</option>
                        <option value="8">8</option>
                        <option value="9">9</option>
                        <option value="10">10</option>
                        <option value="11">11</option>
                        <option value="12">12</option>
                        <option value="13">13</option>
                        <option value="14">14</option>
                        <option value="15">15</option>
                    </select>
                </div>
                <div class="DLV">
                    <label for="DLV">Is Device having lock? :-</label>
                    <div class="ForYes">
                        <label for="yes">Yes.</label>
                        <input type="radio" id="yes" name="lock" value="true">
                        <label for="no">No.</label>
                        <input type="radio" id="no" name="lock" value="false">
                    </div>
                </div>
                <div id="typeOFLock">
                    <label for="LockType">Select Type of Lock.</label>
                    <select id="D0S7">
                        <option value="">Select Lock</option>
                        <option value="Swipe">Swipe Only</option>
                        <option value="Pin">PIN</option>
                        <option value="Password">Password</option>
                        <option value="Pattern">Pattern</option>
                    </select>
                </div>
                <div id="PinIP">
                    <label for="PinIP">PIN :-</label>
                    <input type="text" id="D0S8" placeholder="Enter Device Pin">
                </div>
                <div id="PassIP">
                    <label for="PassIP">Password :-</label>
                    <input type="text" id="D0S9" placeholder="Enter Device Password">
                </div>
                <div id="PatIP">
                    <label for="PatIP">Pattern :-</label>
                    <input type="text" id="D0S10" placeholder="Enter Device Pattern">
                </div>
                <div id="consoleDims">
                    <label for="consoleDims">
                        <span class="info-icon">
                            <i class="fas fa-info-circle"></i>
                            <span class="tooltiptext">When automating a lot of devices, this setting can be used to
                                automatically arrange the console windows of different devices on the screen in the manner
                                of our liking. (Maybe to have a better visibility of most of them) <br><br>
                                X = distance between left side of the PC Screen and Console Window <br>
                                Y = distance between top of the PC Screen and Console Window <br>
                                Width = Console Width <br>
                                Height = Console Height</span>
                        </span>
                        GUI Console Metrics (X,Y,Width,Height).</label>
                    <input type="text" id="D0S11">
                </div>
                <div class="submit">
                    <div></div>
                    <button type="submit" id="UpdateSetting">Update Settings</button>
                </div>
            </div>
        </main>
    </div>
    <script src="/Ns/device.js"></script>
    <script src="/Ns/inactivity_logout.js"></script>
</body>

</html>