Skip to content

Commit cda18c5

Browse files
Devdocs 6646 - Fix Click and Rooms margins (#57)
* Update base.html * Update base.html * Update eg001_create_room_with_data.html * Update eg002_create_room_with_template.html * Update eg003_export_data_from_room.html * Update eg004_add_forms_to_room.html * Update eg005_get_rooms_with_filters.html * Update eg006_create_external_form_fill_session.html * Update eg007_create_form_group.html * Update eg008_grant_office_access_to_form_group.html * Update eg009_assign_form_to_form_group.html * Update error.html * Update eg001_create_clickwrap.html * Update eg002_activate_clickwrap.html * Update eg003_create_new_clickwrap_version.html * Update eg004_list_clickwraps.html * Update eg005_clickwrap_responses.html
1 parent 1586c56 commit cda18c5

17 files changed

Lines changed: 41 additions & 27 deletions

app/click/templates/base.html

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,18 @@ <h3>Working...&nbsp;&nbsp;&nbsp;<span></span></h3>
7171

7272
<p id="download-continue" class="feedback"><a href="/">Continue</a></p>
7373

74-
<div class="container-full-bg">
75-
<section id="content" style="margin-top:-60px!important; padding-top:30px!important;">
76-
{% block content %}{% endblock %}
77-
</section>
78-
</div>
74+
{% if 'ds_user_name' in session %}
75+
<div class="container">
76+
<section id="content" style="padding-top:30px;">
77+
{% else %}
78+
<div class="container-full-bg">
79+
<section id="content" style="margin-top:-60px!important; padding-top:30px!important;">
80+
{% endif %}
81+
{% block content %}{% endblock %}
82+
</section>
83+
</div>
84+
</section>
85+
</div>
7986

8087
<!-- Bootstrap core JavaScript
8188
================================================== -->
@@ -98,4 +105,4 @@ <h3>Working...&nbsp;&nbsp;&nbsp;<span></span></h3>
98105
class="hidden">
99106
</div>
100107
</body>
101-
</html>
108+
</html>

app/click/templates/eg001_create_clickwrap.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!-- extend base layout --> {% extends "base.html" %} {% block content %}
22

3-
<div class="container" style="margin-top: 40px; margin-left: 300px">
3+
<div class="container">
44

55
<h4>1. Create a clickwrap</h4>
66
<p>Creates a clickwrap that you can embed in your website or app.</p>

app/click/templates/eg002_activate_clickwrap.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!-- extend base layout --> {% extends "base.html" %} {% block content %}
22

3-
<div class="container" style="margin-top: 40px; margin-left: 300px">
3+
<div class="container">
44

55
<h4>2. Activate a clickwrap</h4>
66
<p>Activates a new clickwrap that you have already created. By default, new clickwraps are

app/click/templates/eg003_create_new_clickwrap_version.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!-- extend base layout --> {% extends "base.html" %} {% block content %}
22

3-
<div class="container" style="margin-top: 40px; margin-left: 300px">
3+
<div class="container">
44

55
<h4>3. Create a new clickwrap version</h4>
66
<p>

app/click/templates/eg004_list_clickwraps.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!-- extend base layout --> {% extends "base.html" %} {% block content %}
22

3-
<div class="container" style="margin-top: 40px; margin-left: 300px">
3+
<div class="container">
44

55
<h4>4. Get a list of clickwraps</h4>
66
<p>Gets a list of clickwraps associated with a specific DocuSign user.</p>

app/click/templates/eg005_clickwrap_responses.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!-- extend base layout --> {% extends "base.html" %} {% block content %}
22

3-
<div class="container" style="margin-top: 40px; margin-left: 300px">
3+
<div class="container">
44

55
<h4>5. Get clickwrap responses</h4>
66
<p>Gets user responses to your clickwrap agreements.</p>

app/rooms/templates/base.html

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,18 @@ <h3>Working...&nbsp;&nbsp;&nbsp;<span></span></h3>
7171

7272
<p id="download-continue" class="feedback"><a href="/">Continue</a></p>
7373

74-
<div class="container-full-bg">
75-
<section id="content" style="margin-top:-60px!important; padding-top:30px!important;">
76-
{% block content %}{% endblock %}
77-
</section>
78-
</div>
74+
{% if 'ds_user_name' in session %}
75+
<div class="container">
76+
<section id="content" style="padding-top:30px;">
77+
{% else %}
78+
<div class="container-full-bg">
79+
<section id="content" style="margin-top:-60px!important; padding-top:30px!important;">
80+
{% endif %}
81+
{% block content %}{% endblock %}
82+
</section>
83+
</div>
84+
</section>
85+
</div>
7986

8087
<!-- Bootstrap core JavaScript
8188
================================================== -->
@@ -98,4 +105,4 @@ <h3>Working...&nbsp;&nbsp;&nbsp;<span></span></h3>
98105
class="hidden">
99106
</div>
100107
</body>
101-
</html>
108+
</html>

app/rooms/templates/eg001_create_room_with_data.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!-- extend base layout --> {% extends "base.html" %} {% block content %}
22

3-
<div class="container" style="margin-top: 40px; margin-left: 300px">
3+
<div class="container">
44
<h4>1. Creating a room with data</h4>
55
<p>This example demonstrates creating a DocuSign Room.</p>
66

app/rooms/templates/eg002_create_room_with_template.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!-- extend base layout --> {% extends "base.html" %} {% block content %}
22

3-
<div class="container" style="margin-top: 40px; margin-left: 300px">
3+
<div class="container">
44
<h4>2. Creating a room with a template</h4>
55
<p>This example demonstrates creating a DocuSign Room using a predefined template.<br/>
66
If you've <a href="https://developers.docusign.com/rooms-api/guides/templates" target="_blank">created a template</a>

app/rooms/templates/eg003_export_data_from_room.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!-- extend base layout --> {% extends "base.html" %} {% block content %}
22

3-
<div class="container" style="margin-top: 40px; margin-left: 300px">
3+
<div class="container">
44

55
<h4>3. Exporting data from a room</h4>
66
<p>This example demonstrates how to export rooms data from a DocuSign Room.</p>

0 commit comments

Comments
 (0)