Skip to content

Commit

Permalink
1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tranduyhung committed Jan 30, 2017
1 parent 230493f commit 98a083a
Show file tree
Hide file tree
Showing 107 changed files with 618 additions and 383 deletions.
Empty file modified .dependencies
100644 → 100755
Empty file.
Empty file modified .gitignore
100644 → 100755
Empty file.
9 changes: 9 additions & 0 deletions CHANGELOG.md
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
# v1.1.0
## 30/01/2017

1. [](#bugfix)
* Fixed missing image in header
1. [](#improved)
* Improvements in blueprints
* Language file added

# v1.0.3
## 15/09/2016

Expand Down
Empty file modified LICENSE
100644 → 100755
Empty file.
Empty file modified README.md
100644 → 100755
Empty file.
134 changes: 70 additions & 64 deletions blueprints.yaml
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: X-Corporation
description: "Grav Theme based on X-Corporation HTML theme of uiCookies."
version: 1.0.3
version: 1.1.0
icon: briefcase
author:
name: Hung Tran
Expand All @@ -13,66 +13,72 @@ bugs: https://github.com/tranduyhung/grav-theme-x-corporation/issues
license: MIT

form:
validation: loose
fields:
logo:
type: text
label: Logo
placeholder: Filename of logo image in template's "img" folder
help: Filename of logo image in template's "img" folder.
copyright:
type: textarea
label: Copyright Text
placeholder: Text or HTML code
google_maps_api_key:
type: text
label: Google Maps API Key
placeholder: Get your Google Maps API key at https://console.developers.google.com/
footer_icons:
type: list
label: Footer's Icons
help: Shown in footer block.
fields:
.icon:
type: text
label: Font Awesome's Icon
placeholder: 'fa-facebook'

.url:
type: text
label: Link
placeholder: 'https://www.facebook.com/your-page'

footer_blocks:
type: list
label: Footer's Block
help: Shown in footer.
fields:
.title:
type: text
label: Title
placeholder: Block title
.content:
type: textarea
label: Text or HTML Code
placeholder: Text or HTML code
.logo:
type: toggle
toggleable: false
label: Show Logo
help: Show site's logo.
options:
1: PLUGIN_ADMIN.YES
0: PLUGIN_ADMIN.NO
validate:
type: bool
.icons:
type: toggle
toggleable: false
label: Show Footer Icons
help: Show footer's icons
options:
1: PLUGIN_ADMIN.YES
0: PLUGIN_ADMIN.NO
validate:
type: bool
validation: loose
fields:
logo:
type: filepicker
folder: 'theme@:/img'
preview_images: true
acccept:
- .png
- .jpg
- .gif
label: THEME_X_CORPORATION.ADMIN.LOGO.LABEL
help: THEME_X_CORPORATION.ADMIN.LOGO.HELP
copyright:
type: textarea
label: THEME_X_CORPORATION.ADMIN.COPYRIGHT_TEXT.LABEL
help: THEME_X_CORPORATION.ADMIN.COPYRIGHT_TEXT.HELP
google_maps_api_key:
type: text
label: THEME_X_CORPORATION.ADMIN.GOOGLE_MAPS_API_KEY.LABEL
help: THEME_X_CORPORATION.ADMIN.GOOGLE_MAPS_API_KEY.HELP
footer_icons:
type: list
label: THEME_X_CORPORATION.ADMIN.FOOTER_ICONS.LABEL
help: THEME_X_CORPORATION.ADMIN.FOOTER_ICONS.HELP
style: vertical
fields:
.icon:
type: text
label: THEME_X_CORPORATION.ADMIN.FOOTER_ICONS.ICON.LABEL
placeholder: THEME_X_CORPORATION.ADMIN.FOOTER_ICONS.ICON.HELP
.url:
type: text
label: THEME_X_CORPORATION.ADMIN.FOOTER_ICONS.URL.LABEL
placeholder: THEME_X_CORPORATION.ADMIN.FOOTER_ICONS.URL.HELP
footer_blocks:
type: list
label: THEME_X_CORPORATION.ADMIN.FOOTER_BLOCKS.LABEL
help: THEME_X_CORPORATION.ADMIN.FOOTER_BLOCKS.DESC
style: vertical
fields:
.title:
type: text
label: THEME_X_CORPORATION.ADMIN.FOOTER_BLOCKS.TITLE.LABEL
placeholder: THEME_X_CORPORATION.ADMIN.FOOTER_BLOCKS.TITLE.HELP
.content:
type: textarea
rows: 5
label: THEME_X_CORPORATION.ADMIN.CONTENT.LABEL
placeholder: THEME_X_CORPORATION.ADMIN.CONTENT.HELP
.logo:
type: toggle
toggleable: false
label: THEME_X_CORPORATION.ADMIN.FOOTER_BLOCKS.LOGO.LABEL
help: THEME_X_CORPORATION.ADMIN.FOOTER_BLOCKS.LOGO.HELP
options:
1: PLUGIN_ADMIN.YES
0: PLUGIN_ADMIN.NO
validate:
type: bool
.icons:
type: toggle
toggleable: false
label: THEME_X_CORPORATION.ADMIN.FOOTER_BLOCKS.ICONS.LABEL
help: THEME_X_CORPORATION.ADMIN.FOOTER_BLOCKS.ICONS.HELP
options:
1: PLUGIN_ADMIN.YES
0: PLUGIN_ADMIN.NO
validate:
type: bool
38 changes: 20 additions & 18 deletions blueprints/modular/about.yaml
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,23 @@ title: About
type: default

form:
fields:
tabs:
type: tabs
active: 1
fields:
columns:
type: tab
title: About Content
fields:
header.columns:
name: columns
type: list
label: Columns
fields:
.content:
type: textarea
label: Content
help: Column's content.
fields:
tabs:
type: tabs
active: 1
fields:
columns:
type: tab
title: THEME_X_CORPORATION.ADMIN.COLUMNS.LABEL
fields:
header.columns:
name: columns
type: list
style: vertical
label: THEME_X_CORPORATION.ADMIN.COLUMNS.LABEL
fields:
.content:
type: textarea
rows: 5
label: THEME_X_CORPORATION.ADMIN.CONTENT.LABEL
help: THEME_X_CORPORATION.ADMIN.CONTENT.HELP
69 changes: 38 additions & 31 deletions blueprints/modular/carousel.yaml
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,35 +1,42 @@
title: Carousel
'@extends':
type: default
type: default

form:
fields:
tabs:
type: tabs
active: 1
fields:
slides:
type: tab
title: Slides
fields:
header.slides:
name: slides
type: list
label: Slides
fields:
.heading:
type: text
label: Heading
help: Slide's heading.
.description:
type: textarea
label: Description
help: Slide's description.
.background_image:
type: text
label: Background Image
help: Slide's background image.
.background_image_description:
type: text
label: Background Image's Description
help: Description for slide's background image.
fields:
tabs:
type: tabs
active: 1
fields:
slides:
type: tab
title: THEME_X_CORPORATION.ADMIN.SLIDES.LABEL
fields:
header.slides:
name: slides
type: list
style: vertical
label: THEME_X_CORPORATION.ADMIN.SLIDES.LABEL
fields:
.heading:
type: text
label: THEME_X_CORPORATION.ADMIN.SLIDES.HEADING.LABEL
help: THEME_X_CORPORATION.ADMIN.SLIDES.HEADING.HELP
.description:
type: textarea
rows: 5
label: THEME_X_CORPORATION.ADMIN.SLIDES.DESCRIPTION.LABEL
help: THEME_X_CORPORATION.ADMIN.SLIDES.DESCRIPTION.HELP
.background_image:
type: filepicker
preview_images: true
acccept:
- .png
- .jpg
- .gif
label: THEME_X_CORPORATION.ADMIN.SLIDES.BACKGROUND_IMAGE.LABEL
help: THEME_X_CORPORATION.ADMIN.SLIDES.BACKGROUND_IMAGE.HELP
.background_image_description:
type: text
label: THEME_X_CORPORATION.ADMIN.SLIDES.BACKGROUND_IMAGE_DESCRIPTION.LABEL
help: THEME_X_CORPORATION.ADMIN.SLIDES.BACKGROUND_IMAGE_DESCRIPTION.HELP
60 changes: 33 additions & 27 deletions blueprints/modular/clients.yaml
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,31 +1,37 @@
title: Clients
'@extends':
type: default
type: default

form:
fields:
tabs:
type: tabs
active: 1
fields:
clients:
type: tab
title: Clients
fields:
header.clients:
name: clients
type: list
label: Clients
fields:
.name:
type: text
label: Name
help: Client's name.
.image:
type: text
label: Image
help: Client's image.
.url:
type: text
label: Website
help: Client's website.
fields:
tabs:
type: tabs
active: 1
fields:
clients:
type: tab
title: THEME_X_CORPORATION.ADMIN.CLIENTS.LABEL
fields:
header.clients:
name: clients
type: list
style: vertical
label: THEME_X_CORPORATION.ADMIN.CLIENTS.LABEL
fields:
.name:
type: text
label: THEME_X_CORPORATION.ADMIN.CLIENTS.NAME.LABEL
help: THEME_X_CORPORATION.ADMIN.CLIENTS.NAME.HELP
.image:
type: filepicker
preview_images: true
acccept:
- .png
- .jpg
- .gif
label: THEME_X_CORPORATION.ADMIN.CLIENTS.IMAGE.LABEL
help: THEME_X_CORPORATION.ADMIN.CLIENTS.IMAGE.HELP
.url:
type: text
label: THEME_X_CORPORATION.ADMIN.CLIENTS.URL.LABEL
help: THEME_X_CORPORATION.ADMIN.CLIENTS.URL.HELP
56 changes: 29 additions & 27 deletions blueprints/modular/features.yaml
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,31 +1,33 @@
title: Features
'@extends':
type: default
type: default

form:
fields:
tabs:
type: tabs
active: 1
fields:
features:
type: tab
title: Features
fields:
header.features:
name: features
type: list
label: Features
fields:
.title:
type: text
label: Title
help: Feature's title.
.icon:
type: text
label: FontAwesome Icon
help: 'Example: fa-line-chart.'
.description:
type: textarea
label: Description
help: Feature's description.
fields:
tabs:
type: tabs
active: 1
fields:
features:
type: tab
title: THEME_X_CORPORATION.ADMIN.FEATURES.LABEL
fields:
header.features:
name: features
type: list
style: vertical
label: THEME_X_CORPORATION.ADMIN.FEATURES.LABEL
fields:
.title:
type: text
label: THEME_X_CORPORATION.ADMIN.FEATURES.TITLE.LABEL
help: THEME_X_CORPORATION.ADMIN.FEATURES.TITLE.HELP
.icon:
type: text
label: THEME_X_CORPORATION.ADMIN.FEATURES.ICON.LABEL
help: THEME_X_CORPORATION.ADMIN.FEATURES.ICON.HELP
.description:
type: textarea
rows: 5
label: THEME_X_CORPORATION.ADMIN.FEATURES.DESCRIPTION.LABEL
help: THEME_X_CORPORATION.ADMIN.FEATURES.DESCRIPTION.HELP
Loading

0 comments on commit 98a083a

Please sign in to comment.