Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
92 changes: 92 additions & 0 deletions md renderer/ReadmyMD/src/main/resources/templates/success.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
/* Reset & body */
* { box-sizing: border-box; }
body {
margin: 0;
font-family: 'Consolas', monospace;
background-color: #1e1e1e;
color: #f5f5f5;
display: flex;
flex-direction: column;
height: 100vh;
text-align: center;
}

/* Main content area */
.main {
flex: 1;
display: flex;
overflow: hidden;
}

/* Sidebar */
.side {
width: 450px;
background-color: #2b2b2b;
border-right: 2px solid #444;
padding: 10px;
display: flex;
flex-direction: column;
}

.side textarea {
flex: 1;
width: 100%;
background-color: #1e1e1e;
color: #f5f5f5;
border: none;
padding: 10px;
font-size: 16px;
resize: vertical;
outline: none;
}

/* Display area */
.display {
flex: 1;
background-color: #252526;
padding: 20px;
overflow-y: auto;
border-left: 2px solid #444;
}

/* Footer */
footer {
height: 50px;
background-color: #2b2b2b;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 20px;
border-top: 2px solid #444;
}

a {
color: #61dafb;
text-decoration: none;
margin-left: 15px;
font-size: 14px;
}

a:hover {
text-decoration: underline;
}

footer .info {
font-size: 14px;
color: #aaa;
}
</style>
</head>
<body>
<h1>Oopsies!</h1>
<p>It seems saving was successful.</p>
<a href="/">Go Home</a>
</body>
</html>