Skip to content

Commit

Permalink
start
Browse files Browse the repository at this point in the history
  • Loading branch information
skeeks-semenov committed Oct 24, 2015
0 parents commit 1266d20
Show file tree
Hide file tree
Showing 764 changed files with 218,070 additions and 0 deletions.
25 changes: 25 additions & 0 deletions BoomerangAsset.php
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);
}
}
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Процесс разработки.
==============

1.0.0
-----------------
* Стабильный релиз
57 changes: 57 additions & 0 deletions README.md
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)
1 change: 1 addition & 0 deletions VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1.0.0
27 changes: 27 additions & 0 deletions composer.json
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\\": ""
}
}
}
Loading

0 comments on commit 1266d20

Please sign in to comment.