From 4c64d874c3f3e2cc4beebebcd473f96e1e97f512 Mon Sep 17 00:00:00 2001 From: Hao Sun Date: Mon, 30 Jan 2023 18:00:41 +0800 Subject: [PATCH] * zin: change example page --- module/program/ui/browse.html.php | 31 +++++++++++++++++++++---------- 1 file changed, 21 insertions(+), 10 deletions(-) diff --git a/module/program/ui/browse.html.php b/module/program/ui/browse.html.php index 999cd54a1a..0d62fcfbed 100644 --- a/module/program/ui/browse.html.php +++ b/module/program/ui/browse.html.php @@ -3,16 +3,27 @@ namespace zin; page ( - set('title', $title), - h('h1', 'hello'), - button('BUTTON'), - btn('Primary')->primary()->rounded(), + set ('title', $title), + h ('h1', 'hello2')->setClass('text-danger'), + btn + ( + 'Primary', + set('.', 'primary'), + set('active', true), + set('icon', 'flag'), + ), + icon('project'), div ( - setClass('primary-pale'), - h2('Headings2'), - h3('Headings3'), - html('
test
'), - p('lorem', strong('bold')) + icon('star'), + setClass ('primary-pale'), + h2 ('Headings2'), + h3 ('Headings3'), + html ('
test
'), + p + ( + 'lorem', + strong('bold'), + ) ) -)->x(); +);