forked from reactive-python/reactpy-django
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbase.html
55 lines (51 loc) · 2.75 KB
/
base.html
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
{% load static %} {% load idom %}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="shortcut icon" type="image/png" href="{% static 'favicon.ico' %}" />
<title>IDOM</title>
</head>
<body>
<h1>IDOM Test Page</h1>
<style>
iframe {
width: 100%;
height: 45px;
}
</style>
<hr>
<div>{% component "test_app.components.hello_world" class="hello-world" %}</div>
<div>{% component "test_app.components.button" class="button" %}</div>
<div>{% component "test_app.components.parameterized_component" class="parametarized-component" x=123 y=456 %}</div>
<div>{% component "test_app.components.simple_button" %}</div>
<div>{% component "test_app.components.use_websocket" %}</div>
<div>{% component "test_app.components.use_scope" %}</div>
<div>{% component "test_app.components.use_location" %}</div>
<div>{% component "test_app.components.use_origin" %}</div>
<div>{% component "test_app.components.django_css" %}</div>
<div>{% component "test_app.components.django_js" %}</div>
<div>{% component "test_app.components.unauthorized_user" %}</div>
<div>{% component "test_app.components.authorized_user" %}</div>
<div>{% component "test_app.components.relational_query" %}</div>
<div>{% component "test_app.components.todo_list" %}</div>
<div>{% component "test_app.components.view_to_component_sync_func" %}</div>
<div>{% component "test_app.components.view_to_component_async_func" %}</div>
<div>{% component "test_app.components.view_to_component_sync_class" %}</div>
<div>{% component "test_app.components.view_to_component_async_class" %}</div>
<div>{% component "test_app.components.view_to_component_template_view_class" %}</div>
<div>{% component "test_app.components.view_to_component_script" %}</div>
<div>{% component "test_app.components.view_to_component_request" %}</div>
<div>{% component "test_app.components.view_to_component_args" %}</div>
<div>{% component "test_app.components.view_to_component_kwargs" %}</div>
<div>{% component "test_app.components.view_to_component_sync_func_compatibility" %}</div>
<div>{% component "test_app.components.view_to_component_async_func_compatibility" %}</div>
<div>{% component "test_app.components.view_to_component_sync_class_compatibility" %}</div>
<div>{% component "test_app.components.view_to_component_async_class_compatibility" %}</div>
<div>{% component "test_app.components.view_to_component_template_view_class_compatibility" %}</div>
<div>{% component "test_app.components.view_to_component_decorator" %}</div>
<div>{% component "test_app.components.view_to_component_decorator_args" %}</div>
</body>
</html>