@ישעי
והנה לך אפי' עם עיצוב שהAI הביא.
רק תכניס מספר מערכת וסיסמא.
דוגמא
כניסה למערכת.html
הקוד
<!DOCTYPE html>
<html lang="he" dir="rtl">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>התחברות למערכת</title>
<style>
/* איפוס הגדרות בסיסי */
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background-color: #f0f2f5;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
color: #333;
}
/* עיצוב הכרטיס הראשי */
#login_form {
background-color: #ffffff;
padding: 40px;
border-radius: 12px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
width: 100%;
max-width: 400px;
text-align: center;
}
/* עיצוב הקישור לאתר החדש */
#admin-link-newsite {
display: inline-block;
margin-bottom: 25px;
text-decoration: none;
color: #ffffff;
background-color: #28a745; /* צבע ירוק להבחנה */
padding: 8px 15px;
border-radius: 20px;
font-size: 0.9em;
transition: background-color 0.3s;
}
#admin-link-newsite:hover {
background-color: #218838;
}
/* עיצוב שדות הטופס */
.dialog-fld {
margin-bottom: 20px;
text-align: right;
}
label {
display: block;
margin-bottom: 8px;
font-weight: 600;
color: #555;
}
input[type="text"],
input[type="password"] {
width: 100%;
padding: 12px;
border: 1px solid #ddd;
border-radius: 6px;
font-size: 16px;
transition: border-color 0.3s;
}
input[type="text"]:focus,
input[type="password"]:focus {
border-color: #007bff;
outline: none;
box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}
/* אייקון טעינה */
#login-form-wait {
margin: 15px 0;
font-size: 0.9em;
color: #666;
display: none; /* מוסתר כברירת מחדל אלא אם יש לוגיקה שמציגה אותו */
}
#login-form-wait img {
vertical-align: middle;
margin-left: 5px;
}
/* עיצוב כפתור ההתחברות */
input[type="submit"] {
width: 100%;
padding: 14px;
background-color: #007bff;
color: white;
border: none;
border-radius: 6px;
font-size: 16px;
font-weight: bold;
cursor: pointer;
transition: background-color 0.3s, transform 0.1s;
margin-top: 10px;
}
input[type="submit"]:hover {
background-color: #0056b3;
}
input[type="submit"]:active {
transform: scale(0.98);
}
/* קישור שכחתי סיסמה */
a[href="reset_password.php"] {
display: block;
margin-top: 20px;
color: #6c757d;
text-decoration: none;
font-size: 0.9em;
}
a[href="reset_password.php"]:hover {
color: #007bff;
text-decoration: underline;
}
</style>
</head>
<body>
<form id="login_form" action="https://www.call2all.co.il/ym/login.php" method="post">
<a id="admin-link-newsite" href="https://www.call2all.co.il/yemot-admin-g1/#/login">
עבור לאתר החדש (גרסת בטא)
</a>
<div class="dialog-fld">
<label for="admin-login-user">מספר מערכת:</label>
<input id="admin-login-user" type="text" name="user" placeholder="הכנס מספר מערכת" required />
</div>
<div class="dialog-fld">
<label for="admin-login-pwd">סיסמא:</label>
<input id="admin-login-pwd" type="password" name="password" placeholder="הכנס סיסמה" required />
</div>
<div id="login-form-wait">
<img src="res/ajax-loader-small.gif" alt="אנא המתינו..." />
אנא המתינו...
</div>
<input id="login-form-submit" type="submit" value="התחבר למערכת" />
<div class="dialog-fld" style="text-align: center;">
<a href="reset_password.php">שכחתי סיסמה</a>
</div>
</form>
</body>
</html>