Skip to content

Commit 1d9767d

Browse files
committed
initial commit
1 parent 71ebbad commit 1d9767d

6 files changed

Lines changed: 40 additions & 12 deletions

File tree

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,6 @@ secret
6666

6767
# ignore vs settings
6868
.vs
69+
70+
# ignore RSA keys
71+
private.key

config/appsettings.example.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"dsClientSecret": "{CLIENT_SECRET}",
44
"signerEmail": "{USER_EMAIL}",
55
"signerName": "{USER_FULLNAME}",
6-
76
"appUrl": "http://localhost:5000",
87
"production": false,
98
"debug": true,

public/assets/css.css

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,22 +27,28 @@ body {
2727
}
2828

2929
.jumbotron {
30-
background: #888888;
31-
padding: 3em;
30+
31+
background: #000 !important;
32+
padding-top: 0 !important;
33+
padding-bottom: 0 !important;
34+
padding-left: 30px !important;
35+
padding-right: 30px !important;
36+
margin: 0 !important;
3237
color: white;
33-
margin: 1em auto 1.5em; }
38+
39+
}
3440

3541
.jumbotron p {
36-
margin-top: 1em;
37-
font-size: 1.45em;
42+
font-size: 1.45em;
43+
padding:0 !important;
3844
}
3945

4046
hr.styled {
4147
overflow: visible; /* For IE */
4248
padding: 0;
4349
border: none;
44-
border-top: medium double #333;
45-
color: #333;
50+
border-top: medium double 0;
51+
color: #000;
4652
text-align: center;
4753
}
4854
hr.styled:after {

public/images/banner-code.png

52.3 KB
Loading

views/pages/index.ejs

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,38 @@
33
<% if (! locals.user) { %>
44
<!-- IF not signed in -->
55
<div class="jumbotron">
6-
<h1 class="display-4">Welcome!</h1>
6+
7+
<table>
8+
<tbody>
9+
<tr>
10+
<td>
11+
12+
13+
714
<% if (locals.dsConfig.multiSourceChooser) { %>
15+
<h1 class="display-4">Welcome</h1>
816
<p class="Xlead">Welcome to the DocuSign code examples with
917
OAuth Authorization Code Grant and JWT.</p>
1018
<% } else { %>
11-
<p class="Xlead">Welcome to the DocuSign Node examples using multiple OAuth flows (JWT and Authorization Code Grant).</p>
19+
<h1 class="display-4">Node Launcher</h1>
20+
<p class="Xlead">
21+
Welcome to the DocuSign Node examples using multiple OAuth flows (JWT and Authorization Code Grant).
22+
</p>
1223
<% } %>
24+
25+
</td>
26+
<td>
27+
<img src="/images/banner-code.png" />
28+
</td>
29+
</tr>
30+
</tbody>
31+
</table>
32+
1333
</div>
1434
<% } %>
1535

1636

17-
<div id="index-page">
37+
<div class="container" style="margin-top: 40px" id="index-page">
1838
<h2>Welcome</h2>
1939
<p>This launcher includes the following examples for the DocuSign eSignature REST API.</p>
2040

views/partials/head.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
<body>
2121
<nav class="navbar navbar-expand-md navbar-dark bg-dark fixed-top">
22-
<a class="navbar-brand" href="/">DocuSign Code Examples</a>
22+
<a class="navbar-brand" target="_blank" href="https://developers.docusign.com">DocuSign Developer</a>
2323
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarsExampleDefault" aria-controls="navbarsExampleDefault" aria-expanded="false" aria-label="Toggle navigation">
2424
<span class="navbar-toggler-icon"></span>
2525
</button>

0 commit comments

Comments
 (0)