joermd commited on
Commit
dca4c27
·
verified ·
1 Parent(s): 597271b

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +127 -18
index.html CHANGED
@@ -1,19 +1,128 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  </html>
 
1
+ <!DOCTYPE html>
2
+ <html lang="ar">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <title>معهد مدينة العلوم العصرية</title>
6
+ <meta name="viewport" content="width=device-width, initial-scale=1">
7
+ <style>
8
+ body {
9
+ margin: 0;
10
+ font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
11
+ background: linear-gradient(135deg, #2980b9, #6dd5fa);
12
+ color: #333;
13
+ direction: rtl;
14
+ text-align: center;
15
+ }
16
+ header {
17
+ background: #fff;
18
+ padding: 20px;
19
+ box-shadow: 0 4px 6px rgba(0,0,0,0.1);
20
+ margin-bottom: 30px;
21
+ }
22
+ header img {
23
+ max-width: 100px;
24
+ display: block;
25
+ margin: 0 auto 10px;
26
+ }
27
+ header h1 {
28
+ margin: 0;
29
+ font-size: 2rem;
30
+ color: #2980b9;
31
+ }
32
+ .container {
33
+ max-width: 600px;
34
+ margin: auto;
35
+ padding: 0 20px;
36
+ }
37
+ .description {
38
+ margin-bottom: 40px;
39
+ font-size: 1.1rem;
40
+ color: #fff;
41
+ }
42
+ .link-button {
43
+ display: block;
44
+ margin: 15px auto;
45
+ padding: 15px 25px;
46
+ width: 80%;
47
+ max-width: 300px;
48
+ font-size: 1.1rem;
49
+ color: #fff;
50
+ background-color: #2980b9;
51
+ border: none;
52
+ border-radius: 5px;
53
+ cursor: pointer;
54
+ transition: background 0.3s ease;
55
+ text-decoration: none;
56
+ }
57
+ .link-button:hover {
58
+ background-color: #1f6391;
59
+ }
60
+ footer {
61
+ margin-top: 40px;
62
+ padding: 20px;
63
+ color: #fff;
64
+ font-size: 0.9rem;
65
+ }
66
+ </style>
67
+ </head>
68
+ <body>
69
+ <header>
70
+ <!-- شعار المعهد، يمكنك استبدال "logo.png" برابط شعار المعهد الفعلي -->
71
+ <img src="logo.png" alt="شعار المعهد">
72
+ <h1>معهد مدينة العلوم العصرية</h1>
73
+ </header>
74
+
75
+ <div class="container">
76
+ <div class="description">
77
+ مرحباً بكم في بوابة أنظمة المعهد، حيث نرتقي بالتعليم إلى مستوى احترافي من خلال أنظمة متطورة.
78
+ </div>
79
+
80
+ <!-- زر نظام الصادرات والواردات -->
81
+ <a class="link-button" href="#" onclick="validateAndRedirect('exports')">
82
+ سيستم الصادرات والواردات
83
+ </a>
84
+
85
+ <!-- زر نظام طلاب سنة أولى -->
86
+ <a class="link-button" href="#" onclick="validateAndRedirect('firstYear')">
87
+ سيستم طلاب سنة أولى
88
+ </a>
89
+
90
+ <!-- زر نظام طلاب سنة ثانية -->
91
+ <a class="link-button" href="#" onclick="validateAndRedirect('secondYear')">
92
+ سيستم طلاب سنة ثانية
93
+ </a>
94
+ </div>
95
+
96
+ <footer>
97
+ &copy; 2025 معهد مدينة العلوم العصرية. جميع الحقوق محفوظة.
98
+ </footer>
99
+
100
+ <script>
101
+ // الروابط للأنظمة
102
+ const links = {
103
+ exports: "https://quintadb.com/apps/czxmk0CjezOddKXD1gCop/portals/bxWQJcImjdeiopW4JcRCon/widget",
104
+ firstYear: "https://quintadb.com/apps/cgvmoeW55dI43dTNDJW7WH/portals/coWOO0W7vdPykeWQboW71s/widget",
105
+ // يمكنك تعديل الرابط التالي عندما يتوفر رابط سيستم طلاب سنة ثانية
106
+ secondYear: "#"
107
+ };
108
+
109
+ // كلمة المرور المشفرة (يمكن تعديل التحقق لتشفير أكثر تعقيداً حسب الحاجة)
110
+ const encryptedPassword = "112233445566";
111
+
112
+ function validateAndRedirect(system) {
113
+ const userPass = prompt("أدخل كلمة المرور للدخول:");
114
+ if (userPass === null) return; // تم إلغاء العملية
115
+ if (userPass === encryptedPassword) {
116
+ const url = links[system];
117
+ if(url !== "#") {
118
+ window.location.href = url;
119
+ } else {
120
+ alert("الرابط غير متوفر حالياً.");
121
+ }
122
+ } else {
123
+ alert("كلمة مرور غير صحيحة!");
124
+ }
125
+ }
126
+ </script>
127
+ </body>
128
  </html>