-
Notifications
You must be signed in to change notification settings - Fork 30
rlbot hub alpha #43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
ghost
wants to merge
63
commits into
RLBot:master
Choose a base branch
from
unknown repository
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
rlbot hub alpha #43
Changes from all commits
Commits
Show all changes
63 commits
Select commit
Hold shift + click to select a range
b2c0a57
Add files via upload
99982e6
Add files via upload
e44c30a
first alpha hub and update to mainstream
c0bd06b
replacing browserfs by fetch api
b084963
Update botmanager.html
c06e22a
download / delete button improvement
0ec4f15
Update botmanager.html
1afcb68
Update botmanager.html
478bfb6
function to pass bot packaging to js
526d650
update functionallity
7717a4a
Update gui.py
066659e
change to botpackage.json
f195343
Update botmanager.html
35f06cc
Update main.html
51a6319
Update botmanager.html
8512f3f
changes to shorten json in repofile (change in repo repo)
78a8948
botmanager js to seperate file
4816f8f
Update botmanager.html
d72cfc1
some canges to make the diff tool happy
6fbdc09
Merge branch 'master' into master
4fb7d6f
Update gui.py
5a29b42
Update gui.py
728b928
Update bot_creation.py
d660a22
Update gui.py
e27fe26
Update gui.py
6bf26ea
Update botmanager.js
86baed1
Update botmanager.js
cb3fd72
Create hubTodo.md
5b7be30
small style changes
d99a1ce
inaccurate closing times
97be127
Update hubTodo.md
7346ce0
copy download bot folder stabillity improvement
1b41e6c
Merge branch 'master' of https://github.com/ard1998/RLBotGUI
19e3cb7
Update botmanager.js
90bc89a
Bracket consistency
f0651a4
Update style.css
829086a
Update botmanager.css
6699b9d
Update botmanager.js
65e9a58
Update botmanager.js
937082b
Update botmanager.js
2034b74
Update botmanager.js
2ca152c
shoren the refresh time
ddd041f
Update botmanager.js
afedc4f
Converting the rlbot hub to vue, mostly.
tarehart def288a
multi repo functions for vue
709b020
small changes to indicate download safety
3dc55f9
deleting botpack functions and giving repo downloads own folder
a95e82c
Add files via upload
a2f4a82
Add files via upload
639973d
vue code fixes and some changes
ec63692
add sideloading via url
cfc2052
Update botmanager.html
284cfff
add news support and some small layout stuff
b54a6eb
small changes
ef75592
Delete hubTodo.md
22ffd71
few bugfixes
3572ce7
embed hub in main
59eea5d
Update gui.py
0bfd8c7
Update style.css
a59b284
Update gui.py
2681fec
Update botmanager.html
e93bb10
hub download section to 3 column
532e01c
undo last commit
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,188 @@ | ||
| <!DOCTYPE html> | ||
| <html> | ||
| <head> | ||
|
|
||
| <meta charset="utf-8"> | ||
| <meta content="width=device-width,initial-scale=1,minimal-ui" name="viewport"> | ||
|
|
||
| <link rel="icon" type="image/png" sizes="192x192" href="imgs/rlbot_logo.png"> | ||
|
|
||
| <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons"/> | ||
| <link rel="stylesheet" href="css/vue-material.min.css"/> | ||
| <link rel="stylesheet" href="css/vue-fonts.css"/> | ||
| <link rel="stylesheet" href="css/black-green-light.css"/> | ||
| <link rel="stylesheet" href="css/style.css"/> | ||
| <link rel="stylesheet" href="css/botmanager.css"/> | ||
|
|
||
| <title>Hub</title> | ||
|
|
||
| </head> | ||
| <body id="rlbotgui"> | ||
| <div id="app"> | ||
|
|
||
| <aside> | ||
| <md-card class="settings-card"> | ||
| <md-card-header> | ||
| <div class="md-title">Filters</div> | ||
| </md-card-header> | ||
|
|
||
| <md-card-content> | ||
|
|
||
| <label for="searchBotName">search</label> | ||
| <input id="searchBotName" onkeyup="reloadCards()" type="text" name="" class="" placeholder="search on bot name"><br> | ||
|
|
||
| <hr> | ||
|
|
||
| <div class="center-flex"> | ||
|
|
||
| <div class="md-layout"> | ||
| <div class="md-layout-item"> | ||
| <label for="gamemodes">Gamemode</label> | ||
| <div id="gamemodes" class="list"> | ||
| <p><input onclick="reloadCards()" type="checkbox" name="gamemode" value="soccar">soccar</p> | ||
| <p><input onclick="reloadCards()" type="checkbox" name="gamemode" value="Hoops">Hoops</p> | ||
| <p><input onclick="reloadCards()" type="checkbox" name="gamemode" value="Dropshot">Dropshot</p> | ||
| <p><input onclick="reloadCards()" type="checkbox" name="gamemode" value="Rumble">Rumble</p> | ||
| <p><input onclick="reloadCards()" type="checkbox" name="gamemode" value="Snowday">Snowday</p> | ||
| </div> | ||
| </div> | ||
| <div class="md-layout-item"> | ||
| <label for="gamemodes">Repo</label> | ||
| <div id="gamemodes" class="list"> | ||
| <p><input onclick="reloadCards()" type="radio" name="source" value="all" checked>all</p> | ||
| <p><input onclick="reloadCards()" type="radio" name="source" value="Trusted">Trusted</p> | ||
| <p><input onclick="reloadCards()" type="radio" name="source" value="UnverifiedCommunity">UnverifiedCommunity</p> | ||
| <p><input onclick="reloadCards()" type="radio" name="source" value="localRepo">localRepo</p> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| </div> | ||
|
|
||
| <button @click="showNewRepoDialog = true;">Add custom repo</button> | ||
|
|
||
| </md-card-content> | ||
| </md-card> | ||
|
|
||
| <md-card class="settings-card"> | ||
| <md-card-header> | ||
| <div class="md-title">Beta notice</div> | ||
| </md-card-header> | ||
|
|
||
| <md-card-content> | ||
|
|
||
| <div class="center-flex"> | ||
|
|
||
| <div class="md-layout"> | ||
| <p>The hub is an beta preview. bugs can occur more often then expected.</p> | ||
| </div> | ||
| </div> | ||
|
|
||
| </md-card-content> | ||
| </md-card> | ||
|
|
||
| <md-card class="settings-card"> | ||
| <md-card-header> | ||
| <div class="md-title">News</div> | ||
| </md-card-header> | ||
|
|
||
| <md-card-content> | ||
|
|
||
| <div class="center-flex"> | ||
|
|
||
| <table> | ||
| <tr v-for="newsItem in newsItems"> | ||
| <td>{{newsItem.date}}</td> | ||
| <td>{{newsItem.content}}</td> | ||
| </tr> | ||
| </table> | ||
| </div> | ||
|
|
||
| </md-card-content> | ||
| </md-card> | ||
| </aside> | ||
|
|
||
| <div id="main"> | ||
|
|
||
| <div v-for="repo in repos" class="md-card settings-card md-theme-default" :key="repo.ID" v-if="repo.display"> | ||
| <div class="md-card-header"> | ||
| <div class="md-title">{{repo.name}} | ||
| <small v-if="!repo.is_installed || repo.is_installed && repo.localVersion === repo.onlineVersion" >Version {{repo.onlineVersion}}</small> | ||
| <small v-if="repo.is_installed && repo.localVersion !== repo.onlineVersion" >Version {{repo.localVersion}}, an update to version Version {{repo.onlineVersion}} is available</small> | ||
| </div> | ||
| </div> | ||
| <div class="md-card-content"> | ||
| <div class="center-flex"> | ||
| <div class="md-layout md-gutter"> | ||
| <div class="md-layout-item botinfo-short"><label for="gamemodes-0"><b>Gamemode</b></label> | ||
| <p id="gamemodes-0" class="managerInfo"> | ||
| <span class="gamemode" v-for="mode in repo.gamemodes">{{mode.name}} </span> | ||
| </p> | ||
| </div> | ||
| <div class="md-layout-item botinfo-short"><label for="type-0"><b>Categories</b></label> | ||
| <p id="type-0" class="managerInfo"> | ||
| <span class="category" v-for="category in repo.categories">{{category.name}} </span> | ||
| </p> | ||
| </div> | ||
| <div class="md-layout-item botinfo-long"><label for="type-0"><b>Description</b></label> | ||
| <p id="type-0" class="managerInfo"> | ||
| <span>{{repo.description}} </span> | ||
| </p> | ||
| </div> | ||
| <div class="md-layout-item botinfo-short"><label for="type-0"><b>Source</b></label> | ||
| <p id="type-0" class="managerInfo"> | ||
| <span>{{repo.repoName}} </span> | ||
| </p> | ||
| </div> | ||
| </div> | ||
| <span style="flex-grow: 1;"></span> | ||
| <button type="button" class="md-button md-primary md-raised md-theme-default"> | ||
| <div class="md-ripple"> | ||
| <div v-if="!repo.is_installed" class="md-button-content" | ||
| @click="downloadBot(repo)"> | ||
| Download | ||
| </div> | ||
| <div v-if="repo.is_installed && repo.localVersion === repo.onlineVersion" | ||
| class="md-button-content" | ||
| @click="deleteBot(repo)"> | ||
| Delete | ||
| </div> | ||
| <div v-if="repo.is_installed && repo.localVersion !== repo.onlineVersion" | ||
| class="md-button-content" | ||
| @click="updateBot(repo)"> | ||
| Update | ||
| </div> | ||
| </div> | ||
| </button> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| <md-dialog :md-active.sync="showNewRepoDialog"> | ||
| <md-dialog-title>Add bot to local repo</md-dialog-title> | ||
|
|
||
| <md-dialog-content> | ||
| <md-field> | ||
| <label>Repo url</label> | ||
| <md-input v-model="newRepoUrl"></md-input> | ||
| </md-field> | ||
| <md-field> | ||
| <label>Folder Name</label> | ||
| <md-input v-model="newRepoFolder"></md-input> | ||
| </md-field> | ||
| </md-dialog-content> | ||
|
|
||
| <md-dialog-actions> | ||
| <md-button class="md-raised md-primary" @click="addBotToLocalRepofile(newRepoUrl, newRepoFolder)">Begin</md-button> | ||
| <md-button @click="showNewRepoDialog = false">Close</md-button> | ||
| </md-dialog-actions> | ||
| </md-dialog> | ||
| </div> | ||
|
|
||
| <script type="text/javascript" src="/eel.js"></script> | ||
| <script type="text/javascript" src="js/vue.js"></script> | ||
| <script type="text/javascript" src="js/vue-material.min.js"></script> | ||
| <script type="text/javascript" src="js/Sortable.min.js"></script> | ||
| <script type="text/javascript" src="js/vuedraggable.min.js"></script> | ||
| <script type="text/javascript" src="js/botmanager.js"></script> | ||
| </body> | ||
| </html> |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.