pixlsus / raw

raw.pixls.us website
4 stars 7 forks source link

Thank you screen should give confirmation #53

Closed Beep6581 closed 7 years ago

Beep6581 commented 7 years ago

When filling in the fields in the "Thank you!" screen and pressing the "update" button, I get taken back to https://raw.pixls.us/ with no indication of what just happened. Some kind of alert would be nice on success or failure.

andabata commented 7 years ago

@patdavid if i add a parameter to the index.html (maybe i should change it to a php), can you make a nice banner with "thank you, it will appear after it is validated" kinda text ?

andabata commented 7 years ago

Same mechanism can be used for failed uploads aswell

patdavid commented 7 years ago

@andabata Yes, I'd be happy to make a banner - can you offset the server-side logic in a block for me somwhere (and comment it)? I can make both "Yay - it worked!" and "What did you do, Ray?!"

andabata commented 7 years ago

@patdavid I've added support for a warning banner in the index.php. for now i've added "unwanted" and "thankyou". Only.. i think it needs some proper html sause / english text. Could you look into that ?

patdavid commented 7 years ago

Yes, sorry for being afk at the moment! :( I'm on work travel and banged up.

I'll have a look tomorrow if I'm feeling a little better, should be quick right? :)