Sha256: 5850ba5c8591d2f54658a89f8afed669d06b206ab72e210672318de27dfe6598

Contents?: true

Size: 1.92 KB

Versions: 4

Compression:

Stored size: 1.92 KB

Contents

        <form action="/plugins" method="post">

            <%= csrf_tag %>
            <div id="page-intro">
                <h2>Plugins</h2>
                <p>
                    Plugin components extend the functionality of the framework in abstract ways.
                <br/>
                <br/>
                </p>
                <p>
                    <input type="button" onclick="javascript:checkAll( 'plugin' );" value="Check all"/>
                    <input type="button" onclick="javascript:uncheckAll( 'plugin' );" value="Uncheck all"/>
                    <input type="submit" value="Save" />
                </p>
            </div>

            <%= erb :flash, {:layout => false} %>
            <% plugins.each do |plugin|%>
                <fieldset>
                    <legend>
                        <input <%if plugin_has_required_file_option?( plugin['options'] )%> disabled="disabled" <%end%> type="checkbox" class="plugin" name="plugins[<%=plugin['plug_name']%>]"
                        <% if session['opts']['plugins'] && session['opts']['plugins'].include?( plugin['plug_name'] ) %> checked="checked" <% end %> />
                        <%=plugin['name']%>
                        <%if plugin_has_required_file_option?( plugin['options'] )%>
                        <em> (This plugin requires an option type which is not yet supported by the WebUI)</em>
                        <%end%>
                    </legend>
                <h5>Description</h5>
                <pre class="notice"> <%=prep_description( escape( plugin['description'] ) )%></pre>

                <%= erb :options, { :layout => false }, :component => plugin, :session_options => session_options%>

                <p>
                    <strong>Version:</strong> <%=plugin['version']%><br/>
                    <strong>Author:</strong> <%=escape( plugin['author'])%>
                </p>
                </fieldset>
            <% end %>

        </form>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
arachni-0.3 lib/ui/web/server/views/plugins.erb
arachni-0.2.4 lib/ui/web/server/views/plugins.erb
arachni-0.2.3 lib/ui/web/server/views/plugins.erb
arachni-0.2.2.2 lib/ui/web/server/views/plugins.erb