diff options
author | cirakg <ciraboxkg@gmail.com> | 2023-01-07 23:00:20 +0100 |
---|---|---|
committer | cirakg <ciraboxkg@gmail.com> | 2023-01-07 23:00:20 +0100 |
commit | 60770759488e8c784648983040521e7d8430925f (patch) | |
tree | 611a9057cc4c6cfe2b3b35a15e81f7d63e2d1d52 /src/main/webapp/pages/registerPage.jsp | |
parent | e94e9a85d819f5a5cffbdaf62981066ef287f1f9 (diff) |
Dodati tooltip-ovi na web aplikaciji.
Diffstat (limited to 'src/main/webapp/pages/registerPage.jsp')
-rw-r--r-- | src/main/webapp/pages/registerPage.jsp | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/src/main/webapp/pages/registerPage.jsp b/src/main/webapp/pages/registerPage.jsp index c4118a0..a0ad82f 100644 --- a/src/main/webapp/pages/registerPage.jsp +++ b/src/main/webapp/pages/registerPage.jsp @@ -6,7 +6,36 @@ <meta charset="ISO-8859-1"> <title>Insert title here</title> </head> +<style> +.tooltip { + position: relative; + display: inline-block; + border-bottom: 1px dotted black; +} +.tooltip .tooltiptext { + visibility: hidden; + width: 300px; + background-color: black; + color: #fff; + text-align: center; + border-radius: 6px; + padding: 5px 0; + position: absolute; + z-index: 1; +} +.tooltip:hover .tooltiptext { + visibility: visible; +} +h1{ + display:inline; +} +</style> <body> +<h1>Register</h1><div class="tooltip">(?) + <span class="tooltiptext">Klasicna stranica za registraciju. Korisnicko ime i sifra moraju da budu alfanumericki string i polja ne smeju biti prazna. Ukoliko je registracija uspensa korisnik se redirektuje na login stranicu ,a ukoliko je neuspesna korisnik biva obavesten o tome. + </span> +</div> +<br> <form method="post" action="register.jsp"> <input type="text" name="username" pattern="^[A-Za-z0-9]{1,}$" required> Korisnicko ime <br> @@ -24,5 +53,7 @@ </p> <button type="submit">Registracija</button> </form> +<br><br> + </body> </html>
\ No newline at end of file |