Sha256: 790d7c05db6864436a4956b2d5ce2605459b05d5ca56975a773ac9ed0e9cb0b0
Contents?: true
Size: 1.92 KB
Versions: 3
Compression:
Stored size: 1.92 KB
Contents
%script{:src=>url_for('/scripts/jquery-2.1.1.min.js')} %script{:src=>url_for('/scripts/jquery.dataTables.min.js')} %script{:src=>url_for('/scripts/dataTables.bootstrap.js')} %script{:src=>url_for('/scripts/dataTables.colVis.js')} %link{:rel=>'stylesheet', :href=>url_for('/css/dataTables.bootstrap.css')} %link{:rel=>'stylesheet', :href=>url_for('/css/dataTables.colVis.css')} :javascript $(function() { $('#versionsTable').dataTable({ dom: 'C<"clear">lfrtip', "order": [[ 0, "desc" ]], columnDefs: [ { visible: false, targets: [2, 3] } } }); }); %div{:class=>'row tbl-header'} %div{:class=>'col-xs-12 '} %h4 %a{:href=>url_for('/nodes')} nodes \/ Versions for Node %span{:class=>'node_title'} #{@node} %div{:class=>'row'} %div{:class=>'refresh-div'} %form %button{:class => "ColVis_Button", :type => "button", :onclick => "history.go();"} %span{:class=>"glyphicon glyphicon-repeat"} Refresh %table{:id=>'versionsTable', :class=>'table table-responsive tablesorter'} %thead %tr %th Version %th Dates %th Author %th Message %th Actions %tbody -trclass = %w(even odd) - nb = @data.count + 1 - @data.each do |x| %tr %td #{nb -= 1} %td #{time_from_now x[:date]} %td #{x[:author][:name]} %td #{x[:message]} %td %a{:title => "configuration", :href => url_for("/node/version/view?node=#{@node}&group=#{@group}&oid=#{x[:oid]}&date=#{x[:date]}&num=#{nb}") } %span{:class=>'glyphicon glyphicon-cloud-download'} %a{:title => "diff", :href => url_for("/node/version/diffs?node=#{@node}&group=#{@group}&oid=#{x[:oid]}&date=#{x[:date]}&num=#{nb}") } %img{:src=>url_for('/images/diff_15x17.png')}
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
oxidized-web-0.5.2 | lib/oxidized/web/views/versions.haml |
oxidized-web-0.5.1 | lib/oxidized/web/views/versions.haml |
oxidized-web-0.5.0 | lib/oxidized/web/views/versions.haml |