Skip to content

Commit

Permalink
Merge pull request #1 from lolcookie/master
Browse files Browse the repository at this point in the history
Update from source
  • Loading branch information
Jean-François Goncalves committed Nov 30, 2015
2 parents 6907b51 + a79f983 commit ed60f73
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 13 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CNAME
2 changes: 2 additions & 0 deletions CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
calc.splatoon.ink

2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ <h1>Splatoon Calculator</h1>


<div class="container" ng-controller="MainCtrl">
<modal title="Error" visible="showModal">
<modal title="Errorbox" visible="showModal" id="modal">
</modal>


Expand Down
5 changes: 4 additions & 1 deletion main.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,10 @@ splatoonApp.directive('modal', function () {
'<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>' +
'<h4 class="modal-title">{{ ErrorMessage }}</h4>' +
'</div>' +
'<div class="modal-body" ng-transclude></div>' +
'<div class="modal-body">' +
'<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>' +
'</div>' +
'</div>' +
'</div>' +
'</div>' +
'</div>',
Expand Down
4 changes: 2 additions & 2 deletions stats.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ angular.module('splatoonApp').stats = function ($scope) {
new Stat("Bomb Throw Range", "%", 0, 150, 60, function (x) {
this.value = Math.min(this.max, (156.8 * (1 + x))/156.8*100);
}),
new Stat("Run Speed", "%", 0, 144, 60, function (x) {
new Stat("Run Speed", " u/s", 0, 144, 60, function (x) {
this.value = Math.min(this.max, 96 * (1 + x));
}),
new Stat("Swim Speed", "%", 0, 240, 120, function (x) {
new Stat("Swim Speed", " u/s", 0, 240, 120, function (x) {
this.value = Math.min(this.max, 192 * (1 + x));
}),
new Stat("Special Charge", "%", 0, 130, 100, function (x) {
Expand Down
13 changes: 4 additions & 9 deletions styles.css
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
#modal {
top: 30%;
}

.h1 {
text-align: center;
}
#banner {
border-bottom: none;
margin-top: -20px;
}

#banner h1 {
font-size: 60px;
line-height: 1;
letter-spacing: -1px;
}
.thing-form {
margin: 20px 0;
}
Expand Down

0 comments on commit ed60f73

Please sign in to comment.