<!--
  This file is part of IVRE.
  Copyright 2011 - 2020 Pierre LALET <pierre@droids-corp.org>

  IVRE is free software: you can redistribute it and/or modify it
  under the terms of the GNU General Public License as published by
  the Free Software Foundation, either version 3 of the License, or
  (at your option) any later version.

  IVRE is distributed in the hope that it will be useful, but WITHOUT
  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
  or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
  License for more details.

  You should have received a copy of the GNU General Public License
  along with IVRE. If not, see <http://www.gnu.org/licenses/>.
-->

<div class="result-container"
     ng-repeat="host in results"
     >
  <div host-summary=""></div>
  <div class="full">
    <!-- ports w/ scripts, etc. -->
    <dt ng-repeat-start="port in ::host.ports | orderBy:['protocol','port']"
	ng-if="port.port !== -1 && port_display_mode_needed_port(port.protocol, port.port)"
	class="port">
      <div port-summary=""></div>
    </dt>
    <dd ng-repeat-end
	ng-if="port.port !== -1 && port_display_mode_needed_port(port.protocol, port.port)">
      <div ng-if="::port.service_name"
	   class="result-service"
	   service-summary="">        
      </div>
      <div ng-repeat="script in ::port.scripts"
	   ng-class="{highlight: wanted_script(script.id)}">
        {{::script.id}}
        <pre class="result-scripts-output"
	     ng-class="{highlight: wanted_script(script.id)}"
	     script-output="port"/>
      </div>
    </dd>
  </div>
</div>
