diff options
author | Mario <mario@mariovavti.com> | 2021-04-10 20:44:04 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-04-10 20:44:04 +0000 |
commit | f0e5ce7fd1dae13cc257a8a860fccbc294530776 (patch) | |
tree | 050bac84731085a4c8cbc70ae3c9435448dbf11e /view/tpl/regate.tpl | |
parent | ea721d380be15d06a9f0974dc98487523fcdfb58 (diff) | |
download | volse-hubzilla-f0e5ce7fd1dae13cc257a8a860fccbc294530776.tar.gz volse-hubzilla-f0e5ce7fd1dae13cc257a8a860fccbc294530776.tar.bz2 volse-hubzilla-f0e5ce7fd1dae13cc257a8a860fccbc294530776.zip |
register: more work on ui/ux
Diffstat (limited to 'view/tpl/regate.tpl')
-rw-r--r-- | view/tpl/regate.tpl | 45 |
1 files changed, 29 insertions, 16 deletions
diff --git a/view/tpl/regate.tpl b/view/tpl/regate.tpl index 6eaac1478..b9239ee46 100644 --- a/view/tpl/regate.tpl +++ b/view/tpl/regate.tpl @@ -1,25 +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> -<div class="descriptive-paragraph" style="font-size: 1.2em;"><p>{{$desc}}</p></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]}} -<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="pull-right submit-wrapper"> + <button type="submit" name="submit" class="btn btn-primary" {{$atform}}>{{$submit}}</button> + </div> -<div class="pull-right submit-wrapper"> - <button type="submit" name="submit" class="btn btn-primary"{{$atform}}>{{$submit}}</button> -</div> + {{if $resend}} + <div class="resend-email" > + <button type="submit" name="resend" class="btn btn-warning" {{$atform}}>{{$resend}}</button> + </div> + {{/if}} -{{if $resend > ''}} -<div class="resend-email" > - <button type="submit" name="resend" class="btn btn-warning"{{$atform}}>{{$resend}}</button> + </form> + {{/if}} + <div class="clearfix"></div> + </div> </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'})); |