166 Commits

Author SHA1 Message Date
9275e54754
Merge pull request #12 from bumi/move-header-to-partial
Move header into separate partial
2020-04-12 16:40:20 +02:00
8b15aed445 Add link to demo google document 2020-04-12 10:09:30 +02:00
b5027d9a07 Add file upload to demo 2020-04-12 01:29:23 +02:00
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
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
e68d4941f1
Merge pull request #10 from bumi/forms-index-page
Implement the card design
2020-04-11 13:03:15 +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
c5b75d806e Add submission count and date to form card 2020-04-10 22:31:18 +02:00
Yannick
739c67b6b7 Remove unrelated db file 2020-04-10 21:55:42 +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
5514372170 Experiment with colors 2020-04-09 19:15:00 +02:00
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
971eba1355 Move burger menu file to its own file 2020-04-09 18:37:36 +02:00
17d37edf0b Always try to append the data to the spreadsheet
Authentication errors will be caught an logged, but it should be tried.
Expired tokens will get refreshed if possible.
2020-04-09 18:29:56 +02:00
6bfe8fb485 Fix routes 2020-04-09 18:29:56 +02:00
3042f422f6
Merge pull request #9 from bumi/setup-application-layout
Add application layout styling
2020-04-09 18:29:48 +02:00
Yannick
9574734304 Remove javascript snippets from application layout
Moved the javascript codes into the own application.js file
2020-04-09 17:15:47 +02:00
9b3669ed29
Add note about lockbox config 2020-04-09 16:06:08 +02:00
b09fe4c12d Use similar URL for form submitter as for the submission URL 2020-04-09 14:20:35 +02:00
f19d7bb36b Static HTML form for testing 2020-04-09 14:15:53 +02:00
fd9eddedfc Experiment with a simple form builder 2020-04-09 14:15:19 +02:00
d485b1e62e Fix amazon storage config 2020-04-09 14:09:31 +02:00
9c9ed88fa0 That should not be there 2020-04-09 13:39:04 +02:00
829f534afd Configure activestorage for production
access keys and region are configured using environment variables
2020-04-09 12:25:22 +02:00
c1b9f8e701 Add test form in development mode
This helps to test submissions in development mode
2020-04-09 11:53:04 +02:00
94966a9933 Handle authentication errors when appending data
This catches exceptions that can happen when an authentication is expired
or removed by the user on google's side.
2020-04-09 11:51:54 +02:00
10d80c6548 Support file uploads
This allows submissions to store file uploads
2020-04-09 11:02:07 +02:00
73ccddee94 Encrypt access_token and refresh_token 2020-04-09 00:49:20 +02:00
Yannick
beabccbb79 Add fontawesome icons 2020-04-08 20:40:06 +02:00
Yannick
3c5e4ca080 Navbar restructuring 2020-04-08 19:48:08 +02:00
Yannick
11e3c8a40b Remove padding modifiers 2020-04-08 19:30:26 +02:00
Arsene Karema
1339db3567 Implement the card design
Implementation of the form cards
2020-04-08 19:25:42 +02:00
4b0a054596 Update authentication on login
I am not sure about this. but when we get a new access token or refresh
token (which I think we do not) we update those. probably does not hurt?
2020-04-08 16:15:41 +02:00
Yannick
c0e4a30bc5 css cleanup 2020-04-08 14:19:42 +02:00
Yannick
ed105e88db Adjust navbar sizing 2020-04-08 14:15:13 +02:00
Yannick
4550dc214e Add bulma css helpers 2020-04-08 13:59:08 +02:00
c964c15196 Form value handling for Arrays and Hashes
This processes Array and Hash values and converts those to strings that
can be appended to the spreadsheet
2020-04-08 00:52:00 +02:00
Yannick
ff44244308 Add new fonts for the platform 2020-04-07 21:28:10 +02:00
Yannick
ab81cf9d5c Added logout button
Added logged_in helper to allow us to check whether a user is logged in
to show the appropriate button
2020-04-07 20:52:45 +02:00
Yannick
7e4280d451 Add application layout styling
Added application navbar and the page background styling
2020-04-07 20:33:47 +02:00