| 123456789101112131415161718192021222324252627282930313233343536 |
- - name: Standard Page
- description: A page with an image header and optional navigation bar.
- img: img/form-templates/hello-sf/std-page.png
- form:
- class_name: Form
- is_package: true
- container:
- type: HtmlTemplate
- properties: {html: '@theme:standard-page.html'}
- components:
- - type: ColumnPanel
- properties: {}
- name: content_panel
- layout_properties: {slot: default}
- code: "from ._anvil_designer import $NAME$Template\nfrom anvil import *\n\nclass\
- \ $NAME$($NAME$Template):\n\n def __init__(self, **properties):\n # Set\
- \ Form properties and Data Bindings.\n self.init_components(**properties)\n\
- \n # Any code you write here will run when the form opens.\n \n"
- - name: Splash
- description: A page with a dark background, and a narrow white content area.
- img: img/form-templates/hello-sf/splash.png
- form:
- class_name: Form
- is_package: true
- container:
- type: HtmlTemplate
- properties: {html: '@theme:splash.html'}
- components:
- - type: ColumnPanel
- properties: {}
- name: content_panel
- layout_properties: {slot: default}
- code: "from ._anvil_designer import $NAME$Template\nfrom anvil import *\n\nclass\
- \ $NAME$($NAME$Template):\n\n def __init__(self, **properties):\n # Set\
- \ Form properties and Data Bindings.\n self.init_components(**properties)\n\
- \n # Any code you write here will run when the form opens.\n"
|