Olemis Lang avatar Olemis Lang committed 2fb4689

TracMacOS: Metadata and introductory changes

Comments (0)

Files changed (10)

 
-graft extheme/htdocs
+graft tracmacos/htdocs
 
Add a comment to this file

extheme/__init__.py

Empty file removed.

extheme/htdocs/example.css

-/* Trac custom stylesheet for Example theme */
-
-#mainnav {
-  background:#FFFFCC none repeat scroll 0pt 0pt;
-}
-
-#tabs {
-  background:#E0ECFF none repeat scroll 0% 0%;
-}
Add a comment to this file

extheme/htdocs/screenshot.png

Removed
Old image

extheme/theme.py

-# Creado por Olemis Lang el 7/3/2009 12:31AM.
-# Copyright (c) 2009 Olemis Lang. All rights reserved.
-
-from trac.core import *
-
-from themeengine.api import ThemeBase
-
-class ExampleTheme(ThemeBase):
-    """Un tema sencillo para Trac."""
-    
-    htdocs = css = screenshot = True
-    
 #!/usr/bin/env python
 # -*- coding: iso-8859-1 -*-
 
+# Copyright (c) 2010 Olemis Lang. All rights reserved.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+# 
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+# 
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
 from setuptools import setup
 
 setup(
-  name = 'TracExampleTheme',
+  name = 'TracMacOSTheme',
   version = '1.0',
   author = "Olemis Lang",
-  author_email = 'flioops.project@gmail.com',
+  author_email = 'olemis+trac@gmail.com',
   maintainer = 'Olemis Lang',
-  maintainer_email = \
-                 'flioops.project@gmail.com',
-  description = "Tema de ejemplo (Trac)",
+  maintainer_email = 'olemis+trac@gmail.com',
+  description = "Trac theme to make it look like Mac OS",
   license = "GNU GPL v2",
   keywords = "trac plugin theme",
-  url = "http://opensvn.csie.org/traccgi/swlcu",
-  packages = ['extheme'],
-  package_data = {'extheme': ['htdocs/*.*']},
+  url = "http://trac-hacks.org/wiki/TracMacTheme",
+  packages = ['tracmacos'],
+  package_data = {'tracmacos': ['htdocs/*.*']},
   classifiers = [
-      'Framework :: Trac',
+        'Development Status :: 4 - Beta',
+        'Environment :: MacOS X',
+        'Environment :: MacOS X :: Aqua',
+        'Environment :: Plugins',
+        'Environment :: Web Environment',
+        'Framework :: Trac',
+        'Intended Audience :: Developers',
+        'Intended Audience :: Information Technology',
+        'Intended Audience :: System Administrators',
+        'License :: OSI Approved :: GNU General Public License (GPL)',
+        'Natural Language :: English',
+        'Natural Language :: Spanish',
+        'Operating System :: OS Independent',
+        'Programming Language :: Python',
+        'Programming Language :: Python :: 2.4',
+        'Programming Language :: Python :: 2.5',
+        'Programming Language :: Python :: 2.6',
+        'Topic :: Internet :: WWW/HTTP',
+        'Topic :: Software Development :: Bug Tracking',
+        'Topic :: Software Development :: User Interfaces',
     ],
   install_requires = ['TracThemeEngine'],
   entry_points = {
       'trac.plugins': [
-            'extheme.theme = extheme.theme',
+            'tracmacos.theme = tracmacos.theme',
         ]}
 )

tracmacos/__init__.py

+# Copyright (c) 2010 Olemis Lang. All rights reserved.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+# 
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+# 
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+

tracmacos/htdocs/macos.css

+/* 
+# Copyright (c) 2010 Olemis Lang. All rights reserved.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+# 
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+# 
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+Trac custom stylesheet for Example theme 
+*/
+
+#mainnav {
+  background:#FFFFCC none repeat scroll 0pt 0pt;
+}
+
+#tabs {
+  background:#E0ECFF none repeat scroll 0% 0%;
+}
Add a comment to this file

tracmacos/htdocs/screenshot.png

Added
New image

tracmacos/theme.py

+# Copyright (c) 2010 Olemis Lang. All rights reserved.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+# 
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+# 
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+from trac.core import *
+
+from themeengine.api import ThemeBase
+
+class MacTheme(ThemeBase):
+    """A theme for Trac based on Mac OS appearance."""
+    
+    htdocs = css = screenshot = True
+    
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.