- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 429 for templates (0.2 sec)
-
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 }} ```
Plain Text - Registered: Sun Apr 21 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 20:26:19 GMT 2024 - 3.6K bytes - Viewed (0) -
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 %}
Plain Text - Registered: Sun Apr 21 07:19:11 GMT 2024 - Last Modified: Thu Mar 28 04:05:17 GMT 2024 - 3.4K bytes - Viewed (0) -
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 %}
Plain Text - Registered: Sun Apr 21 07:19:11 GMT 2024 - Last Modified: Thu Jan 11 22:25:37 GMT 2024 - 3.2K bytes - Viewed (0) -
docs/zh/docs/advanced/templates.md
## 编写模板 编写模板 `templates/item.html`,代码如下: ```jinja hl_lines="7" {!../../../docs_src/templates/templates/item.html!} ``` 它会显示从 **context** 字典中提取的 `id`: ```Python {"request": request, "id": id} ``` ## 模板与静态文件 在模板内部使用 `url_for()`,例如,与挂载的 `StaticFiles` 一起使用。 ```jinja hl_lines="4" {!../../../docs_src/templates/templates/item.html!} ```
Plain Text - Registered: Sun Apr 21 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 22:45:16 GMT 2024 - 2.2K bytes - Viewed (0) -
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`. ## 🌅 ℹ
Plain Text - Registered: Sun Apr 21 07:19:11 GMT 2024 - Last Modified: Tue Dec 26 20:12:34 GMT 2023 - 2.1K bytes - Viewed (0) -
manifests/charts/istio-control/istio-discovery/templates/istiod-injector-configmap.yaml
templates: {{- if not (hasKey .Values.sidecarInjectorWebhook.templates "sidecar") }} sidecar: | {{ .Files.Get "files/injection-template.yaml" | trim | indent 8 }} {{- end }} {{- if not (hasKey .Values.sidecarInjectorWebhook.templates "gateway") }} gateway: | {{ .Files.Get "files/gateway-injection-template.yaml" | trim | indent 8 }} {{- end }} {{- if not (hasKey .Values.sidecarInjectorWebhook.templates "grpc-simple") }}
Others - Registered: Wed Mar 20 22:53:08 GMT 2024 - Last Modified: Wed Feb 21 03:10:21 GMT 2024 - 3.4K bytes - Viewed (0) -
manifests/charts/istiod-remote/templates/istiod-injector-configmap.yaml
templates: {{- if not (hasKey .Values.sidecarInjectorWebhook.templates "sidecar") }} sidecar: | {{ .Files.Get "files/injection-template.yaml" | trim | indent 8 }} {{- end }} {{- if not (hasKey .Values.sidecarInjectorWebhook.templates "gateway") }} gateway: | {{ .Files.Get "files/gateway-injection-template.yaml" | trim | indent 8 }} {{- end }} {{- if not (hasKey .Values.sidecarInjectorWebhook.templates "grpc-simple") }}
Others - Registered: Wed Mar 20 22:53:08 GMT 2024 - Last Modified: Wed Feb 21 03:10:21 GMT 2024 - 3.4K bytes - Viewed (0) -
tests/test_tutorial/test_templates/test_tutorial001.py
if os.path.isdir("./static"): # pragma: nocover shutil.rmtree("./static") if os.path.isdir("./templates"): # pragma: nocover shutil.rmtree("./templates") shutil.copytree("./docs_src/templates/templates/", "./templates") shutil.copytree("./docs_src/templates/static/", "./static") from docs_src.templates.tutorial001 import app client = TestClient(app) response = client.get("/items/foo")
Python - Registered: Sun Apr 21 07:19:11 GMT 2024 - Last Modified: Thu Jan 11 22:25:37 GMT 2024 - 910 bytes - Viewed (0) -
operator/cmd/mesh/manifest-generate_test.go
func TestConfigSelectors(t *testing.T) { selectors := []string{ "templates/deployment.yaml", "templates/service.yaml", "templates/poddisruptionbudget.yaml", "templates/autoscale.yaml", "templates/serviceaccount.yaml", } got, err := runManifestGenerate([]string{}, "--set values.gateways.istio-egressgateway.enabled=true", liveCharts, selectors)
Go - Registered: Wed Mar 20 22:53:08 GMT 2024 - Last Modified: Thu Feb 22 08:32:23 GMT 2024 - 42K bytes - Viewed (0) -
manifests/charts/istio-control/istio-discovery/values.yaml
templates: {} # Default templates specifies a set of default templates that are used in sidecar injection. # By default, a template `sidecar` is always provided, which contains the template of default sidecar. # To inject other additional templates, define it using the `templates` option, and add it to # the default templates list. # For example: #
Others - Registered: Wed Mar 20 22:53:08 GMT 2024 - Last Modified: Mon Mar 11 16:58:23 GMT 2024 - 19.6K bytes - Viewed (0)