mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-10-31 11:21:06 -04:00
/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>
18 lines
584 B
Plaintext
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();
|