diff --git a/plugins/mezuro/public/images/file.png b/plugins/mezuro/public/images/file.png new file mode 100644 index 0000000..e50c87f Binary files /dev/null and b/plugins/mezuro/public/images/file.png differ diff --git a/plugins/mezuro/public/images/folder.png b/plugins/mezuro/public/images/folder.png new file mode 100644 index 0000000..30f0d5d Binary files /dev/null and b/plugins/mezuro/public/images/folder.png differ diff --git a/plugins/mezuro/public/style.css b/plugins/mezuro/public/style.css index ed1e524..59b9007 100644 --- a/plugins/mezuro/public/style.css +++ b/plugins/mezuro/public/style.css @@ -1,3 +1,30 @@ .link { cursor: pointer; -} \ No newline at end of file +} + +.source-tree{ + background: #e7e7e7; + border: groove 1px #666; +} + +.icon { + width: 20px; +} + +.source-tree-text{ + font-family: Arial, Impact; + font-size: 12px; + border-left: solid 1px #666; +} + +a:link,active,visited .ancestor{ + font-family: Arial, Impact; + color: #5E5400; +} + +.path{ + font-family: Arial, Impact; + font-size: 14px; + font-style: underline; + display: inline; +} diff --git a/plugins/mezuro/views/content_viewer/_source_tree.rhtml b/plugins/mezuro/views/content_viewer/_source_tree.rhtml index b7f858b..ec9b6d7 100644 --- a/plugins/mezuro/views/content_viewer/_source_tree.rhtml +++ b/plugins/mezuro/views/content_viewer/_source_tree.rhtml @@ -2,28 +2,36 @@ <% module_name = source_tree.module.name %> <% module_label = "#{module_name} (#{source_tree.module.granularity})" %> -<% if module_name != project_name %> - - <%= project_name %> - -<% end %> +
- - <%= "#{child.module.name} (#{child.module.granularity})" %> - | -|
<%= image_tag('/plugins/mezuro/images/folder.png')%> | +<%= child.module.name %> | +
<%= image_tag('/plugins/mezuro/images/file.png') %> | +<%= child.module.name %> | +