<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Menusetting.aspx.cs" Inherits="CheckSheet.Menusetting" %>

<!DOCTYPE html>
<html lang="en" class="no-js">

    <head>

        <meta charset="utf-8">
        <title>Setting Check Sheet Application</title>
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta name="description" content="">
        <meta name="author" content="">

        <!-- CSS -->
        <link rel="stylesheet" href="../fonts/stylesheet.css?v=002" type="text/css" charset="utf-8" />
        <link rel="stylesheet" href="../css/inputlogin.css"/>
        <script src="../Scripts/jquery-1.7.2.min.js"></script>
        <script src="../Scripts/inputlogin.js?v=001"></script>
        <script type="text/javascript" src="../Script/crypto.js?v=01112023"></script> 
       
        <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
        <!--[if lt IE 9]>
            <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
        <![endif]-->

<script>

    $(document).ready(function () {


        let userid = getCookie("userid");
        let username = getCookie("fullname");
        let position = getCookie("position");
        $("#lbluserid").html(userid);
        $("#lblfullname").html(username);
        $("#lblposition").html(position);
      

    });


    function linkpage(page) {

        window.location.href = page;


    }
 </script>

 </head>

    <body>
<div class="session">
    <div class="left">
      <?xml version="1.0" encoding="UTF-8"?>
      <svg enable-background="new 0 0 300 302.5" version="1.1" viewBox="0 0 300 302.5" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
<style type="text/css">
	.st01{fill:#fff;}
</style>
				
</svg>  
        
              <div class="form-row">
                <div class="frmrow">
                    <span>
                    <label>
                    <img src="../image/userid.png" width="30">
                    </label>
                    <label style="margin-top:-1px;position:absolute;width:100%;font-size:10px;font-weight:900">User ID:
                    <asp:Label ID="lbluserid" style="display:inline-block;font-size:10px;" Font-Bold="true" runat="server" Text="xxxx"></asp:Label><br />
                     
                    <asp:Label ID="lblfullname" Style ="display:inline-block;font-size:10px;"  Font-Bold="true" runat="server" Text="xxxx  xxxxx"></asp:Label><br />
                    Position:
                    <asp:Label ID="lblposition" style="display:inline-block;font-size:10px;" Font-Bold="true"   runat="server" Text="xxxxxxxxx"></asp:Label>
                    </label>

                    </span>

                    
                </div>
             </div>

    
    </div>
    <form runat="server" class="log-in" autocomplete="off" style="margin-top:-20px;"> 


      <p><span style="color:dodgerblue;font-weight:900;">Setting select</span></p>
        <div style="margin-top:-50px;">
             <asp:Button ID="btnsetting0" runat="server" Width="100%" Text="Register equipment" style="margin-top:20px;" CssClass="button" OnClick="btnsetting0_Click"/>
             <asp:Button ID="btnsetting1" runat="server" Width="100%" Text="Register line"  style="margin-top:20px;" CssClass="button" OnClick="btnsetting1_Click"/>
             <asp:Button ID="btnsetting2" runat="server" Width="100%" Text="Register machine"  style="margin-top:20px;" CssClass="button" OnClick="btnsetting2_Click"/>
             <asp:Button ID="btnsetting3" runat="server" Width="100%" Text="Calendar setting"  style="margin-top:20px;" CssClass="button" OnClientClick="javascript:linkpage('Calendar_setting');return false;"/>
             <asp:Button ID="btnsetting5" runat="server" Width="100%" Text="Register operator"  style="margin-top:20px;" CssClass="button" OnClick="btnsetting5_Click"/>
             <asp:Button ID="btnsetting4" runat="server" Width="100%" Text="CSV upload"  style="margin-top:20px;" CssClass="button" OnClick="btnsetting4_Click"/>
             <asp:Button ID="btnsetting6" runat="server" Width="100%" Text="Register user"  style="margin-top:20px;" CssClass="button" OnClick="btnsetting6_Click"/>
             <asp:Button ID="btnsetting7" runat="server" Width="100%" Text="Setting"  style="margin-top:20px;" CssClass="button" OnClick="btnsetting7_Click"/>
      </div>
        <asp:Button ID="btnback" runat="server" Width="100%" Text="Back"  style="margin-top:20px;background-color:red;" CssClass="button" OnClick="btnback_Click"/>
   </form>
            

  </div>
</body>
</html>