Move messages to the top of status page

pull/1101/head
Rory Doherty 2022-10-18 16:08:11 +01:00
parent 87ab7d9238
commit 402bf94918
2 changed files with 20 additions and 19 deletions

View File

@ -12,6 +12,10 @@
</div>
</div>
<div class="col-12 full-col-12">
<MessageBlock v-for="message in messages" v-bind:key="message.id" :message="message" />
</div>
<div class="col-12 full-col-12">
<div v-for="service in services_no_group" v-bind:key="service.id" class="list-group online_list mb-4">
<div class="list-group-item list-group-item-action">
@ -24,9 +28,6 @@
</div>
<Group v-for="group in groups" v-bind:key="group.id" :group=group />
<div class="col-12 full-col-12">
<MessageBlock v-for="message in messages" v-bind:key="message.id" :message="message" />
</div>
<div class="col-12 full-col-12">
<div v-for="service in services" :ref="service.id" v-bind:key="service.id">

View File

@ -3,13 +3,13 @@ package handlers
import (
"encoding/json"
"fmt"
"github.com/statping-ng/statping-ng/types/errors"
"html/template"
"net/http"
"path"
"time"
"github.com/statping-ng/statping-ng/source"
"github.com/statping-ng/statping-ng/types/errors"
"github.com/statping-ng/statping-ng/utils"
)