mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-09-12 13:59:09 -05:00
Remove Credits popup
The Teambuilder Credits link is now just a link to http://pokemonshowdown.com/credits
This commit is contained in:
@@ -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é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>– Development, Design, Sysadmin</small></p></li></ul>';
|
||||
buf += '<h2>Staff</h2>';
|
||||
buf += '<ul><li><p><strong>Chris Monsanto</strong> [chaos] <small>– Sysadmin</small></p></li>';
|
||||
buf += '<li><p><strong>Leonardo Julca</strong> [Slayer95] <small>– Development</small></p></li>';
|
||||
buf += '<li><p><strong>Mathieu Dias-Martins</strong> [Marty-D] <small>– Research (game mechanics), Development</small></p></li>';
|
||||
buf += '<li><p>[<strong>The Immortal</strong>] <small>– 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>– Development</small></p></li>';
|
||||
buf += '<li><p><a href="https://cathyjf.com/" target="_blank" class="subtle"><strong>Cathy J. Fitzpatrick</strong> [cathyjf]</a> <small>– Development, Sysadmin</small></p></li>';
|
||||
buf += '<li><p><strong>Hugh Gordon</strong> [V4] <small>– 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>– Development, Sysadmin</small></p></li></ul>';
|
||||
buf += '<h2>Major Contributors</h2>';
|
||||
buf += '<ul><li><p><strong>Bär Halberkamp</strong> [bumbadadabum] <small>– Development</small></p></li>';
|
||||
buf += '<li><p><strong>Kevin Lau</strong> [Ascriptmaster] <small>– Development, Art (battle animations)</small></p></li>';
|
||||
buf += '<li><p><strong>Konrad Borowski</strong> [xfix] <small>– 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>– 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);
|
||||
|
||||
@@ -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);
|
||||
},
|
||||
|
||||
@@ -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
|
||||
*********************************************************/
|
||||
|
||||
Reference in New Issue
Block a user