|
| 1 | +<!-- extend base layout --> |
| 2 | +{% extends "base.html" %} |
| 3 | + |
| 4 | +{% block content %} |
| 5 | + |
| 6 | + {% if not 'ds_user_name' in session %} |
| 7 | + <!-- IF not signed in --> |
| 8 | + <div> |
| 9 | + <div class="jumbotron jumbotron-fluid"> <table> |
| 10 | + <tbody> |
| 11 | + <tr> |
| 12 | + <td> |
| 13 | + <h1 class="display-4">Python Launcher</h1> |
| 14 | + <p class="Xlead">Welcome to the DocuSign Python Quickstart launcher.</p> |
| 15 | + </td> |
| 16 | + <td> |
| 17 | + <img src="/static/assets/banner-code.png" /> |
| 18 | + </td> |
| 19 | + </tr> |
| 20 | + </tbody> |
| 21 | + </table> |
| 22 | + </div> |
| 23 | + {% endif %} |
| 24 | + |
| 25 | + <!-- Future: add a table of contents or navigation pane |
| 26 | + Eg, see https://stackoverflow.com/questions/21868610/make-column-fixed-position-in-bootstrap |
| 27 | + --> |
| 28 | + |
| 29 | + <div class="container" style="margin-top: 40px" id="index-page"> |
| 30 | + <h2>Welcome</h2> |
| 31 | + <p>This launcher includes the following examples for the DocuSign eSignature REST API.</p> |
| 32 | + |
| 33 | + {% if show_doc %} |
| 34 | + <p><a target='_blank' href='{{ documentation | safe }}'>Documentation</a> on using JWT or Authorization Code Grant from a Python Flask application.</p> |
| 35 | + {% endif %} |
| 36 | + |
| 37 | + <h2>Basic Examples</h2> |
| 38 | + |
| 39 | + <h4 id="example001">1. <a href="eg001">Embedded Signing Ceremony</a></h4> |
| 40 | + <p>This example sends an envelope, and then uses an embedded signing ceremony for the first signer. |
| 41 | + With embedded signing, the DocuSign signing ceremony is initiated from your website. |
| 42 | + </p> |
| 43 | + <p>API methods used: |
| 44 | + <a target ='_blank' href="https://developers.docusign.com/esign-rest-api/reference/Envelopes/Envelopes/create">Envelopes::create</a> and |
| 45 | + <a target ='_blank' href="https://developers.docusign.com/esign-rest-api/reference/Envelopes/EnvelopeViews/createRecipient">EnvelopeViews::createRecipient</a>. |
| 46 | + </p> |
| 47 | + </div> |
| 48 | + |
| 49 | + <!-- anchor-js is only for the index page --> |
| 50 | + <script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/4.1.1/anchor.min.js"></script> |
| 51 | + <script>anchors.options.placement = 'left'; anchors.add('h4')</script> |
| 52 | + |
| 53 | +{% endblock %} |
0 commit comments