'use strict'; import React from 'react'; import Router from 'react-router'; import GlobalNotificationModel from '../models/global_notification_model'; import GlobalNotificationActions from '../actions/global_notification_actions'; import Form from './ascribe_forms/form'; import Property from './ascribe_forms/property'; import InputTextAreaToggable from './ascribe_forms/input_textarea_toggable'; import ApiUrls from '../constants/api_urls'; import { getLangText } from '../utils/lang_utils'; let CoaVerifyContainer = React.createClass({ mixins: [Router.Navigation], render() { return (

{getLangText('Verify your Certificate of Authenticity')}


{getLangText('ascribe is using the following public key for verification')}:
                -----BEGIN PUBLIC KEY-----
                MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDddadqY31kKPFYk8PQA8BWSTbm
                gaGf9KEYBALp2nWAJcwq80qBzGF+gfi0Z+yb4ooeKHl27GnuxZYValE1Z5ZujfeJ
                TgO4li59ZMYiah8oXZp/OysrBwCvWw0PtWd8/D9Nc4PqyOz5gzEh6kFah5VsuAke
                Znu2w7KmeLZ85SmwEQIDAQAB
                -----END PUBLIC KEY-----
                
); } }); let CoaVerifyForm = React.createClass({ mixins: [Router.Navigation], handleSuccess(response){ let notification = null; if (response.verdict) { notification = new GlobalNotificationModel(getLangText('Certificate of Authenticity successfully verified'), 'success'); GlobalNotificationActions.appendGlobalNotification(notification); } }, render() { return (
{getLangText('Verify your Certificate of Authenticity')} } spinner={ }>
); } }); export default CoaVerifyContainer;