Did some simple work on more Admin commands for getting teams, will have to work on it more later
This commit is contained in:
parent
b9c2d479b7
commit
540428ae87
|
@ -2,6 +2,10 @@ $header = 50px
|
|||
$pokemon-list-height = 50px
|
||||
|
||||
// TODO: Make this a global style
|
||||
.Team-Admin
|
||||
border: 1px solid black;
|
||||
width: 40%;
|
||||
margin-left: 10px;
|
||||
.teambuilder input
|
||||
.teambuilder select
|
||||
box-sizing border-box
|
||||
|
|
|
@ -5,5 +5,11 @@ h2 Your teams
|
|||
.button.button_blue.add-new-team Add new team
|
||||
.button.import-team Import
|
||||
|
||||
|
||||
if window.PokeBattle.username == "Deukhoofd" || window.PokeBattle.username == "thesuzerain"
|
||||
.button.get-teams Get all teams
|
||||
div.Team-Admin
|
||||
h5 Admin Commands
|
||||
.button.get-teams Get all teams
|
||||
br
|
||||
| Get teams from user
|
||||
input(type=text)
|
||||
|
|
|
@ -450,7 +450,8 @@ h1{font-family:"PT Sans Narrow","Helvetica Neue",sans-serif;font-size:2em;font-w
|
|||
100%{-webkit-transform:translate(200%,100%);-moz-transform:translate(200%,100%);-o-transform:translate(200%,100%);-ms-transform:translate(200%,100%);transform:translate(200%,100%)}
|
||||
}@keyframes sandstorm{0%{-webkit-transform:translate(0,0);-moz-transform:translate(0,0);-o-transform:translate(0,0);-ms-transform:translate(0,0);transform:translate(0,0)}
|
||||
100%{-webkit-transform:translate(200%,100%);-moz-transform:translate(200%,100%);-o-transform:translate(200%,100%);-ms-transform:translate(200%,100%);transform:translate(200%,100%)}
|
||||
}.teambuilder input,.teambuilder select{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;height:28px}
|
||||
}.Team-Admin{border:1px solid #000;width:40%;margin-left:10px}
|
||||
.teambuilder input,.teambuilder select{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;height:28px}
|
||||
.teambuilder .selectize-input input{height:18px}
|
||||
.teambuilder{position:absolute;top:0;bottom:0;left:0;right:0;}
|
||||
.teambuilder select,.teambuilder input{margin-bottom:0 !important;width:100%}
|
||||
|
|
|
@ -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("");
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue