Skip to content

Commit a843ff5

Browse files
authored
ci: Restyle preview html (#2377)
1 parent 0f52d0c commit a843ff5

File tree

2 files changed

+87
-12
lines changed

2 files changed

+87
-12
lines changed

docker-compose.uffizzi.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ services:
5151
environment:
5252
- PARSE_DASHBOARD_MASTER_KEY=parse@master123!
5353
- PARSE_DASHBOARD_APP_ID=parse
54-
- PARSE_DASHBOARD_APP_NAME=MyParseApp
55-
- PARSE_DASHBOARD_USER_ID=admin
56-
- PARSE_DASHBOARD_USER_PASSWORD=password
54+
- PARSE_DASHBOARD_APP_NAME=PreviewApp
55+
- PARSE_DASHBOARD_USER_ID=user
56+
- PARSE_DASHBOARD_USER_PASSWORD=pass
5757
- MOUNT_PATH=/dashboard
5858
- PARSE_DASHBOARD_ALLOW_INSECURE_HTTP=1
5959
entrypoint: /bin/sh

nginx-uffizzi/html/index.html

+84-9
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,94 @@
11
<!doctype html>
2-
32
<html>
4-
53
<head>
4+
<title>Parse Dashboard - Pull Request Preview</title>
5+
<style>
6+
* {
7+
font-family: 'Open Sans', Arial, 'Helvetica Neue', Helvetica, sans-serif;
8+
font-size: 1.1em;
9+
line-height: 1.5em;
10+
font-weight: 500;
11+
color: #1f1f1f;
12+
}
13+
14+
body {
15+
padding: 1em;
16+
text-align: center;
17+
background-color: white;
18+
max-width: 70%;
19+
margin-left: auto;
20+
margin-right: auto;
21+
margin-top: 1em;
22+
margin-bottom: 0em;
23+
}
24+
25+
h1 {
26+
font-size: 200%;
27+
margin-block-start: 0px;
28+
padding-top: 0em;
29+
margin-top: 1em;
30+
margin-block-end: 0.5em;
31+
padding-bottom: 0.5em;
32+
margin-bottom: 0.5em;
33+
}
34+
35+
a {
36+
color: inherit;
37+
text-decoration: none;
38+
outline: none;
39+
}
640

7-
<title>Parse Dashboard Preview</title>
8-
41+
a:hover {
42+
color: inherit;
43+
text-decoration: none;
44+
}
45+
46+
p {
47+
margin-bottom: 2em;
48+
}
49+
50+
.button {
51+
display: inline-block;
52+
outline: none;
53+
color: #ffffff;
54+
background-color: #1798e9;
55+
border: 1px solid #1178b7;
56+
border-radius: 1em;
57+
width: auto;
58+
padding-top: 0.7em;
59+
padding-bottom: 0.7em;
60+
padding-right: 1.5em;
61+
padding-left: 1.5em;
62+
cursor: pointer;
63+
}
64+
.button:hover {
65+
display: inline-block;
66+
outline: none;
67+
color: #ffffff;
68+
background-color: #1aa3f8;
69+
border: 1px solid #1178b7;
70+
border-radius: 1em;
71+
width: auto;
72+
padding-top: 0.7em;
73+
padding-bottom: 0.7em;
74+
padding-right: 1.5em;
75+
padding-left: 1.5em;
76+
cursor: pointer;
77+
}
78+
</style>
979
</head>
1080

1181
<body>
12-
13-
<h1>Endpoint:</h1>
14-
15-
<a href="/dashboard/"><b>Click to Visit Parse Dashboard</b></a>
16-
82+
<h1>Pull Request Preview</h1>
83+
<p class="button">
84+
<a href="/dashboard/">Open Parse Dashboard</a>
85+
</p>
86+
<h2>Login with</h2>
87+
<p>
88+
Username: <span style="font-weight:600;">user</span>
89+
<br/>
90+
Password: <span style="font-weight:600;">pass</span>
91+
</p>
1792
</body>
1893

1994
</html>

0 commit comments

Comments
 (0)