{% load static %}

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

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Osina</title>

    <link rel="stylesheet" type="text/css" href='{% static "dist/output.css" %}'>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css">
</head>

<body class="font-poppinsLight">
    <form id="hiddenContent"  method="POST" action="{% url 'addpointmodal' task.task_id %}">
        {% csrf_token %}
        <h1 class="text-secondosiblue text-2xl font-semibold text-center">Add Point</h1>
        <div class="w-full flex justify-center items-center">
            <input name="text" type="text" placeholder="Type your point here..."
                class="w-full p-3 border border-gray-300 rounded-md bg-transparent outline-none mt-4" id="pointInput"
                >
        </div>

        <!-- THE WARNING MESSAGE THAT APPEARS WHEN THE USER CLICKS ON THE ADD BUTTON WITH AN EMPTY INPUT FIELD -->
        <p class="text-red-500 font-light mt-2" id="AlertPointMessage">

        </p>

        <div class="w-full flex justify-center items-center mt-4 gap-4">
            <button type="submit"
                class="w-fit bg-osiblue border border-osiblue rounded-md text-white text-xl px-5 py-1 hover:bg-white hover:text-osiblue duration-300"
                id="addPointsFormButton">Save</button>
        </div>


    </form>
</body>

</html>