mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
bioarchlinux-packages: fix current html
This commit is contained in:
parent
37d1de7065
commit
c46adaee14
2 changed files with 17 additions and 18 deletions
|
@ -18,10 +18,10 @@ source=(git+https://github.com/imlonghao/archlinuxcn-packages.git#tag=v$pkgver
|
|||
index_html.patch
|
||||
log_html.patch
|
||||
rust.patch)
|
||||
sha256sums=('5224059ffb7cedb1b6372df2c5431dd3c9a720a7b2774d50dffbe15456a30b05'
|
||||
sha256sums=('SKIP'
|
||||
'dd2a46ad3b1e7d532b53f10ced77fbd74924c8635ff3778d62a42f0606295d2c'
|
||||
'06336c1294cea451281abe8965767d369b6d36738cabea29e490f100740548f3'
|
||||
'53fff749bc1918b4606cd22c8227c9f184dec0f129c52bd2a2a444a899a926f3'
|
||||
'9688e901488b8c42a71153374c2e8b8dfbc2fb6333df1bb0962f880a98ac3b4f'
|
||||
'3e9cad1eecc70b66acc72aeb4886e0ed6df55aa66e60031807946652a8e0a01a'
|
||||
'cf8dd25936b59daceea24f867fdf0c3fe5681ce84f7248ed867c245385211576'
|
||||
'9e610a2eea82854413685027c4fee3eac8e0a2593d825577e005789c205e8b45')
|
||||
|
|
|
@ -1,40 +1,39 @@
|
|||
diff --git a/html/current.html b/html/current.html
|
||||
index 652386b..8f900af 100644
|
||||
index 8a6a185..4acc574 100644
|
||||
--- a/html/current.html
|
||||
+++ b/html/current.html
|
||||
@@ -3,15 +3,18 @@
|
||||
@@ -3,17 +3,17 @@
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
- <title>Archlinuxcn Currently Building Package</title>
|
||||
- <link rel="stylesheet" href="https://build.archlinuxcn.org/~imlonghao/static/1.10.20-jquery.dataTables.min.css">
|
||||
- <link rel="stylesheet" href="https://build.archlinuxcn.org/~imlonghao/static/1.10.20-jquery.dataTables.min.css"
|
||||
+ <title>bioarchlinux Currently Building Package</title>
|
||||
+ <link rel="stylesheet" href="https://cdn.datatables.net/1.10.20/css/jquery.dataTables.min.css"
|
||||
+ integrity="sha256-YY1izqyhIj4W3iyJOaGWOpXDSwrHWFL4Nfk+W0LyCHE=" crossorigin="anonymous">
|
||||
integrity="sha256-YY1izqyhIj4W3iyJOaGWOpXDSwrHWFL4Nfk+W0LyCHE=" crossorigin="anonymous">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<table id="l" class="stripe cell-border" style="text-align:center">
|
||||
</table>
|
||||
- <script src="https://build.archlinuxcn.org/~imlonghao/static/3.4.1-jquery.min.js"></script>
|
||||
- <script src="https://build.archlinuxcn.org/~imlonghao/static/1.10.20-jquery.dataTables.min.js"></script>
|
||||
- <script src="https://build.archlinuxcn.org/~imlonghao/static/3.4.1-jquery.min.js"
|
||||
+ <script src="https://cdn.jsdelivr.net/npm/jquery@3.4.1/dist/jquery.min.js"
|
||||
+ integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=" crossorigin="anonymous"></script>
|
||||
+ <script src="https://cdn.jsdelivr.net/npm/datatables.net@1.10.20/js/jquery.dataTables.min.js"
|
||||
+ integrity="sha256-LXQzPhL1IRyKkA7HpCOBi8I+OC8HqzHUYkjK8S+LKTs=" crossorigin="anonymous"></script>
|
||||
integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=" crossorigin="anonymous"></script>
|
||||
- <script src="https://build.archlinuxcn.org/~imlonghao/static/1.13.6-jquery.dataTables.min.js"
|
||||
+ <script src="https://cdn.jsdelivr.net/npm/datatables.net@1.13.6/js/jquery.dataTables.min.js"
|
||||
integrity="sha256-JDYsFFqB4eL9lRhcQwDSWVr7LK3Z8VgMLdzpW8GbIIQ=" crossorigin="anonymous"></script>
|
||||
<script>
|
||||
const DATE_FORMATTER = new Intl.DateTimeFormat(undefined, {
|
||||
timeStyle: "medium",
|
||||
@@ -21,7 +24,7 @@
|
||||
@@ -24,7 +24,7 @@
|
||||
$(document).ready(function () {
|
||||
$('#l').DataTable({
|
||||
let table = new DataTable('#l', {
|
||||
"ajax": {
|
||||
- url: "/imlonghao-api/current",
|
||||
+ url: "/api/current",
|
||||
dataSrc: ""
|
||||
},
|
||||
"order": [[0, "desc"]],
|
||||
@@ -29,7 +32,7 @@
|
||||
@@ -32,7 +32,7 @@
|
||||
"columnDefs": [
|
||||
{
|
||||
targets: 0,
|
||||
|
@ -43,7 +42,7 @@ index 652386b..8f900af 100644
|
|||
data: "updated_at",
|
||||
render: function (data, type, row, meta) {
|
||||
if (type == 'display') {
|
||||
@@ -41,22 +44,22 @@
|
||||
@@ -44,22 +44,22 @@
|
||||
},
|
||||
{
|
||||
targets: 1,
|
||||
|
@ -69,8 +68,8 @@ index 652386b..8f900af 100644
|
|||
+ title: "Packaging Reason",
|
||||
data: "reasons",
|
||||
render: function (data, type, row, meta) {
|
||||
return JSON.parse(data)
|
||||
@@ -68,4 +71,4 @@
|
||||
const d = JSON.parse(JSON.parse(data))
|
||||
@@ -91,4 +91,4 @@
|
||||
</script>
|
||||
</body>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue