commit c368142178beefdc7298070d4a5c51693f8abf99 Author: CaptainArk Date: Sat Jan 4 15:52:52 2020 +0100 initial commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e43b0f9 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.DS_Store diff --git a/css/style.css b/css/style.css new file mode 100644 index 0000000..ae5313d --- /dev/null +++ b/css/style.css @@ -0,0 +1,55 @@ +.mydragable { + position: absolute; + z-index: 9; + cursor: move; +} + +.divMap { + z-index: 1; +} + +img { + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -o-user-select: none; + user-select: none; +} + +body { + font-family: "Helvetica Neue",Helvetica,Arial,sans-serif; + font-size: 14px; + color: #333; + background: #f0f0f0; + padding: 20px 0; +} +.mapimg { + border:1px solid #000000; +} + +table { + width: auto; +} + +.center { + text-align:center; +} + +.btn { + color: #fff; + background-color: #428bca; + border: 1px solid #357ebd; + -webkit-border-radius: 4; + -moz-border-radius: 4; + border-radius: 4px; + font-size: 14px; + padding: 6px 12px; + text-decoration: none; + cursor: pointer; +} + +.btn:hover { + background-color: #3071a9; + border-color: #285e8e; + ext-decoration: none; +} diff --git a/img/blueflag.png b/img/blueflag.png new file mode 100644 index 0000000..1776525 Binary files /dev/null and b/img/blueflag.png differ diff --git a/img/redflag.png b/img/redflag.png new file mode 100644 index 0000000..7c15906 Binary files /dev/null and b/img/redflag.png differ diff --git a/img/sb/01.jpg b/img/sb/01.jpg new file mode 100644 index 0000000..2542ab8 Binary files /dev/null and b/img/sb/01.jpg differ diff --git a/img/sb/02.jpg b/img/sb/02.jpg new file mode 100644 index 0000000..1a4fafa Binary files /dev/null and b/img/sb/02.jpg differ diff --git a/img/sb/03.jpg b/img/sb/03.jpg new file mode 100644 index 0000000..13c5d70 Binary files /dev/null and b/img/sb/03.jpg differ diff --git a/img/sb/04.jpg b/img/sb/04.jpg new file mode 100644 index 0000000..5e85a6e Binary files /dev/null and b/img/sb/04.jpg differ diff --git a/img/sb/05.jpg b/img/sb/05.jpg new file mode 100644 index 0000000..2d332e8 Binary files /dev/null and b/img/sb/05.jpg differ diff --git a/img/sb/06.jpg b/img/sb/06.jpg new file mode 100644 index 0000000..7659e23 Binary files /dev/null and b/img/sb/06.jpg differ diff --git a/img/sb/07.jpg b/img/sb/07.jpg new file mode 100644 index 0000000..d9ae0d8 Binary files /dev/null and b/img/sb/07.jpg differ diff --git a/img/sb/08.jpg b/img/sb/08.jpg new file mode 100644 index 0000000..7aaa2d0 Binary files /dev/null and b/img/sb/08.jpg differ diff --git a/img/sb/09.jpg b/img/sb/09.jpg new file mode 100644 index 0000000..b716e80 Binary files /dev/null and b/img/sb/09.jpg differ diff --git a/img/sb/10.jpg b/img/sb/10.jpg new file mode 100644 index 0000000..2de1005 Binary files /dev/null and b/img/sb/10.jpg differ diff --git a/img/sb/11.jpg b/img/sb/11.jpg new file mode 100644 index 0000000..70421b9 Binary files /dev/null and b/img/sb/11.jpg differ diff --git a/img/sb/12.jpg b/img/sb/12.jpg new file mode 100644 index 0000000..b60a0f4 Binary files /dev/null and b/img/sb/12.jpg differ diff --git a/img/shb/01.jpg b/img/shb/01.jpg new file mode 100644 index 0000000..6943cf3 Binary files /dev/null and b/img/shb/01.jpg differ diff --git a/img/shb/02.jpg b/img/shb/02.jpg new file mode 100644 index 0000000..b8fa811 Binary files /dev/null and b/img/shb/02.jpg differ diff --git a/img/shb/03.jpg b/img/shb/03.jpg new file mode 100644 index 0000000..af5b8a7 Binary files /dev/null and b/img/shb/03.jpg differ diff --git a/img/shb/04.jpg b/img/shb/04.jpg new file mode 100644 index 0000000..4fe282f Binary files /dev/null and b/img/shb/04.jpg differ diff --git a/img/shb/05.jpg b/img/shb/05.jpg new file mode 100644 index 0000000..808735a Binary files /dev/null and b/img/shb/05.jpg differ diff --git a/img/shb/06.jpg b/img/shb/06.jpg new file mode 100644 index 0000000..0e6f405 Binary files /dev/null and b/img/shb/06.jpg differ diff --git a/img/shb/07.jpg b/img/shb/07.jpg new file mode 100644 index 0000000..8686dcd Binary files /dev/null and b/img/shb/07.jpg differ diff --git a/img/shb/08.jpg b/img/shb/08.jpg new file mode 100644 index 0000000..57795bd Binary files /dev/null and b/img/shb/08.jpg differ diff --git a/img/shb/09.jpg b/img/shb/09.jpg new file mode 100644 index 0000000..a72d60b Binary files /dev/null and b/img/shb/09.jpg differ diff --git a/img/shb/10.jpg b/img/shb/10.jpg new file mode 100644 index 0000000..0c2b0b7 Binary files /dev/null and b/img/shb/10.jpg differ diff --git a/img/shb/11.jpg b/img/shb/11.jpg new file mode 100644 index 0000000..c7dee9b Binary files /dev/null and b/img/shb/11.jpg differ diff --git a/img/shb/12.jpg b/img/shb/12.jpg new file mode 100644 index 0000000..00074d7 Binary files /dev/null and b/img/shb/12.jpg differ diff --git a/index.html b/index.html new file mode 100644 index 0000000..677aaa3 --- /dev/null +++ b/index.html @@ -0,0 +1,19 @@ + + + + FFXIV Hunt Train Tracker + + + + +
+
+ +
+
+
+ +
+
+ + diff --git a/js/flag.js b/js/flag.js new file mode 100644 index 0000000..f835eb7 --- /dev/null +++ b/js/flag.js @@ -0,0 +1,85 @@ +var dragables = document.getElementsByClassName("mydragable") + +for (var i = 0, ele; ele = dragables[i++]; ) { + dragElement(ele); +} + +for (var i = 0, ele; ele = dragables[i++]; ) { + LoadElementPos(ele); +} + + +function dragElement(elmnt) { + var pos1 = 0, pos2 = 0, pos3 = 0, pos4 = 0; + + elmnt.onmousedown = dragMouseDown; + + function dragMouseDown(e) { + e = e || window.event; + e.preventDefault(); + // get the mouse cursor position at startup: + pos3 = e.clientX; + pos4 = e.clientY; + document.onmouseup = closeDragElement; + // call a function whenever the cursor moves: + document.onmousemove = elementDrag; + } + + function elementDrag(e) { + e = e || window.event; + e.preventDefault(); + // calculate the new cursor position: + pos1 = pos3 - e.clientX; + pos2 = pos4 - e.clientY; + pos3 = e.clientX; + pos4 = e.clientY; + // set the element's new position: + + var nx = elmnt.offsetLeft - pos1; + if (nx > 1000) { nx = 1000; } + if (nx < 0) { nx = 0; } + + var ny = elmnt.offsetTop - pos2; + if (ny < 0) { + ny = 0; + } + + elmnt.style.left = nx + "px"; + elmnt.style.top = ny + "px"; + +} + +function closeDragElement() { + /* stop moving when mouse button is released:*/ + document.onmouseup = null; + document.onmousemove = null; + SaveElementPos(elmnt); + } +} + +function LoadElementPos(elment) { + var cords = window.localStorage.getItem(elment.id); + + if (cords != null) { + var cc = JSON.parse(cords); + + elment.style.left = cc.x; + elment.style.top = cc.y; + } +} + +function SaveElementPos(elment) { + var cc = { x: elment.style.left, y: elment.style.top } + window.localStorage.setItem(elment.id,JSON.stringify(cc)); +} + +function clearMarkers() { + var r = confirm("Clear all markers? (Warning, this cannot be undone.)"); + if (r == true) { + var r2 = confirm("You sure? (Warning, this cannot be undone.)"); + if (r2 == true) { + localStorage.clear(); + location.reload(); + } + } +} diff --git a/sb/index.html b/sb/index.html new file mode 100644 index 0000000..15bf234 --- /dev/null +++ b/sb/index.html @@ -0,0 +1,118 @@ + + + SB A Rank Tracker + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ + + + + + diff --git a/shb/index.html b/shb/index.html new file mode 100644 index 0000000..a8b5169 --- /dev/null +++ b/shb/index.html @@ -0,0 +1,118 @@ + + + ShB A Rank Tracker + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ + + + + +