Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 136 for h1 (0.13 sec)

  1. docs_src/custom_response/tutorial004.py

    app = FastAPI()
    
    
    def generate_html_response():
        html_content = """
        <html>
            <head>
                <title>Some HTML in here</title>
            </head>
            <body>
                <h1>Look ma! HTML!</h1>
            </body>
        </html>
        """
        return HTMLResponse(content=html_content, status_code=200)
    
    
    @app.get("/items/", response_class=HTMLResponse)
    async def read_items():
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Mar 26 19:09:53 GMT 2020
    - 491 bytes
    - Viewed (0)
  2. docs_src/custom_response/tutorial002.py

    @app.get("/items/", response_class=HTMLResponse)
    async def read_items():
        return """
        <html>
            <head>
                <title>Some HTML in here</title>
            </head>
            <body>
                <h1>Look ma! HTML!</h1>
            </body>
        </html>
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Mar 26 19:09:53 GMT 2020
    - 352 bytes
    - Viewed (0)
  3. docs_src/websockets/tutorial002.py

        status,
    )
    from fastapi.responses import HTMLResponse
    
    app = FastAPI()
    
    html = """
    <!DOCTYPE html>
    <html>
        <head>
            <title>Chat</title>
        </head>
        <body>
            <h1>WebSocket Chat</h1>
            <form action="" onsubmit="sendMessage(event)">
                <label>Item ID: <input type="text" id="itemId" autocomplete="off" value="foo"/></label>
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Nov 13 16:10:54 GMT 2022
    - 2.8K bytes
    - Viewed (0)
  4. docs_src/websockets/tutorial002_an.py

    from typing_extensions import Annotated
    
    app = FastAPI()
    
    html = """
    <!DOCTYPE html>
    <html>
        <head>
            <title>Chat</title>
        </head>
        <body>
            <h1>WebSocket Chat</h1>
            <form action="" onsubmit="sendMessage(event)">
                <label>Item ID: <input type="text" id="itemId" autocomplete="off" value="foo"/></label>
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  5. docs_src/websockets/tutorial002_an_py39.py

        status,
    )
    from fastapi.responses import HTMLResponse
    
    app = FastAPI()
    
    html = """
    <!DOCTYPE html>
    <html>
        <head>
            <title>Chat</title>
        </head>
        <body>
            <h1>WebSocket Chat</h1>
            <form action="" onsubmit="sendMessage(event)">
                <label>Item ID: <input type="text" id="itemId" autocomplete="off" value="foo"/></label>
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  6. src/main/webapp/WEB-INF/view/admin/scheduler/admin_scheduler.jsp

                <div class="container-fluid">
                    <div class="row mb-2">
                        <div class="col-sm-6">
                            <h1>
                                <la:message key="labels.scheduledjob_configuration"/>
                            </h1>
                        </div>
                        <div class="col-sm-6">
    Others
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Wed Feb 12 20:25:27 GMT 2020
    - 6.4K bytes
    - Viewed (0)
  7. src/main/webapp/WEB-INF/view/admin/dict/stopwords/admin_dict_stopwords_details.jsp

                <div class="container-fluid">
                    <div class="row mb-2">
                        <div class="col-sm-6">
                            <h1>
                                <la:message key="labels.dict_stopwords_title"/>
                            </h1>
                        </div>
                        <div class="col-sm-6">
                            <ol class="breadcrumb float-sm-right">
    Others
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 13 07:47:04 GMT 2020
    - 7.2K bytes
    - Viewed (0)
  8. src/main/webapp/WEB-INF/view/admin/dict/protwords/admin_dict_protwords_details.jsp

                <div class="container-fluid">
                    <div class="row mb-2">
                        <div class="col-sm-6">
                            <h1>
                                <la:message key="labels.dict_protwords_title"/>
                            </h1>
                        </div>
                        <div class="col-sm-6">
                            <ol class="breadcrumb float-sm-right">
    Others
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 13 07:47:04 GMT 2020
    - 7.2K bytes
    - Viewed (0)
  9. docs_src/websockets/tutorial003.py

    from fastapi.responses import HTMLResponse
    
    app = FastAPI()
    
    html = """
    <!DOCTYPE html>
    <html>
        <head>
            <title>Chat</title>
        </head>
        <body>
            <h1>WebSocket Chat</h1>
            <h2>Your ID: <span id="ws-id"></span></h2>
            <form action="" onsubmit="sendMessage(event)">
                <input type="text" id="messageText" autocomplete="off"/>
                <button>Send</button>
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Aug 09 13:52:19 GMT 2020
    - 2.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/IntervalControlHelper.java

                    }
                }
                return false;
            }
    
            protected int compareTime(final int h1, final int m1, final int h2, final int m2) {
                if (h1 < h2) {
                    return 1;
                }
                if (h1 == h2) {
                    if (m1 == m2) {
                        return 0;
                    }
                    if (m1 < m2) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.8K bytes
    - Viewed (0)
Back to top