Changeset 5444409 for src/main/resources


Ignore:
Timestamp:
02/09/23 16:05:47 (23 months ago)
Author:
milamihajlovska <mila.mihajlovska01@…>
Branches:
master
Children:
01a1ca6
Parents:
17a2fda
Message:

update register and registerWorker

Location:
src/main/resources/templates
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • src/main/resources/templates/login.html

    r17a2fda r5444409  
    1 
     1<div class="container">
     2    <h1 th:if="${hasError}" th:text="${error}"></h1>
     3</div>
    24<div>
    35    <form th:method="POST" th:action="@{/login}">
  • src/main/resources/templates/register.html

    r17a2fda r5444409  
    44<div class="container">
    55    <form class="form-signin mt-xl-5" method="post" action="/register">
    6         <h2 class="form-signin-heading">Register</h2>
     6        <h2 class="form-signin-heading" style="color: white">Регистрација</h2>
    77        <p>
    8             <label for="username" class="sr-only">Корисничко име</label>
     8            <label for="username" class="sr-only" style="color: white">Корисничко име</label>
    99            <input type="text" id="username" name="username" class="form-control" placeholder="Корисничко име" required=""
    1010                   autofocus="">
    1111        </p>
    1212        <p>
    13             <label for="password" class="sr-only">Лозинка</label>
     13            <label for="password" class="sr-only" style="color: white">Лозинка</label>
    1414            <input type="password" id="password" name="password" class="form-control" placeholder="Лозинка"
    1515                   required="">
    1616        </p>
    1717        <p>
    18             <label for="repeatedPassword" class="sr-only">Повтори лозинка</label>
     18            <label for="repeatedPassword" class="sr-only" style="color: white">Повтори лозинка</label>
    1919            <input type="password" id="repeatedPassword" name="repeatedPassword" class="form-control"
    2020                   placeholder="Повтори лозинка" required="">
    2121        </p>
    2222        <p>
    23             <label for="first_name" class="sr-only">Име</label>
     23            <label for="first_name" class="sr-only" style="color: white">Име</label>
    2424            <input type="text" id="first_name" name="first_name" class="form-control" placeholder="Име" required="" autofocus="">
    2525        </p>
    2626        <p>
    27             <label for="last_name" class="sr-only">Презиме</label>
     27            <label for="last_name" class="sr-only" style="color: white">Презиме</label>
    2828            <input type="text" id="last_name" name="last_name" class="form-control" placeholder="Презиме" required=""
    2929                   autofocus="">
    3030        </p>
    3131        <p>
    32             <label for="number" class="sr-only">Телефонски број</label>
     32            <label for="last_name" class="sr-only" style="color: white">Е-пошта</label>
     33            <input type="text" id="email" name="email" class="form-control" placeholder="Е-пошта" required=""
     34                   autofocus="">
     35        </p>
     36        <p>
     37            <label for="number" class="sr-only" style="color: white">Телефонски број</label>
    3338            <input type="text" id="number" name="number" class="form-control" placeholder="Телефонски број" required=""
    3439                   autofocus="">
     
    3742        <div class="form-check form-check-inline">
    3843            <input class="form-check-input" name="role" type="radio" id="ROLE_ADMIN" value="ROLE_ADMIN">
    39             <label class="form-check-label" for="ROLE_ADMIN">ROLE_ADMIN</label>
     44            <label class="form-check-label" for="ROLE_ADMIN" style="color: white">ROLE_ADMIN</label>
    4045        </div>
    4146        <div class="form-check form-check-inline">
    4247            <input class="form-check-input" name="role"  type="radio" id="ROLE_USER" value="ROLE_USER">
    43             <label class="form-check-label" for="ROLE_USER">ROLE_USER</label>
     48            <label class="form-check-label" for="ROLE_USER" style="color: white">ROLE_USER</label>
    4449        </div>
    4550        </p>
Note: See TracChangeset for help on using the changeset viewer.