Cleaned up the views

git-svn-id: file:///home/svn/framework3/trunk@4039 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2006-10-16 05:51:54 +00:00
parent e7784d1dda
commit 8633cd909e
5 changed files with 128 additions and 117 deletions

View File

@ -1,54 +1,43 @@
<table align="center" width="100%" cellspacing="0" cellpadding="2" border="0" class="moduleInfo">
<table align="center" width="100%" cellspacing="0" cellpadding="15" border="0">
<tr>
<tr width="100%" align="center">
<p class="moduleName">
<span class="moduleIcons">
<%= module_platform_icons(@tmod.platform) %>
</span>
<%= html_escape(@tmod.name) %>
<%= h(@tmod.name) %> <br />
</p>
</tr>
<tr>
<tr width="100%" align="center">
<blockquote>
<p class="moduleDesc">
<%= html_escape(@tmod.description) %>
<p class="moduleDescription">
<%= h(@tmod.description) %>
</p>
</blockquote>
</tr>
<tr>
<tr width="100%" align="center">
<blockquote>
<p class="moduleDesc">
This module was provided by <%= @tmod.author.join(' and ') %>.
<p class="moduleDescription">
This module (revision <%= h @tmod.version.gsub(/\$Revision:\s+|\s+\$/, '') %>) was provided by <%= h @tmod.author.map{ |a| a.to_s.gsub(/\<.*/, '') }.join(' and ').strip %>, under the <%= @tmod.license %>.
</p>
</blockquote>
</tr>
<tr>
<td>Version:</td>
<td><%= @tmod.version %></td>
</tr>
<tr>
<td>License:</td>
<td><%= @tmod.license %></td>
</tr>
<% if @tmod.references.size > 0 %>
<tr>
<% if (@tmod.references.length > 0) %>
<tr width="100%" align="center">
<blockquote>
<p class="moduleDesc">
<p class="moduleDescription">
External references:
<ul>
<ul class="moduleReferences">
<% @tmod.references.each { |ref| %>
<% if (ref.kind_of?(Msf::Module::SiteReference)) %>
<li><a href="<%= ref.site %>" target="_blank">
<%= html_escape(ref.to_s) %></a></li>
<%= h(ref.to_s) %></a></li>
<% else %>
<li><%= html_escape(ref.to_s) %></li>
<li><%= h(ref.to_s) %></li>
<% end %>
<% } %>
</ul>
</p>
</blockquote>
</tr>

View File

@ -1,40 +1,46 @@
<table align="center" width="100%" cellspacing="0" cellpadding="2" border="0" class="moduleInfo">
<table align="center" width="100%" cellspacing="0" cellpadding="15" border="0">
<tr>
<tr width="100%" align="center">
<p class="moduleName">
<%= html_escape(@tmod.name) %>
<%= h(@tmod.name) %> <br />
</p>
</tr>
<tr>
<tr width="100%" align="center">
<blockquote>
<p class="moduleDesc">
<%= html_escape(@tmod.description) %>
<p class="moduleDescription">
<%= h(@tmod.description) %>
</p>
</blockquote>
</tr>
<tr>
<tr width="100%" align="center">
<blockquote>
<p class="moduleDesc">
This module was provided by <%= @tmod.author.join(' and ') %>.
<p class="moduleDescription">
This module (revision <%= h @tmod.version.gsub(/\$Revision:\s+|\s+\$/, '') %>) was provided by <%= h @tmod.author.map{ |a| a.to_s.gsub(/\<.*/, '') }.join(' and ').strip %>, under the <%= @tmod.license %>.
</p>
</blockquote>
</tr>
<tr>
<td>Version:</td>
<td><%= @tmod.version %></td>
</tr>
<tr>
<td>License:</td>
<td><%= @tmod.license %></td>
</tr>
<tr>
<td>Architecture:</td>
<td><%= @tmod.arch %></td>
<% if (@tmod.references.length > 0) %>
<tr width="100%" align="center">
<blockquote>
<p class="moduleDescription">
External references:
<ul class="moduleReferences">
<% @tmod.references.each { |ref| %>
<% if (ref.kind_of?(Msf::Module::SiteReference)) %>
<li><a href="<%= ref.site %>" target="_blank">
<%= h(ref.to_s) %></a></li>
<% else %>
<li><%= h(ref.to_s) %></li>
<% end %>
<% } %>
</ul>
</p>
</blockquote>
</tr>
<% end %>
</table>

View File

@ -23,6 +23,7 @@
</blockquote>
</tr>
<% if (@tmod.references.length > 0) %>
<tr width="100%" align="center">
<blockquote>
<p class="moduleDescription">
@ -40,6 +41,7 @@
</p>
</blockquote>
</tr>
<% end %>
<tr width="100%" align="center">
<blockquote>

View File

@ -1,40 +1,46 @@
<table align="center" width="100%" cellspacing="0" cellpadding="2" border="0" class="moduleInfo">
<table align="center" width="100%" cellspacing="0" cellpadding="15" border="0">
<tr>
<tr width="100%" align="center">
<p class="moduleName">
<%= html_escape(@tmod.name) %>
<%= h(@tmod.name) %> <br />
</p>
</tr>
<tr>
<tr width="100%" align="center">
<blockquote>
<p class="moduleDesc">
<%= html_escape(@tmod.description) %>
<p class="moduleDescription">
<%= h(@tmod.description) %>
</p>
</blockquote>
</tr>
<tr>
<tr width="100%" align="center">
<blockquote>
<p class="moduleDesc">
This module was provided by <%= @tmod.author.join(' and ') %>.
<p class="moduleDescription">
This module (revision <%= h @tmod.version.gsub(/\$Revision:\s+|\s+\$/, '') %>) was provided by <%= h @tmod.author.map{ |a| a.to_s.gsub(/\<.*/, '') }.join(' and ').strip %>, under the <%= @tmod.license %>.
</p>
</blockquote>
</tr>
<tr>
<td>Version:</td>
<td><%= @tmod.version %></td>
</tr>
<tr>
<td>License:</td>
<td><%= @tmod.license %></td>
</tr>
<tr>
<td>Architecture:</td>
<td><%= @tmod.arch %></td>
<% if (@tmod.references.length > 0) %>
<tr width="100%" align="center">
<blockquote>
<p class="moduleDescription">
External references:
<ul class="moduleReferences">
<% @tmod.references.each { |ref| %>
<% if (ref.kind_of?(Msf::Module::SiteReference)) %>
<li><a href="<%= ref.site %>" target="_blank">
<%= h(ref.to_s) %></a></li>
<% else %>
<li><%= h(ref.to_s) %></li>
<% end %>
<% } %>
</ul>
</p>
</blockquote>
</tr>
<% end %>
</table>

View File

@ -1,39 +1,47 @@
<table align="center" width="100%" cellspacing="0" cellpadding="2" border="0" class="moduleInfo">
<tr>
<tr width="100%" align="center">
<p class="moduleName">
<span class="moduleIcons">
<%= module_platform_icons(@tmod.platform) %>
</span>
<%= html_escape(@tmod.name) %>
<%= h(@tmod.name) %> <br />
</p>
</tr>
<tr>
<tr width="100%" align="center">
<blockquote>
<p class="moduleDesc">
<%= html_escape(@tmod.description) %>
<p class="moduleDescription">
<%= h(@tmod.description) %>
</p>
</blockquote>
</tr>
<tr>
<tr width="100%" align="center">
<blockquote>
<p class="moduleDesc">
This module was provided by <%= @tmod.author.join(' and ') %>.
<p class="moduleDescription">
This module (revision <%= h @tmod.version.gsub(/\$Revision:\s+|\s+\$/, '') %>) was provided by <%= h @tmod.author.map{ |a| a.to_s.gsub(/\<.*/, '') }.join(' and ').strip %>, under the <%= @tmod.license %>.
</p>
</blockquote>
</tr>
<tr>
<td>Version:</td>
<td><%= @tmod.version %></td>
</tr>
<tr>
<td>License:</td>
<td><%= @tmod.license %></td>
<% if (@tmod.references.length > 0) %>
<tr width="100%" align="center">
<blockquote>
<p class="moduleDescription">
External references:
<ul class="moduleReferences">
<% @tmod.references.each { |ref| %>
<% if (ref.kind_of?(Msf::Module::SiteReference)) %>
<li><a href="<%= ref.site %>" target="_blank">
<%= h(ref.to_s) %></a></li>
<% else %>
<li><%= h(ref.to_s) %></li>
<% end %>
<% } %>
</ul>
</p>
</blockquote>
</tr>
<% end %>
<tr>
<td>Size:</td>