diff options
author | Max Kostikov <max@kostikov.co> | 2021-04-17 23:46:40 +0200 |
---|---|---|
committer | Max Kostikov <max@kostikov.co> | 2021-04-17 23:46:40 +0200 |
commit | 200d3577fa32bb5107e0376dfd5ee9b3bc8b8721 (patch) | |
tree | 29be82bc3b5e67986d503ec2c37d05eb38b32db2 /view/tpl/regate.tpl | |
parent | b5620cb79443fcbf1820341bce05fadbb0b124be (diff) | |
parent | 8ab99747f55e60448d4468e99d97ae6c0fa566c0 (diff) | |
download | volse-hubzilla-200d3577fa32bb5107e0376dfd5ee9b3bc8b8721.tar.gz volse-hubzilla-200d3577fa32bb5107e0376dfd5ee9b3bc8b8721.tar.bz2 volse-hubzilla-200d3577fa32bb5107e0376dfd5ee9b3bc8b8721.zip |
Merge branch 'dev' of https://framagit.org/kostikov/core into dev
Diffstat (limited to 'view/tpl/regate.tpl')
-rw-r--r-- | view/tpl/regate.tpl | 47 |
1 files changed, 29 insertions, 18 deletions
diff --git a/view/tpl/regate.tpl b/view/tpl/regate.tpl index 04a9df1de..b9239ee46 100644 --- a/view/tpl/regate.tpl +++ b/view/tpl/regate.tpl @@ -1,27 +1,38 @@ -<h2>{{$title}}</h2> +<div class="generic-content-wrapper"> + <div class="section-title-wrapper"> + <h2>{{$title}}</h2> + </div> + <div class="section-content-wrapper"> + {{if $now}} + <div class="section-content-danger-wrapper"> + <div class="h3">{{$now}}</div> + </div> + {{else}} + <div class="section-content-info-wrapper"> + {{$desc}} {{$id}} + <div class="h3">{{$pin}}</div> + </div> -<h3>{{$now}}</h3> + <form action="regate/{{$did2}}" method="post"> + <input type='hidden' name='form_security_token' value='{{$form_security_token}}'> + {{include file="field_input.tpl" field=[$acpin.0,$acpin.1,"","","",$atform]}} -<div class="descriptive-paragraph" style="font-size: 1.2em;"><p>{{$desc}}</p></div> + <div class="pull-right submit-wrapper"> + <button type="submit" name="submit" class="btn btn-primary" {{$atform}}>{{$submit}}</button> + </div> -<form action="regate/{{$did2}}" method="post"> -<input type='hidden' name='form_security_token' value='{{$form_security_token}}'> -{{include file="field_input.tpl" field=[$acpin.0,$acpin.1,"","","",$atform]}} + {{if $resend}} + <div class="resend-email" > + <button type="submit" name="resend" class="btn btn-warning" {{$atform}}>{{$resend}}</button> + </div> + {{/if}} -<div class="pull-right submit-wrapper"> - <button type="submit" name="submit" class="btn btn-primary"{{$atform}}>{{$submit}}</button> + </form> + {{/if}} + <div class="clearfix"></div> + </div> </div> - -{{if $resend > ''}} -<div class="resend-email" > - <button type="submit" name="resend" class="btn btn-warning"{{$atform}}>{{$resend}}</button> -</div> -{{/if}} - -</form> -<div class="clear"></div> <script> - var week_days = ['Monday','Tuesday','Wednesday','Thursday','Friday','Saturday','Sunday']; $('.register_date').each( function () { var date = new Date($(this).data('utc')); $(this).html(date.toLocaleString(undefined, {weekday: 'short', hour: 'numeric', minute: 'numeric'})); |