Skip to content

Commit 24cedca

Browse files
committed
Add button to html
1 parent 8746f2b commit 24cedca

File tree

1 file changed

+17
-3
lines changed

1 file changed

+17
-3
lines changed

nbgitpuller/templates/status.html

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
{% endblock %}
1313

1414
{% block site %}
15-
<div class="container"">
15+
<div class="container">
1616
<div class="page-header">
1717
Synchronizing <a href="{{ repo }}">git repository</a> before sending you to <strong>{{ path }}...</strong>
1818
</div>
@@ -30,8 +30,15 @@
3030
<div id="status-details"></div>
3131
</div>
3232
</div>
33-
<div id="recovery-link" class="hidden">
34-
<a class="btn btn-warning" href="{{ base_url }}" aria-label="Go to the Jupyter server without synchronizing content">Proceed to server without synchronizing</a>
33+
<div id="container-error" class="container hidden">
34+
<div class="row">
35+
<div id="recovery-link" class="col-xs-6 pull-left">
36+
<a class="btn btn-warning" href="{{ base_url }}" aria-label="Go to the Jupyter server without synchronizing content">Proceed to server without synchronizing</a>
37+
</div>
38+
<div id="copy-error" class="col-xs-6 pull-right text-right">
39+
<button class="btn btn-danger" id="copy-error-button" aria-label="Copy error details to clipboard">Copy error to clipboard</button>
40+
</div>
41+
</div>
3542
</div>
3643
</div>
3744
{% endblock %}
@@ -74,5 +81,12 @@
7481
width: 100%;
7582
color: black;
7683
}
84+
85+
#container-error {
86+
margin-right: 0px;
87+
padding-left: 0px;
88+
padding-right: 30px;
89+
}
90+
7791
</style>
7892
{% endblock %}

0 commit comments

Comments
 (0)