[Bps-public-commit] rt-extension-exampletheme branch, master, created. c34bcd49f7097de4056d369c36106e0a8cc92ac2
Shawn Moore
shawn at bestpractical.com
Mon Aug 28 16:40:57 EDT 2017
The branch, master has been created
at c34bcd49f7097de4056d369c36106e0a8cc92ac2 (commit)
- Log -----------------------------------------------------------------
commit c34bcd49f7097de4056d369c36106e0a8cc92ac2
Author: Shawn M Moore <shawn at bestpractical.com>
Date: Mon Aug 28 16:39:51 2017 -0400
Rename CustomTheme -> ExampleTheme
diff --git a/RT-Extension-CustomTheme/.gitignore b/.gitignore
similarity index 81%
rename from RT-Extension-CustomTheme/.gitignore
rename to .gitignore
index ec8350e..abc179c 100644
--- a/RT-Extension-CustomTheme/.gitignore
+++ b/.gitignore
@@ -6,7 +6,7 @@ pm_to_blib*
.lwpcookies
cover_db
pod2htm*.tmp
-/RT-Extension-CustomTheme*
+/RT-Extension-ExampleTheme*
*.bak
*.swp
/MYMETA.*
diff --git a/Changes b/Changes
new file mode 100644
index 0000000..fe188f8
--- /dev/null
+++ b/Changes
@@ -0,0 +1,4 @@
+Revision history for RT-Extension-ExampleTheme
+
+0.01 [Release Date]
+ - Initial version
diff --git a/RT-Extension-CustomTheme/META.yml b/META.yml
similarity index 79%
rename from RT-Extension-CustomTheme/META.yml
rename to META.yml
index a7432a1..be3e7b5 100644
--- a/RT-Extension-CustomTheme/META.yml
+++ b/META.yml
@@ -1,5 +1,5 @@
---
-abstract: 'RT-Extension-CustomTheme Extension'
+abstract: 'RT-Extension-ExampleTheme Extension'
author:
- 'Best Practical Solutions, LLC <modules at bestpractical.com>'
build_requires:
@@ -13,7 +13,7 @@ license: gplv2
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
version: 1.4
-name: RT-Extension-CustomTheme
+name: RT-Extension-ExampleTheme
no_index:
directory:
- html
@@ -23,7 +23,7 @@ requires:
perl: 5.10.1
resources:
license: http://opensource.org/licenses/gpl-license.php
- repository: https://github.com/bestpractical/rt-extension-customtheme
+ repository: https://github.com/bestpractical/rt-extension-exampletheme
version: '0.01'
x_module_install_rtx_version: '0.39'
x_requires_rt: 4.2.0
diff --git a/Makefile.PL b/Makefile.PL
new file mode 100644
index 0000000..2844453
--- /dev/null
+++ b/Makefile.PL
@@ -0,0 +1,11 @@
+use inc::Module::Install;
+
+RTx 'RT-Extension-ExampleTheme';
+license 'gplv2';
+repository 'https://github.com/bestpractical/rt-extension-exampletheme';
+
+requires_rt '4.2.0';
+rt_too_new '4.6.0';
+
+sign;
+WriteAll;
diff --git a/RT-Extension-CustomTheme/README b/README
similarity index 71%
rename from RT-Extension-CustomTheme/README
rename to README
index 1eda789..2d08efa 100644
--- a/RT-Extension-CustomTheme/README
+++ b/README
@@ -1,5 +1,5 @@
NAME
- RT-Extension-CustomTheme - [One line description of module's purpose
+ RT-Extension-ExampleTheme - [One line description of module's purpose
here]
DESCRIPTION
@@ -20,13 +20,13 @@ INSTALLATION
Edit your /opt/rt4/etc/RT_SiteConfig.pm
If you are using RT 4.2 or greater, add this line:
- Plugin('RT::Extension::CustomTheme');
+ Plugin('RT::Extension::ExampleTheme');
For RT 4.0, add this line:
- Set(@Plugins, qw(RT::Extension::CustomTheme));
+ Set(@Plugins, qw(RT::Extension::ExampleTheme));
- or add RT::Extension::CustomTheme to your existing @Plugins line.
+ or add RT::Extension::ExampleTheme to your existing @Plugins line.
Clear your mason cache
rm -rf /opt/rt4/var/mason_data/obj
@@ -39,11 +39,11 @@ AUTHOR
BUGS
All bugs should be reported via email to
- L<bug-RT-Extension-CustomTheme at rt.cpan.org|mailto:bug-RT-Extension-CustomTheme at rt.cpan.org>
+ L<bug-RT-Extension-ExampleTheme at rt.cpan.org|mailto:bug-RT-Extension-ExampleTheme at rt.cpan.org>
or via the web at
- L<rt.cpan.org|http://rt.cpan.org/Public/Dist/Display.html?Name=RT-Extension-CustomTheme>.
+ L<rt.cpan.org|http://rt.cpan.org/Public/Dist/Display.html?Name=RT-Extension-ExampleTheme>.
LICENSE AND COPYRIGHT
This software is Copyright (c) 2017 by Maureen
diff --git a/RT-Extension-CustomTheme/Changes b/RT-Extension-CustomTheme/Changes
deleted file mode 100644
index 83c89dc..0000000
--- a/RT-Extension-CustomTheme/Changes
+++ /dev/null
@@ -1,4 +0,0 @@
-Revision history for RT-Extension-CustomTheme
-
-0.01 [Release Date]
- - Initial version
diff --git a/RT-Extension-CustomTheme/Makefile.PL b/RT-Extension-CustomTheme/Makefile.PL
deleted file mode 100644
index 29b5411..0000000
--- a/RT-Extension-CustomTheme/Makefile.PL
+++ /dev/null
@@ -1,11 +0,0 @@
-use inc::Module::Install;
-
-RTx 'RT-Extension-CustomTheme';
-license 'gplv2';
-repository 'https://github.com/bestpractical/rt-extension-customtheme';
-
-requires_rt '4.2.0';
-rt_too_new '4.6.0';
-
-sign;
-WriteAll;
diff --git a/RT-Extension-CustomTheme/etc/CustomTheme_Config.pm b/RT-Extension-CustomTheme/etc/CustomTheme_Config.pm
deleted file mode 100644
index 4864b15..0000000
--- a/RT-Extension-CustomTheme/etc/CustomTheme_Config.pm
+++ /dev/null
@@ -1,3 +0,0 @@
-use utf8;
-
-Set( $WebDefaultStylesheet, ('custom-theme'));
diff --git a/etc/ExampleTheme_Config.pm b/etc/ExampleTheme_Config.pm
new file mode 100644
index 0000000..5b076a3
--- /dev/null
+++ b/etc/ExampleTheme_Config.pm
@@ -0,0 +1,3 @@
+use utf8;
+
+Set( $WebDefaultStylesheet, ('example-theme'));
diff --git a/RT-Extension-CustomTheme/html/NoAuth/css/custom-theme/AfterMenus b/html/NoAuth/css/example-theme/AfterMenus
similarity index 100%
rename from RT-Extension-CustomTheme/html/NoAuth/css/custom-theme/AfterMenus
rename to html/NoAuth/css/example-theme/AfterMenus
diff --git a/RT-Extension-CustomTheme/html/NoAuth/css/custom-theme/InHeader b/html/NoAuth/css/example-theme/InHeader
similarity index 100%
rename from RT-Extension-CustomTheme/html/NoAuth/css/custom-theme/InHeader
rename to html/NoAuth/css/example-theme/InHeader
diff --git a/RT-Extension-CustomTheme/html/NoAuth/css/custom-theme/main.css b/html/NoAuth/css/example-theme/main.css
similarity index 98%
rename from RT-Extension-CustomTheme/html/NoAuth/css/custom-theme/main.css
rename to html/NoAuth/css/example-theme/main.css
index 8a4a7ca..a6acc41 100644
--- a/RT-Extension-CustomTheme/html/NoAuth/css/custom-theme/main.css
+++ b/html/NoAuth/css/example-theme/main.css
@@ -1,6 +1,6 @@
@import "../rudder/main.css";
-body.custom-theme {
+body.example-theme {
font-family: helvetica, verdana, sans-serif;
}
diff --git a/RT-Extension-CustomTheme/inc/Module/Install.pm b/inc/Module/Install.pm
similarity index 100%
rename from RT-Extension-CustomTheme/inc/Module/Install.pm
rename to inc/Module/Install.pm
diff --git a/RT-Extension-CustomTheme/inc/Module/Install/Base.pm b/inc/Module/Install/Base.pm
similarity index 100%
rename from RT-Extension-CustomTheme/inc/Module/Install/Base.pm
rename to inc/Module/Install/Base.pm
diff --git a/RT-Extension-CustomTheme/inc/Module/Install/Can.pm b/inc/Module/Install/Can.pm
similarity index 100%
rename from RT-Extension-CustomTheme/inc/Module/Install/Can.pm
rename to inc/Module/Install/Can.pm
diff --git a/RT-Extension-CustomTheme/inc/Module/Install/Fetch.pm b/inc/Module/Install/Fetch.pm
similarity index 100%
rename from RT-Extension-CustomTheme/inc/Module/Install/Fetch.pm
rename to inc/Module/Install/Fetch.pm
diff --git a/RT-Extension-CustomTheme/inc/Module/Install/Include.pm b/inc/Module/Install/Include.pm
similarity index 100%
rename from RT-Extension-CustomTheme/inc/Module/Install/Include.pm
rename to inc/Module/Install/Include.pm
diff --git a/RT-Extension-CustomTheme/inc/Module/Install/Makefile.pm b/inc/Module/Install/Makefile.pm
similarity index 100%
rename from RT-Extension-CustomTheme/inc/Module/Install/Makefile.pm
rename to inc/Module/Install/Makefile.pm
diff --git a/RT-Extension-CustomTheme/inc/Module/Install/Metadata.pm b/inc/Module/Install/Metadata.pm
similarity index 100%
rename from RT-Extension-CustomTheme/inc/Module/Install/Metadata.pm
rename to inc/Module/Install/Metadata.pm
diff --git a/RT-Extension-CustomTheme/inc/Module/Install/RTx.pm b/inc/Module/Install/RTx.pm
similarity index 100%
rename from RT-Extension-CustomTheme/inc/Module/Install/RTx.pm
rename to inc/Module/Install/RTx.pm
diff --git a/RT-Extension-CustomTheme/inc/Module/Install/RTx/Runtime.pm b/inc/Module/Install/RTx/Runtime.pm
similarity index 100%
rename from RT-Extension-CustomTheme/inc/Module/Install/RTx/Runtime.pm
rename to inc/Module/Install/RTx/Runtime.pm
diff --git a/RT-Extension-CustomTheme/inc/Module/Install/ReadmeFromPod.pm b/inc/Module/Install/ReadmeFromPod.pm
similarity index 100%
rename from RT-Extension-CustomTheme/inc/Module/Install/ReadmeFromPod.pm
rename to inc/Module/Install/ReadmeFromPod.pm
diff --git a/RT-Extension-CustomTheme/inc/Module/Install/Win32.pm b/inc/Module/Install/Win32.pm
similarity index 100%
rename from RT-Extension-CustomTheme/inc/Module/Install/Win32.pm
rename to inc/Module/Install/Win32.pm
diff --git a/RT-Extension-CustomTheme/inc/Module/Install/WriteAll.pm b/inc/Module/Install/WriteAll.pm
similarity index 100%
rename from RT-Extension-CustomTheme/inc/Module/Install/WriteAll.pm
rename to inc/Module/Install/WriteAll.pm
diff --git a/RT-Extension-CustomTheme/inc/YAML/Tiny.pm b/inc/YAML/Tiny.pm
similarity index 100%
rename from RT-Extension-CustomTheme/inc/YAML/Tiny.pm
rename to inc/YAML/Tiny.pm
diff --git a/RT-Extension-CustomTheme/lib/RT/Extension/CustomTheme.pm b/lib/RT/Extension/ExampleTheme.pm
similarity index 71%
rename from RT-Extension-CustomTheme/lib/RT/Extension/CustomTheme.pm
rename to lib/RT/Extension/ExampleTheme.pm
index 695c605..1cbb589 100644
--- a/RT-Extension-CustomTheme/lib/RT/Extension/CustomTheme.pm
+++ b/lib/RT/Extension/ExampleTheme.pm
@@ -1,15 +1,15 @@
use strict;
use warnings;
-package RT::Extension::CustomTheme;
+package RT::Extension::ExampleTheme;
our $VERSION = '0.01';
# Add css files to the @CSSFiles config
-RT->AddStyleSheets('custom-theme.css');
+RT->AddStyleSheets('example-theme.css');
=head1 NAME
-RT-Extension-CustomTheme - [One line description of module's purpose here]
+RT-Extension-ExampleTheme - [One line description of module's purpose here]
=head1 DESCRIPTION
@@ -38,13 +38,13 @@ May need root permissions
If you are using RT 4.2 or greater, add this line:
- Plugin('RT::Extension::CustomTheme');
+ Plugin('RT::Extension::ExampleTheme');
For RT 4.0, add this line:
- Set(@Plugins, qw(RT::Extension::CustomTheme));
+ Set(@Plugins, qw(RT::Extension::ExampleTheme));
-or add C<RT::Extension::CustomTheme> to your existing C<@Plugins> line.
+or add C<RT::Extension::ExampleTheme> to your existing C<@Plugins> line.
=item Clear your mason cache
@@ -62,11 +62,11 @@ Best Practical Solutions, LLC E<lt>modules at bestpractical.comE<gt>
All bugs should be reported via email to
- L<bug-RT-Extension-CustomTheme at rt.cpan.org|mailto:bug-RT-Extension-CustomTheme at rt.cpan.org>
+ L<bug-RT-Extension-ExampleTheme at rt.cpan.org|mailto:bug-RT-Extension-ExampleTheme at rt.cpan.org>
or via the web at
- L<rt.cpan.org|http://rt.cpan.org/Public/Dist/Display.html?Name=RT-Extension-CustomTheme>.
+ L<rt.cpan.org|http://rt.cpan.org/Public/Dist/Display.html?Name=RT-Extension-ExampleTheme>.
=head1 LICENSE AND COPYRIGHT
diff --git a/RT-Extension-CustomTheme/static/css/custom-theme/AfterMenus b/static/css/example-theme/AfterMenus
similarity index 100%
rename from RT-Extension-CustomTheme/static/css/custom-theme/AfterMenus
rename to static/css/example-theme/AfterMenus
diff --git a/RT-Extension-CustomTheme/static/css/custom-theme/InHeader b/static/css/example-theme/InHeader
similarity index 100%
rename from RT-Extension-CustomTheme/static/css/custom-theme/InHeader
rename to static/css/example-theme/InHeader
diff --git a/RT-Extension-CustomTheme/static/css/custom-theme/main.css b/static/css/example-theme/main.css
similarity index 98%
rename from RT-Extension-CustomTheme/static/css/custom-theme/main.css
rename to static/css/example-theme/main.css
index b2c85e1..c361ae5 100644
--- a/RT-Extension-CustomTheme/static/css/custom-theme/main.css
+++ b/static/css/example-theme/main.css
@@ -1,6 +1,6 @@
@import "../rudder/main.css";
-body.custom-theme {
+body.example-theme {
font-family: helvetica, verdana, sans-serif;
}
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list