aboutsummaryrefslogtreecommitdiff
path: root/src/main/webapp/pages/registerPage.jsp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/webapp/pages/registerPage.jsp')
-rw-r--r--src/main/webapp/pages/registerPage.jsp31
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