frappeAssignment/airplane_mode/www/show-me.html

25 lines
495 B
HTML

{% block page_content %}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Show Colored Rectangle</title>
<style>
#rectangle {
width: 200px;
height: 200px;
background-color: black;
}
</style>
</head>
<body>
<div id="rectangle" style="background-color:{{ frappe.form_dict.color }};"></div>
</body>
</html>
{% endblock %}