Commit 97a49ff2 authored by Efthymia Bika's avatar Efthymia Bika
Browse files

Change msg div to pre tag

parent 8fb9d081
......@@ -336,9 +336,12 @@
<div id="loader" class="hide text-center">
<i class="fa fa-spinner fa-pulse fa-2x gray-spin"></i>
</div>
<div id="msg" class="small-10 columns"></div>
</div>
</div>
<div class="row">
<div class="small-1 columns"></div>
<pre id="msg" class="small-11 columns"></pre>
</div>
<script type="text/javascript">
$(document).foundation();
</script>
......
......@@ -241,7 +241,7 @@ function run_duplicity(restore, force) {
function load_status() {
$('#backup_details').hide();
$("#loader").show();
$("#status").html("");
$("#status_contents").html("");
function puts(error, stdout, stderr) {
if(error) {
......@@ -250,7 +250,7 @@ function load_status() {
} else {
$("#msg").html("");
$("#msg").removeClass("panel");
$("#status").html(stdout.replace(/(?:\r\n|\r|\n)/g, '<br />'));
$("#status_contents").html(stdout);
}
$("#loader").hide();
}
......
......@@ -195,7 +195,6 @@
<div id="loader" class="hide text-center">
<i class="fa fa-spinner fa-pulse fa-2x gray-spin"></i>
</div>
<div id="msg" class="small-10 columns"></div>
<div id="modal-confirm" class="reveal-modal medium"
data-reveal aria-labelledby="modalTitle" aria-hidden="true" role="dialog">
<p id="modal-p">Destination already exists. Do you wish to overwrite?</p>
......@@ -210,6 +209,10 @@
<a class="close-reveal-modal" aria-label="Close">&#215;</a>
</div>
</div>
<div class="row">
<div class="small-1 columns"></div>
<pre id="msg" class="small-11 columns"></pre>
</div>
</div>
<script type="text/javascript">
$(document).foundation();
......
......@@ -67,3 +67,7 @@ body .tabs {
body legend {
color: gray;
}
#msg {
word-break: break-word;
margin-right: 15px;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment