diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2020-08-22 17:02:30 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2020-08-22 17:02:30 +0200 |
commit | 3267754478ea1b83c3da653c4a5f9706c9fdce05 (patch) | |
tree | 30ad507bddf03dce50d833040948c904b2dffa2c /templates | |
parent | 2b8fdbe9200d6950bfd10f42e5af0e424effafd8 (diff) | |
download | ramaskrik-social-3267754478ea1b83c3da653c4a5f9706c9fdce05.tar.gz ramaskrik-social-3267754478ea1b83c3da653c4a5f9706c9fdce05.tar.bz2 ramaskrik-social-3267754478ea1b83c3da653c4a5f9706c9fdce05.zip |
Use Tera templates to render pages.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/room/list.tera | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/templates/room/list.tera b/templates/room/list.tera new file mode 100644 index 0000000..fddad57 --- /dev/null +++ b/templates/room/list.tera @@ -0,0 +1,13 @@ +<!DOCTYPE html> +<html> +<head> +<title>Room list</title> +</head> +<body> +<h1>Rooms</h1> + +{% if rooms | length <= 0%} +No rooms defined. +{% endif %} +</body> +</html> |