formatting fixes for on mobile

This commit is contained in:
Patrick McDonagh
2017-03-01 18:17:07 -06:00
parent c6489d9b85
commit bfbbd762c3
3 changed files with 129 additions and 126 deletions

View File

@@ -4,6 +4,7 @@
{% block content %}
<div class="content">
<div class="container">
<div class="row">
<div class="col-xs-12">
<h2>Well Configuration</h2>
@@ -106,9 +107,11 @@
</div>
</div>
</div>
</div>
</div>
<script>
<script>
$( "#add-row" ).click(function( event ) {
event.preventDefault();
var nextTaper = parseInt($(".taper-number").last().text()) + 1;
@@ -167,5 +170,5 @@
success: configUpdatedSuccessfully
});
})
</script>
{% endblock content %}
</script>
{% endblock content %}

View File

@@ -72,9 +72,9 @@
{% endif %}
</div>
</div>
</div>
</div>
<script>
<script>
function getCardData(){
$.ajax({
dataType: 'json',
@@ -88,5 +88,5 @@
$('[data-toggle="popover"]').popover({html: true})
})
</script>
{% endblock content %}
</script>
{% endblock content %}

View File

@@ -118,7 +118,7 @@
function setRunStatus(data){
$("#runstatus").text(data.runstatus.status);
$("#db-runstatus").text(data.runstatus.status);
var ts_date = new Date(Date.parse(data.runstatus.timestamp));
var ts_date = new Date(Date.parse(data.runstatus.timestamp.replace(" ", "T")));
$("#runstatustimestamp").text(ts_date.toString());
$("#db-runstatustimestamp").text(ts_date.toString());
}