diff --git a/index.html b/index.html index 30b770f..c9e22cd 100644 --- a/index.html +++ b/index.html @@ -151,7 +151,7 @@ Information about Alpha Company is located here.
- + Enter
@@ -168,7 +168,7 @@ Information about Bravo Company is located here.
- + Enter
diff --git a/malpha.html b/malpha.html new file mode 100644 index 0000000..58f78fe --- /dev/null +++ b/malpha.html @@ -0,0 +1,118 @@ + + + + Nokomis JROTC - Alpha Company + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+ + Alpha Company + +
+
+
+
+

+ Alpha Company +

+ + + + + + + + + + +
+
+
+ Documents: +
+
+ +
+
+
+
+
+ Event: +
+
+ +
+
+
+
+
+ Company Information and Commanders Comments: +
+
+
No Comment.


+ Current Commanders Cup Points:
+

+
+ Loading... +

+
+
+
+
+
+ + + \ No newline at end of file diff --git a/mbravo.html b/mbravo.html new file mode 100644 index 0000000..976dedc --- /dev/null +++ b/mbravo.html @@ -0,0 +1,118 @@ + + + + Nokomis JROTC - Bravo Company + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+ + Bravo Company + +
+
+
+
+

+ Bravo Company +

+ + + + + + + + + + +
+
+
+ Documents: +
+
+ +
+
+
+
+
+ Event: +
+
+ +
+
+
+
+
+ Company Information and Commanders Comments: +
+
+
No Comment.


+ Current Commanders Cup Points:
+

+
+ Loading... +

+
+
+
+
+
+ + + \ No newline at end of file diff --git a/mscript.js b/mscript.js new file mode 100644 index 0000000..b16c5ee --- /dev/null +++ b/mscript.js @@ -0,0 +1,32 @@ +function alphaCompanyOnLoad() { + // Initialize Firebase + var config = { + apiKey: "AIzaSyB0keF26uKYDOR2o-8HYkgoOGWhsPyHdkg", + authDomain: "jrotc-database.firebaseapp.com", + databaseURL: "https://jrotc-database.firebaseio.com", + projectId: "jrotc-database", + storageBucket: "jrotc-database.appspot.com", + messagingSenderId: "787128694744" + }; + firebase.initializeApp(config); + setData("company","alphacomments","alphacomments"); + readData("company", function(data) { + document.getElementById("alphacurrentpoints").innerHTML = data.alphapoints + }); +} +function bravoCompanyOnLoad() { + // Initialize Firebase + var config = { + apiKey: "AIzaSyB0keF26uKYDOR2o-8HYkgoOGWhsPyHdkg", + authDomain: "jrotc-database.firebaseapp.com", + databaseURL: "https://jrotc-database.firebaseio.com", + projectId: "jrotc-database", + storageBucket: "jrotc-database.appspot.com", + messagingSenderId: "787128694744" + }; + firebase.initializeApp(config); + setData("company","bravocomments","bravocomments"); + readData("company", function(data) { + document.getElementById("bravocurrentpoints").innerHTML = data.bravopoints + }); +} \ No newline at end of file