@page "/ekip_lideri"

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

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="css/froala_editor.min.css" rel="stylesheet" />
    <link rel="stylesheet" href="css/Ekip_Lider.css">
    <title>Document</title>
</head>

<body>
    @Login_info.name
    @Login_info.surname
    <br>
    <button style="position: absolute; margin-top:17%;margin-left: 93%;"
        onclick="window.location.href='/'">ÇIKIŞ</button>
    <select id="ekip_uyeleri_ekiplideri" @onchange="uye_sec">
        <option value="" disabled selected>Kisi Seç</option>
        @foreach (var item in uyeler_list)
        {
            <option value="@item.uye_id">@item.uye_id @item.uye_adi @item.uye_soyadi </option>
        }
    </select>
    BAŞLANGIÇ TARİHİ<input type="datetime-local" @onchange="(e)=>tarih_getir(1,e)">
    BİTİŞ TARİHİ<input type="datetime-local" @onchange="(e)=>tarih_getir(2,e)">
    <div>
        <textarea @ref="edit" id="edit"></textarea>
    </div>
    <br />
    <button class="btn_kullanici btn-primary" @onclick="getEdit" id="kaydet_buton_todos1" disabled>KAYDET</button>
    <div id="sutun_isimleri">
        <div style="margin-left: 8%;margin-top: 2.5%; font-size: 20px; font-weight: bold; position: absolute;">Gorev ID
        </div>
        <div style="margin-left: 23%;margin-top: 2.5%; font-size: 20px; font-weight: bold; position: absolute;">Takım
            ID</div>
        <div style="margin-left: 34.2%;margin-top: 2.5%; font-size: 20px; font-weight: bold; position: absolute;">Gorev
            Başlama Tarihi</div>
        <div style="margin-left: 51%;margin-top: 2.5%; font-size: 20px; font-weight: bold; position: absolute;">Görev
            Bitiş Tarihi</div>
        <div style="margin-left: 69%;margin-top: 2.5%; font-size: 20px; font-weight: bold; position: absolute;">Görev
            İçerik</div>
        <div style="margin-left: 81.5%;margin-top: 2.5%; font-size: 20px; font-weight: bold; position: absolute;">Görev
            Gönderen ID</div>
    </div>
    <div id="gorev_lider_div" >
        @code{
            public MarkupString result ;
        
        }
    @foreach (var item in todo_list_gorev)
    {
        
        <div style="float: left;">@item.task_id</div>
        <div style="float: left;">@item.task_team_id</div>
        <div style="float: left;">@item.task_start</div>
        <div style="float: left;">@item.task_finish</div>
        result=new MarkupString(@item.task_content);
        <div style="float: left;">@result</div>
        <div style="float: left;">@item.task_sender_id</div>
    }
    </div>
</body>

</html>