Skip to content

Commit

Permalink
init v0.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
codecalm committed Feb 14, 2018
0 parents commit 994dea2
Show file tree
Hide file tree
Showing 991 changed files with 55,971 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
.idea/
_site/
/Gemfile.lock
/node_modules/
/.sass-cache/
/.jekyll-metadata
/.asset-cache/
.DS_Store
package-lock.json
/_test/
src/assets/css/dashboard.css
src/assets/css/dashboard.min.css
src/assets/plugins/**/plugin.css
src/assets/plugins/**/plugin.min.css
generated-site
deploy-site
41 changes: 41 additions & 0 deletions .htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteCond %{HTTP_HOST} !=localhost
RewriteCond %{HTTP_HOST} !=127.0.0.1
RewriteCond %{REMOTE_ADDR} !=127.0.0.1
RewriteCond %{REMOTE_ADDR} !=::1
RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]

ErrorDocument 404 /404.html
ErrorDocument 500 /500.html

<IfModule mod_deflate.c>
SetOutputFilter DEFLATE
SetEnvIfNoCase Request_URI \
\.(?:gif|jpe?g|png)$ no-gzip dont-vary
</IfModule>

<IfModule mod_headers.c>
ServerSignature Off
Header unset X-Powered-By
Header set X-XSS-Protection "1; mode=block"
</IfModule>

<IfModule mod_expires.c>
ExpiresActive on
ExpiresByType image/jpg "access 2 month"
ExpiresByType image/gif "access 2 month"
ExpiresByType image/jpeg "access 2 month"
ExpiresByType image/png "access 2 month"
ExpiresByType text/css "access 2 month"
ExpiresByType image/svg+xml "access 2 month"
ExpiresByType application/x-javascript "access plus 2 month"
ExpiresByType text/javascript "access plus 2 month"
ExpiresByType application/javascript "access plus 2 month"
ExpiresByType image/x-icon "access plus 12 month"
ExpiresByType image/icon "access plus 12 month"
ExpiresByType application/x-ico "access plus 12 month"
ExpiresByType application/ico "access plus 12 month"

ExpiresByType text/html "access plus 2 days"
</IfModule>
8 changes: 8 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
source 'https://rubygems.org' do
gem 'jekyll-tidy'
gem 'octopress-autoprefixer'
gem 'jekyll-contentblocks'
gem 'jekyll-redirect-from'
gem 'jekyll-toc'
gem 'public_suffix', '3.0.0'
end
92 changes: 92 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
title: tabler.io
description: tabler.io - a responsive, flat and full featured admin template
base_color: '#cc0000'

collections:
docs:
output: true


defaults:
- scope:
path: ""
type: docs
values:
layout: docs

source: src

author:
name: codecalm.net
url: https://codecalm.net

plugins:
- jekyll-tidy
- jekyll-contentblocks
- jekyll-toc

exclude:
- buddy.yml
- package.json
- gulpfile.js
- start.sh
- Gemfile
- Gemfile.lock
- .git
- .idea
- .gitignore
- node_modules/
- .DS_Store
- .sass-cache/
- .asset-cache/
- assets/scss/*
- assets/plugins/**/*.scss
- push-to-repo.sh

markdown: kramdown
highlighter: rouge

kramdown:
input: GFM
syntax_highlighter: rouge
syntax_highlighter_opts:
css_class: ''
span:
line_numbers: false

toc:
min_level: 2
max_level: 3

jekyll_tidy:
compress_html: false
ignore_env: development

colors:
blue: '#467fcf'
azure: '#45aaf2'
indigo: '#6574cd'
purple: '#a55eea'
pink: '#f66d9b'
red: '#e74c3c'
orange: '#fd9644'
yellow: '#f1c40f'
lime: '#7bd235'
green: '#5eba00'
teal: '#2bcbba'
cyan: '#17a2b8'
gray: '#868e96'
gray-dark: '#343a40'

theme-colors:
primary: '#467fcf'
secondary: '#868e96'
success: '#38c172'
info: '#17a2b8'
warning: '#f8b700'
danger: '#f90049'
light: '#f8f9fa'
dark: '#343a40'

google-maps-key: AIzaSyBEJy4UvF-JfcNciWlvlznyDlUckcspiD4
google-maps-url: https://maps.googleapis.com/maps/api/js?key=AIzaSyCOJwXN0eoyeFZ3cYtGzPLFw8zGhQ750Xk
46 changes: 46 additions & 0 deletions gulpfile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
var gulp = require('gulp'),
sass = require('gulp-sass'),
rename = require('gulp-rename'),
gs = require('gulp-selectors'),
autoprefixer = require('gulp-autoprefixer');

gulp.task('styles', function () {
return gulp.src('src/assets/scss/bundle.scss', { base: '.' })
.pipe(sass({
precision: 8,
outputStyle: 'expanded'
}).on('error', sass.logError))
.pipe(autoprefixer({
browsers: ['>1%'],
cascade: false
}))
.pipe(rename('dashboard.css'))
.pipe(gulp.dest('src/assets/css/'));
});

gulp.task('styles-plugins', function () {
return gulp.src('src/assets/plugins/**/plugin.scss', { base: '.' })
.pipe(sass({
precision: 6,
outputStyle: 'expanded'
}).on('error', sass.logError))
.pipe(autoprefixer({
browsers: ['>1%'],
cascade: false
}))
.pipe(rename(function(path) {
path.extname = '.css';
}))
.pipe(gulp.dest('.'))
.pipe(rename(function(path) {
path.extname = '.min.css';
}))
.pipe(gulp.dest('.'));
});

gulp.task('watch', ['styles', 'styles-plugins'], function() {
gulp.watch('src/assets/scss/**/*.scss', ['styles']);
gulp.watch('src/assets/plugins/**/*.scss', ['styles-plugins']);
});

gulp.task('default', ['styles', 'styles-plugins']);
28 changes: 28 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"name": "dashboard",
"version": "1.0.0",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/codecalm/bootstrap-dashboard.git"
},
"author": "codecalm",
"license": "ISC",
"bugs": {
"url": "https://github.com/codecalm/bootstrap-dashboard/issues"
},
"homepage": "https://github.com/codecalm/bootstrap-dashboard#readme",
"devDependencies": {
"gulp": "^3.9.1",
"gulp-autoprefixer": "^4.0.0",
"gulp-rcs": "^1.1.0",
"gulp-rename": "^1.2.2",
"gulp-sass": "^3.1.0",
"gulp-selectors": "^0.1.10"
},
"dependencies": {},
"description": ""
}
1 change: 1 addition & 0 deletions regenerate-images.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
for i in *.jpg; do convert "$i" -resize 500x333^ -gravity center -crop 500x333+0+0 -quality 80 -monitor "${i%.*}-500.jpg"; done
6 changes: 6 additions & 0 deletions src/404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: Page 404
layout: error
---

{% include page-error.html error="error-404" %}
21 changes: 21 additions & 0 deletions src/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright (c) 2018 Paweł Kuna

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.
17 changes: 17 additions & 0 deletions src/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Dashboard

We’ve created this admin panel for everyone who wants to create any templates based on our ready components. Our mission is to deliver a user-friendly, clear and easy administration panel, that can be used by both, simple websites and sophisticated systems. The only requirement is a basic HTML and CSS knowledge—as a reward, you'll be able to manage and visualize different types of data in the easiest possible way!

After using many of different admin panels, no matter free or paid, we've noticed they all had a lot of defects—and the main one was resource intensity.
They were loading loads of useless components that you wouldn't ever use, so we've decided to choose a different way. The whole system is plugin-based, what means that you have a control over what is needed and what not.

To make the system works fast and reliable, we've converted most of the components to CSS. Thanks to this, you don't have to load a lot of unnecessary libraries into your browser what really boosts the overall speed.

In this documentation we're going to describe common use-cases for most of our components since we want to make our tool be accessible to everyone.


## Browser Support

![Chrome](https://raw.github.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png) | ![Firefox](https://raw.github.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png) | ![Edge](https://raw.github.com/alrra/browser-logos/master/src/edge/edge_48x48.png) | ![IE](https://raw.github.com/alrra/browser-logos/master/src/archive/internet-explorer_9-11/internet-explorer_9-11_48x48.png) | ![Safari](https://raw.github.com/alrra/browser-logos/master/src/safari/safari_48x48.png) | ![Opera](https://raw.github.com/alrra/browser-logos/master/src/opera/opera_48x48.png)
--- | --- | --- | --- | --- | --- |
Latest ✔ | Latest ✔ | Latest ✔ | 11+ ✔ | 9.1+ ✔ | Latest ✔ |
6 changes: 6 additions & 0 deletions src/_400.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: Page 400
layout: error
---

{% include page-error.html error="error-400" %}
6 changes: 6 additions & 0 deletions src/_401.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: Page 401
layout: error
---

{% include page-error.html error="error-401" %}
6 changes: 6 additions & 0 deletions src/_403.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: Page 403
layout: error
---

{% include page-error.html error="error-403" %}
6 changes: 6 additions & 0 deletions src/_500.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: Page 500
layout: error
---

{% include page-error.html error="error-500" %}
6 changes: 6 additions & 0 deletions src/_503.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: Page 503
layout: error
---

{% include page-error.html error="error-503" %}
Loading

0 comments on commit 994dea2

Please sign in to comment.