Popup = require '../../popup'

class SharePopup extends Popup
	className: 'popup login-popup'

	confirmBtnClass: 'dim-button button--uc login-button'
	cancelBtnClass: 'green-button button--uc button--icon-right button--go register-button'
	title: 'Only public files can be shared.'
	content: ''
	note: ''
	separator: false
	confirmBtn: 'Make public'
	cancelBtn: 'Show me how'

	onConfirm: ->
		window.open @link, '_blank'

	onCancel: ->
		window.open 'http://blog.widgetic.com/post/115196629521/google-drive-public-files', '_blank'

	setLink: (@link) => @

module.exports = new SharePopup
