Skip to content

Commit

Permalink
Начало разработки
Browse files Browse the repository at this point in the history
  • Loading branch information
skeeks-semenov committed Sep 20, 2015
1 parent 364ca20 commit 2b6fba9
Show file tree
Hide file tree
Showing 3,096 changed files with 325,209 additions and 1 deletion.
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 1 addition & 1 deletion CubeAsset.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

class CubeAsset extends AssetBundle
{
public $sourcePath = '@skeeks/template/smarty/src/HTML/assets/';
public $sourcePath = '@skeeks/template/cube/src/';

/**
* @param string $asset
Expand Down
96 changes: 96 additions & 0 deletions src/README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
Cube Bootstrap 3 Theme

CSS:
- Theme includes SASS version (SCSS) and also compiled css filed.
- SCSS folder includes only SASS version with CodeKit config included.
- LESS folder includes only LESS version with CodeKit config included. It’s port from SCSS version.
- CSS folder includes compiled SASS version for deployment.

CSS Styles (in css folder):
- The /compiled folder includes all major styles of the theme.
- The /bootstrap folder includes the bootstrap files. Bootsrap libs are not changed.
- The /lib folder includes the styles for the plugins.
- Added classes .hidden-xxs and .visible-xss for showing/hiding content on 420px's devices and smaller.

SCSS & LESS Folder:
- Bootstrap folder includes Bootstrap SASS (or LESS) version.
- Theme folder includes thw whole theme files, which should be self explanatory.

Scripts:
- Javascript code for every page is located at the end of each html template file, so you don't have to include all plugins for every page.

Icons:
- FontAwesome icons
- Glyphicons - if you move the location of bootstrap files, you need to change the relative path to icons in it.

Html:
- indexTEMPLATE.html includes empty template without content in the main content area.
- all other files includes content based on each type.
- errors - there are more versions of error files and each error file has more versions of images.
- logins - there are two version of logins.

Skins - Theme has 8 possible skins:
- Default
- White/Green - add class "theme-white" to body element of every page
- Blue Gradient - add class "theme-blue-gradient" to body element of every page
- Amethyst - add class "theme-amethyst" to body element of every page
- Blue - add class "theme-blue" to body element of every page
- Red - add class "theme-red" to body element of every page
- White/Blue - add class "theme-whbl" to body element of every page
- Green Sea - add class "theme-turquoise" to body element of every page

Layout Options:
- Fixed Header - add class "fixed-header" to body element of every page
- Fixed Footer - add class "fixed-footer" to body element of every page
- Fixed Left Menu - add class "fixed-leftmenu" to body element of every page
- Boxed Layout - add class "boxed-layout" to body element of every page
- RTL Layout (Right-to-Left) - add class "rtl" to body element of every page

Change Log:
v 1.12 - 2015/08/18
- Updated: Daterangepicker to Latest version 2.0.8

v 1.11 - 2015/08/11
- Updated: Fullcalendar to Latest version 2.3.2
- Updated: Moment.js to Latest version 2.10.6
- Fixed week view in fullcalendar example with update Moment.js

v 1.10 - 2015/04/29
- Updated: Less version of files for previous release
- Fixed nice radio and checkbox support for latest Safari

v 1.9 - 2015/04/20
- Updated: Fullcalendar to Latest version 2.3.1
- Updated: Select2 to Latest version 4.0.0-rc.2

v 1.8 - 2015/03/08
- New Feature - Foo Tables plugin added
- Fixed Less files - there were missing some css changes

v 1.7 - 2015/02/06
- Fixed usage of datepicker and daterangepicker in modal (changes are made only in css)

v 1.6 - 2015/02/04
- Updated: Timepicker to Latest version 0.2.5 - fixes usage of timepicker in modal

v 1.5 - 2015/01/27
- Fixed Tabs for AngularJS with new directive
- Fixed small bugs in AngularJS files

v 1.4 - 2015/01/18
- Fixed minor bugs on responsive in main css file
- Updated: DropzoneJS to Latest version 3.12.0
- Updated: Dygraphs to Latest version 1.1.0
- Updated: DataTables to Latest version 1.10.4
- Updated: Morris charts to Latest version 0.5.1
- Updated: Summernote to Latest version 0.6.0

v 1.3 - 2015/01/13
- Small CSS bugfix for date and time pickers - changes only in theme_styles.css

v 1.2 - 2015/01/05
- Small fix for Less port
- Fix for DropzoneJS implementation in AngularJS version

v 1.1 - 2014/12/23
- Fix for dropdown menu in Safari - changes only in CSS files
280 changes: 280 additions & 0 deletions src/angularjs/app/app.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,280 @@
/**
* Cube - Bootstrap Admin Theme
* Copyright 2014 Phoonio
*/

var app = angular.module('cubeWebApp', [
'ngRoute',
'angular-loading-bar',
'ngAnimate',
'easypiechart'
]);

app.config(['cfpLoadingBarProvider', function(cfpLoadingBarProvider) {
cfpLoadingBarProvider.includeBar = true;
cfpLoadingBarProvider.includeSpinner = true;
cfpLoadingBarProvider.latencyThreshold = 100;
}]);

/**
* Configure the Routes
*/
app.config(['$routeProvider', function ($routeProvider) {
$routeProvider
.when("/", {
redirectTo:'/dasboard'
})
.when("/dasboard", {
templateUrl: "views/dashboard.html",
controller: "mainCtrl",
title: 'Dashboard'
})
.when("/tables/simple", {
templateUrl: "views/tables.html",
controller: "mainCtrl",
title: 'Tables'
})
.when("/tables/tables-advanced", {
templateUrl: "views/tables-advanced.html",
controller: "mainCtrl",
title: 'Advanced tables'
})
.when("/tables/users", {
templateUrl: "views/users.html",
controller: "mainCtrl",
title: 'Users'
})
.when("/tables/footables", {
templateUrl: "views/tables-footables.html",
controller: "mainCtrl",
title: 'FooTables'
})

.when("/graphs/graphs-xcharts", {
templateUrl: "views/graphs-xcharts.html",
controller: "mainCtrl",
title: 'XCharts'
})
.when("/graphs/graphs-morris", {
templateUrl: "views/graphs-morris.html",
controller: "mainCtrl",
title: 'Morris charts'
})
.when("/graphs/graphs-flot", {
templateUrl: "views/graphs-flot.html",
controller: "mainCtrl",
title: 'Flot charts'
})
.when("/graphs/graphs-dygraphs", {
templateUrl: "views/graphs-dygraphs.html",
controller: "mainCtrl",
title: 'Dygraphs'
})

.when("/email/email-compose", {
templateUrl: "views/email-compose.html",
controller: "emailCtrl",
title: 'Email compose'
})
.when("/email/email-inbox", {
templateUrl: "views/email-inbox.html",
controller: "emailCtrl",
title: 'Email inbox'
})
.when("/email/email-detail", {
templateUrl: "views/email-detail.html",
controller: "emailCtrl",
title: 'Email detail'
})

.when("/widgets", {
templateUrl: "views/widgets.html",
controller: "mainCtrl",
title: 'Widgets'
})

.when("/pages/user-profile", {
templateUrl: "views/user-profile.html",
controller: "mainCtrl",
title: 'User profile'
})
.when("/pages/calendar", {
templateUrl: "views/calendar.html",
controller: "mainCtrl",
title: 'Calendar'
})
.when("/pages/timeline", {
templateUrl: "views/timeline.html",
controller: "mainCtrl",
title: 'Timeline'
})
.when("/pages/timeline-grid", {
templateUrl: "views/timeline-grid.html",
controller: "mainCtrl",
title: 'Timeline grid'
})
.when("/pages/team-members", {
templateUrl: "views/team-members.html",
controller: "mainCtrl",
title: 'Team members'
})
.when("/pages/search", {
templateUrl: "views/search.html",
controller: "mainCtrl",
title: 'Search results'
})
.when("/pages/projects", {
templateUrl: "views/projects.html",
controller: "mainCtrl",
title: 'Projects'
})
.when("/pages/pricing", {
templateUrl: "views/pricing.html",
controller: "mainCtrl",
title: 'Pricing'
})
.when("/pages/invoice", {
templateUrl: "views/invoice.html",
controller: "mainCtrl",
title: 'Invoice'
})
.when("/pages/intro", {
templateUrl: "views/intro.html",
controller: "mainCtrl",
title: 'Tour layout'
})
.when("/pages/gallery", {
templateUrl: "views/gallery.html",
controller: "mainCtrl",
title: 'Gallery'
})
.when("/pages/gallery-v2", {
templateUrl: "views/gallery-v2.html",
controller: "mainCtrl",
title: 'Gallery v2'
})

.when("/forms/x-editable", {
templateUrl: "views/x-editable.html",
controller: "mainCtrl",
title: 'X-Editable'
})
.when("/forms/form-elements", {
templateUrl: "views/form-elements.html",
controller: "mainCtrl",
title: 'Form elements'
})
.when("/forms/form-ckeditor", {
templateUrl: "views/form-ckeditor.html",
controller: "mainCtrl",
title: 'Ckeditor'
})
.when("/forms/form-wysiwyg", {
templateUrl: "views/form-wysiwyg.html",
controller: "mainCtrl",
title: 'Wysiwyg'
})
.when("/forms/form-wizard", {
templateUrl: "views/form-wizard.html",
controller: "mainCtrl",
title: 'Wizard'
})
.when("/forms/form-wizard-popup", {
templateUrl: "views/form-wizard-popup.html",
controller: "mainCtrl",
title: 'Wizard popup'
})
.when("/forms/form-dropzone", {
templateUrl: "views/form-dropzone.html",
controller: "mainCtrl",
title: 'Dropzone'
})
.when("/forms/form-summernote", {
templateUrl: "views/form-summernote.html",
controller: "mainCtrl",
title: 'Wysiwyg Summernote'
})

.when("/ui-kit/ui-elements", {
templateUrl: "views/ui-elements.html",
controller: "mainCtrl",
title: 'UI elements'
})
.when("/ui-kit/ui-nestable", {
templateUrl: "views/ui-nestable.html",
controller: "mainCtrl",
title: 'UI nestable'
})
.when("/ui-kit/video", {
templateUrl: "views/video.html",
controller: "mainCtrl",
title: 'Video'
})
.when("/ui-kit/typography", {
templateUrl: "views/typography.html",
controller: "mainCtrl",
title: 'Typography'
})
.when("/ui-kit/notifications", {
templateUrl: "views/notifications.html",
controller: "mainCtrl",
title: 'Notifications and Alerts'
})
.when("/ui-kit/modals", {
templateUrl: "views/modals.html",
controller: "mainCtrl",
title: 'Modals'
})
.when("/ui-kit/icons/icons-awesome", {
templateUrl: "views/icons-awesome.html",
controller: "mainCtrl",
title: 'Awesome icons'
})
.when("/ui-kit/icons/icons-halflings", {
templateUrl: "views/icons-halflings.html",
controller: "mainCtrl",
title: 'Halflings icons'
})

.when("/google-maps", {
templateUrl: "views/maps.html",
controller: "mainCtrl",
title: 'Google maps'
})

.when("/extra/faq", {
templateUrl: "views/faq.html",
controller: "mainCtrl",
title: 'FAQ'
})
.when("/extra/extra-grid", {
templateUrl: "views/extra-grid.html",
controller: "mainCtrl",
title: 'Extra grid'
})
.when("/extra/email-templates", {
templateUrl: "views/emails.html",
controller: "mainCtrl",
title: 'Email templates'
})

.when("/error-404-v2", {
templateUrl: "views/error-404-v2.html",
controller: "mainCtrl",
title: 'Error 404'
})
.when("/error-404", {
templateUrl: "views/error-404-v2.html",
controller: "mainCtrl",
title: 'Error 404'
})
.otherwise({
redirectTo:'/error-404'
});
}]);

app.run(['$location', '$rootScope', function($location, $rootScope) {
$rootScope.$on('$routeChangeSuccess', function (event, current, previous) {
$rootScope.title = current.$$route.title;
});
}]);
Loading

0 comments on commit 2b6fba9

Please sign in to comment.