Commit 82106a92 authored by Hamid's avatar Hamid
Browse files

page A

parent 92e65bcb
This source diff could not be displayed because it is too large. You can view the blob instead.
<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<title>lipn seach</title>
<!-- Bootstrap core CSS -->
<link rel="stylesheet" href="{{url_for('static',filename='../static/vendor/bootstrap/css/bootstrap.min.css')}}">
<!-- Custom fonts for this template -->
<link rel="stylesheet" href="{{url_for('static',filename='../static/vendor/fontawesome-free/css/all.min.css')}}">
<link rel="stylesheet" type="text/css" href="{{url_for('static',filename='../static/vendor/simple-line-icons/css/simple-line-icons.css')}}">
<link href=",400,700,300italic,400italic,700italic" rel="stylesheet" type="text/css">
<!-- Custom styles for this template -->
<link rel="stylesheet" href="{{url_for('static',filename='../static/css/landing-page.min.css')}}" >
<!-- Navigation -->
<nav class="navbar navbar-light bg-light static-top">
<div class="container">
<a class="navbar-brand" href="#">Lipn Seach</a>
<a class="btn btn-primary" href="#">Connexion</a>
<!-- Masthead -->
<header class="masthead text-white text-center">
<div class="overlay"></div>
<div class="container">
<div class="row">
<div class="col-xl-9 mx-auto">
<h1 class="mb-5">LIPN-SEACH</h1>
<div class="col-md-10 col-lg-8 col-xl-7 mx-auto">
<div class="form-row">
<div class="col-12 col-md-25 mb-8 mb-md-0">
<input type="text" class="form-control form-control-lg" placeholder="Effectuez une recherche">
<!-- Bootstrap core JavaScript -->
<script src="{{url_for('static',filename='../static/vendor/jquery/jquery.min.js')}}"></script>
<script src="{{url_for('static',filename='../static/bootstrap/js/bootstrap.bundle.min.js')}}"></script>
from flask import Flask, render_template
app = Flask(__name__)
def index():
return render_template('index.html')
<!DOCTYPE html>
<head><title>Moteur de recherche</title></head>
<h1>Bienvenue dans notre serveur web fonctionel!!!!!</h1>
<h2>Il faut que ça soit trés jolie </h2>
\ No newline at end of file
import app
from app import app
if __name__ == "__main__":
import http.server
import socketserver
PORT = 8080
Handler = http.server.SimpleHTTPRequestHandler
with socketserver.TCPServer(("", PORT), Handler) as http:
print("Serving at port", PORT)
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment