add reload button

This commit is contained in:
nullnyat 2022-05-01 21:51:08 +09:00
parent ab9b648c59
commit 8168b4edad
No known key found for this signature in database
GPG Key ID: 5EDC2816C3AE007A
3 changed files with 14 additions and 4528 deletions

View File

@ -1,50 +1,29 @@
version: "3" version: "3"
services: services:
web:
build: .
restart: always
links:
- db
- redis
# - es
ports:
- "127.0.0.1:3000:3000"
networks:
- internal_network
- external_network
volumes:
- ./files:/misskey/files
- ./.config:/misskey/.config:ro
redis:
restart: always
image: redis:4.0-alpine
networks:
- internal_network
volumes:
- ./redis:/data
db: db:
restart: always restart: always
image: postgres:12.2-alpine image: postgres:12.2-alpine
ports:
- "5432:5432"
networks: networks:
- internal_network - internal_network
- external_network
env_file: env_file:
- .config/docker.env - .config/docker.env
volumes: volumes:
- ./db:/var/lib/postgresql/data - ./db:/var/lib/postgresql/data
# es: redis:
# restart: always restart: always
# image: docker.elastic.co/elasticsearch/elasticsearch-oss:6.4.2 image: redis:4.0-alpine
# environment: ports:
# - "ES_JAVA_OPTS=-Xms512m -Xmx512m" - "6379:6379"
# - "TAKE_FILE_OWNERSHIP=111" networks:
# networks: - internal_network
# - internal_network - external_network
# volumes: volumes:
# - ./elasticsearch:/usr/share/elasticsearch/data - ./redis:/data
networks: networks:
internal_network: internal_network:

View File

@ -25,6 +25,7 @@
</div> </div>
</template> </template>
<div class="buttons right"> <div class="buttons right">
<button class="_button button" v-tooltip="'リロード'" onclick="location.reload();"><i class="fas fa-redo"></i></button>
<template v-if="info && info.actions && !narrow"> <template v-if="info && info.actions && !narrow">
<template v-for="action in info.actions"> <template v-for="action in info.actions">
<MkButton v-if="action.asFullButton" class="fullButton" primary @click.stop="action.handler"><i :class="action.icon" style="margin-right: 6px;"></i>{{ action.text }}</MkButton> <MkButton v-if="action.asFullButton" class="fullButton" primary @click.stop="action.handler"><i :class="action.icon" style="margin-right: 6px;"></i>{{ action.text }}</MkButton>

4494
yarn.lock

File diff suppressed because it is too large Load Diff