Remove Credits popup

The Teambuilder Credits link is now just a link to
http://pokemonshowdown.com/credits
This commit is contained in:
Guangcong Luo
2017-10-21 13:10:12 -04:00
parent a0570290a8
commit be0ca58192
3 changed files with 1 additions and 68 deletions

View File

@@ -881,9 +881,6 @@
this.searching = false;
this.updateSearch();
},
credits: function () {
app.addPopup(CreditsPopup);
},
finduser: function () {
if (app.isDisconnected) {
app.addPopupMessage("You are offline.");
@@ -1093,35 +1090,4 @@
}
});
var CreditsPopup = this.CreditsPopup = Popup.extend({
type: 'semimodal',
initialize: function () {
var buf = '';
buf += '<p style="text-align:center"><img src="' + Tools.resourcePrefix + 'pokemonshowdownbeta.png" alt="Pok&eacute;mon Showdown (beta)" /></p>';
if (Config.version) buf += '<p style="text-align:center;color:#555555"><small>Version <strong>' + Config.version + '</strong></small></p>';
buf += '<h2>Owner</h2>';
buf += '<ul><li><p><a href="http://guangcongluo.com/" target="_blank" class="subtle"><strong>Guangcong Luo</strong> [Zarel]</a> <small>&ndash; Development, Design, Sysadmin</small></p></li></ul>';
buf += '<h2>Staff</h2>';
buf += '<ul><li><p><strong>Chris Monsanto</strong> [chaos] <small>&ndash; Sysadmin</small></p></li>';
buf += '<li><p><strong>Leonardo Julca</strong> [Slayer95] <small>&ndash; Development</small></p></li>';
buf += '<li><p><strong>Mathieu Dias-Martins</strong> [Marty-D] <small>&ndash; Research (game mechanics), Development</small></p></li>';
buf += '<li><p>[<strong>The Immortal</strong>] <small>&ndash; Development</small></p></li></ul>';
buf += '<h2>Retired Staff</h2>';
buf += '<ul><li><p><a href="http://meltsner.com/" target="_blank" class="subtle"><strong>Bill Meltsner</strong> [bmelts]</a> <small>&ndash; Development</small></p></li>';
buf += '<li><p><a href="https://cathyjf.com/" target="_blank" class="subtle"><strong>Cathy J. Fitzpatrick</strong> [cathyjf]</a> <small>&ndash; Development, Sysadmin</small></p></li>';
buf += '<li><p><strong>Hugh Gordon</strong> [V4] <small>&ndash; Research (game mechanics), Development</small></p></li>';
buf += '<li><p><a href="http://www.juanmaserrano.com/" target="_blank" class="subtle"><strong>Juanma Serrano</strong> [Joim]</a> <small>&ndash; Development, Sysadmin</small></p></li></ul>';
buf += '<h2>Major Contributors</h2>';
buf += '<ul><li><p><strong>Bär Halberkamp</strong> [bumbadadabum] <small>&ndash; Development</small></p></li>';
buf += '<li><p><strong>Kevin Lau</strong> [Ascriptmaster] <small>&ndash; Development, Art (battle animations)</small></p></li>';
buf += '<li><p><strong>Konrad Borowski</strong> [xfix] <small>&ndash; Development</small></p></li>';
buf += '<li><p><strong>Neil Rashbrook</strong> [urkerab] <small>&ndashl; Development</small></p></li></ul>';
buf += '<li><p><strong>Quinton Lee</strong> [sirDonovan] <small>&ndash; Development</small></p></li></ul>';
buf += '<h2>More</h2>';
buf += '<ul><li><p><a href="http://pokemonshowdown.com/credits" target="_blank">Full Credits List</a></p></li></ul>';
buf += '<p class="buttonbar"><button name="close" class="autofocus"><strong>They sound like cool people</strong></button></p>';
this.$el.addClass('credits').html(buf);
}
});
}).call(this, jQuery);

View File

@@ -454,7 +454,7 @@
buf += '<p><button class="button" name="greeting" value="W"><i class="fa fa-question-circle"></i> Wait, who are you? Talking to a teambuilder is weird.</button></p>';
} else if (answer === 'W') {
buf += '<p>Oh, I\'m Zarel! I made a Credits button for this...</p>';
buf += '<div class="menugroup"><p><button class="button mainmenu4" name="credits"><i class="fa fa-info-circle"></i> Credits</button></p></div>';
buf += '<div class="menugroup"><p><a href="//pokemonshowdown.com/credits" target="_blank"><button class="button mainmenu4"><i class="fa fa-info-circle"></i> Credits</button></a></p></div>';
buf += '<p>Isn\'t it pretty? Matches your background and everything. It used to be in the Main Menu but we had to get rid of it to save space.</p>';
buf += '<p>Speaking of, you should try <button class="button" name="background"><i class="fa fa-picture-o"></i> changing your background</button>.';
buf += '<p><button class="button" name="greeting" value="B"><i class="fa fa-hand-pointer-o"></i> You might be having too much fun with these buttons and icons</button></p>';
@@ -516,9 +516,6 @@
}
$(button).parent().replaceWith(buf);
},
credits: function () {
app.addPopup(CreditsPopup);
},
background: function () {
app.addPopup(CustomBackgroundPopup);
},

View File

@@ -1229,36 +1229,6 @@ p.or:after {
text-decoration: none;
}
/*********************************************************
* Credits
*********************************************************/
.ps-popup.credits {
max-width: 380px;
margin-top: 20px;
padding: 5px 60px;
}
.credits h2 {
font-size: 11pt;
font-style: italic;
margin-bottom: 0;
color: #6688AA;
}
.credits ul {
padding-left: 1.5em;
margin-top: 0;
margin-bottom: 0;
color: #88AACC;
}
.credits ul li p {
color: black;
}
.credits li small {
font-size: 10pt;
display: block;
color: #555555;
}
/*********************************************************
* Chat
*********************************************************/