ok
This commit is contained in:
1
running.pid
Normal file
1
running.pid
Normal file
@ -0,0 +1 @@
|
||||
55809
|
||||
16
strat.log
16
strat.log
@ -1,18 +1,4 @@
|
||||
INFO: Started server process [55121]
|
||||
INFO: Started server process [55809]
|
||||
INFO: Waiting for application startup.
|
||||
INFO: Application startup complete.
|
||||
INFO: Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)
|
||||
INFO: 127.0.0.1:61741 - "GET / HTTP/1.1" 304 Not Modified
|
||||
INFO: 127.0.0.1:61741 - "GET /stratins/?_=1681378496498 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:61741 - "GET /runners/?_=1681378496499 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:61741 - "GET /stratins/?_=1681378496500 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:61742 - "GET /runners/?_=1681378496501 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:61741 - "GET / HTTP/1.1" 304 Not Modified
|
||||
INFO: 127.0.0.1:61741 - "GET /stratins/?_=1681378497526 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:61741 - "GET /runners/?_=1681378497527 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:61741 - "GET /stratins/?_=1681378497528 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:61742 - "GET /runners/?_=1681378497529 HTTP/1.1" 200 OK
|
||||
INFO: Shutting down
|
||||
INFO: Waiting for application shutdown.
|
||||
INFO: Application shutdown complete.
|
||||
INFO: Finished server process [55121]
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
<h2>Your ID: <span id="ws-id"></span></h2>
|
||||
<h3>Status: <span id="status">Not connected</span></h3>
|
||||
<form action="" onsubmit="sendMessage(event)">
|
||||
<label>Runner ID: <input type="text" id="runnerId" autocomplete="off" value="foo"/></label>
|
||||
<label>Runner ID: <input type="text" id="runnerId" autocomplete="off" value=""/></label>
|
||||
<button onclick="connect(event)" id="bt-conn">Connect</button>
|
||||
<button onclick="disconnect(event)" id="bt-disc" style="display: None">Disconnect</button>
|
||||
<hr>
|
||||
@ -219,11 +219,11 @@
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="bt_from" class="control-label">bt_from</label>
|
||||
<input type="text" class="form-control" id="bt_from" name="bt_from" placeholder="2023-04-06T09:00:00Z">
|
||||
<input type="datetime-local" class="form-control" id="bt_from" name="bt_from" placeholder="2023-04-06T09:00:00Z">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="bt_to" class="control-label">bt_to</label>
|
||||
<input type="text" class="form-control" id="bt_to" name="bt_to" placeholder="2023-04-06T09:00:00Z">
|
||||
<input type="datetime-local" class="form-control" id="bt_to" name="bt_to" placeholder="2023-04-06T09:00:00Z">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="cash" class="control-label">cash</label>
|
||||
|
||||
@ -54,7 +54,6 @@ $(document).ready(function () {
|
||||
//disable buttons (enable on row selection)
|
||||
$('#button_pause').attr('disabled','disabled');
|
||||
$('#button_stop').attr('disabled','disabled');
|
||||
$('#button_add').attr('disabled','disabled');
|
||||
$('#button_edit').attr('disabled','disabled');
|
||||
$('#button_delete').attr('disabled','disabled');
|
||||
$('#button_run').attr('disabled','disabled');
|
||||
@ -63,14 +62,12 @@ $(document).ready(function () {
|
||||
$('#stratinTable tbody').on('click', 'tr', function () {
|
||||
if ($(this).hasClass('selected')) {
|
||||
$(this).removeClass('selected');
|
||||
$('#button_add').attr('disabled','disabled');
|
||||
$('#button_edit').attr('disabled','disabled');
|
||||
$('#button_delete').attr('disabled','disabled');
|
||||
$('#button_run').attr('disabled','disabled');
|
||||
} else {
|
||||
stratinRecords.$('tr.selected').removeClass('selected');
|
||||
$(this).addClass('selected');
|
||||
$('#button_add').attr('disabled',false);
|
||||
$('#button_edit').attr('disabled',false);
|
||||
$('#button_delete').attr('disabled',false);
|
||||
$('#button_run').attr('disabled',false);
|
||||
|
||||
Reference in New Issue
Block a user