Themes refactored

This commit is contained in:
Dmitriy Zaporozhets 2012-11-21 07:14:05 +03:00
parent 9477448ac0
commit 4c6c24856c
15 changed files with 224 additions and 46 deletions

View file

@ -1,10 +1,12 @@
module Gitlab
class Theme
def self.css_class_by_id(id)
themes = {
themes = {
1 => "ui_basic",
2 => "ui_mars",
3 => "ui_modern"
3 => "ui_modern",
4 => "ui_gray",
5 => "ui_color"
}
id ||= 1