From d3665e398ac027474440abc2a4e0254c7bb34fe7 Mon Sep 17 00:00:00 2001 From: Nathan Steel Date: Wed, 6 Apr 2022 16:22:45 +0100 Subject: [PATCH] MOAR --- clipboard.js | 17 ++++++++--- expenses.html | 80 +++++++++++++++++++++++++++++++++++++++++++++++++++ index.html | 14 +++++---- 3 files changed, 102 insertions(+), 9 deletions(-) create mode 100644 expenses.html diff --git a/clipboard.js b/clipboard.js index 662182b..bacf153 100755 --- a/clipboard.js +++ b/clipboard.js @@ -9,19 +9,28 @@ function copyToClipboard(elementId) { /* Copy the text inside the text field */ navigator.clipboard.writeText(copyText); - var tooltip = document.getElementById("myTooltip"); + var tooltip = document.getElementById("tooltip"); tooltip.innerHTML = "Copied"; } function resetCopy() { - var tooltip = document.getElementById("myTooltip"); + var tooltip = document.getElementById("tooltip"); tooltip.innerHTML = "Copy to clipboard"; } +// Event Listeners +// tooltipped has tooltip and clipboard classes + //const clipboard = querySelector('.tooltiptext'); const minecraft = document.getElementById('minecraft-clip'); -minecraft.addEventListener('click', copyToClipboard('minecraft-server')); -minecraft.addEventListener('mouseout', resetCopy()); +minecraft.addEventListener('click', function (event) { copyToClipboard('minecraft-server'); }); + +var tooltipped = document.getElementsByClassName('tooltipped'); +for (var i = 0; i < tooltipped.length; i++) { + //tooltipped[i].addEventListener('click', function (event) { copyToClipboard(); }); + tooltipped[i].addEventListener('mouseout', function (event) { resetCopy(); }); +} + diff --git a/expenses.html b/expenses.html new file mode 100644 index 0000000..217215f --- /dev/null +++ b/expenses.html @@ -0,0 +1,80 @@ + + + + + + Expenses + + + + + + + + + + + +
+
+ + +
+
+ +
+
+

Expenses

+ +

We want to be as transparent as possible, so our (est) monthly outgoings will be displayed here.

+

Estimated expenses will be based on the previous month, however additional servers may be added during the current month.

+
+ +
+

Current Month

+ +

Servers

+

Minecraft - £0/£10 *

+

Web Server - £0/£3 *

+ +

Domains

+

anetwork.uk - £0.70 (£8.40 annually) **

+ +
+
+ +
+

Last Month

+

Servers

+

Minecraft - £0/£10 *

+

Web Server - £0/£3 *

+

Domains

+

anetwork.uk - £0.70 (£8.40 annually) **

+
+
+ +
+

2 Months Ago

+

Servers

+

Minecraft - £0/£10 *

+

Web Server - £0/£3 *

+
+
+ +
+

* - Currently hosted on the same internal server. This does not have a UPS or any professional measures against downtime, so costs are estimated based on VPS alternatives to the resources used.

+

** - Paid annually, but added to monthly breakdowns

+

Contributing any amount to aNetwork will not be cause affect how you are treat on servers, nor be accounted for in bans/unbans

+
+ +
+ + + diff --git a/index.html b/index.html index 76391a8..0a17dfa 100755 --- a/index.html +++ b/index.html @@ -57,12 +57,12 @@

MC

- Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis. + A publically available minecraft server that is currenly a WIP. i.e. We are trying plugins, and administration to see what people would like best.

IP: minecraft.anetwork.uk - Copy to clipboard + Copy to clipboard

Map: mcmap.anetwork.uk

@@ -72,14 +72,18 @@
-

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede mollis pretium. Integer tincidunt. Cras dapibu

+

aNetwork is a small gaming community with the aim of setting up servers, and events for all to enjoy.

+

Formed sometime in 2021 as a private, and small growing group, the aim has become to create a more public community, venturing into server hosting to allow people to play the games they want with friends.

-

YEEE HAAAWWW

-

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis.

+

Contribute

+

aNetwork hosts and maintains a number of servers, and to keep these servers operational we need to pay the big bucks.

+

If you'd like to contribute, or see a breakdown of our outgoings click below

+ Contribute + Our Costs