-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathanvil.yaml
92 lines (92 loc) · 3.5 KB
/
anvil.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
dependencies:
- app_id: C6ZZPAPN4YYF5NVJ
version: {dev: false}
services:
- source: /runtime/services/tables.yml
client_config: {}
server_config: {auto_create_missing_columns: false}
- source: /runtime/services/anvil/users.yml
client_config: {allow_signup: true, enable_automatically: true, use_email: true,
confirm_email: false, allow_remember_me: true, remember_me_days: 365}
server_config: {user_table: users}
startup: {type: form, module: UserInterface.Main}
package_name: SimAID
allow_embedding: true
name: SimAID
runtime_options: {version: 2, client_version: '3', server_version: python3-sandbox}
metadata: {logo_img: 'asset:logo.png'}
startup_form: UserInterface.Main
native_deps: {head_html: "<style>\n.box{\n padding: 10px;\n}\n\ninput[type=\"range\"\
]\n{\n width: 100%;\n margin: 0px;\n padding: 8px 0px;\n outline:\
\ none;\n background-color: transparent;\n -webkit-appearance: none;\n}\n\
\ninput[type=\"range\"]:focus\n{\n outline: none;\n}\n\ninput[type=\"range\"\
]::-webkit-slider-runnable-track\n{\n width: 100%;\n height: 4px;\n background:\
\ #CCC;\n border-radius: 7px;\n cursor: pointer;\n}\n\ninput[type=\"range\"\
]:focus::-webkit-slider-runnable-track\n{\n background: #1976D2;\n}\n\ninput[type=\"\
range\"]::-webkit-slider-thumb\n{\n height: 18px;\n width: 18px;\n margin-top:\
\ -7px;\n border:1px solid #2196F3;\n background: #2196F3;\n border-radius:\
\ 50%;\n cursor: pointer;\n -webkit-appearance: none;\n}\n\ninput[type=\"\
range\"]::-moz-range-thumb\n{\n height: 18px;\n width: 18px;\n border:1px\
\ solid #2196F3;\n background: #2196F3;\n border-radius: 50%;\n cursor:\
\ pointer;\n}\n\ninput[type=\"range\"]::-moz-range-track\n{\n width: 100%;\n\
\ height: 4px;\n background: #CCC;\n border-radius: 4px;\n cursor:\
\ pointer;\n}\n\ninput[type=\"range\"]::-ms-thumb\n{\n \tmargin-top: 0px;\n \
\ height: 18px;\n width: 18px;\n border: 0px solid #1976D2;\n background:\
\ #2196F3;\n border-radius: 50%;\n cursor: pointer;\n}\n\ninput[type=\"\
range\"]::-ms-track\n{\n width: 100%;\n height: 4px;\n color: transparent;\n\
\ border-width: 16px 0;\n border-color: transparent;\n background: transparent;\n\
\ cursor: pointer;\n}\n\n\n</style>"}
db_schema:
users:
title: Users
client: none
server: full
columns:
- name: email
admin_ui: {width: 200}
type: string
- name: enabled
admin_ui: {width: 100}
type: bool
- name: signed_up
admin_ui: {width: 200}
type: datetime
- name: password_hash
admin_ui: {width: 200}
type: string
- name: last_login
admin_ui: {width: 200}
type: datetime
- name: remembered_logins
admin_ui: {width: 200}
type: simpleObject
- name: n_password_failures
admin_ui: {width: 200}
type: number
simulations:
title: Simulations
client: full
server: full
columns:
- name: user
admin_ui: {width: 200}
type: string
- name: params
admin_ui: {width: 200}
type: simpleObject
- name: remarks
admin_ui: {width: 200}
type: string
- name: simulationData
admin_ui: {width: 200}
type: simpleObject
- name: cost
admin_ui: {width: 200}
type: number
- name: time
admin_ui: {width: 200}
type: datetime
- name: randomSeed
admin_ui: {width: 200}
type: number
renamed: true