Git Repository Public Repository

namibia

URLs

Copy to Clipboard
 
df0489e1eeeeab5a9bd44e1d84fce49924fe1bac
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
<link rel="stylesheet" href="/css/app/home.css">
<link rel="stylesheet" href="/css/app/mobile_small.css">
<link rel="stylesheet" href="/css/app/login.css">
<div class="row-fluid">
	<div class="span12">
		<br/>
		<center id="unsubTitle">
			<h2 class="head-b-i">Unsubscribe from newsletter</h2>
			<p id="loginTerms">To unsubscribe please provide your login particulars.</p>
		</center>
		<center id="unsubSuccessTitle" style="display:none;">
			<h2 class="head-b-i">Successfully unsubscribed</h2>
			<p>You have have been successfully unsubscribed from all newsletters.</p>
		</center>
		<br/>
		<div id="theNotLoginBox" class="box-login hide">
			<div class="box-login-header">
				Browser Version Incompatibility
			</div>
			<div class="box-login-body">
	  			<p>
	  				This site will not work as intended on this version of Internet Explorer.
	  				Please download IE 9 from
	  				<a target="_blank" href="http://www.microsoft.com/southafrica/ie9/">http://www.microsoft.com/southafrica/ie9/</a>
	  			</p>
	  			<br/><br/>
			</div>
		</div>
		<div id="theLoginBox" class="box-login">
			<div class="box-login-header">
				Unsubscribe
			</div>
			<div class="box-login-body">
				<form id="frmUnsubLogin" class="form form-modal">
				<input class="field" id="postUrl" type="hidden" value="">
				<input class="field" id="postID" type="hidden" value="">
					<br/>
					<div class="control-group left-padding stack">
						<div class="input-prepend login-input">
							<span class="add-on"><i class="icon-user icon-white"></i></span><input class="field"
							id="email" name="email" type="text" placeholder="email"
							value="">
						</div>
						<div id="visiblePin" class="input-prepend">
							<span class="add-on"><i class="icon-asterisk icon-white"></i></span><input class="field"
							id="pin" name="pin" type="text" placeholder="pin">
						</div>
						<div id="maskedPin" class="input-prepend hide">
							<span class="add-on"><i class="icon-asterisk icon-white"></i></span><input class="field"
							id="mpin" name="mpin" type="password" placeholder="pin">
						</div>
					</div>
					<span id="login-fail" class="pull-right"
						data-content=""></span>
					<br/>
					<span>
						<div class="control-group left-padding">
							<div id="togglePassword" class="make-switch switch-small" data-on="dark" data-off="success"
								 data-on-label="ABC" data-off-label="****">
							    <input type="checkbox" class="no-mod" checked>
							</div>
						</div>
						<br/>
					</span>
					<br/>
					<button type="submit" class="btn btn-width" id="btnLogin">Unsubscribe</button>
					<br/>&nbsp;
				</form>
			</div>
		</div>
	</div>
</div>
<input class="field" id="postUrl" name="postUrl" type="hidden" value="">
<input class="field" id="postID" name="postID" type="hidden" value="">

<div class="footerSec navbar-fixed-bottom"><!--footerSec-->
    <div class="footer">
    <ul class="fmenu">
            <li><a href="/" title="">Home</a></li>
            <li><a href="/#/about_us" title="">ABOUT US</a></li>
            <li><a href="/documents/Terms_and_Conditions.pdf" title="" target="_blank">Terms &amp; Conditions</a></li>
            <li><a href="/documents/Legal_Notice.pdf" title="" target="_blank">Legal Notice</a></li>
            <li><a href="/documents/Privacy_Policy.pdf" title="" target="_blank">Privacy Policy</a></li>
            <li><a href="/#/faq" title="">FAQ</a></li>
            <li><a href="/#/contact_us" title="">CONTACT US</a></li>
            <br/>
            <p><font size=3 color="#ffffff">Contact Bid4Cars Helpdesk on 0861 00 70 70</font></p>
    </ul>
    <div class="footer_rgt">
            <ul>
               <!-- 	<li><img src="/imgs/logo-imperial.png" alt="" /></li> 
				<li><a href="/#" title=""><img src="/images/flag01.png" alt="" /></a></li> -->
				<li><a href="/#" title=""><img src="/images/flag02.png" alt="" /></a></li>
            </ul>
            <div class="sig"><a href="/#/register" title="">Sign up</a></div>
    </div>
    </div>
</div><!--/footerSec-->

<script>
	// Limit scope pollution from any deprecated API
	(function() {

	var matched, browser;

	// Use of jQuery.browser is frowned upon.
	// More details: http://api.jquery.com/jQuery.browser
	// jQuery.uaMatch maintained for back-compat
	jQuery.uaMatch = function( ua ) {
		ua = ua.toLowerCase();

		var match = /(chrome)[ \/]([\w.]+)/.exec( ua ) ||
			/(webkit)[ \/]([\w.]+)/.exec( ua ) ||
			/(opera)(?:.*version|)[ \/]([\w.]+)/.exec( ua ) ||
			/(msie) ([\w.]+)/.exec( ua ) ||
			ua.indexOf("compatible") < 0 && /(mozilla)(?:.*? rv:([\w.]+)|)/.exec( ua ) ||
			[];

		return {
			browser: match[ 1 ] || "",
			version: match[ 2 ] || "0"
		};
	};

	matched = jQuery.uaMatch( navigator.userAgent );
	browser = {};

	if ( matched.browser ) {
		browser[ matched.browser ] = true;
		browser.version = matched.version;
	}

	// Chrome is Webkit, but Webkit is also Safari.
	if ( browser.chrome ) {
		browser.webkit = true;
	} else if ( browser.webkit ) {
		browser.safari = true;
	}

	//jQuery.browser = browser;

	/*jQuery.sub = function() {
		function jQuerySub( selector, context ) {
			return new jQuerySub.fn.init( selector, context );
		}
		jQuery.extend( true, jQuerySub, this );
		jQuerySub.superclass = this;
		jQuerySub.fn = jQuerySub.prototype = this();
		jQuerySub.fn.constructor = jQuerySub;
		jQuerySub.sub = this.sub;
		jQuerySub.fn.init = function init( selector, context ) {
			if ( context && context instanceof jQuery && !(context instanceof jQuerySub) ) {
				context = jQuerySub( context );
			}

			return jQuery.fn.init.call( this, selector, context, rootjQuerySub );
		};
		jQuerySub.fn.init.prototype = jQuerySub.fn;
		var rootjQuerySub = jQuerySub(document);
		return jQuerySub;
	};*/

	})();
</script>


<script type="text/javascript">

function setCookie(c_name, value, exdays)
{
	var exdate = new Date();
	exdate.setDate(exdate.getDate() + exdays);
	var c_value = escape(value) + ((exdays == null) ? "" : "; expires=" + exdate.toUTCString());
	document.cookie=c_name + "=" + c_value;
}

$(document).ready(function()
{
  $("#pin").change(function () {
    $("#mpin").val($("#pin").val());
  });
  $("#mpin").change(function () {
    $("#pin").val($("#mpin").val());
  });
	$('#togglePassword').bootstrapSwitch();
	$('#togglePassword').bootstrapSwitch('setSizeClass', 'switch-mini');
	$('#togglePassword').on('switch-change', function (e, data) {
		var $el = $(data.el),
        	value = data.value;
	    if (value)
	    {
	    	$("#visiblePin").show();
	        $("#maskedPin").hide();
	    }
	    else
	    {
	    	$("#visiblePin").hide();
	        $("#maskedPin").show();
	    }
	});
});



</script>

Commits for namibiapublic/templates/page/unsubscribenewsletter.html

Diff revisions: vs.
Revision Author Commited Message
df0489 ... Mark Fri 14 Oct, 2016 10:01:00 +0000

initial commit