aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/oauth2testvehicle.tpl
diff options
context:
space:
mode:
authorAndrew Manning <tamanning@zoho.com>2018-02-20 21:11:38 -0500
committerAndrew Manning <tamanning@zoho.com>2018-02-20 21:11:38 -0500
commit89a825cd038df7da609d64ef0254ba58caaede31 (patch)
tree55347e0ee285a9d42a60d8e1dacdd01b13f410ea /view/tpl/oauth2testvehicle.tpl
parent7d0c1bb737f3683cd770ebd757d938f39a9b55ef (diff)
downloadvolse-hubzilla-89a825cd038df7da609d64ef0254ba58caaede31.tar.gz
volse-hubzilla-89a825cd038df7da609d64ef0254ba58caaede31.tar.bz2
volse-hubzilla-89a825cd038df7da609d64ef0254ba58caaede31.zip
OAuth2TestVehicle module can create and delete oauth2 database tables.
Diffstat (limited to 'view/tpl/oauth2testvehicle.tpl')
-rw-r--r--view/tpl/oauth2testvehicle.tpl13
1 files changed, 13 insertions, 0 deletions
diff --git a/view/tpl/oauth2testvehicle.tpl b/view/tpl/oauth2testvehicle.tpl
new file mode 100644
index 000000000..d4887063c
--- /dev/null
+++ b/view/tpl/oauth2testvehicle.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