diff options
Diffstat (limited to 'simpleSigning/src/main/webapp')
-rw-r--r-- | simpleSigning/src/main/webapp/index.jsp | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/simpleSigning/src/main/webapp/index.jsp b/simpleSigning/src/main/webapp/index.jsp index 9917165..ad21be7 100644 --- a/simpleSigning/src/main/webapp/index.jsp +++ b/simpleSigning/src/main/webapp/index.jsp @@ -65,6 +65,16 @@ // so we don't follow the form ... return false; } + + function showVersion() { + pdfAs.getVersion(function show(version) { + alert("Version: " + version.version + " SCM: " + version.scm); + }, function error(error) { + alert("Failed to get Version: " + error); + }); + // so we don't follow the form ... + return false; + } </script> <!-- Bootstrap core CSS --> <link href="css/bootstrap.min.css" rel="stylesheet"> @@ -125,7 +135,12 @@ <label for="txtContent">Signaturdaten (Text oder Link zu einem PDF Dokument, optional): </label> <input type="text" id="txtContent"> </div> - <button id="btnSign" onclick="return signWidthContent();">Unterschreiben</button> + <div class="form-group"> + <button id="btnSign" onclick="return signWidthContent();">Unterschreiben</button> + </div> + <div class="form-group"> + <button id="btnVersion" onclick="return showVersion();">zeige Version</button> + </div> </form> </div> |