Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 96 for templates (0.19 sec)

  1. docs/em/docs/advanced/templates.md

    ```jinja hl_lines="4"
    {!../../docs_src/templates/templates/item.html!}
    ```
    
    👉 🖼, ⚫️ 🔜 🔗 🎚 📁 `static/styles.css` ⏮️:
    
    ```CSS hl_lines="4"
    {!../../docs_src/templates/static/styles.css!}
    ```
    
    & ↩️ 👆 ⚙️ `StaticFiles`, 👈 🎚 📁 🔜 🍦 🔁 👆 **FastAPI** 🈸 📛 `/static/styles.css`.
    
    ## 🌅 ℹ
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. docs/de/docs/advanced/templates.md

    ///
    
    ## Templates erstellen
    
    Dann können Sie unter `templates/item.html` ein Template erstellen, mit z. B. folgendem Inhalt:
    
    ```jinja hl_lines="7"
    {!../../docs_src/templates/templates/item.html!}
    ```
    
    ### Template-Kontextwerte
    
    Im HTML, welches enthält:
    
    {% raw %}
    
    ```jinja
    Item ID: {{ id }}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. docs/pt/docs/advanced/templates.md

    ///
    
    ## Escrevendo Templates
    
    Então você pode escrever um template em `templates/item.html`, por exemplo:
    
    ```jinja hl_lines="7"
    {!../../docs_src/templates/templates/item.html!}
    ```
    
    ### Interpolação de Valores no Template
    
    No código HTML que contém:
    
    {% raw %}
    
    ```jinja
    Item ID: {{ id }}
    ```
    
    {% endraw %}
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/templates.md

    ///
    
    ## Writing templates
    
    Then you can write a template at `templates/item.html` with, for example:
    
    ```jinja hl_lines="7"
    {!../../docs_src/templates/templates/item.html!}
    ```
    
    ### Template Context Values
    
    In the HTML that contains:
    
    {% raw %}
    
    ```jinja
    Item ID: {{ id }}
    ```
    
    {% endraw %}
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  5. docs/zh/docs/advanced/templates.md

    ```jinja hl_lines="4"
    {!../../docs_src/templates/templates/item.html!}
    ```
    
    本例中,它将链接到 `static/styles.css`中的CSS文件:
    
    ```CSS hl_lines="4"
    {!../../docs_src/templates/static/styles.css!}
    ```
    
    因为使用了 `StaticFiles`, **FastAPI** 应用会自动提供位于 URL `/static/styles.css`的 CSS 文件。
    
    ## 更多说明
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. api/maven-api-plugin/pom.xml

                  <version>2.0.0</version>
                  <models>
                    <model>src/main/mdo/plugin.mdo</model>
                  </models>
                  <templates>
                    <template>model.vm</template>
                  </templates>
                  <params>
                    <param>packageModelV4=org.apache.maven.api.plugin.descriptor</param>
                  </params>
                </configuration>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Oct 19 18:11:20 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  7. compat/maven-plugin-api/pom.xml

                  <goal>velocity</goal>
                </goals>
                <phase>generate-sources</phase>
                <configuration>
                  <templates>
                    <template>reader-stax.vm</template>
                    <template>writer-stax.vm</template>
                  </templates>
                  <params>
                    <param>packageModelV4=org.apache.maven.api.plugin.descriptor.lifecycle</param>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  8. api/maven-api-model/pom.xml

                  <models>
                    <model>src/main/mdo/maven.mdo</model>
                  </models>
                  <templates>
                    <template>model.vm</template>
                  </templates>
                  <params>
                    <param>packageModelV4=org.apache.maven.api.model</param>
                    <param>isMavenModel=true</param>
                  </params>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Oct 19 18:11:20 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. compat/maven-settings/pom.xml

                </goals>
                <phase>generate-sources</phase>
                <configuration>
                  <templates>
                    <template>merger.vm</template>
                    <template>transformer.vm</template>
                    <template>reader-stax.vm</template>
                    <template>writer-stax.vm</template>
                  </templates>
                  <params combine.children="append">
                    <param>locationTracking=true</param>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. api/maven-api-toolchain/pom.xml

                  <models>
                    <model>src/main/mdo/toolchains.mdo</model>
                  </models>
                  <templates>
                    <template>model.vm</template>
                  </templates>
                  <params>
                    <param>packageModelV4=org.apache.maven.api.toolchain</param>
                    <param>locationTracking=true</param>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Oct 19 18:11:20 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top