lib/secret_console/views/index.haml in secret_console-0.1.0 vs lib/secret_console/views/index.haml in secret_console-0.2.0

- old
+ new

@@ -1,18 +1,20 @@ - if values.size > 0 - %h1 Values - %table - %tr - %th Key - %th Value - - values.each do |key, record| - %tr - %td - %a{href: record.path}= key - %td= record.value + %table.table.table-striped + %tbody + %thead + %tr + %th # + %th Key + %th Value + - values.each do |key, record| + %tr + %td + %a{href: record.path, class: 'btn btn-default'} + %span{class: "glyphicon glyphicon-pencil", aria_hidden: "true"} + %td= key + %td= record.value - if links.size > 0 - %h1 Children - %ul + .list-group - links.each do |key, value| - %li - %a{href: value}= key + %a{href: value, class: 'list-group-item'}= key