-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from SoInteractive/haproxy_refactor
Haproxy refactor
- Loading branch information
Showing
5 changed files
with
95 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<html> | ||
<header><title> {{ item.short }} </title></header> | ||
<style> | ||
body { | ||
background: #582583 } | ||
div.container { | ||
height: 100%; | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
justify-content: center } | ||
div.container h2 { | ||
color: white; | ||
margin: 1em } | ||
</style> | ||
<body> | ||
<div class="container"> | ||
<canvas id="soi" width="200" height="200"></canvas> | ||
<script> | ||
var canvas = document.getElementById('soi'); | ||
var ctx = canvas.getContext('2d'); | ||
ctx.beginPath(); | ||
ctx.moveTo(0,0); | ||
ctx.lineTo(180,0); | ||
ctx.lineTo(180,180); | ||
ctx.lineTo(120,180); | ||
ctx.lineTo(120,120); | ||
ctx.lineTo(60,120); | ||
ctx.lineTo(60,180); | ||
ctx.lineTo(0,180); | ||
ctx.lineTo(0,120); | ||
ctx.lineTo(60,120); | ||
ctx.lineTo(60,60); | ||
ctx.lineTo(0,60); | ||
ctx.fillStyle = 'white'; | ||
ctx.fill(); | ||
</script> | ||
<h2>{{ item.long }}</h2> | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters