Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
F
Farse news IR project
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
9831029
Farse news IR project
Commits
3dc17446
Commit
3dc17446
authored
May 20, 2022
by
Haj Rezvan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change Search background to google background.
parent
d3bb5264
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
62 additions
and
38 deletions
+62
-38
index.html
templates/index.html
+62
-38
No files found.
templates/index.html
View file @
3dc17446
<!DOCTYPE html>
<!DOCTYPE html>
<html
lang=
"en"
xmlns=
"http://www.w3.org/1999/html"
>
<html
lang=
"en"
>
<head>
<head>
<meta
charset=
"utf-8"
>
<meta
charset=
"UTF-8"
/>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
/>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
/>
<title>
Document
</title>
<style
type=
"text/css"
>
.box
{
width
:
50%
;
margin-left
:
10%
;
margin-top
:
1rem
;
font
:
icon
;
font-size
:
1rem
;
}
<!-- Bootstrap CSS -->
p
{
<link
href=
"https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css"
rel=
"stylesheet"
display
:
-webkit-box
;
integrity=
"sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC"
crossorigin=
"anonymous"
>
-webkit-line-clamp
:
2
;
<link
href=
"../static/file.css"
rel=
"stylesheet"
>
-webkit-box-orient
:
vertical
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
margin
:
0
;
color
:
#555
;
}
<title>
موتور جست و جوی فارس
</title>
a
{
text-decoration
:
none
;
font-size
:
1.2rem
;
}
</style>
</head>
</head>
<body>
<body>
<h1>
<div>
موتور جست و جوی فارس
<img
src=
" {{ url_for('static', filename='amirkabir.png') }}"
style=
"width: 7%"
alt=
""
/>
</h1>
<input
<form
action=
"{{ url_for('index') }}"
method=
"POST"
>
style=
"
<h4>
border-radius: 1rem;
عبارت خود را برای جست و جو وارد کنید
width: 50%;
</h4>
height: 2rem;
<label>
outline: none;
<input
type=
"text"
name=
"query"
/>
border: 1px solid #8080804a;
</label><br>
margin-left: 2rem;
<input
type=
"submit"
name=
"submit"
value=
"جست و جو"
class=
"mt-1"
>
position: absolute;
</form>
top: 1rem;
box-shadow: 0 2px 5px 1px rgba(64, 60, 67, 0.16);
<table
id=
"results"
class=
"table table-striped table-hover ms-1 me-1"
>
padding: 0 1rem;
<thead
class=
"table-light"
>
"
<tr>
type=
"text"
<th
scope=
"row"
style=
"font-family: 'B Titr',monospace"
>
عنوان
</th>
name=
""
<th
scope=
"row"
style=
"font-family: 'B Titr',monospace"
>
گزیده
</th>
id=
""
<th
scope=
"row"
style=
"font-family: 'B Titr',monospace"
>
آدرس
</th>
/>
</tr>
<img
</thead>
src=
"{{ url_for('static', filename='farsnewslogo.png') }}"
<tbody>
style=
"width: 17%; position: absolute; right: 2rem; top: 1rem"
alt=
""
/>
<hr
style=
"color: #80808024"
/>
{% for row in data %}
{% for row in data %}
<tr
class=
"text-light"
>
<div
class=
"box"
>
<td
class=
"ellipsis"
>
{{ row[1] }}
</td>
<span>
{{ row[3] }}
</span>
<td
class=
"content"
>
{{ row[2] }}
</td>
<br/>
<td
class=
"ellipsis"
>
{{ row[3] }}
</td>
<a
href=
{{
row
[
3
]
}}
>
{{ row[1] }}
</a>
</tr>
<p>
{{ row[2] }}
</p>
</div>
{% endfor %}
{% endfor %}
</tbody>
</div>
</table>
</body>
</body>
</html>
</html>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment