salehalmansour commited on
Commit
d9b792e
1 Parent(s): 13a3bbb

Update templates/index.html

Browse files
Files changed (1) hide show
  1. templates/index.html +97 -28
templates/index.html CHANGED
@@ -1,34 +1,103 @@
1
- <!DOCTYPE html>
2
- <html lang="ar">
3
  <head>
4
- <meta charset="UTF-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>نموذج توليد الصور</title>
 
 
 
 
 
 
 
 
7
  </head>
 
8
  <body>
9
- <header>
10
- <img src="path_to_your_logo.png" alt="شعار الموقع">
11
- </header>
12
- <main>
13
- <h1>نموذج توليد الصور</h1>
14
- <p>اكتب وصف للصورة التي تود من النظام التوليدي انشاءها</p>
15
- <div>
16
- <button onclick="generateImage()">انشئ</button>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
17
  </div>
18
- <div id="output"></div>
19
- </main>
20
- <script>
21
- async function generateImage() {
22
- const text = prompt("أدخل النص الذي تريد إدراجه في الصورة:");
23
- if (text) {
24
- const dummyImage = document.createElement('img');
25
- dummyImage.src = `https://via.placeholder.com/400x400?text=${encodeURIComponent(text)}`;
26
- document.getElementById('output').innerHTML = '';
27
- document.getElementById('output').appendChild(dummyImage);
28
- } else {
29
- alert("يرجى إدخال نص للصورة!");
30
- }
31
- }
32
- </script>
33
  </body>
34
- </html>
 
 
1
+ <html lang="ar" dir="rtl">
2
+
3
  <head>
4
+ <meta charset="utf-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>تبيان</title>
7
+ <link rel="preload" href="{{ url_for('static', filename='ksaa.css') }}" as="style">
8
+ <link rel="stylesheet" href="{{ url_for('static', filename='ksaa.css') }}" data-n-g="">
9
+ <!-- Remove the meta tag for keywords -->
10
+ <!-- Remove unnecessary list items from the navigation menu -->
11
+ <!-- Replace the logo with your own logo -->
12
+ <style>
13
+ /* Your custom styles here */
14
+ </style>
15
  </head>
16
+
17
  <body>
18
+ <div id="__next" data-reactroot="">
19
+ <div id="content">
20
+
21
+ <!-- Header -->
22
+ <header class="header-inside">
23
+ <div class="container">
24
+ <nav class="navbar navbar-expand-lg home-nav">
25
+ <nav class="navbar navbar-light m-0 mr-4">
26
+ <!-- Replace this logo with your own -->
27
+ <img src="path_to_your_logo.png" alt="Your Logo" height="45">
28
+ </nav>
29
+ <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav"
30
+ aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
31
+ <img src="{{ url_for('static', filename='imgs/menu-black.svg') }}" width="25px;" alt="menu">
32
+ </button>
33
+ <div class="collapse navbar-collapse responsive-light" id="navbarNav">
34
+ <ul class="navbar-nav Traditional_nav__zD2_d bg-white border-1">
35
+ <!-- Navigation items -->
36
+ </ul>
37
+ </div>
38
+ <!-- Add your logo here -->
39
+ <a href="" class="ml-5 hide-md hide-xs">
40
+ <img src="{{ url_for('static', filename='imgs/logoA.png') }}" height="45"
41
+ alt="Your Logo">
42
+ </a>
43
+ </nav>
44
+ </div>
45
+ </header>
46
+
47
+ <!-- Main Content -->
48
+ <main class="pages-bg">
49
+ <header class="header-inside">
50
+ <main class="sub-menu ">
51
+ <div class="container mx-auto ">
52
+ <form action="/" method="" class="pb-1 pt-5">
53
+ <div
54
+ class="row no-gutters justify-content-between custom-search bg-white rounded-5 border-1">
55
+ <div class="col-xs-12 col-sm-8 col-lg-8 row no-wrap justify-content-between pl-3 ">
56
+ <img alt="search icon" src="/assets/img/searchIcon.png" class="search-icon">
57
+ <div class="form-group ">
58
+ <div class="MuiAutocomplete-root" role="combobox" aria-expanded="false"
59
+ style="width: 300px;">
60
+ <div
61
+ class="MuiFormControl-root MuiTextField-root MuiFormControl-fullWidth">
62
+ <!-- Change the label text and placeholder -->
63
+ <label
64
+ class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated"
65
+ data-shrink="false" for="autocomplete-box"
66
+ id="autocomplete-box-label">اكتب وصف للصورة التي تود من النظام التوليدي انشاءها</label>
67
+ <div
68
+ class="MuiInputBase-root MuiInput-root MuiInput-underline MuiAutocomplete-inputRoot MuiInputBase-fullWidth MuiInput-fullWidth MuiInputBase-formControl MuiInput-formControl MuiInputBase-adornedEnd">
69
+ <input aria-invalid="false" autocomplete="off"
70
+ id="autocomplete-box" name="word"
71
+ placeholder="اكتب وصف للصورة التي تود من النظام التوليدي انشاءها"
72
+ type="text"
73
+ class="MuiInputBase-input MuiInput-input MuiAutocomplete-input MuiAutocomplete-inputFocused MuiInputBase-inputAdornedEnd"
74
+ aria-autocomplete="list" autocapitalize="none"
75
+ spellcheck="false" value="">
76
+ <div class="MuiAutocomplete-endAdornment"></div>
77
+ </div>
78
+ </div>
79
+ </div>
80
+ </div>
81
+ </div>
82
+ <div class=" col-xs-12 col-sm-4 col-lg-4 p-0"><input type="submit"
83
+ class="m-0 rounded-5 " value="انشئ"></div>
84
+ </div>
85
+ <div class="search-letters mt-5">
86
+ <ul>
87
+ <!-- Arabic letters -->
88
+ </ul>
89
+ </div>
90
+ </form>
91
+ </div>
92
+ </main>
93
+ </header>
94
+
95
+ <!-- Your main content here -->
96
+
97
+ </main>
98
  </div>
99
+ </div>
100
+
 
 
 
 
 
 
 
 
 
 
 
 
 
101
  </body>
102
+
103
+ </html>