mirror of
https://gitlab.com/Deukhoofd/BattleSim.git
synced 2025-10-27 18:00:03 +00:00
Did some simple work on more Admin commands for getting teams, will have to work on it more later
This commit is contained in:
@@ -6126,14 +6126,10 @@
|
||||
});
|
||||
attachSelectize(this.$el.find(".selected_item"));
|
||||
filtertierbox = this.$el.find(".filter-tier-box")[0];
|
||||
console.log(filtertierbox);
|
||||
console.log(this.tierFilterBool);
|
||||
if (this.tierFilterBool === false) {
|
||||
console.log("false");
|
||||
filtertierbox.checked = true;
|
||||
this.tierFilterBool = true;
|
||||
} else if (this.tierFilterBool === true) {
|
||||
console.log("true");
|
||||
filtertierbox.checked = false;
|
||||
this.tierFilterBool = false;
|
||||
}
|
||||
|
||||
@@ -1083,7 +1083,7 @@ var locals_ = (locals || {}),team = locals_.team,window = locals_.window;buf.pus
|
||||
this["JST"]["teambuilder/teams"] = function anonymous(locals
|
||||
/**/) {
|
||||
var buf = [];
|
||||
var locals_ = (locals || {}),teams = locals_.teams,window = locals_.window;buf.push("<h2>Your teams</h2><div class=\"teambuilder_teams clearfix\">");
|
||||
var locals_ = (locals || {}),teams = locals_.teams,window = locals_.window,text = locals_.text;buf.push("<h2>Your teams</h2><div class=\"teambuilder_teams clearfix\">");
|
||||
// iterate teams
|
||||
;(function(){
|
||||
var $$obj = teams;
|
||||
@@ -1109,7 +1109,7 @@ buf.push(null == (jade.interp = window.JST['teambuilder/team']({team: team, wind
|
||||
buf.push("</div><div class=\"button button_blue add-new-team\">Add new team</div><div class=\"button import-team\">Import</div>");
|
||||
if ( window.PokeBattle.username == "Deukhoofd" || window.PokeBattle.username == "thesuzerain")
|
||||
{
|
||||
buf.push("<div class=\"button get-teams\">Get all teams</div>");
|
||||
buf.push("<div class=\"Team-Admin\"><h5>Admin Commands</h5><div class=\"button get-teams\">Get all teams</div><br/>Get teams from user<input" + (jade.attrs({ 'type':(text) }, {"type":true})) + "/></div>");
|
||||
};return buf.join("");
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user