JSFiddle - React, Tailwind, and code Playground
by dixalex
HTML
<span class="timeDateOne"><span></span></span>
<span class="monthText"><span></span></span>
JavaScript
//Time and Date Widget.
// <![CDATA[
//Life Fun CSS Clean Up + Table Wrap Solution
if (window.location.href === "https://researchresults.opinioninsight.com/panel/portal/community_24_1_1.php/auth") {
window.location.href = 'https://researchresults.opinioninsight.com/panel/portal/community_24_1_1.php';
}
$(document).ready(function() {
if ($('.bodyWrapper').length == 0) {
$('body:eq(0)').wrapInner('<div class="bodyWrapper" />').css("background-color", "#166683");
$('.blue').children().hide();
$('.imagePlaceHolder img').on("click", function() {
window.location.href = "%PORTAL_URL%page/1";
});
$('.imagePlaceHolder img:eq(0)').css("cursor", "pointer");
$('.blue button').css("cursor", "not-allowed");
$('#menu').before($('#header'));
var emailLabel = $('label:eq(0)').attr("for"),
homePage = $('[for=dateformat]').length,
logOut = false;
if ((emailLabel === "username" || emailLabel === "login_username") && homePage === 0) {
logOut = true;
console.log("Logged Out is" + logOut);
$('table#footerTable td').css({
"width": "20%",
"max-width": "20%",
"min-width": "20%",
"text-align": "center"
});
$('.sweepStakes').closest('td').hide();
$('label:eq(0)').html("<span>Email Address:</span>");
$('label:eq(1)').text("Password:");
var captchaFormat = function() {
var tdUser = $('#loginTable').find('td.userName'),
tdPass = $('#loginTable').find('td.passWord'),
inputUser = $('#loginTable').find('td.userInput'),
inputPass = $('#loginTable').find('td.passInput'),
logButton = $('#loginTable').find('td.loginButton'),
tdCaptcha = $('#loginTable').find('td.captchaCell');
logButton.append($('div#login_field'));
tdUser.append($('[for=username]'));
tdPass.append($('[for=password]'));
inputUser.append($('#password'));
inputPass.append($('#username'));
...