Skip to content
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

Created app. No styling, does not display statistics. #1

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

rmonaghanjr
Copy link
Member

I created the base application that functions. Use launch.bat to open the server and the app; refresh if it does not display the first time.

The app contains no styling as of now, and also does not display stats but has the capability to generate them.

@@ -1,104 +1 @@
# Byte-compiled / optimized / DLL files
__pycache__/
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

leave this in as you accidentally committed a pyache file

@itsjstr
Copy link

itsjstr commented May 12, 2019

@dtracers updated.

@itsjstr
Copy link

itsjstr commented May 12, 2019

@dtracers NOW its good

Copy link

@itsjstr itsjstr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

App works.

# mypy
.mypy_cache/
node_modules
__pycache__
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

new line please

LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Apache License
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why did you switch out license?

request("http://127.0.0.1:5000/end")
win = null;
})
})
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

new line



@app.route('/upload', methods = ['GET', 'POST'])
def upload_file():
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

put this in its own file

@app.route('/upload', methods = ['GET', 'POST'])
def upload_file():
if request.method == 'POST':
template = """
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do not put html in a python file
Either use a templeting engine or put the html file client side and have the server just send data.

body {
font-family: 'Gugi', cursive;
}
#header-img {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Styles should be in a separate css file.

</form>
</body>
<script>
function select(elem) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this much javascript should be in a separate js file if possible

<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
</body>
</html>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

newline

@@ -0,0 +1,3 @@
{
"replays_path": "\\Documents\\My Games\\Rocket League\\TAGame\\Demos"
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

newline

}
</script>
</body>
</html>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

newline

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants