Custom Login Shell - Sample 2¶
This sample login shell has a clean look, with no background image. There is a logo and the standard logon form. The logo, button color and footer text can be customized.
Important
If you plan to make extensive changes to the login shell, the person making the changes should be familiar with HTML and CSS. It is beyond the scope of TouchPoint Support to customize the shell for you or to guide you on how to do it yourself. Our support of customization is limited to the items mentioned about when the steps below are followed.
Customizing the Logo¶
You can replace the log in this login shell with your own. The replacement log should be of sufficient quality and resolution to appear crisp on various screen sizes. (The Touchpoint logo in this sample code is 300 x 62 pixels.) To use your own logo, replace the URL on line 26 with the URL to the new logo. Make sure that the URL begins with https:; otherwise the login page may present a security warning to users.
Note
To upload your image to the server and generate the URL to be used in line 26, see Instructions for Using the Older Editor
Customizing the Button Color¶
If desired, you can change the color of the Sign In button to match the colors in the background image or your church’s primary branding colors. Specify the color in RGB hexadecimal format. (For a handy converter for finding the hexadecimal representation, see https://www.rapidtables.com/convert/color/rgb-to-hex.html. Enter the color by replacing the hexadecimal numbers on lines 33 & 34. You will also want to change the color of the button when the cursor is hovering over it. For this, we recommend a slightly darker shade of the primary button color. Enter this by replacing the hexadecimal numbers on lines 39 & 40.
Using the Sample 2 Code¶
To use this sample login shell, copy the code below and paste it into an HTML Content file as directed in Using a Custom Login Page. Then make any desired customizations with the file in Source view.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 | <html>
<head>
<link href="/favicon.ico?v=2" rel="shortcut icon" /><meta charset="utf-8"><meta http-equiv="X-UA-Compatible"
content="IE=edge"><meta name="viewport" content="width=device-width, maximum-scale=1.0">
<title>Logon to TouchPoint</title>
<meta content="width=device-width, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport" />
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet" />
</head>
<body>
<style type="text/css">body {
margin: 0;
}
.content-width{
position: relative;
width:1200px;
margin:0 auto;
padding: 0 10px;
}
.tmpl-header{
position: relative;
z-index:1;
height: 320px;
padding-top: 10px;
background-image: url('https://c4265878.ssl.cf2.rackcdn.com/brett.2002051701.TP-logo-blue-no-slogan-300x62.png');
background-repeat: no-repeat;
background-position:center;
}
.btn.btn-primary.btn-block.btn-lg, .btn.btn-primary.min-width15em {
color: #fff;
background-color: #2892B5;
border-color: #2892B5;
}
.btn.btn-primary.btn-block.btn-lg:hover, .btn.btn-primary.min-width15em:hover {
color: #fff;
background-color: #2888a7;
border-color: #2888a7;
}
.container{
max-width: 700px;
margin:0 auto;
background-color: pink;
}
.form-wrapper{
position:absolute;
z-index:5;
top:220px;
max-width: 500px;
margin-left: 10px;
margin-right: 10px;
padding: 0 10px;
background-color: #ffffff;
}
div.regform {
background-color: #ffffff;
padding: 20px 20px 20px 20px;
}
div.confirm {
background-color: #ffffff;
padding: 20px 20px 100px 20px;
}
div.container div.footer {
position: relative;
bottom: 0px;
}
div.wpcf7{
background-color:#ffffff;
border:2px solid transparent;
box-sizing:border-box;
resize:none;
}
@media only screen and (min-width: 521px) {
.form-wrapper{
left:50%;
transform: translate(-50%);
}
}
</style>
<div class="utilitybar">
<div class="content-width"> </div>
</div>
<div class="tmpl-header"> </div>
<div class="form-wrapper">
<div class="wpcf7"><!--FORM START-->
<style type="text/css">input[type="text"] {
text-transform: lowercase;
}
.account {
text-align: center;
}
.account .form-header {
font-size: 25px;
font-weight: 300;
text-align: center;
margin: 40px 0;
}
.account .no-header {
margin-bottom: 40px;
}
.account .bordered, .account .panel, .account .table, .account hr {
border-color: #e2e2e2;
}
.account .panel {
max-width: 360px;
margin: 0 auto;
padding: 27px;
}
.panel, .panel-default {
border-color: #e4e4e4;
margin-bottom: 22px;
position: relative;
-webkit-box-shadow: none;
box-shadow: none;
}
.account .signin-password {
position: relative;
}
.account .signin-password input {
padding-right: 70px;
}
.account .signin-password .forgot {
position: absolute;
right: 10px;
top: 10px;
color: #555;
background: #f1f1f1;
border-radius: 2px;
line-height: 25px;
padding: 0 7px;
font-size: 12px;
}
.account .signin-with {
max-width: 360px;
padding: 20px;
margin: 0 auto;
text-align: center;
}
.account .signin-with .header {
font-size: 16px;
font-weight: 300;
text-align: center;
margin: 0 0 20px;
}
.account .signin-with .header a {
text-decoration: underline;
}
.account .alert {
width: 360px;
margin: auto;
margin-bottom: 20px;
text-align: left !important;
}
</style>
<div class="account">
<div class="no-header"> </div>
<form action="/Logon" class="panel" method="post">
<div class="form-group"><input autocapitalize="off" autocomplete="off" autocorrect="off" class="form-control input-lg"
id="inputEmail" name="UsernameOrEmail" placeholder="username or email" required="required" type="text" /></div>
<div class="form-group signin-password"><input class="form-control input-lg" id="inputPassword" name="Password"
placeholder="password" required="required" type="password" /> <a class="forgot" href="/Account/ForgotPassword">Forgot?</a></div>
<div class="form-actions"><input class="btn btn-primary btn-block btn-lg" type="submit" value="Sign In" /></div>
</form>
<div class="signin-with">
<div class="header">need an account? <a href="/Account/ForgotPassword">request password</a></div>
</div>
</div>
</div>
<!--FORM END-->
<div class="text-center" style="margin-top: 80px;">
<p><span style="color:#696969;">Need help? Email <a href="mailto:help@mychurch.com">help@mychurch.com</a></span><br />
<span style="color:#696969;">Dallas, TX | 555-555-5555</span></p>
</div>
</div>
</body>
</html>
|
Latest Update | 05/09/2022 |
Update instructions to upload image.