Skip to content

Starter HTML boilerplate application for web development with Bootstrap, Font Awesome and pretty URLs.

Notifications You must be signed in to change notification settings

78points/pavlowa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pavlowa 1.0

Starter HTML boilerplate application for web development with Bootstrap, Font Awesome and pretty URLs

Included

Instalation

  • copy files in to server directory
  • update index.php line 4 and linve 7 with correct details
  • create page file in /view directory (exemple: /view/test.php )
  • add page to $safe_pages array in index.php line 14
$allowed = array("home", "contact", "test" );

Defaults

  • header for page are located in /included folder, to include in page add:
$home = true; //set home menu to current
include('included/header.php'); 
  • footer for page are located in /included folder, to include in page add:
include('included/footer.php'); 
  • default view: /view/home.php
  • default 404 view: /view/404.php

Menu

This is how you can set current menu item to active state:

<ul class="nav navbar-nav">
	<li class="<?php if (isset($home)){ echo 'active';} ?>"><a href="home">Home</a></li>
	<li class="<?php if (isset($contact)){ echo 'active';} ?>"><a href="contact">Contact</a></li>
</ul>

Contact form

For contact form to work fill out tows details in /included/subscribe.php

$masterEmail = 'XXXXXXXXXX'; // email address you wish to post form to
$from = 'XXXXXXXXXX'; // sender

Google map

Set latitude and longitude in /view/contact.php

var pos = new google.maps.LatLng( 53.2205654, -6.6593078);

Fake Loader

To set background color, timer and loader type for Fake Loader update /included/footer.php

timeToHide:1300, //timer
spinner:"spinner2", // Options: 'spinner1', 'spinner2', 'spinner3', 'spinner4', 'spinner5', 'spinner6', 'spinner7'
bgColor:"#333", // background color

License

MIT License http://opensource.org/licenses/MIT

Copyright (c) 2015 Pawel Jankowski, 78points.com

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Starter HTML boilerplate application for web development with Bootstrap, Font Awesome and pretty URLs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages