-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathextension.rb
37 lines (30 loc) · 1.31 KB
/
extension.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
BlackStack::Extensions::add ({
# descriptive name and descriptor
:name => 'templatesjs',
# Write a description here. It will be shown in the main dashboard of your MySaaS project.
:description => 'The Filters.Js is a little HTML widget to show nice filters that enhance the user experience.',
# setup the url of the repository for installation and updates
:repo_url => 'https://github.com/leandrosardi/templatesjs',
:repo_branch => 'main',
# define version with format <mayor>.<minor>.<revision>
:version => '1.0.1',
# define the name of the author
:author => 'Leandro D. Sardi',
# what is the section to add this extension in either the top-bar, the footer, the dashboard.
:services_section => 'Developers',
# show this extension as a service in the top bar?
:show_in_top_bar => false,
# show this extension as a service in the footer?
:show_in_footer => true,
# show this extension as a service in the dashboard?
:show_in_dashboard => false,
# define CSSS files to add to the header of every page
:css_files => [
'/templatesjs/css/templates.css',
],
# define JS files to add to the header of every page
:js_files => [
'/templatesjs/javascripts/templates.min.js',
'/templatesjs/javascripts/commons.js',
],
})