Skip to content

Commit 7aa548b

Browse files
author
Rinke Hoekstra
committed
Inference button no longer needed
1 parent abed6be commit 7aa548b

2 files changed

Lines changed: 15 additions & 18 deletions

File tree

src/app/static/guidelines.js

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,20 @@ $( document ).ready(function() {
22
$('#gl_list_row').hide();
33
$('#rec_list_row').hide();
44

5-
$('#inferenceButton').on('click',function(){
6-
$('#inferenceButton').text("Working...");
7-
$.get('/getinference',function(data){
8-
console.log(data);
9-
10-
if (data['status'] == 'true') {
11-
$('#inferenceButton').text('Success');
12-
} else {
13-
$('#inferenceButton').text('Something went wrong');
14-
}
15-
16-
$('#inferenceButton').text(data['status']);
17-
});
18-
});
5+
// $('#inferenceButton').on('click',function(){
6+
// $('#inferenceButton').text("Working...");
7+
// $.get('/getinference',function(data){
8+
// console.log(data);
9+
//
10+
// if (data['status'] == 'true') {
11+
// $('#inferenceButton').text('Success');
12+
// } else {
13+
// $('#inferenceButton').text('Something went wrong');
14+
// }
15+
//
16+
// $('#inferenceButton').text(data['status']);
17+
// });
18+
// });
1919

2020
$('#startButton').on('click',function(){
2121
$.get('/getguidelines',function(data){

src/app/templates/base.html

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,9 @@ <h1>Guideline Viewer</h1>
1515
</div>
1616
</div>
1717
<div class="row">
18-
<div class='col-md-11'>
18+
<div class='col-md-12'>
1919
{% include 'guidelines.html' %}
2020
</div>
21-
<div class='col-md-1'>
22-
{% include 'inference.html' %}
23-
</div>
2421

2522
</div>
2623
<div class="row">

0 commit comments

Comments
 (0)