Commit Graph

79 Commits

Author SHA1 Message Date
karemarsy 4b8269b868 Fix the identation of codes
Making codes easier to read
2020-04-21 09:40:46 +02:00
karemarsy d304db99db Implement the submission thank you page
Implementated the page of submission thank you
2020-04-20 19:14:42 +02:00
Yannick f2b264d787 Define a custom layout for submission thank you page 2020-04-20 11:06:52 +02:00
bumi 3dcd7314d0 My english typing is so bad :) 2020-04-15 17:46:47 +02:00
bumi c0064934e9 Merge pull request #14 from bumi/form-partial
Add form update
2020-04-15 15:32:23 +02:00
bumi 51e79f1502 Typo 2020-04-15 15:00:46 +02:00
bumi 47a4de735d Add Airtable demo 2020-04-15 14:53:33 +02:00
bumi 5793b71ae6 Better english 2020-04-14 14:29:22 +02:00
bumi f12238fbd4 Add form update 2020-04-14 14:25:38 +02:00
bumi 4821227895 Experiment with typing cycler 2020-04-14 14:13:06 +02:00
bumi 833c1a5519 Prevent tinyforms.js to init multipe times 2020-04-14 14:13:06 +02:00
bumi 916511edf4 Use turbolinks:load event listener
We use turbolinks so the DOMContentLoaded is not enough
2020-04-14 14:13:06 +02:00
bumi 6381a19d10 Merge pull request #11 from bumi/New-forms-page
Add some styling on create form
2020-04-14 11:59:44 +02:00
bumi 43b044d60f Fix test form and move to public directory to make it easily available
The form is helpful for development. moving it to the public folder makes
it available from http://localhost:3000/testform.html
2020-04-14 11:48:53 +02:00
karemarsy cd5483a9b6 Merge branch 'New-forms-page' of https://github.com/bumi/tinyforms into New-forms-page 2020-04-14 11:31:45 +02:00
karemarsy f5545a54da Remove unnecessary class in column
Removed some unnecessary classes and resize the card
2020-04-14 11:15:01 +02:00
Yannick b978d7d197 Merge branch 'master' into New-forms-page 2020-04-14 09:10:38 +02:00
bumi edf6884647 Add support for Airtable 2020-04-13 23:11:46 +02:00
Yannick 6366aa8e57 Merge branch 'master' into New-forms-page 2020-04-13 19:59:25 +02:00
karemarsy b34b145616 Implement form design 2020-04-13 19:10:56 +02:00
bumi 80fe5f4220 Add magic ID value to demo 2020-04-13 16:27:56 +02:00
bumi 7917e921ad Use help route to redirect to notion hosted help center
This makes it easier for us later change the URL
2020-04-13 16:14:45 +02:00
bumi 80771e7415 Disable demo submit button and add link to contact 2020-04-13 16:14:21 +02:00
bumi 5947cd393e Actually link the google auth button 2020-04-13 15:13:01 +02:00
bumi c478cfc7af Use sorcery for logins
This gives us more flexibility and allows us to use password authentication
later. Also we don't need to build the login functionality ourself.
2020-04-13 14:59:07 +02:00
bumi 73c184a4a0 Use secure token to create attachment links
The link is public but protected by a secure token.

This extends the activesupport Attachment model to automatically
generate a token
2020-04-12 23:47:56 +02:00
bumi bffed7a606 Add sequential_id to calculate auto incrementing submission id 2020-04-12 23:18:55 +02:00
bumi 38166282a7 Add link to help center
currently hosted as public notion page
2020-04-12 16:51:21 +02:00
bumi c26fd593de Personalize thank you message in demo 2020-04-12 16:50:54 +02:00
bumi dfa621d0bc Add submission response to event details in tinyforms.js
This makes the submitted data more easily accessible
2020-04-12 16:50:17 +02:00
bumi 6e3e3ff8f6 Merge pull request #13 from bumi/feature/demo-page
Add demo page
2020-04-12 16:40:33 +02:00
bumi 8b15aed445 Add link to demo google document 2020-04-12 10:09:30 +02:00
bumi b5027d9a07 Add file upload to demo 2020-04-12 01:29:23 +02:00
bumi 3723284f0d Move header into separate partial
This makes the files a bit smaller and easier to read.

Also remove some HTML nesting which should not be necessary.
2020-04-12 01:11:16 +02:00
bumi e46e68cc22 Add demo page
The demo page shows a form and an embedded google sheet side by side.
The form needs be be configured with a DEMO_FORM_ID environment variable.
2020-04-12 01:01:28 +02:00
Yannick af67e44fdf Merge branch 'master' into New-forms-page 2020-04-11 17:28:40 +02:00
Yannick 5c6a7a605d Removed unused classes 2020-04-11 11:51:43 +02:00
Yannick 8e752db364 Add card details in the card footer 2020-04-11 11:47:54 +02:00
Yannick cc95366051 Use fontawesome css import 2020-04-11 11:30:29 +02:00
bumi c5b75d806e Add submission count and date to form card 2020-04-10 22:31:18 +02:00
karemarsy d1b9863257 Add some styling on create form
Added some styling on create form
2020-04-10 21:33:38 +02:00
Yannick 717ec9d602 Add a css updatable navbar color 2020-04-10 21:15:47 +02:00
Yannick 289583e427 Change head color class 2020-04-10 21:10:36 +02:00
Yannick 9279b4b3ef Add link to the excel icon 2020-04-10 20:59:45 +02:00
karemarsy 57c29fb1ed Fix cards to the same height
Make cards to have same height
2020-04-10 20:19:25 +02:00
Yannick 22f8db8f23 Add navbar background color 2020-04-10 09:26:55 +02:00
Yannick 2507ab6080 Fix merge issues 2020-04-09 20:30:37 +02:00
Arsene Karema 5eff2042b3 Merge branch 'master' into forms-index-page 2020-04-09 19:46:55 +02:00
bumi 5514372170 Experiment with colors 2020-04-09 19:15:00 +02:00
bumi 61ee840e19 Less specific classes is better
we can set CSS properties on the actual HTML elements,
here the background color of the html/body
2020-04-09 19:14:04 +02:00