demo site
This commit is contained in:
parent
8fc46d0ea9
commit
ed284c9519
9 changed files with 1050 additions and 25 deletions
445
freelancer/css/freelancer.css
Executable file
445
freelancer/css/freelancer.css
Executable file
|
|
@ -0,0 +1,445 @@
|
|||
/*!
|
||||
* Start Bootstrap - Freelancer Bootstrap Theme (http://startbootstrap.com)
|
||||
* Code licensed under the Apache License v2.0.
|
||||
* For details, see http://www.apache.org/licenses/LICENSE-2.0.
|
||||
*/
|
||||
|
||||
body {
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
p.small {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
a,
|
||||
a:hover,
|
||||
a:focus,
|
||||
a:active,
|
||||
a.active {
|
||||
outline: 0;
|
||||
color: #18bc9c;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
text-transform: uppercase;
|
||||
font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
hr.star-light,
|
||||
hr.star-primary {
|
||||
margin: 25px auto 30px;
|
||||
padding: 0;
|
||||
max-width: 250px;
|
||||
border: 0;
|
||||
border-top: solid 5px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
hr.star-light:after,
|
||||
hr.star-primary:after {
|
||||
content: "\f005";
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
top: -.8em;
|
||||
padding: 0 .25em;
|
||||
font-family: FontAwesome;
|
||||
font-size: 2em;
|
||||
}
|
||||
|
||||
hr.star-light {
|
||||
border-color: #fff;
|
||||
}
|
||||
|
||||
hr.star-light:after {
|
||||
color: #fff;
|
||||
background-color: #18bc9c;
|
||||
}
|
||||
|
||||
hr.star-primary {
|
||||
border-color: #2c3e50;
|
||||
}
|
||||
|
||||
hr.star-primary:after {
|
||||
color: #2c3e50;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
.img-centered {
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
header {
|
||||
text-align: center;
|
||||
color: #fff;
|
||||
background: #18bc9c;
|
||||
}
|
||||
|
||||
header .container {
|
||||
padding-top: 100px;
|
||||
padding-bottom: 50px;
|
||||
}
|
||||
|
||||
header img {
|
||||
display: block;
|
||||
margin: 0 auto 20px;
|
||||
}
|
||||
|
||||
header .intro-text .name {
|
||||
display: block;
|
||||
text-transform: uppercase;
|
||||
font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
|
||||
font-size: 2em;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
header .intro-text .skills {
|
||||
font-size: 1.25em;
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
@media(min-width:768px) {
|
||||
header .container {
|
||||
padding-top: 200px;
|
||||
padding-bottom: 100px;
|
||||
}
|
||||
|
||||
header .intro-text .name {
|
||||
font-size: 4.75em;
|
||||
}
|
||||
|
||||
header .intro-text .skills {
|
||||
font-size: 1.75em;
|
||||
}
|
||||
}
|
||||
|
||||
@media(min-width:768px) {
|
||||
.navbar-fixed-top {
|
||||
padding: 25px 0;
|
||||
-webkit-transition: padding .3s;
|
||||
-moz-transition: padding .3s;
|
||||
transition: padding .3s;
|
||||
}
|
||||
|
||||
.navbar-fixed-top .navbar-brand {
|
||||
font-size: 2em;
|
||||
-webkit-transition: all .3s;
|
||||
-moz-transition: all .3s;
|
||||
transition: all .3s;
|
||||
}
|
||||
|
||||
.navbar-fixed-top.navbar-shrink {
|
||||
padding: 10px 0;
|
||||
}
|
||||
|
||||
.navbar-fixed-top.navbar-shrink .navbar-brand {
|
||||
font-size: 1.5em;
|
||||
}
|
||||
}
|
||||
|
||||
.navbar {
|
||||
text-transform: uppercase;
|
||||
font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.navbar a:focus {
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
.navbar .navbar-nav {
|
||||
letter-spacing: 1px;
|
||||
}
|
||||
|
||||
.navbar .navbar-nav li a:focus {
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
.navbar-default,
|
||||
.navbar-inverse {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
section {
|
||||
padding: 100px 0;
|
||||
}
|
||||
|
||||
section h2 {
|
||||
margin: 0;
|
||||
font-size: 3em;
|
||||
}
|
||||
|
||||
section.success {
|
||||
color: #fff;
|
||||
background: #18bc9c;
|
||||
}
|
||||
|
||||
@media(max-width:767px) {
|
||||
section {
|
||||
padding: 75px 0;
|
||||
}
|
||||
|
||||
section.first {
|
||||
padding-top: 75px;
|
||||
}
|
||||
}
|
||||
|
||||
#portfolio .portfolio-item {
|
||||
right: 0;
|
||||
margin: 0 0 15px;
|
||||
}
|
||||
|
||||
#portfolio .portfolio-item .portfolio-link {
|
||||
display: block;
|
||||
position: relative;
|
||||
margin: 0 auto;
|
||||
max-width: 400px;
|
||||
}
|
||||
|
||||
#portfolio .portfolio-item .portfolio-link .caption {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
opacity: 0;
|
||||
background: rgba(24,188,156,.9);
|
||||
-webkit-transition: all ease .5s;
|
||||
-moz-transition: all ease .5s;
|
||||
transition: all ease .5s;
|
||||
}
|
||||
|
||||
#portfolio .portfolio-item .portfolio-link .caption:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
#portfolio .portfolio-item .portfolio-link .caption .caption-content {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
width: 100%;
|
||||
height: 20px;
|
||||
margin-top: -12px;
|
||||
text-align: center;
|
||||
font-size: 20px;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#portfolio .portfolio-item .portfolio-link .caption .caption-content i {
|
||||
margin-top: -12px;
|
||||
}
|
||||
|
||||
#portfolio .portfolio-item .portfolio-link .caption .caption-content h3,
|
||||
#portfolio .portfolio-item .portfolio-link .caption .caption-content h4 {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#portfolio * {
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
@media(min-width:767px) {
|
||||
#portfolio .portfolio-item {
|
||||
margin: 0 0 30px;
|
||||
}
|
||||
}
|
||||
|
||||
.btn-outline {
|
||||
margin-top: 15px;
|
||||
border: solid 2px #fff;
|
||||
font-size: 20px;
|
||||
color: #fff;
|
||||
background: 0 0;
|
||||
transition: all .3s ease-in-out;
|
||||
}
|
||||
|
||||
.btn-outline:hover,
|
||||
.btn-outline:focus,
|
||||
.btn-outline:active,
|
||||
.btn-outline.active {
|
||||
border: solid 2px #fff;
|
||||
color: #18bc9c;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.floating-label-form-group {
|
||||
position: relative;
|
||||
margin-bottom: 0;
|
||||
padding-bottom: .5em;
|
||||
border-bottom: 1px solid #eee;
|
||||
}
|
||||
|
||||
.floating-label-form-group input,
|
||||
.floating-label-form-group textarea {
|
||||
z-index: 1;
|
||||
position: relative;
|
||||
padding-right: 0;
|
||||
padding-left: 0;
|
||||
border: 0;
|
||||
border-radius: 0;
|
||||
font-size: 1.5em;
|
||||
background: 0 0;
|
||||
box-shadow: none!important;
|
||||
resize: none;
|
||||
}
|
||||
|
||||
.floating-label-form-group label {
|
||||
display: block;
|
||||
z-index: 0;
|
||||
position: relative;
|
||||
top: 2em;
|
||||
margin: 0;
|
||||
font-size: .85em;
|
||||
line-height: 1.764705882em;
|
||||
vertical-align: middle;
|
||||
vertical-align: baseline;
|
||||
opacity: 0;
|
||||
-webkit-transition: top .3s ease,opacity .3s ease;
|
||||
-moz-transition: top .3s ease,opacity .3s ease;
|
||||
-ms-transition: top .3s ease,opacity .3s ease;
|
||||
transition: top .3s ease,opacity .3s ease;
|
||||
}
|
||||
|
||||
.floating-label-form-group::not(:first-child) {
|
||||
padding-left: 14px;
|
||||
border-left: 1px solid #eee;
|
||||
}
|
||||
|
||||
.floating-label-form-group-with-value label {
|
||||
top: 0;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.floating-label-form-group-with-focus label {
|
||||
color: #18bc9c;
|
||||
}
|
||||
|
||||
form .row:first-child .floating-label-form-group {
|
||||
border-top: 1px solid #eee;
|
||||
}
|
||||
|
||||
footer {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
footer h3 {
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
footer .footer-above {
|
||||
padding-top: 50px;
|
||||
background-color: #2c3e50;
|
||||
}
|
||||
|
||||
footer .footer-col {
|
||||
margin-bottom: 50px;
|
||||
}
|
||||
|
||||
footer .footer-below {
|
||||
padding: 25px 0;
|
||||
background-color: #233140;
|
||||
}
|
||||
|
||||
.btn-social {
|
||||
display: inline-block;
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
border: 2px solid #fff;
|
||||
border-radius: 100%;
|
||||
text-align: center;
|
||||
font-size: 20px;
|
||||
line-height: 45px;
|
||||
}
|
||||
|
||||
.btn:focus,
|
||||
.btn:active,
|
||||
.btn.active {
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
.scroll-top {
|
||||
z-index: 1049;
|
||||
position: fixed;
|
||||
right: 2%;
|
||||
bottom: 2%;
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
}
|
||||
|
||||
.scroll-top .btn {
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
border-radius: 100%;
|
||||
font-size: 20px;
|
||||
line-height: 28px;
|
||||
}
|
||||
|
||||
.scroll-top .btn:focus {
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
.portfolio-modal .modal-content {
|
||||
padding: 100px 0;
|
||||
min-height: 100%;
|
||||
border: 0;
|
||||
border-radius: 0;
|
||||
text-align: center;
|
||||
background-clip: border-box;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.portfolio-modal .modal-content h2 {
|
||||
margin: 0;
|
||||
font-size: 3em;
|
||||
}
|
||||
|
||||
.portfolio-modal .modal-content img {
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
.portfolio-modal .modal-content .item-details {
|
||||
margin: 30px 0;
|
||||
}
|
||||
|
||||
.portfolio-modal .close-modal {
|
||||
position: absolute;
|
||||
top: 25px;
|
||||
right: 25px;
|
||||
width: 75px;
|
||||
height: 75px;
|
||||
background-color: transparent;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.portfolio-modal .close-modal:hover {
|
||||
opacity: .3;
|
||||
}
|
||||
|
||||
.portfolio-modal .close-modal .lr {
|
||||
z-index: 1051;
|
||||
width: 1px;
|
||||
height: 75px;
|
||||
margin-left: 35px;
|
||||
background-color: #2c3e50;
|
||||
-webkit-transform: rotate(45deg);
|
||||
-ms-transform: rotate(45deg);
|
||||
transform: rotate(45deg);
|
||||
}
|
||||
|
||||
.portfolio-modal .close-modal .lr .rl {
|
||||
z-index: 1052;
|
||||
width: 1px;
|
||||
height: 75px;
|
||||
background-color: #2c3e50;
|
||||
-webkit-transform: rotate(90deg);
|
||||
-ms-transform: rotate(90deg);
|
||||
transform: rotate(90deg);
|
||||
}
|
||||
44
freelancer/js/cbpAnimatedHeader.js
Executable file
44
freelancer/js/cbpAnimatedHeader.js
Executable file
|
|
@ -0,0 +1,44 @@
|
|||
/**
|
||||
* cbpAnimatedHeader.js v1.0.0
|
||||
* http://www.codrops.com
|
||||
*
|
||||
* Licensed under the MIT license.
|
||||
* http://www.opensource.org/licenses/mit-license.php
|
||||
*
|
||||
* Copyright 2013, Codrops
|
||||
* http://www.codrops.com
|
||||
*/
|
||||
var cbpAnimatedHeader = (function() {
|
||||
|
||||
var docElem = document.documentElement,
|
||||
header = document.querySelector( '.navbar-fixed-top' ),
|
||||
didScroll = false,
|
||||
changeHeaderOn = 300;
|
||||
|
||||
function init() {
|
||||
window.addEventListener( 'scroll', function( event ) {
|
||||
if( !didScroll ) {
|
||||
didScroll = true;
|
||||
setTimeout( scrollPage, 250 );
|
||||
}
|
||||
}, false );
|
||||
}
|
||||
|
||||
function scrollPage() {
|
||||
var sy = scrollY();
|
||||
if ( sy >= changeHeaderOn ) {
|
||||
classie.add( header, 'navbar-shrink' );
|
||||
}
|
||||
else {
|
||||
classie.remove( header, 'navbar-shrink' );
|
||||
}
|
||||
didScroll = false;
|
||||
}
|
||||
|
||||
function scrollY() {
|
||||
return window.pageYOffset || docElem.scrollTop;
|
||||
}
|
||||
|
||||
init();
|
||||
|
||||
})();
|
||||
11
freelancer/js/cbpAnimatedHeader.min.js
vendored
Executable file
11
freelancer/js/cbpAnimatedHeader.min.js
vendored
Executable file
|
|
@ -0,0 +1,11 @@
|
|||
/**
|
||||
* cbpAnimatedHeader.min.js v1.0.0
|
||||
* http://www.codrops.com
|
||||
*
|
||||
* Licensed under the MIT license.
|
||||
* http://www.opensource.org/licenses/mit-license.php
|
||||
*
|
||||
* Copyright 2013, Codrops
|
||||
* http://www.codrops.com
|
||||
*/
|
||||
var cbpAnimatedHeader=(function(){var b=document.documentElement,g=document.querySelector(".cbp-af-header"),e=false,a=300;function f(){window.addEventListener("scroll",function(h){if(!e){e=true;setTimeout(d,250)}},false)}function d(){var h=c();if(h>=a){classie.add(g,"cbp-af-header-shrink")}else{classie.remove(g,"cbp-af-header-shrink")}e=false}function c(){return window.pageYOffset||b.scrollTop}f()})();
|
||||
80
freelancer/js/classie.js
Executable file
80
freelancer/js/classie.js
Executable file
|
|
@ -0,0 +1,80 @@
|
|||
/*!
|
||||
* classie - class helper functions
|
||||
* from bonzo https://github.com/ded/bonzo
|
||||
*
|
||||
* classie.has( elem, 'my-class' ) -> true/false
|
||||
* classie.add( elem, 'my-new-class' )
|
||||
* classie.remove( elem, 'my-unwanted-class' )
|
||||
* classie.toggle( elem, 'my-class' )
|
||||
*/
|
||||
|
||||
/*jshint browser: true, strict: true, undef: true */
|
||||
/*global define: false */
|
||||
|
||||
( function( window ) {
|
||||
|
||||
'use strict';
|
||||
|
||||
// class helper functions from bonzo https://github.com/ded/bonzo
|
||||
|
||||
function classReg( className ) {
|
||||
return new RegExp("(^|\\s+)" + className + "(\\s+|$)");
|
||||
}
|
||||
|
||||
// classList support for class management
|
||||
// altho to be fair, the api sucks because it won't accept multiple classes at once
|
||||
var hasClass, addClass, removeClass;
|
||||
|
||||
if ( 'classList' in document.documentElement ) {
|
||||
hasClass = function( elem, c ) {
|
||||
return elem.classList.contains( c );
|
||||
};
|
||||
addClass = function( elem, c ) {
|
||||
elem.classList.add( c );
|
||||
};
|
||||
removeClass = function( elem, c ) {
|
||||
elem.classList.remove( c );
|
||||
};
|
||||
}
|
||||
else {
|
||||
hasClass = function( elem, c ) {
|
||||
return classReg( c ).test( elem.className );
|
||||
};
|
||||
addClass = function( elem, c ) {
|
||||
if ( !hasClass( elem, c ) ) {
|
||||
elem.className = elem.className + ' ' + c;
|
||||
}
|
||||
};
|
||||
removeClass = function( elem, c ) {
|
||||
elem.className = elem.className.replace( classReg( c ), ' ' );
|
||||
};
|
||||
}
|
||||
|
||||
function toggleClass( elem, c ) {
|
||||
var fn = hasClass( elem, c ) ? removeClass : addClass;
|
||||
fn( elem, c );
|
||||
}
|
||||
|
||||
var classie = {
|
||||
// full names
|
||||
hasClass: hasClass,
|
||||
addClass: addClass,
|
||||
removeClass: removeClass,
|
||||
toggleClass: toggleClass,
|
||||
// short names
|
||||
has: hasClass,
|
||||
add: addClass,
|
||||
remove: removeClass,
|
||||
toggle: toggleClass
|
||||
};
|
||||
|
||||
// transport
|
||||
if ( typeof define === 'function' && define.amd ) {
|
||||
// AMD
|
||||
define( classie );
|
||||
} else {
|
||||
// browser global
|
||||
window.classie = classie;
|
||||
}
|
||||
|
||||
})( window );
|
||||
37
freelancer/js/freelancer.js
Executable file
37
freelancer/js/freelancer.js
Executable file
|
|
@ -0,0 +1,37 @@
|
|||
/*!
|
||||
* Start Bootstrap - Freelancer Bootstrap Theme (http://startbootstrap.com)
|
||||
* Code licensed under the Apache License v2.0.
|
||||
* For details, see http://www.apache.org/licenses/LICENSE-2.0.
|
||||
*/
|
||||
|
||||
// jQuery for page scrolling feature - requires jQuery Easing plugin
|
||||
$(function() {
|
||||
$('.page-scroll a').bind('click', function(event) {
|
||||
var $anchor = $(this);
|
||||
$('html, body').stop().animate({
|
||||
scrollTop: $($anchor.attr('href')).offset().top
|
||||
}, 1500, 'easeInOutExpo');
|
||||
event.preventDefault();
|
||||
});
|
||||
});
|
||||
|
||||
// Floating label headings for the contact form
|
||||
$(function() {
|
||||
$("body").on("input propertychange", ".floating-label-form-group", function(e) {
|
||||
$(this).toggleClass("floating-label-form-group-with-value", !! $(e.target).val());
|
||||
}).on("focus", ".floating-label-form-group", function() {
|
||||
$(this).addClass("floating-label-form-group-with-focus");
|
||||
}).on("blur", ".floating-label-form-group", function() {
|
||||
$(this).removeClass("floating-label-form-group-with-focus");
|
||||
});
|
||||
});
|
||||
|
||||
// Highlight the top nav as scrolling occurs
|
||||
$('body').scrollspy({
|
||||
target: '.navbar-fixed-top'
|
||||
})
|
||||
|
||||
// Closes the Responsive Menu on Menu Item Click
|
||||
$('.navbar-collapse ul li a').click(function() {
|
||||
$('.navbar-toggle:visible').click();
|
||||
});
|
||||
20
gridstack-demo.css
Normal file
20
gridstack-demo.css
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
.grid-stack-item-content {
|
||||
background: white;
|
||||
color: #2c3e50;
|
||||
font-family: 'Indie Flower', cursive;
|
||||
text-align: center;
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.grid-stack-item-content .fa {
|
||||
font-size: 64px;
|
||||
display: block;
|
||||
margin: 20px 0 10px;
|
||||
}
|
||||
|
||||
header a, header a:hover { color: #fff; }
|
||||
|
||||
.darklue { background: #2c3e50; color: #fff; }
|
||||
.darklue hr.star-light::after {
|
||||
background-color: #2c3e50;
|
||||
}
|
||||
|
|
@ -28,8 +28,8 @@
|
|||
z-index: 100;
|
||||
}
|
||||
|
||||
.grid-stack-item.ui-draggable-dragging .box,
|
||||
.grid-stack-item.ui-resizable-resizing .box {
|
||||
.grid-stack-item.ui-draggable-dragging .grid-stack-item-content,
|
||||
.grid-stack-item.ui-resizable-resizing .grid-stack-item-content {
|
||||
box-shadow: 1px 4px 6px rgba(0, 0, 0, 0.2);
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
|
|
|||
31
gridstack.js
31
gridstack.js
|
|
@ -252,21 +252,24 @@
|
|||
self.grid.move_node(node, x, y);
|
||||
self._update_container_height();
|
||||
}
|
||||
}).resizable({
|
||||
autoHide: true,
|
||||
handles: 'se',
|
||||
minHeight: this.opts.cell_height - 10,
|
||||
minWidth: 70,
|
||||
|
||||
start: on_start_moving,
|
||||
stop: on_end_moving,
|
||||
resize: function (event, ui) {
|
||||
var width = Math.round(ui.size.width / cell_width),
|
||||
height = Math.round(ui.size.height / cell_height);
|
||||
self.grid.move_node(node, node.x, node.y, width, height);
|
||||
self._update_container_height();
|
||||
}
|
||||
});
|
||||
if (!el.attr('data-gs-no-resize')) {
|
||||
el.resizable({
|
||||
autoHide: true,
|
||||
handles: 'se',
|
||||
minHeight: this.opts.cell_height - 10,
|
||||
minWidth: 70,
|
||||
|
||||
start: on_start_moving,
|
||||
stop: on_end_moving,
|
||||
resize: function (event, ui) {
|
||||
var width = Math.round(ui.size.width / cell_width),
|
||||
height = Math.round(ui.size.height / cell_height);
|
||||
self.grid.move_node(node, node.x, node.y, width, height);
|
||||
self._update_container_height();
|
||||
}
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
GridStack.prototype.add_widget = function (el, x, y, width, height) {
|
||||
|
|
|
|||
405
index.html
405
index.html
|
|
@ -1,17 +1,402 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head lang="en">
|
||||
<meta charset="UTF-8">
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="gridstack.js is a jQuery plugin for widget layout">
|
||||
<meta name="author" content="Pavel Reznikov">
|
||||
|
||||
<title>gridstack.js</title>
|
||||
|
||||
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="gridstack.css"/>
|
||||
</head>
|
||||
<body>
|
||||
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
|
||||
|
||||
<!-- Custom CSS -->
|
||||
<link href="freelancer/css/freelancer.css" rel="stylesheet">
|
||||
|
||||
<!-- Custom Fonts -->
|
||||
<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.2.0/css/font-awesome.min.css"/>
|
||||
<link href="http://fonts.googleapis.com/css?family=Montserrat:400,700" rel="stylesheet" type="text/css">
|
||||
<link href="http://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic" rel="stylesheet" type="text/css">
|
||||
<link href='http://fonts.googleapis.com/css?family=Indie+Flower' rel='stylesheet' type='text/css'>
|
||||
|
||||
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
||||
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
|
||||
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
|
||||
<link href="gridstack.css" rel="stylesheet">
|
||||
<link href="gridstack-demo.css" rel="stylesheet">
|
||||
</head>
|
||||
|
||||
<body id="page-top" class="index">
|
||||
|
||||
<!-- Navigation -->
|
||||
<nav class="navbar navbar-default navbar-fixed-top">
|
||||
<div class="container">
|
||||
<!-- Brand and toggle get grouped for better mobile display -->
|
||||
<div class="navbar-header page-scroll">
|
||||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="navbar-brand" href="http://troolee.github.io/gridstack.js/"><span class="fa fa-th"></span> gridstack.js</a>
|
||||
</div>
|
||||
|
||||
<!-- Collect the nav links, forms, and other content for toggling -->
|
||||
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li class="hidden">
|
||||
<a href="#page-top"></a>
|
||||
</li>
|
||||
<li class="page-scroll">
|
||||
<a href="#demo">Demo</a>
|
||||
</li>
|
||||
<li class="page-scroll">
|
||||
<a href="#usage">Usage</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://github.com/troolee/gridstack.js/issues">Issues</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://github.com/troolee/gridstack.js">Fork me on GitHub</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- /.navbar-collapse -->
|
||||
</div>
|
||||
<!-- /.container-fluid -->
|
||||
</nav>
|
||||
|
||||
|
||||
<header>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<div class="intro-text">
|
||||
<span class="name">gridstack.js</span>
|
||||
<hr class="star-light">
|
||||
<p>gridstack.js is a jQuery plugin for widget layout. This is drag-and-drop multi-column
|
||||
grid. It allows you to build draggable responsive bootstrap v3 friendly layouts.</p>
|
||||
|
||||
<p>Inspired by <a href="http://gridster.net">gridster.js</a>. Built with love.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<section id="demo" class="darklue">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-12 text-center">
|
||||
<h2>Demo</h2>
|
||||
<hr class="star-light">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="grid-stack" data-gs-width="12">
|
||||
<div class="grid-stack-item" data-gs-x="0" data-gs-y="0" data-gs-width="4" data-gs-height="2"><div class="grid-stack-item-content"></div></div>
|
||||
<div class="grid-stack-item" data-gs-x="4" data-gs-y="0" data-gs-width="4" data-gs-height="4"><div class="grid-stack-item-content"></div></div>
|
||||
<div class="grid-stack-item" data-gs-x="8" data-gs-y="0" data-gs-width="2" data-gs-height="2" data-gs-min-width="2" data-gs-no-resize="yes"><div class="grid-stack-item-content"> <span class="fa fa-hand-o-up"></span> Drag me! </div></div>
|
||||
<div class="grid-stack-item" data-gs-x="10" data-gs-y="0" data-gs-width="2" data-gs-height="2"><div class="grid-stack-item-content"></div></div>
|
||||
<div class="grid-stack-item" data-gs-x="0" data-gs-y="4" data-gs-width="2" data-gs-height="2"><div class="grid-stack-item-content"></div></div>
|
||||
<div class="grid-stack-item" data-gs-x="2" data-gs-y="4" data-gs-width="2" data-gs-height="4"><div class="grid-stack-item-content"></div></div>
|
||||
<div class="grid-stack-item" data-gs-x="8" data-gs-y="4" data-gs-width="4" data-gs-height="2"><div class="grid-stack-item-content"></div></div>
|
||||
<div class="grid-stack-item" data-gs-x="0" data-gs-y="6" data-gs-width="2" data-gs-height="2"><div class="grid-stack-item-content"></div></div>
|
||||
<div class="grid-stack-item" data-gs-x="4" data-gs-y="6" data-gs-width="4" data-gs-height="2"><div class="grid-stack-item-content"></div></div>
|
||||
<div class="grid-stack-item" data-gs-x="8" data-gs-y="6" data-gs-width="2" data-gs-height="2"><div class="grid-stack-item-content"></div></div>
|
||||
<div class="grid-stack-item" data-gs-x="10" data-gs-y="6" data-gs-width="2" data-gs-height="2"><div class="grid-stack-item-content"></div></div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Portfolio Grid Section -->
|
||||
<section id="usage">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-12 text-center">
|
||||
<h2>Usage</h2>
|
||||
<hr class="star-primary">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<p>Coming soon...</p>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Footer -->
|
||||
<footer class="text-center">
|
||||
<div class="footer-below">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
Copyright © Pavel Reznikov 2014
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<!-- Scroll to Top Button (Only visible on small and extra-small screen sizes) -->
|
||||
<div class="scroll-top page-scroll visible-xs visble-sm">
|
||||
<a class="btn btn-primary" href="#page-top">
|
||||
<i class="fa fa-chevron-up"></i>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<!-- Portfolio Modals -->
|
||||
<div class="portfolio-modal modal fade" id="portfolioModal1" tabindex="-1" role="dialog" aria-hidden="true">
|
||||
<div class="modal-content">
|
||||
<div class="close-modal" data-dismiss="modal">
|
||||
<div class="lr">
|
||||
<div class="rl">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-8 col-lg-offset-2">
|
||||
<div class="modal-body">
|
||||
<h2>Project Title</h2>
|
||||
<hr class="star-primary">
|
||||
<img src="img/portfolio/cabin.png" class="img-responsive img-centered" alt="">
|
||||
<p>Use this area of the page to describe your project. The icon above is part of a free icon set by <a href="https://sellfy.com/p/8Q9P/jV3VZ/">Flat Icons</a>. On their website, you can download their free set with 16 icons, or you can purchase the entire set with 146 icons for only $12!</p>
|
||||
<ul class="list-inline item-details">
|
||||
<li>Client:
|
||||
<strong><a href="http://startbootstrap.com">Start Bootstrap</a>
|
||||
</strong>
|
||||
</li>
|
||||
<li>Date:
|
||||
<strong><a href="http://startbootstrap.com">April 2014</a>
|
||||
</strong>
|
||||
</li>
|
||||
<li>Service:
|
||||
<strong><a href="http://startbootstrap.com">Web Development</a>
|
||||
</strong>
|
||||
</li>
|
||||
</ul>
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal"><i class="fa fa-times"></i> Close</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="portfolio-modal modal fade" id="portfolioModal2" tabindex="-1" role="dialog" aria-hidden="true">
|
||||
<div class="modal-content">
|
||||
<div class="close-modal" data-dismiss="modal">
|
||||
<div class="lr">
|
||||
<div class="rl">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-8 col-lg-offset-2">
|
||||
<div class="modal-body">
|
||||
<h2>Project Title</h2>
|
||||
<hr class="star-primary">
|
||||
<img src="img/portfolio/cake.png" class="img-responsive img-centered" alt="">
|
||||
<p>Use this area of the page to describe your project. The icon above is part of a free icon set by <a href="https://sellfy.com/p/8Q9P/jV3VZ/">Flat Icons</a>. On their website, you can download their free set with 16 icons, or you can purchase the entire set with 146 icons for only $12!</p>
|
||||
<ul class="list-inline item-details">
|
||||
<li>Client:
|
||||
<strong><a href="http://startbootstrap.com">Start Bootstrap</a>
|
||||
</strong>
|
||||
</li>
|
||||
<li>Date:
|
||||
<strong><a href="http://startbootstrap.com">April 2014</a>
|
||||
</strong>
|
||||
</li>
|
||||
<li>Service:
|
||||
<strong><a href="http://startbootstrap.com">Web Development</a>
|
||||
</strong>
|
||||
</li>
|
||||
</ul>
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal"><i class="fa fa-times"></i> Close</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="portfolio-modal modal fade" id="portfolioModal3" tabindex="-1" role="dialog" aria-hidden="true">
|
||||
<div class="modal-content">
|
||||
<div class="close-modal" data-dismiss="modal">
|
||||
<div class="lr">
|
||||
<div class="rl">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-8 col-lg-offset-2">
|
||||
<div class="modal-body">
|
||||
<h2>Project Title</h2>
|
||||
<hr class="star-primary">
|
||||
<img src="img/portfolio/circus.png" class="img-responsive img-centered" alt="">
|
||||
<p>Use this area of the page to describe your project. The icon above is part of a free icon set by <a href="https://sellfy.com/p/8Q9P/jV3VZ/">Flat Icons</a>. On their website, you can download their free set with 16 icons, or you can purchase the entire set with 146 icons for only $12!</p>
|
||||
<ul class="list-inline item-details">
|
||||
<li>Client:
|
||||
<strong><a href="http://startbootstrap.com">Start Bootstrap</a>
|
||||
</strong>
|
||||
</li>
|
||||
<li>Date:
|
||||
<strong><a href="http://startbootstrap.com">April 2014</a>
|
||||
</strong>
|
||||
</li>
|
||||
<li>Service:
|
||||
<strong><a href="http://startbootstrap.com">Web Development</a>
|
||||
</strong>
|
||||
</li>
|
||||
</ul>
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal"><i class="fa fa-times"></i> Close</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="portfolio-modal modal fade" id="portfolioModal4" tabindex="-1" role="dialog" aria-hidden="true">
|
||||
<div class="modal-content">
|
||||
<div class="close-modal" data-dismiss="modal">
|
||||
<div class="lr">
|
||||
<div class="rl">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-8 col-lg-offset-2">
|
||||
<div class="modal-body">
|
||||
<h2>Project Title</h2>
|
||||
<hr class="star-primary">
|
||||
<img src="img/portfolio/game.png" class="img-responsive img-centered" alt="">
|
||||
<p>Use this area of the page to describe your project. The icon above is part of a free icon set by <a href="https://sellfy.com/p/8Q9P/jV3VZ/">Flat Icons</a>. On their website, you can download their free set with 16 icons, or you can purchase the entire set with 146 icons for only $12!</p>
|
||||
<ul class="list-inline item-details">
|
||||
<li>Client:
|
||||
<strong><a href="http://startbootstrap.com">Start Bootstrap</a>
|
||||
</strong>
|
||||
</li>
|
||||
<li>Date:
|
||||
<strong><a href="http://startbootstrap.com">April 2014</a>
|
||||
</strong>
|
||||
</li>
|
||||
<li>Service:
|
||||
<strong><a href="http://startbootstrap.com">Web Development</a>
|
||||
</strong>
|
||||
</li>
|
||||
</ul>
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal"><i class="fa fa-times"></i> Close</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="portfolio-modal modal fade" id="portfolioModal5" tabindex="-1" role="dialog" aria-hidden="true">
|
||||
<div class="modal-content">
|
||||
<div class="close-modal" data-dismiss="modal">
|
||||
<div class="lr">
|
||||
<div class="rl">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-8 col-lg-offset-2">
|
||||
<div class="modal-body">
|
||||
<h2>Project Title</h2>
|
||||
<hr class="star-primary">
|
||||
<img src="img/portfolio/safe.png" class="img-responsive img-centered" alt="">
|
||||
<p>Use this area of the page to describe your project. The icon above is part of a free icon set by <a href="https://sellfy.com/p/8Q9P/jV3VZ/">Flat Icons</a>. On their website, you can download their free set with 16 icons, or you can purchase the entire set with 146 icons for only $12!</p>
|
||||
<ul class="list-inline item-details">
|
||||
<li>Client:
|
||||
<strong><a href="http://startbootstrap.com">Start Bootstrap</a>
|
||||
</strong>
|
||||
</li>
|
||||
<li>Date:
|
||||
<strong><a href="http://startbootstrap.com">April 2014</a>
|
||||
</strong>
|
||||
</li>
|
||||
<li>Service:
|
||||
<strong><a href="http://startbootstrap.com">Web Development</a>
|
||||
</strong>
|
||||
</li>
|
||||
</ul>
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal"><i class="fa fa-times"></i> Close</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="portfolio-modal modal fade" id="portfolioModal6" tabindex="-1" role="dialog" aria-hidden="true">
|
||||
<div class="modal-content">
|
||||
<div class="close-modal" data-dismiss="modal">
|
||||
<div class="lr">
|
||||
<div class="rl">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-8 col-lg-offset-2">
|
||||
<div class="modal-body">
|
||||
<h2>Project Title</h2>
|
||||
<hr class="star-primary">
|
||||
<img src="img/portfolio/submarine.png" class="img-responsive img-centered" alt="">
|
||||
<p>Use this area of the page to describe your project. The icon above is part of a free icon set by <a href="https://sellfy.com/p/8Q9P/jV3VZ/">Flat Icons</a>. On their website, you can download their free set with 16 icons, or you can purchase the entire set with 146 icons for only $12!</p>
|
||||
<ul class="list-inline item-details">
|
||||
<li>Client:
|
||||
<strong><a href="http://startbootstrap.com">Start Bootstrap</a>
|
||||
</strong>
|
||||
</li>
|
||||
<li>Date:
|
||||
<strong><a href="http://startbootstrap.com">April 2014</a>
|
||||
</strong>
|
||||
</li>
|
||||
<li>Service:
|
||||
<strong><a href="http://startbootstrap.com">Web Development</a>
|
||||
</strong>
|
||||
</li>
|
||||
</ul>
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal"><i class="fa fa-times"></i> Close</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
|
||||
<script src="http://code.jquery.com/ui/1.11.2/jquery-ui.min.js"></script>
|
||||
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
|
||||
<script src="http://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.7.0/underscore-min.js"></script>
|
||||
|
||||
<!-- Plugin JavaScript -->
|
||||
<script src="http://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js"></script>
|
||||
<script src="freelancer/js/classie.js"></script>
|
||||
<script src="freelancer/js/cbpAnimatedHeader.js"></script>
|
||||
|
||||
<!-- Custom Theme JavaScript -->
|
||||
<script src="freelancer/js/freelancer.js"></script>
|
||||
|
||||
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
|
||||
<script src="//code.jquery.com/ui/1.11.2/jquery-ui.min.js"></script>
|
||||
<script src="//cdnjs.cloudflare.com/ajax/libs/underscore.js/1.7.0/underscore-min.js"></script>
|
||||
<script src="gridstack.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(function () {
|
||||
$('.grid-stack').gridstack({
|
||||
width: 12
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue