chendong0444 / gitinspector

Automatically exported from code.google.com/p/gitinspector
GNU General Public License v3.0
0 stars 0 forks source link

Responsive HTML theme #28

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hello gitinspector folks. I'm using gitinspector to chew through a handful of 
repositories and output the reports to `html`. I am a front-end developer and 
interested in developing a more responsive, modern UI for my reports - but 
instead of just hacking my local copy I was wondering what the Correct Way™ 
to go about this was to be ab able to commit my changes bak upstream, or as an 
alternative output format if other want to use it.

Is there a git repository of the source somewhere I could fork and commit my 
changes, or what's my best bet for adding to what you already have without my 
codebase going stale?

Thanks for the help!

Original issue reported on code.google.com by tomhodg...@gmail.com on 15 Apr 2014 at 9:52

GoogleCodeExporter commented 9 years ago
Hi. I was actually planning an adaption towards Bootstrap 3. However, this is 
far down on the todo list. In any case, I might be willing to completely 
replace the current output with your solution if it's an improvement :).

It's better to just have one HTML output and do it really well.

You have two options:
1. Hack away and attach a diff patch with the commits to this issue.
2. Clone the repository at http://code.google.com/p/gitinspector/source/clones. 
I can then cherry pick / merge your commits.

What you will need to modify:
html/html.header (contains all css and javascript)
html/html.footer

Also, each module that outputs html extends the Outputable class and implements 
the html output inside output_html().

Try to strive for small commits and follow our conventions for commit messages 
and source code layout. Running pylint often helps (use the configuration file 
provided in the root directory).

Don't hesitate to ask if you have any questions. :)

/Adam Waldenberg

Original comment by gitinspe...@ejwa.se on 16 Apr 2014 at 2:51

GoogleCodeExporter commented 9 years ago

Original comment by gitinspe...@ejwa.se on 24 Nov 2014 at 8:04