Skip to content

Instantly share code, notes, and snippets.

@simonmorley
Last active August 29, 2015 14:13
Show Gist options
  • Save simonmorley/15c6f3dab14648f5a29e to your computer and use it in GitHub Desktop.
Save simonmorley/15c6f3dab14648f5a29e to your computer and use it in GitHub Desktop.
medium, designing a splash page, json response for login pages
{
"splash": {
"location_name": "Sh** got real",
"token": "87d12f7c-3d87-42ce-9ce5-45b0234c1555",
"announcement": null,
"logo_file_name": "https://d247kqobagyqjh.cloudfront.net/api/file/QPcfBDMQ4GIws26Bn63g",
"background_image_name": "",
"location_image_name": "",
"location_image_name_svg": null,
"header_image_name": null,
"header_image_name_svg": null,
"header_image_type": 1,
"design_id": 1,
"header_text": "Welcome to S*** Got Real",
"info": "This is a generic page, get designing!",
"info_two": "",
"error_message_text": null,
"container_width": "850px",
"body_background_colour": "#ffffff",
"heading_text_colour": "#f0f0f0",
"body_text_colour": "#9e9e9e",
"border_colour": "#cccccc",
"link_colour": "#bdbdbd",
"container_colour": "#000000",
"button_colour": "#ffffff",
"header_colour": "#FFFFFF",
"error_colour": "#ED561B",
"container_transparency": "1",
"container_text_align": "center",
"container_float": "center",
"container_inner_width": "100%",
"bg_dimension": "full",
"words_position": "right",
"logo_position": "center",
"font_family": "Helvetica, Arial, sans-serif",
"body_font_size": "12px",
"heading_text_size": "18px",
"heading_2_text_size": "12px",
"heading_2_text_colour": "#dedede",
"heading_3_text_size": "12px",
"heading_3_text_colour": "#bdbdbd",
"btn_text": "Login Now",
"btn_font_size": "18px",
"btn_font_colour": "#000000",
"address": "62 Britton Street, London EC1M",
"terms_url": "here ia m",
"custom_form_code": null,
"custom_html": null,
"custom_json": null,
"custom_css": "body {background-color: transparent;}",
"custom_url": "http://www.polkaspots.com/stylesheets/polkaspots.css",
"registration_url": null,
"remove_registration_link": false,
"instagram_active": false,
"newsletter_active": true,
"forgot_password_link": true,
"twitter_name": "polkaspots",
"google_name": "polkaspots",
"pinterest_name": "polkaspots",
"facebook_name": "polkaspots",
"linkedin_name": "polkaspots",
"instagram_name": "polkaspots",
"website": "polkaspots.com"
},
"form": {
"body": "<div id='message'></div>\n<form name='form1' METHOD='get' action='#' id=\"login_form\" data-remote=\"true\">\n<p><label for='id_email'>Enter your email</label> <input type ='text' name='email_newsletter' class='form-control' placeholder=\"What's your email\"/></p>\n <div class=\"checkbox\">\n <label><input type=\"checkbox\" checked='true'>Sign-up for our newsletter?</label>\n </div>\n<div class=\"test\">\n<input type='submit' name='login' value='Login Now' class='btn btn-lg btn-default'>\n<input type='hidden' name='success_url' value = \"http://polkaspots.com/awesome\" />\n<p class=\"muted small\">By logging in, you agree our terms of use</p>\n</div>"
},
"redirects": {
"success_url": "http://polkaspots.com/awesome",
"welcome_text": "I am a god of all enternity",
"welcome_timeout": null,
"show_welcome": true
},
"error": null
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment