Skip to content

Instantly share code, notes, and snippets.

@frague59
Created March 17, 2022 07:39
Show Gist options
  • Save frague59/99123d0d6350831e71002ca7298c0cfd to your computer and use it in GitHub Desktop.
Save frague59/99123d0d6350831e71002ca7298c0cfd to your computer and use it in GitHub Desktop.
plantuml home page
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="expires" content="0" />
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="cache-control" content="no-cache, must-revalidate" />
<link rel="icon" href="http://127.0.0.1:8888/favicon.ico" type="image/x-icon"/>
<link rel="shortcut icon" href="http://127.0.0.1:8888/favicon.ico" type="image/x-icon"/>
<link rel="stylesheet" href="http://127.0.0.1:8888/plantuml.css" />
<link rel="stylesheet" href="http://127.0.0.1:8888/webjars/codemirror/5.63.0/lib/codemirror.css" />
<script src="http://127.0.0.1:8888/webjars/codemirror/5.63.0/lib/codemirror.js"></script>
<script>
window.onload = function() {
document.myCodeMirror = CodeMirror.fromTextArea(
document.getElementById("text"),
{ lineNumbers: true }
);
};
</script>
<title>PlantUMLServer</title>
</head>
<body>
<div id="header">
<h1>PlantUML Server</h1>
<a href="https://github.com/plantuml/plantuml-server"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://github-camo.global.ssl.fastly.net/a6677b08c955af8400f44c6298f40e7d19cc5b2d/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f677261795f3664366436642e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png"></a>
<p>Create your <a href="https://plantuml.com">PlantUML</a> diagrams directly in your browser!</p>
</div>
<div id="content">
<form method="post" accept-charset="utf-8" action="http://127.0.0.1:8888/form">
<p>
<textarea id="text" name="text" cols="120" rows="10">@startuml
Bob -&gt; Alice : hello
@enduml</textarea>
<input type="submit" />
</p>
</form>
<hr/>
<p>You can enter here a previously generated URL:</p>
<form method="post" action="http://127.0.0.1:8888/form">
<p>
<input name="url" type="text" size="150" value="http://127.0.0.1:8888/png/SyfFKj2rKt3CoKnELR1Io4ZDoSa70000" />
<br/>
<input type="submit"/>
</p>
</form>
<hr/>
<a href="http://127.0.0.1:8888/svg/SyfFKj2rKt3CoKnELR1Io4ZDoSa70000">View as SVG</a>&nbsp;
<a href="http://127.0.0.1:8888/txt/SyfFKj2rKt3CoKnELR1Io4ZDoSa70000">View as ASCII Art</a>&nbsp;
<p id="diagram">
<img src="http://127.0.0.1:8888/png/SyfFKj2rKt3CoKnELR1Io4ZDoSa70000" alt="PlantUML diagram" />
</p>
</div>
<div id="footer">
<p>PlantUML Server Version 1202202
</p>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment