From ea721d380be15d06a9f0974dc98487523fcdfb58 Mon Sep 17 00:00:00 2001 From: Mario Date: Sat, 10 Apr 2021 10:53:27 +0000 Subject: register: move some html out of the code and provide a basic template --- view/tpl/regate.tpl | 2 -- view/tpl/regate_pre.tpl | 56 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+), 2 deletions(-) create mode 100644 view/tpl/regate_pre.tpl (limited to 'view/tpl') diff --git a/view/tpl/regate.tpl b/view/tpl/regate.tpl index 04a9df1de..6eaac1478 100644 --- a/view/tpl/regate.tpl +++ b/view/tpl/regate.tpl @@ -1,7 +1,5 @@

{{$title}}

-

{{$now}}

-

{{$desc}}

diff --git a/view/tpl/regate_pre.tpl b/view/tpl/regate_pre.tpl new file mode 100644 index 000000000..adc63b181 --- /dev/null +++ b/view/tpl/regate_pre.tpl @@ -0,0 +1,56 @@ +

{{$title}}

+ +{{$delay_desc.0}} +
+ +{{$desc.0}}
+
+{{$desc.1}}
+{{$id}}
+
+{{$desc.2}}
+{{$pin}}
+
+
+ {{$delay_desc.1}}
+ + {{$regdelay}} + +  ‐  + + {{$regexpire}} + +
+ -- cgit v1.2.3