Skip to content

Commit

Permalink
Tab icons\!
Browse files Browse the repository at this point in the history
  • Loading branch information
Wynn Netherland committed Oct 22, 2008
1 parent 1bcbc83 commit 0da2db6
Show file tree
Hide file tree
Showing 5 changed files with 135 additions and 43 deletions.
56 changes: 28 additions & 28 deletions lang/en.yml
Expand Up @@ -240,13 +240,13 @@ label_project_new: New project
label_project_plural: Projects
label_project_all: All Projects
label_project_latest: Latest projects
label_issue: Issue
label_issue_new: New issue
label_issue_plural: Issues
label_issue_view_all: View all issues
label_issues_by: Issues by %s
label_issue_added: Issue added
label_issue_updated: Issue updated
label_issue: Ticket
label_issue_new: New ticket
label_issue_plural: Tickets
label_issue_view_all: View all tickets
label_issues_by: Tickets by %s
label_issue_added: Tickets added
label_issue_updated: Ticket updated
label_document: Document
label_document_new: New document
label_document_plural: Documents
Expand All @@ -262,11 +262,11 @@ label_tracker: Tracker
label_tracker_plural: Trackers
label_tracker_new: New tracker
label_workflow: Workflow
label_issue_status: Issue status
label_issue_status: Ticket status
label_issue_status_plural: Issue statuses
label_issue_status_new: New status
label_issue_category: Issue category
label_issue_category_plural: Issue categories
label_issue_category: Ticket category
label_issue_category_plural: Ticket categories
label_issue_category_new: New category
label_custom_field: Custom field
label_custom_field_plural: Custom fields
Expand All @@ -286,8 +286,8 @@ label_administration: Administration
label_login: Sign in
label_logout: Sign out
label_help: Help
label_reported_issues: Reported issues
label_assigned_to_me_issues: Issues assigned to me
label_reported_issues: Reported tickets
label_assigned_to_me_issues: Tickets assigned to me
label_last_login: Last connection
label_last_updates: Last updated
label_last_updates_plural: %d last updated
Expand Down Expand Up @@ -421,7 +421,7 @@ label_sort_lowest: Move to bottom
label_roadmap: Roadmap
label_roadmap_due_in: Due in %s
label_roadmap_overdue: %s late
label_roadmap_no_issues: No issues for this version
label_roadmap_no_issues: No tickets for this version
label_search: Search
label_result_plural: Results
label_all_words: All words
Expand All @@ -436,7 +436,7 @@ label_current_version: Current version
label_preview: Preview
label_feed_plural: Feeds
label_changes_details: Details of all changes
label_issue_tracking: Issue tracking
label_issue_tracking: Ticket tracking
label_spent_time: Spent time
label_f_hour: %.2f hour
label_f_hour_plural: %.2f hours
Expand All @@ -451,8 +451,8 @@ label_diff_side_by_side: side by side
label_options: Options
label_copy_workflow_from: Copy workflow from
label_permissions_report: Permissions report
label_watched_issues: Watched issues
label_related_issues: Related issues
label_watched_issues: Watched tickets
label_related_issues: Related tickets
label_applied_status: Applied status
label_loading: Loading...
label_relation_new: New relation
Expand Down Expand Up @@ -499,7 +499,7 @@ label_file_plural: Files
label_changeset_plural: Changesets
label_default_columns: Default columns
label_no_change_option: (No change)
label_bulk_edit_selected_issues: Bulk edit selected issues
label_bulk_edit_selected_issues: Bulk edit selected tickets
label_theme: Theme
label_default: Default
label_search_titles_only: Search titles only
Expand Down Expand Up @@ -592,26 +592,26 @@ text_length_between: Length between %d and %d characters.
text_tracker_no_workflow: No workflow defined for this tracker
text_unallowed_characters: Unallowed characters
text_comma_separated: Multiple values allowed (comma separated).
text_issues_ref_in_commit_messages: Referencing and fixing issues in commit messages
text_issue_added: Issue %s has been reported by %s.
text_issue_updated: Issue %s has been updated by %s.
text_issues_ref_in_commit_messages: Referencing and fixing tickets in commit messages
text_issue_added: Ticket %s has been reported by %s.
text_issue_updated: Ticket %s has been updated by %s.
text_wiki_destroy_confirmation: Are you sure you want to delete this wiki and all its content ?
text_issue_category_destroy_question: Some issues (%d) are assigned to this category. What do you want to do ?
text_issue_category_destroy_question: Some tickets (%d) are assigned to this category. What do you want to do ?
text_issue_category_destroy_assignments: Remove category assignments
text_issue_category_reassign_to: Reassign issues to this category
text_user_mail_option: "For unselected projects, you will only receive notifications about things you watch or you're involved in (eg. issues you're the author or assignee)."
text_no_configuration_data: "Roles, trackers, issue statuses and workflow have not been configured yet.\nIt is highly recommended to load the default configuration. You will be able to modify it once loaded."
text_issue_category_reassign_to: Reassign tickets to this category
text_user_mail_option: "For unselected projects, you will only receive notifications about things you watch or you're involved in (eg. tickets you're the author or assignee)."
text_no_configuration_data: "Roles, trackers, ticket statuses and workflow have not been configured yet.\nIt is highly recommended to load the default configuration. You will be able to modify it once loaded."
text_load_default_configuration: Load the default configuration
text_status_changed_by_changeset: Applied in changeset %s.
text_issues_destroy_confirmation: 'Are you sure you want to delete the selected issue(s) ?'
text_issues_destroy_confirmation: 'Are you sure you want to delete the selected ticket(s) ?'
text_select_project_modules: 'Select modules to enable for this project:'
text_default_administrator_account_changed: Default administrator account changed
text_file_repository_writable: File repository writable
text_rmagick_available: RMagick available (optional)
text_destroy_time_entries_question: %.02f hours were reported on the issues you are about to delete. What do you want to do ?
text_destroy_time_entries_question: %.02f hours were reported on the tickets you are about to delete. What do you want to do ?
text_destroy_time_entries: Delete reported hours
text_assign_time_entries_to_project: Assign reported hours to the project
text_reassign_time_entries: 'Reassign reported hours to this issue:'
text_reassign_time_entries: 'Reassign reported hours to this ticket:'
text_user_wrote: '%s wrote:'
text_enumeration_destroy_question: '%d objects are assigned to this value.'
text_enumeration_category_reassign_to: 'Reassign them to this value:'
Expand Down Expand Up @@ -639,6 +639,6 @@ default_priority_immediate: Immediate
default_activity_design: Design
default_activity_development: Development

enumeration_issue_priorities: Issue priorities
enumeration_issue_priorities: Ticket priorities
enumeration_doc_categories: Document categories
enumeration_activities: Activities (time tracking)
2 changes: 1 addition & 1 deletion lib/redmine/menu_manager.rb
Expand Up @@ -83,7 +83,7 @@ def render_menu(menu, project=nil)
caption = item.caption(project)
caption = l(caption) if caption.is_a?(Symbol)
links << content_tag('li',
link_to(h(caption), url, (current_menu_item == item.name ? item.html_options.merge(:class => 'selected') : item.html_options)))
link_to(h(caption), url, item.html_options), :class => "#{caption.downcase.gsub(" ", "-")} #{ 'selected' if current_menu_item == item.name }")
end
end
links.empty? ? nil : content_tag('ul', links.join("\n"))
Expand Down
Binary file added public/themes/squeejee/images/fugue/map.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/themes/squeejee/images/map.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
120 changes: 106 additions & 14 deletions public/themes/squeejee/stylesheets/application.css
Expand Up @@ -78,34 +78,48 @@ body.no-project #header h1 {
}

#main-menu li a,
#main-menu li a.selected,
#main-menu li.selected a,
#main-menu li a:hover {
text-decoration: none;
line-height: 20px;
}

#main-menu li a {
background: #111 url(/themes/squeejee/images/bottom_shine.png) 0px -40px repeat-x;
color: #999;
border: solid 1px #333;
#main-menu li {
background: #111 url(/themes/squeejee/images/bottom_shine.png) 0px -40px repeat-x;
border: solid 1px #333;
border-width: 1px 1px 0px 0px;
}

#main-menu li a,
#main-menu li a:hover {
background: none;
color: #999;
padding: 5px 12px 5px 12px;
font-weight: normal;
}

#main-menu li a.selected,
#main-menu li a.selected:hover {
#main-menu li.selected ,
#main-menu li.selected:hover {
background: #222 url(/themes/squeejee/images/bottom_shine.png) 0px -38px repeat-x;
color: #d5d5d5;
border-color: #444;
}

#main-menu li.selected a,
#main-menu li.selected:hover a {
background: none;
color: #d5d5d5;
font-weight: bold;
}

#main-menu li a:hover {
background: #333 url(/themes/squeejee/images/bottom_shine.png) 0px -40px repeat-x;
color: #fff;
#main-menu li:hover {
background: #333 url(/themes/squeejee/images/bottom_shine.png) 0px -40px repeat-x;
border-color: #555;
}

#main-menu li:hover a {
color: #fff;
}

#main-menu li:last-child a {
-moz-border-radius-topright:5px;
-webkit-border-top-right-radius: 5px;
Expand All @@ -116,6 +130,84 @@ body.no-project #header h1 {
-webkit-border-top-left-radius: 5px;
}

#main-menu li.overview a,
#main-menu li.overview a:hover {
background: url(/themes/squeejee/images/fugue/document_text_image.png) 6px 5px no-repeat;
padding-left: 24px;
}

#main-menu li.activity a,
#main-menu li.activity a:hover {
background: url(/themes/squeejee/images/fugue/lightning.png) 6px 5px no-repeat;
padding-left: 24px;
}

#main-menu li.roadmap a,
#main-menu li.roadmap a:hover {
background: url(/themes/squeejee/images/fugue/map.png) 4px 5px no-repeat;
padding-left: 26px;
}

#main-menu li.tickets a,
#main-menu li.tickets a:hover {
background: url(/themes/squeejee/images/fugue/ticket.png) 4px 5px no-repeat;
padding-left: 26px;
}

#main-menu li.new-ticket a,
#main-menu li.new-ticket a:hover {
background: url(/themes/squeejee/images/fugue/ticket_plus.png) 6px 5px no-repeat;
padding-left: 26px;
}

#main-menu li.news a,
#main-menu li.news a:hover {
background: url(/themes/squeejee/images/fugue/newspaper.png) 6px 5px no-repeat;
padding-left: 26px;
}

#main-menu li.documents a,
#main-menu li.documents a:hover {
background: url(/themes/squeejee/images/fugue/documents_text.png) 6px 5px no-repeat;
padding-left: 26px;
}

#main-menu li.wiki a,
#main-menu li.wiki a:hover {
background: url(/themes/squeejee/images/fugue/document_horizontal_text.png) 6px 5px no-repeat;
padding-left: 26px;
}

#main-menu li.forums a,
#main-menu li.forums a:hover {
background: url(/themes/squeejee/images/fugue/balloons.png) 6px 5px no-repeat;
padding-left: 26px;
}

#main-menu li.files a,
#main-menu li.files a:hover {
background: url(/themes/squeejee/images/fugue/document_zipper.png) 6px 5px no-repeat;
padding-left: 26px;
}

#main-menu li.repository a,
#main-menu li.repository a:hover {
background: url(/themes/squeejee/images/fugue/safe.png) 6px 5px no-repeat;
padding-left: 26px;
}

#main-menu li.google-calendar a,
#main-menu li.google-calendar a:hover {
background: url(/themes/squeejee/images/fugue/calendar_month.png) 6px 5px no-repeat;
padding-left: 26px;
}

#main-menu li.settings a,
#main-menu li.settings a:hover {
background: url(/themes/squeejee/images/fugue/equalizer.png) 6px 5px no-repeat;
padding-left: 26px;
}

h1, h2, h3, h4, h5{
font-family: "Myriad Pro", "Lucida Grande", "Helvetica Neue", Helvetica, Arial, Verdana, sans-serif;
}
Expand Down Expand Up @@ -232,9 +324,9 @@ vertical-align: middle;
.icon-add { background-image: url(/themes/squeejee/images/fugue/plus_small.png); }
.icon-edit { background-image: url(/themes/squeejee/images/fugue/pencil_small.png); }
.icon-copy { background-image: url(/themes/squeejee/images/fugue/documents.png); }
.icon-del { background-image: url(/themes/squeejee/images/fugue/document__minus.png); }
.icon-move { background-image: url(/themes/squeejee/images/fugue/documents_arrow.png); }
.icon-save { background-image: url(/themes/squeejee/images/fugue/disk.png); }
.icon-del { background-image: url(/themes/squeejee/images/fugue/ticket_minus.png); }
.icon-move { background-image: url(/themes/squeejee/images/fugue/ticket_arrow.png); }
.icon-save { background-image: url(/themes/squeejee/images/fugue/disk_black.png); }
.icon-cancel { background-image: url(/themes/squeejee/images/fugue/arrow.png); }
.icon-file { background-image: url(/images/file.png); }
.icon-folder { background-image: url(/images/folder.png); }
Expand Down

0 comments on commit 0da2db6

Please sign in to comment.