mirror of
https://github.com/star-inc/yuuki.git
synced 2024-09-20 15:26:30 +08:00
Update
This commit is contained in:
parent
650c8d4a3d
commit
558467a401
|
@ -8,12 +8,6 @@ License, v. 2.0. If a copy of the MPL was not distributed with this
|
|||
file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
var events = [
|
||||
"JoinGroup",
|
||||
"KickEvent",
|
||||
"CancelEvent"
|
||||
];
|
||||
|
||||
function format2html(title, context) {
|
||||
return "<div class=\"media pt-3\">" +
|
||||
"<img class=\"mini-logo mr-2 rounded\" src=\"" + object_server + "/os/g/" + title + "\">" +
|
||||
|
@ -25,7 +19,6 @@ function format2html(title, context) {
|
|||
}
|
||||
|
||||
$(function () {
|
||||
url = window.location.href;
|
||||
$.ajax({
|
||||
url: "/api",
|
||||
type: "POST",
|
||||
|
|
7
libs/webadmin/static/js/helpers.js
Normal file
7
libs/webadmin/static/js/helpers.js
Normal file
|
@ -0,0 +1,7 @@
|
|||
/*
|
||||
Yuuki_Libs
|
||||
(c) 2020 Star Inc.
|
||||
This Source Code Form is subject to the terms of the Mozilla Public
|
||||
License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*/
|
|
@ -23,7 +23,7 @@
|
|||
<main role="main" class="container">
|
||||
<div class="my-3 p-3 bg-white rounded shadow-sm">
|
||||
<h6 class="border-bottom border-gray pb-2 mb-0">Helpers</h6>
|
||||
<div id="groups">
|
||||
<div id="helpers">
|
||||
<p class="pt-3">Loading...</p>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue