RSSHub/lib/views/welcome.art

115 lines
2.8 KiB
Plaintext

<!DOCTYPE html>
<html>
<head>
<title>Welcome to RSSHub!</title>
{{ if disallowRobot }}
<meta name="robots" content="noindex">
{{ /if }}
<style>
body {
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-size: 16px;
color: #2c3e50;
}
.content {
position: absolute;
left: 50%;
transform: translate(-50%, 100px);
min-width: 400px;
text-align: center;
}
a {
color: #F5712C;
}
details {
text-align: left;
max-height: 400px;
overflow: auto;
}
details::-webkit-scrollbar {
width: 5px;
}
details::-webkit-scrollbar-thumb {
border-radius: 3px;
background-color: #eee;
}
details::-webkit-scrollbar-thumb:hover {
background-color: #ccc;
}
summary {
margin-bottom: 10px;
outline: none;
cursor: pointer;
}
.debug-key {
width: 120px;
text-align: right;
display: inline-block;
margin-right: 10px;
}
.debug-item {
white-space: nowrap;
margin: 5px 0;
font-size: 12px;
line-height: 24px;
max-width: 75%;
}
.debug-value {
white-space: pre-wrap !important;
overflow-wrap: anywhere;
display: inline-block;
vertical-align: top;
}
</style>
</head>
<body>
<div class="content">
<p>
<img src="./logo.png" alt="RSSHub" width="100" />
</p>
<h1>Welcome to
<span style="color: #F5712C;">RSSHub</span>!</h1>
<p>If you see this page, the RSSHub is successfully installed and working.</p>
<p>For online documentation and support please refer to
<a href="https://docs.rsshub.app/" target="_blank">docs.rsshub.app</a>.</p>
<p>-- Made with
<i style="color:#d43f57">♥</i> by
<a href="https://diygod.cc" target="_blank">DIYgod</a>
</p>
{{ if showDebug }}
<details>
<summary>debug</summary>
{{ each debug }}
{{ if $value && $value.value }}
<div class="debug-item">
<span class="debug-key">{{ $value.name }}: </span>
<span class="debug-value">{{@ $value.value }}</span>
</div>
{{ /if }}
{{ /each }}
</details>
{{ /if }}
</div>
</body>
</html>