forked from svrjs/svrjs
Make the default page fit on very small screens
This commit is contained in:
parent
1a9f31c5d0
commit
c05948467f
1 changed files with 6 additions and 4 deletions
10
index.html
10
index.html
|
@ -14,16 +14,18 @@
|
||||||
<body>
|
<body>
|
||||||
<h1>Welcome to SVR.JS Nightly-GitMain</h1>
|
<h1>Welcome to SVR.JS Nightly-GitMain</h1>
|
||||||
<div style="background-color: #ffff00; border-color: #ff7f00; border-width: 5px; border-style: solid; padding: 5px; display: inline-block;">
|
<div style="background-color: #ffff00; border-color: #ff7f00; border-width: 5px; border-style: solid; padding: 5px; display: inline-block;">
|
||||||
<b style="font-size: 20pt">WARNING!</b><br/>
|
<b style="font-size: 26px">WARNING!</b><br/>
|
||||||
This version is only for test purposes and may be unstable.
|
This version is only for test purposes and may be unstable.
|
||||||
</div>
|
</div>
|
||||||
<br/>
|
<br/>
|
||||||
<img src="/logo.png" style="width: 256px;" />
|
<div style="width: 256px; margin: auto; display: inline-block;">
|
||||||
<br/>
|
<img src="/logo.png" style="width: 100%; max-width: 256px; _width: 256px;" />
|
||||||
|
<br/>
|
||||||
|
</div>
|
||||||
<p>If you see this page that means that the server is working properly. You can further configure the server and replace <i>index.html</i> and <i>tests.html</i> pages with custom ones.</p>
|
<p>If you see this page that means that the server is working properly. You can further configure the server and replace <i>index.html</i> and <i>tests.html</i> pages with custom ones.</p>
|
||||||
<p>Default <i>config.json</i> looks like this:</p>
|
<p>Default <i>config.json</i> looks like this:</p>
|
||||||
<code style="background-color: #e0e0e0; padding: 5px; text-align: left; display: block; display: inline-block;">
|
<code style="background-color: #e0e0e0; padding: 5px; text-align: left; display: block; display: inline-block;">
|
||||||
<pre style="margin: 0.2em; white-space: pre-wrap;">{
|
<pre style="margin: 0.2em; white-space: pre-wrap; overflow-wrap: break-word; word-wrap: break-word; word-break: break-all; word-break: break-word">{
|
||||||
"users": [],
|
"users": [],
|
||||||
"port": 80,
|
"port": 80,
|
||||||
"pubport": 80,
|
"pubport": 80,
|
||||||
|
|
Reference in a new issue