|
|
@@ -1166,7 +1166,7 @@ function validateCompany(source) {
|
|
|
<?php endif;?>
|
|
|
<div class="form-group" id="benford">
|
|
|
<div class="col-sm-offset-2 col-sm-8">
|
|
|
- <table class="table table-bordered table-hover table-striped table-condensed">
|
|
|
+ <table class="table table-bordered table-hover table-striped table-condensed" id="benford">
|
|
|
<thead style="text-align:center; font-weight:bold; background-color:lightgray">
|
|
|
<tr>
|
|
|
<td style="vertical-align:middle;" rowspan="2">Pierwsze cyfry</td>
|
|
|
@@ -1218,6 +1218,7 @@ function validateCompany(source) {
|
|
|
} catch (Exception $e) {
|
|
|
$showDetails = $e->getMessage();
|
|
|
}
|
|
|
+ $showDetails .= '<button type="submit" class="btn btn-primary btn-sm" onClick="hideAlert()">Zamknij</button>';
|
|
|
return htmlentities($showDetails);
|
|
|
};
|
|
|
|
|
|
@@ -1276,7 +1277,7 @@ function validateCompany(source) {
|
|
|
</div>
|
|
|
</form>
|
|
|
</div>
|
|
|
-<div id="alert" onClick="hideAlert()">
|
|
|
+<div id="alert">
|
|
|
<div id="alertMsg"></div>
|
|
|
</div>
|
|
|
<style type="text/css">
|
|
|
@@ -1284,9 +1285,9 @@ function validateCompany(source) {
|
|
|
#benford .stage1-green,#benford .stage1-red {font-weight:bold;}
|
|
|
#benford .stage1-green,#benford .stage2-green {color:#008800;}
|
|
|
#benford .stage1-red,#benford .stage2-red {color:#ff0000;}
|
|
|
-body { -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;}
|
|
|
+#benford table { -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;}
|
|
|
td {font-size: 12px;}
|
|
|
-::selection {background: transparent;}
|
|
|
+#benford ::selection {background: transparent;}
|
|
|
#alert {display:none; position: fixed; left: 0; top: 0; width: 100%; height: 100%; text-align: center; z-index: 1000; background-color: rgba(0,0,0,0.5);}
|
|
|
#alert div {width: 500px; height: auto; margin: 200px auto; background: #fff; padding: 10px; text-align: center; overflow: hidden;}
|
|
|
-->
|