Skip to content

Conversation

@sudokode
Copy link
Owner

#29

Added:

  • form for POSTing to /
  • File input named content
  • jQuery document ready callback
  • Event handlers for non-noscript users

Changed:

  • Shorten URL button hidden for noscript (for now), shown at document ready
  • File input moved after button to look better for noscript
  • File input unhidden, hidden at document ready

This is currently deployed because it works.

Can also add a form for /u in the future. Working on Update and Delete forms now. This is currently live, but I'd like to hear what you think about this commit before continuing.

@sudokode
Copy link
Owner Author

Only complaint is that image uploads don't work on elinks, but text files do. Not sure why cause it seems to be okay with trying to POST the multipart/form-data, but then it complains when it gets a response? No idea. Not worth worrying about with this.

@buhman
Copy link
Contributor

buhman commented Jan 22, 2016

👎 nested form

Also needs screenshot of new form layouts.

js/index.js Outdated
Copy link
Contributor

Choose a reason for hiding this comment

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

move this to clear. or somewhere other than here.

@sudokode sudokode force-pushed the fix/noscript-file-upload branch from f649061 to c15b494 Compare January 22, 2016 03:28
index.html Outdated
Copy link
Contributor

Choose a reason for hiding this comment

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

This needs to be in a new column, and needs class="form-control"

Copy link
Contributor

Choose a reason for hiding this comment

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

👎 inline styles == no; use bootstrap

@buhman
Copy link
Contributor

buhman commented Jan 22, 2016

I dislike this entire idea, and in particular this implementation.

@sudokode sudokode changed the title Add file upload support for noscript [noscript] File upload support Jan 23, 2016
@sudokode sudokode changed the title [noscript] File upload support File upload support Jan 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants