Skip to content

Commit

Permalink
Making websites with October CMS - Part 05 - Builder Plugin Overview
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Doric committed Aug 5, 2016
1 parent b42723b commit f2dbd36
Show file tree
Hide file tree
Showing 367 changed files with 30,433 additions and 105 deletions.
4 changes: 2 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
var elixir = require('laravel-elixir');
require('laravel-elixir-livereload');


elixir.config.assetsPath = 'themes/olympos/assets/';
elixir.config.publicPath = 'themes/olympos/assets/compiled/';

Expand All @@ -19,4 +18,5 @@ elixir(function(mix){
'themes/olympos/**/*.htm',
'themes/olympos/assets/compiled/js/*.js'
])
})

})
162 changes: 66 additions & 96 deletions octobermovies.sublime-workspace
Original file line number Diff line number Diff line change
Expand Up @@ -276,26 +276,26 @@
"buffers":
[
{
"file": "gulpfile.js",
"file": "themes/olympos/layouts/default.htm",
"settings":
{
"buffer_size": 484,
"buffer_size": 978,
"line_ending": "Unix"
}
},
{
"file": ".gitignore",
"file": "themes/olympos/pages/homepage.htm",
"settings":
{
"buffer_size": 275,
"buffer_size": 100,
"line_ending": "Unix"
}
},
{
"file": "README.md",
"file": "gulpfile.js",
"settings":
{
"buffer_size": 0,
"buffer_size": 483,
"line_ending": "Unix"
}
},
Expand All @@ -306,14 +306,6 @@
"buffer_size": 820,
"line_ending": "Unix"
}
},
{
"file": "themes/olympos/layouts/default.htm",
"settings":
{
"buffer_size": 987,
"line_ending": "Unix"
}
}
],
"build_system": "",
Expand Down Expand Up @@ -555,17 +547,29 @@
[
"/Users/ivan/Development/public/octobermovies",
"/Users/ivan/Development/public/octobermovies/themes",
"/Users/ivan/Development/public/octobermovies/themes/demo/layouts",
"/Users/ivan/Development/public/octobermovies/themes/olympos"
"/Users/ivan/Development/public/octobermovies/themes/olympos",
"/Users/ivan/Development/public/octobermovies/themes/olympos/assets",
"/Users/ivan/Development/public/octobermovies/themes/olympos/assets/compiled/css",
"/Users/ivan/Development/public/octobermovies/themes/olympos/assets/compiled/js",
"/Users/ivan/Development/public/octobermovies/themes/olympos/layouts",
"/Users/ivan/Development/public/octobermovies/themes/olympos/pages"
],
"file_history":
[
"/Users/ivan/Development/public/octobermovies/themes/olympos/assets/sass/style.scss",
"/Users/ivan/Development/public/octobermovies/plugins/rainlab/blog/Plugin.php",
"/Users/ivan/Development/public/octobermovies/plugins/rainlab/blog/routes.php",
"/Users/ivan/Development/public/octobermovies/themes/olympos/assets/css/style.css",
"/Users/ivan/Development/public/octobermovies/themes/demo/layouts/default.htm",
"/Users/ivan/Development/public/octobermovies/.gitignore",
"/Users/ivan/Development/public/octobermovies/gulpfile.js",
"/Users/ivan/Development/public/octobermovies/themes/olympos/layouts/default.htm",
"/Users/ivan/Development/public/octobermovies/themes/olympos/assets/sass/_globals.scss",
"/Users/ivan/Development/public/octobermovies/README.md",
"/Users/ivan/Development/public/octobermovies/.htaccess",
"/Users/ivan/Development/public/octobermovies/modules/backend/routes.php",
"/Users/ivan/Development/public/octobermovies/themes/olympos/public/css/style.css",
"/Users/ivan/Development/public/octobermovies/themes/olympos/assets/css/style.css",
"/Users/ivan/Development/public/octobermovies/themes/olympos/assets/js/app.js",
"/Users/ivan/Development/public/octobermovies/themes/olympos/layouts/default.htm",
"/Users/ivan/Development/public/octobermovies/themes/demo/pages/home.htm",
"/Users/ivan/Development/public/octobermovies/themes/demo/pages/about.htm",
"/Users/ivan/Development/public/octobermovies/config/app.php",
Expand Down Expand Up @@ -679,15 +683,7 @@
"/Users/ivan/Development/public/activenation/wp-content/themes/olympos/parts/lockeroom/issue-list.php",
"/Users/ivan/Development/public/activenation/wp-content/themes/olympos/parts/lockeroom/featured-article.php",
"/Users/ivan/Development/public/activenation/wp-content/themes/olympos/js/olympos.min.js",
"/private/etc/hosts",
"/Users/ivan/Development/public/activenation/gulpfile.js",
"/Users/ivan/Development/public/activenation/wp-content/themes/olympos/vendor/autoload.php",
"/Users/ivan/Development/public/activenation/wp-content/themes/olympos/vendor/composer/autoload_real.php",
"/Users/ivan/Development/public/activenation/wp-content/themes/olympos/includes/geoip2.php",
"/Users/ivan/Development/public/activenation/wp-content/themes/olympos/includes/geoip.php",
"/Users/ivan/Development/public/activenation/wp-content/themes/olympos/sass/modules/_activities-slider.scss",
"/Users/ivan/Development/public/activenation/wp-content/themes/olympos/parts/subpage-slider.php",
"/Users/ivan/Development/public/activenation/wp-content/themes/olympos/parts/single-venue/single-venue-slider.php"
"/private/etc/hosts"
],
"find":
{
Expand Down Expand Up @@ -893,99 +889,100 @@
"groups":
[
{
"selected": 2,
"selected": 1,
"sheets":
[
{
"buffer": 0,
"file": "gulpfile.js",
"file": "themes/olympos/layouts/default.htm",
"semi_transient": false,
"settings":
{
"buffer_size": 484,
"buffer_size": 978,
"regions":
{
},
"selection":
[
[
473,
473
898,
898
]
],
"settings":
{
"incomplete_sync": null,
"remote_loading": false,
"synced": false,
"syntax": "Packages/Seti_UI/icons/Langs/Gulpfile JS.tmLanguage"
"syntax": "Packages/HTML/HTML.sublime-syntax"
},
"translation.x": 0.0,
"translation.y": 0.0,
"translation.y": 460.0,
"zoom_level": 1.0
},
"stack_index": 2,
"stack_index": 1,
"type": "text"
},
{
"buffer": 1,
"file": ".gitignore",
"file": "themes/olympos/pages/homepage.htm",
"semi_transient": false,
"settings":
{
"buffer_size": 275,
"buffer_size": 100,
"regions":
{
},
"selection":
[
[
207,
207
95,
95
]
],
"settings":
{
"incomplete_sync": null,
"remote_loading": false,
"synced": false,
"syntax": "Packages/Seti_UI/icons/Langs/Git.tmLanguage"
"syntax": "Packages/HTML/HTML.sublime-syntax"
},
"translation.x": 0.0,
"translation.y": 0.0,
"zoom_level": 1.0
},
"stack_index": 1,
"stack_index": 0,
"type": "text"
},
{
"buffer": 2,
"file": "README.md",
"file": "gulpfile.js",
"semi_transient": false,
"settings":
{
"buffer_size": 0,
"buffer_size": 483,
"regions":
{
},
"selection":
[
[
0,
0
471,
433
]
],
"settings":
{
"incomplete_sync": null,
"remote_loading": false,
"synced": false,
"syntax": "Packages/MarkdownEditing/Markdown.tmLanguage"
"syntax": "Packages/Seti_UI/icons/Langs/Gulpfile JS.tmLanguage"
},
"translation.x": 0.0,
"translation.y": 0.0,
"translation.y": 263.0,
"zoom_level": 1.0
},
"stack_index": 0,
"stack_index": 3,
"type": "text"
},
{
Expand All @@ -1001,8 +998,8 @@
"selection":
[
[
265,
265
264,
264
]
],
"settings":
Expand All @@ -1013,41 +1010,10 @@
"syntax": "Packages/Syntax Highlighting for Sass/Syntaxes/SCSS.tmLanguage"
},
"translation.x": 0.0,
"translation.y": 0.0,
"zoom_level": 1.0
},
"stack_index": 4,
"type": "text"
},
{
"buffer": 4,
"file": "themes/olympos/layouts/default.htm",
"semi_transient": false,
"settings":
{
"buffer_size": 987,
"regions":
{
},
"selection":
[
[
644,
644
]
],
"settings":
{
"incomplete_sync": null,
"remote_loading": false,
"synced": false,
"syntax": "Packages/HTML/HTML.sublime-syntax"
},
"translation.x": 0.0,
"translation.y": 192.0,
"translation.y": 40.0,
"zoom_level": 1.0
},
"stack_index": 3,
"stack_index": 2,
"type": "text"
}
]
Expand Down Expand Up @@ -1623,9 +1589,25 @@
"select_project":
{
"height": 500.0,
"last_filter": "wp",
"last_filter": "watc",
"selected_items":
[
[
"watc",
"~/Development/public/watchlearn/watchlearn.sublime-project"
],
[
"hgk",
"~/Development/public/hgk/hgk.sublime-project"
],
[
"sprin",
"~/Development/public/springfall/springfall.sublime-project"
],
[
"spring",
"~/Development/public/springfall/springfall.sublime-project"
],
[
"wp",
"~/Development/public/wprest/wprest.sublime-project"
Expand All @@ -1642,10 +1624,6 @@
"repo",
"~/Development/public/reportgorilla/report.sublime-project"
],
[
"spring",
"~/Development/public/springfall/springfall.sublime-project"
],
[
"",
"~/Development/public/ivandoric/ivandoric.sublime-project"
Expand Down Expand Up @@ -1714,10 +1692,6 @@
"que",
"~/Development/public/query/query.sublime-project"
],
[
"hgk",
"~/Development/public/hgk/hgk.sublime-project"
],
[
"act",
"~/Development/public/wineapp/wineapp.sublime-project"
Expand Down Expand Up @@ -1938,10 +1912,6 @@
"j",
"/Users/ivan/Projects/jquery.sublime-project"
],
[
"watc",
"/Users/ivan/Projects/watchlearn.sublime-project"
],
[
"ipo",
"/Users/ivan/Projects/ipoduzetnik.sublime-project"
Expand Down
10 changes: 9 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,24 @@
{
"name": "octobermovies",
"version": "1.0.0",
"description": "<p align=\"center\"> <img src=\"https://github.com/octobercms/october/blob/master/themes/demo/assets/images/october.png?raw=true\" alt=\"October\" width=\"25%\" height=\"25%\" /> </p>",
"description": "Laravel Elixir",
"main": "index.js",
"directories": {
"test": "tests"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ivandoric/Making-Websites-With-October-CMS.git"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/ivandoric/Making-Websites-With-October-CMS/issues"
},
"homepage": "https://github.com/ivandoric/Making-Websites-With-October-CMS#readme",
"devDependencies": {
"laravel-elixir": "^5.0.0",
"laravel-elixir-livereload": "^1.1.6"
Expand Down
15 changes: 15 additions & 0 deletions plugins/rainlab/blog/routes.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?php

use RainLab\Blog\Models\Post;

Route::get('blog/api', function () {
$blogPosts = Post::paginate(15);

return $blogPosts;
});

Route::get('blog/api/{id}', function ($id) {
$blogPosts = Post::findOrFail($id);

return $blogPosts;
});
Loading

0 comments on commit f2dbd36

Please sign in to comment.