2026-01-17 18:32:29 +05:30
|
|
|
extends layout.pug
|
|
|
|
|
|
|
|
|
|
block scripts
|
|
|
|
|
script(src='/jquery.js')
|
|
|
|
|
script(src='/pets.js')
|
|
|
|
|
|
|
|
|
|
block content
|
|
|
|
|
h1= title
|
|
|
|
|
p Welcome to the pets page!
|
|
|
|
|
ul
|
|
|
|
|
li Cat
|
|
|
|
|
li Dog
|
|
|
|
|
ul
|
|
|
|
|
each val in items
|
|
|
|
|
li= val
|
2026-01-22 23:19:39 +05:30
|
|
|
input(data-json=`
|
|
|
|
|
{
|
|
|
|
|
"very-long": "piece of ",
|
|
|
|
|
"data": true
|
|
|
|
|
}
|
|
|
|
|
`)
|
2026-01-23 00:06:04 +05:30
|
|
|
|
|
|
|
|
br
|
|
|
|
|
div(class='div-class', (click)='play()') one
|
|
|
|
|
div(class='div-class' '(click)'='play()') two
|
|
|
|
|
a(style={color: 'red', background: 'green'}) sdfsdfs
|
|
|
|
|
a.button btn
|
|
|
|
|
br
|
|
|
|
|
|
2026-01-22 23:36:42 +05:30
|
|
|
form(method="post")
|
|
|
|
|
+input_text("firstName", "First Name", "first name")
|
|
|
|
|
br
|
|
|
|
|
+input_text("lastName", "Last Name", "last name")
|
|
|
|
|
submit sumit
|
2026-01-22 23:49:01 +05:30
|
|
|
if error
|
|
|
|
|
+alert_error(error)
|