AniDB:CSS DEV: Difference between revisions

Jump to navigation Jump to search
m
Line 67: Line 67:


==Merging & Hosting==
==Merging & Hosting==
Every css that is used this way gets merged into 1 file (to reduce http overhead), uploaded to 1 of anidb's server and added to the dropdown menu in the anidb [[profile]]. To realize this a python script is used, doing the following:
Every css that is used this way gets merged into 1 file (to reduce http overhead), uploaded to 1 of anidb's server and added to the style selection in the anidb [[profile]]. To realize this a python script is used, doing the following:


# read the file '''stylelist''' in the same folder as the script (ignores lines starting with #)
# read the file '''stylelist''' in the same folder as the script (ignores lines starting with #)
Line 75: Line 75:
# checks if there are is an /images/ folder below the css folder and if yes collects a list of all gif/jpg/png files
# checks if there are is an /images/ folder below the css folder and if yes collects a list of all gif/jpg/png files
# uploads the big css file and the images to 1 of anidb's server
# uploads the big css file and the images to 1 of anidb's server
(not done yet # upodates some configfile responsible for the dropdown menu in the [[profile]])


[[Category:Development]][[Category:CSS]]
[[Category:Development]][[Category:CSS]]
347

edits

Navigation menu

MediaWiki spam blocked by CleanTalk.
MediaWiki spam blocked by CleanTalk.