-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 1266d20
Showing
764 changed files
with
218,070 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?php | ||
/** | ||
* @author Semenov Alexander <[email protected]> | ||
* @link http://skeeks.com/ | ||
* @copyright 2010 SkeekS (СкикС) | ||
* @date 24.10.2015 | ||
*/ | ||
namespace skeeks\template\boomerang; | ||
|
||
use yii\web\AssetBundle; | ||
|
||
class BoomerangAsset extends AssetBundle | ||
{ | ||
public $sourcePath = '@skeeks/template/boomerang/src/'; | ||
|
||
/** | ||
* @param string $asset | ||
* @return string | ||
* @throws \yii\base\InvalidConfigException | ||
*/ | ||
static public function getAssetUrl($asset) | ||
{ | ||
return \Yii::$app->assetManager->getAssetUrl(\Yii::$app->assetManager->getBundle(static::className()), $asset); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Процесс разработки. | ||
============== | ||
|
||
1.0.0 | ||
----------------- | ||
* Стабильный релиз |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
Шаблон smarty boostrap | ||
=================================== | ||
|
||
Информация | ||
------------------- | ||
|
||
Это просто нетронутый шаблон купленный тут http://wrapbootstrap.com/preview/WB021609D | ||
И оформленный для работы с yii2 проектами | ||
|
||
Установка | ||
------------ | ||
|
||
1) Добавить в `composer.json` файл проекта. | ||
|
||
``` | ||
"skeeks/yii2-template-boomerang": "*" | ||
``` | ||
|
||
|
||
Пример использования | ||
------------ | ||
|
||
Решение оформлено для работы с yii2 проектами. Для использования в проекте создается собственный AssetBoundle который наследуется от родительского skeeks\template\smarty\SmartyAsset и набираются нужные файлы css и js. | ||
Ну а html разметка за разработчиком. | ||
|
||
```php | ||
|
||
<?php | ||
namespace frontend\assets; | ||
|
||
use skeeks\template\cube\CubeAsset; | ||
|
||
/** | ||
* Class CubeAsset | ||
* @package frontend\assets | ||
*/ | ||
class SmartyThemeAsset extends CubeAsset | ||
{ | ||
public $css = [ | ||
'https://fonts.googleapis.com/css?family=Open+Sans:300,400%7CRaleway:300,400,500,600,700%7CLato:300,400,400italic,600,700', | ||
'css/essentials.css', | ||
'css/layout.css', | ||
'css/header-1.css', | ||
'css/color_scheme/green.css', | ||
]; | ||
|
||
public $js = [ | ||
//'js/scripts.js', | ||
]; | ||
} | ||
|
||
|
||
``` | ||
|
||
> [![skeeks!](https://gravatar.com/userimage/74431132/13d04d83218593564422770b616e5622.jpg)](http://www.skeeks.com) | ||
<i>Быстро, просто, эффективно</i> | ||
[cms.skeeks.com](http://cms.skeeks.com) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
1.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"name": "skeeks/yii2-template-boomerang", | ||
"description": "Boomerang - MultiPurpose Template", | ||
"keywords": ["template", "yii2", "boomerang", "bootstrap", "css3"], | ||
"homepage": "http://www.skeeks.com/", | ||
"type": "yii2-extension", | ||
"license": "BSD-3-Clause", | ||
"support": { | ||
"issues": "http://cms.skeeks.com", | ||
"wiki": "http://git.skeeks.com/skeeks/cms/wikis/home", | ||
"source": "http://git.skeeks.com/skeeks/cms" | ||
}, | ||
"authors": [ | ||
{ | ||
"name": "Semenov Alexander", | ||
"email": "[email protected]" | ||
} | ||
], | ||
"require": { | ||
"yiisoft/yii2": "*" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"skeeks\\template\\boomerang\\": "" | ||
} | ||
} | ||
} |
Oops, something went wrong.