Custom Login Shell - Sample 3

This sample login shell has both a logo (at the top center) and a background image. The logo, image, 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 Image

You can replace the background image in this login shell. The replacement image should be approximately the same size as the included image (947 x 635 pixels) or greater. To use your own image, replace the URL on line 60 with the URL to the new image. Make sure that the URL begins with https:; otherwise the login page may present a security warning to users.

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 21 & 22. 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 27 & 28.

Using the Sample 3 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
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
<html>
<head>
</head>
<body>
<form action="/Logon" class="panel" method="post">
<p style="text-align: center;">
    <img alt="TouchPoint Church" src="https://c4265878.ssl.cf2.rackcdn.com/brett.2002051701.TP-logo-blue-no-slogan-300x62.png" /></p>
</form>
</body>
<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"></html>
<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" />
<style type="text/css">body {
    margin: 0;
    }

.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;
    }

.content-width{
    position: relative;
    width:1200px;
    margin:0 auto;
    padding: 0 10px;
    }

.utilitybar {
    background-color: #2892B5;
    padding: 8px 0;
    text-align: left;
    }

.utilitybar a {
    font-size: 10px;
    color:#bbb;
    text-decoration: none;
    transition:0.25s;
    }

.utilitybar a:hover {
    color:#fff;
    }

.tmpl-header {
    position: relative;
    z-index:1;
    height: 600px;
    padding-top: 28px;
    background-image: url('https://c4265878.ssl.cf2.rackcdn.com/brett.2002051726.steeple2.jpg');
    background-color: #2892B5;
    background-size: cover;
    background-repeat: no-repeat;
    border-bottom:35px solid #2892B5;
    }

.container{
    max-width: 700px;
    margin:0 auto;
    background-color: blue;
    }

.form-wrapper{
    position:absolute;
    z-index:5;
    top:260px;
    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">&nbsp;</div>
</div>

<div class="tmpl-header">&nbsp;</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: #flflfl;
    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">&nbsp;</div>

<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"><span style="font-size:14px;"><span style="font-family:Arial,Helvetica,sans-serif;"><span style="background-color:#dda0dd;">
    <input class="btn btn-primary btn-block btn-lg" type="submit" value="Sign In" /></span></span></span></div>

<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?subject=Problem%20with%20login">help@mychurch.com</a></span></p>
<p><span style="color:#696969;">Dallas, TX | 555.555.5555 </span></p>
</div>
</div>
</body>
</html>


Latest Update 02/21/2020

Added this article for sample login shell 3 of 4.

© 2020 TouchPoint Software, LLC.  All rights reserved.