Alan Lam 8 лет назад
Родитель
Сommit
0117c39a69

+ 3 - 0
controllers/services.php

@@ -6,6 +6,9 @@ Core::addBreadcrumb("/services", $page_title);
 
 View::includeOnce("header", compact("page_title"));
 View::include("services");
+View::include("modal_services_1");
+View::include("modal_services_2");
+View::include("modal_services_3");
 View::includeOnce("footer");
 
 ?>

Разница между файлами не показана из-за своего большого размера
+ 0 - 0
public/css/bootstrap.min.css


+ 6 - 0
scss/_main.scss

@@ -2,6 +2,12 @@ body {
 	padding-top: 56px;
 }
 
+.block-link {
+	&:hover {
+		text-decoration: none;
+	}
+}
+
 .stat {
 	font-size: 2.5rem;
 	line-height: 1;

+ 24 - 0
views/modal_services_1.php

@@ -0,0 +1,24 @@
+<div class="modal fade" id="modal-services-1" tabindex="-1" role="dialog">
+	<div class="modal-dialog" role="document">
+		<div class="modal-content">
+			<form>
+				<div class="modal-header">
+					<h5 class="modal-title"><strong>Age-Related Products</strong></h5>
+					<button type="button" class="close" data-dismiss="modal" aria-label="Close">
+						<span aria-hidden="true">&times;</span>
+					</button>
+				</div>
+				<div class="modal-body">
+					<p>If you are selling age-related products or services such as cigarettes, alcohol and gambling. Then it is advisable to be tested independently to ensure you are able to identify and refuse persons wishing to purchase your services. Again this sounds very easy, to ask someones age and verify it, but in reality it's quite an issue.</p>
+
+					<p>A simple check by one of Check Policy's mystery shoppers will determine whether you and your staff are adhering to guidelines when serving age-related products.</p>
+
+					<p>How it works:<br />
+					One of our Shoppers will visit your site and try to purchase an age-related product or service. If they are successful and not asked any questions to verify their age you will fail. The test report will be sent to you immediately upon completing the test by our automated system; designed to show the full procedure of the test and after you can make a decision to opt for further training if needed.</p>
+
+					<p>Check Policy is here to help and guide you along the way.</p>
+				</div>
+			</form>
+		</div>
+	</div>
+</div>

+ 22 - 0
views/modal_services_2.php

@@ -0,0 +1,22 @@
+<div class="modal fade" id="modal-services-2" tabindex="-1" role="dialog">
+	<div class="modal-dialog" role="document">
+		<div class="modal-content">
+			<form>
+				<div class="modal-header">
+					<h5 class="modal-title"><strong>Age Verification Testing</strong></h5>
+					<button type="button" class="close" data-dismiss="modal" aria-label="Close">
+						<span aria-hidden="true">&times;</span>
+					</button>
+				</div>
+				<div class="modal-body">
+					<p>It sounds simple doesn't it, to verify someones age?!<br />
+					However our tests have revealed that it's quite a challenge for some people to actually ask for ID when selling age-related products or services. It is against the law to sell age-related products or services to minors so it does become quite an issue.</p>
+
+					<p>Our tests are designed to show if you or your team are asking the right questions and getting the honest answer in return.</p>
+
+					<p>Training courses are designed to help you and your team meet the demanding requirements, by law, to verify age; and how to ask is very important without offending – keep safe and get training.</p>
+				</div>
+			</form>
+		</div>
+	</div>
+</div>

+ 19 - 0
views/modal_services_3.php

@@ -0,0 +1,19 @@
+<div class="modal fade" id="modal-services-3" tabindex="-1" role="dialog">
+	<div class="modal-dialog" role="document">
+		<div class="modal-content">
+			<form>
+				<div class="modal-header">
+					<h5 class="modal-title"><strong>Bespoke Policy Checks</strong></h5>
+					<button type="button" class="close" data-dismiss="modal" aria-label="Close">
+						<span aria-hidden="true">&times;</span>
+					</button>
+				</div>
+				<div class="modal-body">
+					<p>Unlike our other tests which are quite specific, this service is tailored to suit your business. We were approached by several clients to test their premises for various company policy related issues such as attire, attitude and so on.</p>
+
+					<p>First impressions count, so if your staff aren't presenting the "Face of the Company" correctly, you may lose that client and all the possible benefits with it. A simple test by Check Policy will help you train your staff accordingly and keep them sharp with company policy.</p>
+				</div>
+			</form>
+		</div>
+	</div>
+</div>

+ 32 - 31
views/services.php

@@ -4,41 +4,42 @@
 
 	<div class="row">
 		<div class="col-md-4 mb-3 text-center">
-
-			<div class="p-3" style="background: #d7171f; color: white;">
-				<strong>
-					AGE RELATED PRODUCTS
-				</strong>
-			</div>
-			<div class="p-3" style="background: #231f20; color: white;">
-				Testing your team to keep you and your clients safe.
-			</div>
-
+			<a class="block-link" href="#" data-toggle="modal" data-target="#modal-services-1">
+				<div class="p-3 bg-danger text-white">
+					<strong>
+						AGE RELATED PRODUCTS
+					</strong>
+				</div>
+				<div class="p-3 bg-dark text-white">
+					Testing your team to keep you and your clients safe.
+				</div>
+			</a>
 		</div>
 		<div class="col-md-4 mb-3 text-center">
-
-			<div class="p-3" style="background: #d7171f; color: white;">
-				<strong>
-					AGE VERIFICATION TESTING
-				</strong>
-			</div>
-			<div class="p-3" style="background: #231f20; color: white;">
-				Being prepared.<br />
-				Better protected.
-			</div>
-
+			<a class="block-link" href="#" data-toggle="modal" data-target="#modal-services-2">
+				<div class="p-3 bg-danger text-white">
+					<strong>
+						AGE VERIFICATION TESTING
+					</strong>
+				</div>
+				<div class="p-3 bg-dark text-white">
+					Being prepared.<br />
+					Better protected.
+				</div>
+			</a>
 		</div>
 		<div class="col-md-4 mb-3 text-center">
-
-			<div class="p-3" style="background: #d7171f; color: white;">
-				<strong>
-					BESPOKE POLICY CHECKS
-				</strong>
-			</div>
-			<div class="p-3" style="background: #231f20; color: white;">
-				Need a specific check?<br />
-				We can cover it!
-			</div>
+			<a class="block-link" href="#" data-toggle="modal" data-target="#modal-services-3">
+				<div class="p-3 bg-danger text-white">
+					<strong>
+						BESPOKE POLICY CHECKS
+					</strong>
+				</div>
+				<div class="p-3 bg-dark text-white">
+					Need a specific check?<br />
+					We can cover it!
+				</div>
+			</a>
 		</div>
 	</div>
 

Некоторые файлы не были показаны из-за большого количества измененных файлов