This commit is contained in:
Alireza Ahmadi
2023-12-10 16:56:02 +01:00
parent b946f7a1d4
commit 94117f94e8
5 changed files with 8 additions and 11 deletions

View File

@@ -3,7 +3,9 @@ WORKDIR /app
ARG TARGETARCH ARG TARGETARCH
RUN apk --no-cache --update add build-base gcc wget unzip RUN apk --no-cache --update add build-base gcc wget unzip
COPY . . COPY . .
RUN env CGO_ENABLED=1 go build -o build/x-ui main.go ENV CGO_ENABLED=1
ENV CGO_CFLAGS="-D_LARGEFILE64_SOURCE"
RUN go build -o build/x-ui main.go
RUN ./DockerInitFiles.sh "$TARGETARCH" RUN ./DockerInitFiles.sh "$TARGETARCH"
FROM alpine FROM alpine

View File

@@ -1 +1 @@
1.6.1 1.6.2

View File

@@ -802,7 +802,7 @@ func (s *SubService) genRemark(inbound *model.Inbound, email string, extra strin
orders['i'] = inbound.Remark orders['i'] = inbound.Remark
} }
if len(extra) > 0 { if len(extra) > 0 {
orders['e'] = extra orders['o'] = extra
} }
var remark []string var remark []string

View File

@@ -55,7 +55,7 @@ style attribute {
} }
.ant-table-tbody > tr > td, .ant-table-tbody > tr > td,
.ant-table-thead > tr > th { .ant-table-thead > tr > th {
padding: 16px; padding: 12px 16px;
overflow-wrap: break-word; overflow-wrap: break-word;
} }
.ant-table-thead > tr > th { .ant-table-thead > tr > th {
@@ -399,11 +399,6 @@ style attribute {
background-color: rgb(255, 127, 127); background-color: rgb(255, 127, 127);
} }
.ant-table-tbody > tr > td,
.ant-table-thead > tr > th {
padding: 16px 5px;
}
.ant-table-expand-icon-th, .ant-table-expand-icon-th,
.ant-table-row-expand-icon-cell { .ant-table-row-expand-icon-cell {
width: 30px; width: 30px;

View File

@@ -423,7 +423,7 @@
:columns="isMobile ? innerMobileColumns : innerColumns" :columns="isMobile ? innerMobileColumns : innerColumns"
:data-source="getInboundClients(record)" :data-source="getInboundClients(record)"
:pagination=pagination(getInboundClients(record)) :pagination=pagination(getInboundClients(record))
:style="isMobile ? 'margin: -16px -5px -17px;' : 'margin-left: 10px;'"> style="margin: -12px -6px -13px;">
{{template "client_table"}} {{template "client_table"}}
</a-table> </a-table>
</template> </template>
@@ -1089,7 +1089,7 @@
title: '{{ i18n "pages.inbounds.delDepletedClientsTitle"}}', title: '{{ i18n "pages.inbounds.delDepletedClientsTitle"}}',
content: '{{ i18n "pages.inbounds.delDepletedClientsContent"}}', content: '{{ i18n "pages.inbounds.delDepletedClientsContent"}}',
class: themeSwitcher.currentTheme, class: themeSwitcher.currentTheme,
okText: '{{ i18n "reset"}}', okText: '{{ i18n "delete"}}',
cancelText: '{{ i18n "cancel"}}', cancelText: '{{ i18n "cancel"}}',
onOk: () => this.submit('/xui/inbound/delDepletedClients/' + dbInboundId), onOk: () => this.submit('/xui/inbound/delDepletedClients/' + dbInboundId),
}) })