Sha256: 36b36c567609eb5819fe6cef67f69e79828715d5c76dc6fcffc3e2a1b6ddfa75

Contents?: true

Size: 480 Bytes

Versions: 9

Compression:

Stored size: 480 Bytes

Contents

        <% [:err, :ok, :notice ].each do |name| %>

        <% if ( msg = flash[name] ) || ( msg = params[name] ) %>
        <div class="flash">
            <div class="<%= name %>">
                <%= escape( msg ) %>
            </div>
        </div>
        <% end %>

        <% end %>

        <script type="text/javascript">
            if( $( '.flash' ) ){
                setTimeout( "$( '.flash' ).fadeOut( 1600, \"linear\" );", 2500 );
            }
        </script>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
arachni-0.4.1.3 lib/arachni/ui/web/server/views/flash.erb
arachni-0.4.1.2 lib/arachni/ui/web/server/views/flash.erb
arachni-0.4.1.1 lib/arachni/ui/web/server/views/flash.erb
arachni-0.4.1 lib/arachni/ui/web/server/views/flash.erb
arachni-0.4.0.4 lib/arachni/ui/web/server/views/flash.erb
arachni-0.4.0.3 lib/arachni/ui/web/server/views/flash.erb
arachni-0.4.0.2 lib/arachni/ui/web/server/views/flash.erb
arachni-0.4.0.1 lib/arachni/ui/web/server/views/flash.erb
arachni-0.4 lib/arachni/ui/web/server/views/flash.erb