diff options
author | Andrew Manning <tamanning@zoho.com> | 2018-02-18 20:24:41 -0500 |
---|---|---|
committer | Andrew Manning <tamanning@zoho.com> | 2018-02-18 20:24:41 -0500 |
commit | 7d0c1bb737f3683cd770ebd757d938f39a9b55ef (patch) | |
tree | a912d2166429224cb50ec0250670cf50fbdd958c /view/tpl | |
parent | c444e40c016c0faaec604335093b19661b3585b7 (diff) | |
download | volse-hubzilla-7d0c1bb737f3683cd770ebd757d938f39a9b55ef.tar.gz volse-hubzilla-7d0c1bb737f3683cd770ebd757d938f39a9b55ef.tar.bz2 volse-hubzilla-7d0c1bb737f3683cd770ebd757d938f39a9b55ef.zip |
Created test vehicle module oauth2test
Diffstat (limited to 'view/tpl')
-rw-r--r-- | view/tpl/oauth2test.tpl | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/view/tpl/oauth2test.tpl b/view/tpl/oauth2test.tpl new file mode 100644 index 000000000..d4887063c --- /dev/null +++ b/view/tpl/oauth2test.tpl @@ -0,0 +1,13 @@ +<h1>OAuth 2.0 Test Vehicle</h1> + +{{foreach $endpoints as $ept}} +<div class="oath2test-form-box"> +<form action="{{$baseurl}}/{{$ept.0}}" method="post"> + <h3>{{$ept.3}}</h3> + <p>{{$baseurl}}/{{$ept.0}}/?{{foreach $ept.1 as $field}}{{$field.0}}={{$field.1}}&<input type="hidden" name="{{$field.0}}" value="{{$field.1}}" /> {{/foreach}} + </p> + <button type="submit" name="{{$ept.2}}_submit" value="submit" class="btn btn-med" title="">Submit</button> + +</form> + </div> +{{/foreach}}
\ No newline at end of file |