Skip to content

Commit b587953

Browse files
committed
2 parents 21002ca + d67d317 commit b587953

37 files changed

+113
-78
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,8 @@ When the token expires, it updates automatically.
148148
1. A name and email for a signer, and a name and email for a cc recipient.
149149

150150
### Installation steps
151-
1. Download or clone this repository to your workstation to directory **eg-03-python-auth-code-grant**
152-
1. **cd eg-03-python-auth-code-grant**
151+
1. Download or clone this repository to your workstation to directory **code-examples-python**
152+
1. **cd code-examples-python**
153153
1. **pip3 install -r requirements.txt** (or pipenv can be used)
154154
1. Make a copy of the **app/ds_config_sample.py** and name it **ds_config.py**
155155
1. Update this new file **app/ds_config.py**
@@ -178,7 +178,7 @@ To use the payments example, create a
178178
test payments gateway for your developer sandbox account.
179179

180180
See the
181-
[PAYMENTS_INSTALLATION.md](https://github.com/docusign/eg-03-python-auth-code-grant/blob/master/PAYMENTS_INSTALLATION.md)
181+
[PAYMENTS_INSTALLATION.md](https://github.com/docusign/code-examples-python/blob/master/PAYMENTS_INSTALLATION.md)
182182
file for instructions.
183183

184184
Then add the payment gateway account id to the **app/ds_config.py** file.

app/static/assets/banner-code.png

52.3 KB
Loading

app/static/assets/css.css

Lines changed: 42 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -8,31 +8,49 @@ body {
88
}
99
#index-page h4::before {
1010
z-index: -100;
11-
display: block;
12-
content: " ";
13-
margin-top: -4rem;
14-
height: 4rem;
15-
visibility: hidden;
11+
display: block;
12+
content: " ";
13+
margin-top: -4rem;
14+
height: 4rem;
15+
visibility: hidden;
1616
pointer-events: none;
1717
}
1818

1919
.jumbotron {
20-
background: #888888;
21-
padding: 3em;
20+
21+
background: #000 !important;
22+
padding-top: 0 !important;
23+
padding-bottom: 0 !important;
24+
padding-left: 30px !important;
25+
padding-right: 30px !important;
26+
margin: 0 !important;
2227
color: white;
23-
margin: 1em auto 1.5em; }
28+
}
2429

2530
.jumbotron p {
2631
margin-top: 1em;
2732
font-size: 1.45em;
2833
}
2934

35+
.btn-docu {
36+
37+
background-color: #00BAA1;
38+
color:#FFF;
39+
border-color: #121517;
40+
}
41+
42+
.btn-docu:hover, .btn-docu:focus, .btn-docu:active, .btn-docu.active, .open .dropdown-toggle.btn-docu {
43+
background-color: #02d6ba;
44+
color:#FFF;
45+
border-color: #050607;
46+
}
47+
3048
hr.styled {
3149
overflow: visible; /* For IE */
3250
padding: 0;
3351
border: none;
34-
border-top: medium double #333;
35-
color: #333;
52+
border-top: medium double 0;
53+
color: #000;
3654
text-align: center;
3755
}
3856
hr.styled:after {
@@ -55,16 +73,16 @@ pre.json-display {
5573
background-color: ghostwhite;
5674
border: 1px solid silver;
5775
padding: 10px 20px;
58-
}
76+
}
5977
.json-key {
6078
color: brown;
61-
}
79+
}
6280
.json-value {
6381
color: navy;
64-
}
82+
}
6583
.json-string {
6684
color: olive;
67-
}
85+
}
6886

6987

7088

@@ -115,10 +133,15 @@ pre.json-display {
115133

116134
@keyframes sk-stretchdelay {
117135
0%, 40%, 100% {
118-
transform: scaleY(0.4);
119-
-webkit-transform: scaleY(0.4);
136+
transform: scaleY(0.4);
137+
-webkit-transform: scaleY(0.4);
120138
} 20% {
121-
transform: scaleY(1.0);
122-
-webkit-transform: scaleY(1.0);
123-
}
139+
transform: scaleY(1.0);
140+
-webkit-transform: scaleY(1.0);
141+
}
124142
}
143+
144+
.your-class div{
145+
float:left;
146+
margin-left: 10px;
147+
}

app/templates/base.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@
4848
</div>
4949
</nav>
5050

51-
<div class="container">
51+
<!-- <div class="container">
5252
{% if session['ds_account_name'] %}
5353
<p>DocuSign Account: {{ session['ds_account_name'] }}.</p>
54-
{% endif %}
54+
{% endif %} -->
5555

5656
<div class="col-md-12 feedback" id="feedback">
5757
<h3>Working...&nbsp;&nbsp;&nbsp;<span></span></h3>
@@ -68,7 +68,8 @@ <h3>Working...&nbsp;&nbsp;&nbsp;<span></span></h3>
6868

6969
<p id="download-continue" class="feedback"><a href="/">Continue</a></p>
7070

71-
<section id="content">
71+
<div class="container-full-bg">
72+
<section id="content" style="margin-top:-60px!important; padding-top:30px!important;">
7273
{% block content %}{% endblock %}
7374
</section>
7475
</div>

app/templates/eg001_embedded_signing.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ <h4>1. Embedded Signing Ceremony</h4>
3030
value="{{ signer_name }}" required>
3131
</div>
3232
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}"/>
33-
<button type="submit" class="btn btn-primary">Submit</button>
33+
<button type="submit" class="btn btn-docu">Submit</button>
3434
</form>
3535

3636
{% endblock %}

app/templates/eg002_signing_via_email.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ <h4>2. Send an envelope with a remote (email) signer and cc recipient</h4>
4545
required />
4646
</div>
4747
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}"/>
48-
<button type="submit" class="btn btn-primary">Submit</button>
48+
<button type="submit" class="btn btn-docu">Submit</button>
4949
</form>
5050

5151
{% endblock %}

app/templates/eg003_list_envelopes.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ <h4>3. List envelopes in the user's account</h4>
1717

1818
<form class="eg" action="" method="post" data-busy="form">
1919
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}"/>
20-
<button type="submit" class="btn btn-primary">Continue</button>
20+
<button type="submit" class="btn btn-docu">Continue</button>
2121
</form>
2222

2323
{% endblock %}

app/templates/eg004_envelope_info.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,15 @@ <h4>4. Get an envelope's basic information and status</h4>
2828

2929
<form class="eg" action="" method="post" data-busy="form">
3030
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}"/>
31-
<button type="submit" class="btn btn-primary">Continue</button>
31+
<button type="submit" class="btn btn-docu">Continue</button>
3232
</form>
3333

3434
{% else %}
3535
<p>Problem: please first create an envelope using <a href="eg002">example 2.</a> <br/>
3636
Thank you.</p>
3737

3838
<form class="eg" action="eg002" method="get">
39-
<button type="submit" class="btn btn-primary">Continue</button>
39+
<button type="submit" class="btn btn-docu">Continue</button>
4040
</form>
4141
{% endif %}
4242

app/templates/eg005_envelope_recipients.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ <h4>5. List an envelope's recipients and their status</h4>
1919

2020
<form class="eg" action="" method="post" data-busy="form">
2121
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}"/>
22-
<button type="submit" class="btn btn-primary">Continue</button>
22+
<button type="submit" class="btn btn-docu">Continue</button>
2323
</form>
2424

2525
{% else %}
2626
<p>Problem: please first create an envelope using <a href="eg002">example 2.</a> <br/>
2727
Thank you.</p>
2828

2929
<form class="eg" action="eg002" method="get">
30-
<button type="submit" class="btn btn-primary">Continue</button>
30+
<button type="submit" class="btn btn-docu">Continue</button>
3131
</form>
3232
{% endif %}
3333

app/templates/eg006_envelope_docs.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@ <h4>6. List an envelope's documents</h4>
2525

2626
<form class="eg" action="" method="post" data-busy="form">
2727
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}"/>
28-
<button type="submit" class="btn btn-primary">Continue</button>
28+
<button type="submit" class="btn btn-docu">Continue</button>
2929
</form>
3030

3131
{% else %}
3232
<p>Problem: please first create an envelope using <a href="eg002">example 2.</a> <br/>
3333
Thank you.</p>
3434

3535
<form class="eg" action="eg002" method="get">
36-
<button type="submit" class="btn btn-primary">Continue</button>
36+
<button type="submit" class="btn btn-docu">Continue</button>
3737
</form>
3838
{% endif %}
3939

0 commit comments

Comments
 (0)