summaryrefslogtreecommitdiff
path: root/src/server/web/views/info.pug
blob: 992e652a60c81b181e0202534b510dacc20dc440 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
doctype html

html

	head
		meta(charset='utf-8')
		meta(name='application-name' content='Misskey')
		title Misskey
		style.
			html {
				font-family: Roboto, HelveticaNeue, Arial, sans-serif;
			}

			main {
				max-width: 934px;
				margin: 0 auto;
			}

			header {
				padding: 5px;
				background: rgb(153, 153, 204);
				border: 1px solid #000;
				box-shadow: rgb(204, 204, 204) 1px 2px 3px;
			}
			header:after {
				content: '';
				display: block;
				clear: both;
			}

			header > h1 {
				float: left;
				font-size: 2em;
			}

			header > img {
				float: right;
				width: 220px;
			}

			table {
				margin: 1em 0;
				width: 100%;
				border-collapse: collapse;
				box-shadow: rgb(204, 204, 204) 1px 2px 3px;
			}
			table tr th {
				background-color: #ccf;
				border: 1px solid #000;
				width: 300px;
				font-weight: bold;
				padding: 4px 5px;
				text-align: left;
			}
			table tr td {
				background-color: #ddd;
				border: 1px solid #000;
				padding: 4px 5px;
			}

			footer {
				text-align: center;
			}

	body
		main
			header
				h1 Misskey Version #{version}
				img(src='/assets/misskey-php-like-logo.png' alt='')
			table
				tr
					th Instance
					td= meta.name || 'Misskey'
				tr
					th Description
					td= meta.description
				tr
					th Maintainer
					td
						= meta.maintainerName
						|  <#{meta.maintainerEmail}>
				tr
					th System
					td= os
				tr
					th Node version
					td= node
				tr
					th PSQL version
					td= psql
				tr
					th Redis version
					td= redis
				tr
					th Machine
					td= machine
				tr
					th CPU
					td= cpu.model
				tr
					th Original users
					td= originalUsersCount
				tr
					th Original notes
					td= originalNotesCount
				tr
					th Registration
					td= !meta.disableRegistration ? 'yes' : 'no'
				tr
					th reCAPTCHA enabled
					td= meta.enableRecaptcha ? 'enabled' : 'disabled'
				tr
					th LTL(STL) enabled
					td= !meta.disableLocalTimeline ? 'enabled' : 'disabled'
				tr
					th GTL enabled
					td= !meta.disableGlobalTimeline ? 'enabled' : 'disabled'
				tr
					th Cache remote files
					td= meta.cacheRemoteFiles ? 'yes' : 'no'
				tr
					th Drive capacity per local user
					td
						= meta.localDriveCapacityMb
						|  MB
				tr
					th Drive capacity per remote user
					td
						= meta.remoteDriveCapacityMb
						|  MB
				tr
					th Max text length
					td= meta.maxNoteTextLength
				tr
					th Emojis
					td
						each emoji in emojis
							| :#{emoji.name}:
							= ' '
			footer
				p Misskey is open-source software. <a href="https://github.com/syuilo/misskey">View source</a>