Files
growstuff/app/views/authentications/connected.html.haml
T
Brenda WallaceandClaude Sonnet 5 9d33a0feaf Add a small page for a Flickr connect pop-up to end on
/authentications/connected says whether Flickr got connected and closes
itself. It has no site header or footer, as it appears in a small window.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-22 17:42:26 +12:00

18 lines
584 B
Plaintext

!!! 5
%html{lang: 'en'}
%head
%meta{charset: 'utf-8'}
%meta{name: 'viewport', content: 'width=device-width, initial-scale=1'}
%title= @connected ? 'Flickr connected' : 'Flickr not connected'
= stylesheet_link_tag 'application'
%body.p-4
- if @connected
%h1 Flickr is connected
%p You can close this window and carry on choosing a photo.
- else
%h1 Flickr was not connected
%p You can close this window and try again.
%button.btn{type: 'button', onclick: 'window.close()'} Close this window
:javascript
window.close();