|
@ -40,17 +40,7 @@ |
|
|
> |
|
|
> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<!-- <div |
|
|
|
|
|
class="form-control custom-control custom-switch custom-control-inline" |
|
|
|
|
|
> |
|
|
|
|
|
<input |
|
|
|
|
|
type="checkbox" |
|
|
|
|
|
class="custom-control-input" |
|
|
|
|
|
id="log_log" |
|
|
|
|
|
v-model="logcheck.log" |
|
|
|
|
|
/> |
|
|
|
|
|
<label class="custom-control-label" for="log_log">Log</label> |
|
|
|
|
|
</div> --> |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
@ -58,35 +48,7 @@ |
|
|
|
|
|
|
|
|
<div class="col-6"> |
|
|
<div class="col-6"> |
|
|
<div class="input-group input-group-sm sm-6"> |
|
|
<div class="input-group input-group-sm sm-6"> |
|
|
<!-- --------------------------------------------------------- --> |
|
|
|
|
|
<!-- -------- date ----------------------------------- --> |
|
|
|
|
|
<!-- --------------------------------------------------------- --> |
|
|
|
|
|
<!-- <div class="input-group input-group-sm mb-3"> |
|
|
|
|
|
<div class="input-group-prepend"> |
|
|
|
|
|
<button class="btn btn-outline-secondary" type="button"> |
|
|
|
|
|
End date |
|
|
|
|
|
</button> |
|
|
|
|
|
</div> |
|
|
|
|
|
<date-picker |
|
|
|
|
|
type="date" |
|
|
|
|
|
autocomplete="off" |
|
|
|
|
|
v-model="search.dateend" |
|
|
|
|
|
format="YYYY-MM-DD" |
|
|
|
|
|
lang="en" |
|
|
|
|
|
> |
|
|
|
|
|
</date-picker> |
|
|
|
|
|
|
|
|
|
|
|
<div class="input-group-append"> |
|
|
|
|
|
<button |
|
|
|
|
|
class="btn btn-outline-primary" |
|
|
|
|
|
round |
|
|
|
|
|
type="button" |
|
|
|
|
|
@click="setFilter" |
|
|
|
|
|
> |
|
|
|
|
|
Go |
|
|
|
|
|
</button> |
|
|
|
|
|
</div> |
|
|
|
|
|
</div> --> |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
<!-- col --> |
|
|
<!-- col --> |
|
@ -172,34 +134,7 @@ |
|
|
<!-- row --> |
|
|
<!-- row --> |
|
|
|
|
|
|
|
|
<div class="row rowlog overflow-auto"> |
|
|
<div class="row rowlog overflow-auto"> |
|
|
<div class="col-12" v-for="item in log_path"> |
|
|
|
|
|
<b-row class="border-bottom" v-if="logview(item) === true"> |
|
|
|
|
|
<b-col cols="2"> |
|
|
|
|
|
<span |
|
|
|
|
|
class="badge badge-danger badge-pill" |
|
|
|
|
|
style="cursor: pointer" |
|
|
|
|
|
@click="clearLog()" |
|
|
|
|
|
>Clear</span |
|
|
|
|
|
> |
|
|
|
|
|
</b-col> |
|
|
|
|
|
|
|
|
|
|
|
<b-col cols="8" style="cursor: pointer" @click="selectPath(item)"> |
|
|
|
|
|
{{ item }} |
|
|
|
|
|
</b-col> |
|
|
|
|
|
|
|
|
|
|
|
<b-col cols="2"> |
|
|
|
|
|
<span |
|
|
|
|
|
class="badge badge-secondary badge-pill" |
|
|
|
|
|
v-if="log_path_lenght[item] == log_path_lenghtstatus[item]" |
|
|
|
|
|
>{{ log_path_lenght[item] }}</span |
|
|
|
|
|
> |
|
|
|
|
|
|
|
|
|
|
|
<span class="badge badge-primary badge-pill" v-else>{{ |
|
|
|
|
|
log_path_lenght[item] |
|
|
|
|
|
}}</span> |
|
|
|
|
|
</b-col> |
|
|
|
|
|
</b-row> |
|
|
|
|
|
</div> |
|
|
|
|
|
<!-- col --> |
|
|
<!-- col --> |
|
|
<div v-show="onEvent" class="logs"> |
|
|
<div v-show="onEvent" class="logs"> |
|
|
<h2>ON-event logs for all apps (Simplified - ALL)</h2> |
|
|
<h2>ON-event logs for all apps (Simplified - ALL)</h2> |
|
@ -752,7 +687,7 @@ export default { |
|
|
created() { |
|
|
created() { |
|
|
//var logintoken = new URL(location.href).searchParams.get("token"); |
|
|
//var logintoken = new URL(location.href).searchParams.get("token"); |
|
|
var logintoken = new URL( |
|
|
var logintoken = new URL( |
|
|
"https://api-client.swarmlab.io:8088/?token=7d01aaaf1c71ab27e6041fb157c9e46077240741" |
|
|
"https://api-client.swarmlab.io:8088/?token=1e46b03ddd79f1237404a5e4c5dd487b21f98b1f" |
|
|
).searchParams.get("token"); |
|
|
).searchParams.get("token"); |
|
|
this.logintoken = logintoken; |
|
|
this.logintoken = logintoken; |
|
|
// === We get the user + check for the token if exists |
|
|
// === We get the user + check for the token if exists |
|
|