Skip to content
Snippets Groups Projects
Commit c8482d5a authored by Constantin Jucovschi's avatar Constantin Jucovschi
Browse files

small fix

parent a6f1eb09
No related branches found
No related tags found
No related merge requests found
Showing
with 98 additions and 0 deletions
File added
File added
File added
File added
File added
File added
target/classes/static/compileStatus.png

9.66 KiB

<head>
<script src='/sally/jobad/libs/js/libs.js'></script>
<link rel='stylesheet' type='text/css' href='/sally/bootstrap/css/bootstrap.min.css'>
<link rel="stylesheet" type='text/css' href="/sally/bootstrap/css/bootstrap-theme.min.css">
<script src="/sally/bootstrap/js/bootstrap.min.js"></script>
<script src="/sally/client/require.js"></script>
</head>
<style>
<!--
.compact {
max-width: 300px;
max-height: 50px;
}
-->
</style>
<body class="bootstrap">
<table class="table">
<thead>
<th class="col-md-2">Compiler</th>
<th class="col-md-3">Status</th>
<th class="col-md-3">File</th>
<th class="col-md-3">Details</th>
</thead>
<tbody id="msgTable">
</tbody>
</table>
<script type="text/javascript">
requirejs.config({baseUrl:"/sally/client"});
var stompUrl = "ws://localhost:61614";
var stompUser = "webclient";
var stompPassword = "webclient";
var stompTopic = "/topic/${body.repo}";
require(["sally_client"], function(Client) {
var stompConnection = Stomp.client(stompUrl);
stompConnection.connect(stompUser, stompPassword, function(frame) {
stompConnection.subscribe(stompTopic, function(msg) {
var body = JSON.parse(msg.body);
var path = body.path;
var trunc = $("<abbr>").attr("title", path).html("..."+body.path.substr(-20));
var compMessage = $("<pre>").html(body.compileMessages);
$(compMessage).addClass("compact");
$(compMessage).click(function(){
$(compMessage).toggleClass("compact");
});
var tr = $("<tr>")
.append($("<td>").html(body.compiler))
.append($("<td>").html(body.status))
.append($("<td>").addClass("compact").append(trunc))
.append($("<td>").html(compMessage));
$("#msgTable").append(tr);
});
});
});
</script>
</body>
\ No newline at end of file
info/kwarc/sally4/mhw/compilers/ILaTeXMLStompCompiler.class
info/kwarc/sally4/mhw/compilers/latexml/LaTeXMLProcessPool$2.class
info/kwarc/sally4/mhw/compilers/latexml/LaTeXMLProcessPool$1.class
info/kwarc/sally4/mhw/compilers/CompilationStatusUI.class
info/kwarc/sally4/mhw/workflows/STeXMMTWorkflowFactory.class
info/kwarc/sally4/mhw/compilers/latexml/LaTeXMLProcessPoolFactory.class
info/kwarc/sally4/mhw/compilers/latexml/LaTeXMLStompCompiler$2.class
info/kwarc/sally4/mhw/compilers/latexml/LaTeXMLStompCompiler$3.class
info/kwarc/sally4/mhw/compilers/latexml/LaTeXMLProcessPool.class
info/kwarc/sally4/mhw/workflows/STeXMMTWorkflow.class
info/kwarc/sally4/mhw/compilers/latexml/LaTeXMLStompCompiler$3$1.class
info/kwarc/sally4/mhw/compilers/latexml/LaTeXMLCompileCommand.class
info/kwarc/sally4/mhw/compilers/latexml/LaTeXMLStompCompiler$1.class
info/kwarc/sally4/mhw/compilers/latexml/LaTeXMLProcessPool$3.class
info/kwarc/sally4/mhw/compilers/factories/CompileServicesStaticContentProvider.class
info/kwarc/sally4/mhw/compilers/latexml/LaTeXMLStatus.class
info/kwarc/sally4/mhw/compilers/CompilationResultObject.class
info/kwarc/sally4/mhw/compilers/latexml/LaTeXMLStompCompiler.class
info/kwarc/sally4/mhw/compilers/CompilationStatusUI$1.class
/home/cjucovschi/sally4-mhw/mhw-compiler-workflow/src/main/java/info/kwarc/sally4/mhw/compilers/latexml/LaTeXMLCompileCommand.java
/home/cjucovschi/sally4-mhw/mhw-compiler-workflow/src/main/java/info/kwarc/sally4/mhw/compilers/latexml/LaTeXMLProcessPool.java
/home/cjucovschi/sally4-mhw/mhw-compiler-workflow/src/main/java/info/kwarc/sally4/mhw/compilers/ILaTeXMLStompCompiler.java
/home/cjucovschi/sally4-mhw/mhw-compiler-workflow/src/main/java/info/kwarc/sally4/mhw/compilers/CompilationResultObject.java
/home/cjucovschi/sally4-mhw/mhw-compiler-workflow/src/main/java/info/kwarc/sally4/mhw/workflows/STeXMMTWorkflow.java
/home/cjucovschi/sally4-mhw/mhw-compiler-workflow/src/main/java/info/kwarc/sally4/mhw/compilers/factories/CompileServicesStaticContentProvider.java
/home/cjucovschi/sally4-mhw/mhw-compiler-workflow/src/main/java/info/kwarc/sally4/mhw/workflows/STeXMMTWorkflowFactory.java
/home/cjucovschi/sally4-mhw/mhw-compiler-workflow/src/main/java/info/kwarc/sally4/mhw/compilers/latexml/LaTeXMLProcessPoolFactory.java
/home/cjucovschi/sally4-mhw/mhw-compiler-workflow/src/main/java/info/kwarc/sally4/mhw/compilers/latexml/LaTeXMLStompCompiler.java
/home/cjucovschi/sally4-mhw/mhw-compiler-workflow/src/main/java/info/kwarc/sally4/mhw/compilers/CompilationStatusUI.java
/home/cjucovschi/sally4-mhw/mhw-compiler-workflow/src/main/java/info/kwarc/sally4/mhw/compilers/latexml/LaTeXMLStatus.java
/home/cjucovschi/sally4-mhw/mhw-compiler-workflow/src/test/java/info/kwarc/sally4/mathhubworker/impl/MathHubWorkerManagerImplTest.java
File added
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment