aboutsummaryrefslogtreecommitdiff
path: root/src/main/webapp/index.jsp
diff options
context:
space:
mode:
authorcirakg <ciraboxkg@gmail.com>2023-01-07 23:00:20 +0100
committercirakg <ciraboxkg@gmail.com>2023-01-07 23:00:20 +0100
commit60770759488e8c784648983040521e7d8430925f (patch)
tree611a9057cc4c6cfe2b3b35a15e81f7d63e2d1d52 /src/main/webapp/index.jsp
parente94e9a85d819f5a5cffbdaf62981066ef287f1f9 (diff)
Dodati tooltip-ovi na web aplikaciji.
Diffstat (limited to 'src/main/webapp/index.jsp')
-rw-r--r--src/main/webapp/index.jsp33
1 files changed, 32 insertions, 1 deletions
diff --git a/src/main/webapp/index.jsp b/src/main/webapp/index.jsp
index d182b7e..ba31c01 100644
--- a/src/main/webapp/index.jsp
+++ b/src/main/webapp/index.jsp
@@ -13,8 +13,37 @@
<meta charset="ISO-8859-1">
<title>Login</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>Login</h1>
+<h1>Login</h1><div class="tooltip">(?)
+ <span class="tooltiptext">Stranica za prijavu. U zavistinosti da li je korisnik koji se prijavljuje admin ili obican korisnik bice preusmeran na svoju stranicu.
+ ukoliko su unesu pogresne informacije za prijavu korisnik ce biti obavesten o tome.
+ </span>
+</div>
+<br>
<form method="post" action="pages/login.jsp">
<input type="text" name="username" required> Korisnicko ime
@@ -40,6 +69,8 @@
<a href="pages/registerPage.jsp">
<button>Registracija</button>
</a>
+<br><br>
+