2011-04-01 | Paul Boddie | file changeset files shortlog | Fixed the output encoding of many types of textual data. Added CSS class usage for table cells containing dates, authors, navigation, branches and tags. Tidied up table column widths, attempting to make the branches, tags and summary views cleaner. Removed explicit widths from various templates. Fixed the changeset navigation vertical alignment. Added links to the branches view. |
paul@22 | 1 | #!/bin/bash |
paul@22 | 2 | |
paul@22 | 3 | if [[ ! $1 ]] ; then |
paul@22 | 4 | echo "Please specify the location of the templates directory such as" |
paul@22 | 5 | echo "/var/lib/python-support/python2.5/mercurial/templates or" |
paul@22 | 6 | echo "/usr/lib/python2.5/site-packages/mercurial/templates" |
paul@22 | 7 | echo "This should contain a static directory." |
paul@22 | 8 | exit |
paul@22 | 9 | fi |
paul@22 | 10 | |
paul@23 | 11 | mkdir -p $1/mercurialweb |
paul@23 | 12 | cp themes/mercurialweb/map $1/mercurialweb/ |
paul@23 | 13 | cp themes/mercurialweb/*.tmpl $1/mercurialweb/ |
paul@24 | 14 | cp themes/mercurialweb/static/*.css $1/static/ |
paul@24 | 15 | cp themes/mercurialweb/static/*.png $1/static/ |