ajw120 / Undertale

4 stars 11 forks source link

File Management: HTML, CSS, and JS #17

Open ebeshero opened 4 years ago

ebeshero commented 4 years ago

@ajw120 @Bennediction @bobbyfunks I've just done a git pull to update my local Undertale repo, and I see you're working on website files now. It's also not easy for me to read your HTML files with the CSS and JS, because of inconsistent file directory use. Here's what you need to do:

Make the HTML directory in your GitHub repo be the exact same file structure as what's on the newtfire web server for Undertale. So, if you're going to put HTML and CSS up in the top level of that HTML directory, together with all your HTML files, they should all be set up that way on the web server too. That means you won't have to change the CSS link lines before putting these files up on the web.

Currently, I'm seeing a dialogue directory with Waterfall.html inside it. If I try to preview that file, I don't see its CSS because it's understanding the CSS file to be in the same directory with it. But the CSS is stored in a parent directory, up in HTML above it. That's a file management problem, because we see Snowdin.html saved up in the HTML directory. You need to decide on a stable place for all your HTML files representing the game script to be sitting, and so your CSS link and JavaScript script elements can all be pointing to the same file locations. That way you can output all the files using the same XSLT and make sure they're all properly showing their styling.