Skip to content

Commit 5416dd8

Browse files
Revert "Fixes to index pages (#39)" (#60)
This reverts commit 2bcef27.
1 parent 0f0c437 commit 5416dd8

File tree

2 files changed

+141
-146
lines changed

2 files changed

+141
-146
lines changed

views/pages/index.ejs

Lines changed: 41 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,47 @@
55
<div class="jumbotron jumbotron-fluid">
66

77
<table>
8-
<tbody>
9-
<tr>
10-
<td>
11-
<h1 class="display-4">DocuSign Code Launcher: Node.js</h1>
12-
<p class="Xlead">This launcher both demonstrates use of Authorization Code Grant and JWT OAuth flows and includes multiple usage examples for the DocuSign eSignature REST API.</p>
13-
</td>
14-
<td>
15-
<img src="/images/banner-code.png" />
16-
</td>
17-
</tr>
18-
</tbody>
19-
</table>
8+
<tbody>
9+
<tr>
10+
<td>
11+
12+
13+
14+
<% if (locals.dsConfig.multiSourceChooser) { %>
15+
<h1 class="display-4">Welcome</h1>
16+
<p class="Xlead">Run and explore DocuSign code examples with Authorization Code Grant or JWT Grant authentication</p>
17+
<% } else { %>
18+
<h1 class="display-4">Node Launcher</h1>
19+
<% if (examplesApi.examplesApi.isAdminApi) { %>
20+
<p class="Xlead">
21+
Run and explore DocuSign Admin API code examples with Authorization Code Grant or JWT Grant authentication
22+
</p>
23+
<% } else if (examplesApi.examplesApi.isClickApi) { %>
24+
<p class="Xlead">
25+
Run and explore Click API code examples with Authorization Code Grant or JWT Grant authentication
26+
</p>
27+
<% } else if (examplesApi.examplesApi.isRoomsApi) { %>
28+
<p class="Xlead">
29+
Run and explore Rooms API code examples with Authorization Code Grant or JWT Grant authentication
30+
</p>
31+
<% } else if (examplesApi.examplesApi.isMonitorApi) { %>
32+
<p class="Xlead">
33+
Run and explore Monitor API code examples with JWT Grant authentication
34+
</p>
35+
<% } else { %>
36+
<p class="Xlead">
37+
Run and explore eSignature REST API code examples with Authorization Code Grant or JWT Grant authentication
38+
</p>
39+
<% } %>
40+
<% } %>
41+
42+
</td>
43+
<td>
44+
<img src="/images/banner-code.png" />
45+
</td>
46+
</tr>
47+
</tbody>
48+
</table>
2049

2150
</div>
2251
</div>

0 commit comments

Comments
 (0)