This commit is contained in:
@@ -71,21 +71,7 @@ namespace AyaNova.Api.Controllers
|
|||||||
<h4>Server logs</h4>
|
<h4>Server logs</h4>
|
||||||
<pre>{ServerBootConfig.AYANOVA_LOG_PATH}</pre>
|
<pre>{ServerBootConfig.AYANOVA_LOG_PATH}</pre>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div style=""text-align: center;"">
|
|
||||||
<hr/>
|
|
||||||
<h2>SIGTEST - 1</h2>
|
|
||||||
<h4>This is the signature header</h4>
|
|
||||||
<canvas id=""sigpad"" width=""600"" height=""200"" style=""border: 1px dotted;touch-action: none;"">
|
|
||||||
<p>
|
|
||||||
Your browser does not support signing <br/>
|
|
||||||
The following browsers are supported:<br/>
|
|
||||||
IE 9.0 +, FIREFOX 3.0 +, SAFARI 3.0 +, CHROME 3.0 +, OPERA 10.0 +, IPAD 1.0 +, IPHONE
|
|
||||||
1.0 +, ANDROID 1.0 +</p>
|
|
||||||
</canvas>
|
|
||||||
</div>
|
|
||||||
{SigScript()}
|
|
||||||
</body>
|
</body>
|
||||||
</html>";
|
</html>";
|
||||||
|
|
||||||
@@ -100,7 +86,27 @@ namespace AyaNova.Api.Controllers
|
|||||||
}
|
}
|
||||||
|
|
||||||
#region sigtest script
|
#region sigtest script
|
||||||
private string SigScript(){
|
/*
|
||||||
|
|
||||||
|
<div style=""text-align: center;"">
|
||||||
|
<hr/>
|
||||||
|
<h2>SIGTEST - 1</h2>
|
||||||
|
<h4>This is the signature header</h4>
|
||||||
|
<canvas id=""sigpad"" width=""600"" height=""200"" style=""border: 1px dotted;touch-action: none;"">
|
||||||
|
<p>
|
||||||
|
Your browser does not support signing <br/>
|
||||||
|
The following browsers are supported:<br/>
|
||||||
|
IE 9.0 +, FIREFOX 3.0 +, SAFARI 3.0 +, CHROME 3.0 +, OPERA 10.0 +, IPAD 1.0 +, IPHONE
|
||||||
|
1.0 +, ANDROID 1.0 +</p>
|
||||||
|
</canvas>
|
||||||
|
</div>
|
||||||
|
{SigScript()}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
private string SigScript(){
|
||||||
return @"<script type=""text/javascript"">
|
return @"<script type=""text/javascript"">
|
||||||
$(document).ready(function () {
|
$(document).ready(function () {
|
||||||
var canvas = document.getElementById(""sigpad"");
|
var canvas = document.getElementById(""sigpad"");
|
||||||
@@ -417,6 +423,7 @@ document.body.addEventListener(""touchmove"", function (e) {
|
|||||||
|
|
||||||
</script>";
|
</script>";
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
Reference in New Issue
Block a user