Commit 7a9cdee2 authored by danterolle's avatar danterolle
Browse files

Added layout for virtual edition

parent 1f351b3d
Pipeline #2310 canceled with stage
---
title: "Download ParrotOS OVA and Docker"
date: 2021-03-12T11:15:40+01:00
layout: "virtual"
---
\ No newline at end of file
......@@ -19,8 +19,7 @@ download:
URL : /virtual
image : ../images/monitor.png
# old config
categories:
- entry: home
- entry: security
......
enable : true
title : Download ParrotOS OVA & Docker
description : Lorem ipsum dolor sit amet, consectetur adipisicing elit. Itaque explicabo aspernatur soluta culpa autem tempore ad eius eos rem minima. Alias praesentium minus animi magni repellat cumque fugiat dolorum accusamus?
editions :
- name : OVA Home
description : Lorem ipsum dolor sit amet consectetur adipisicing elit. Error aspernatur odit minima dolores ex neque. Natus reprehenderit cumque quisquam voluptatum distinctio neque nemo. Veritatis tempore commodi ipsum labore vero nesciunt?
icon : ../images/virtualbox.png
image : ../images/monitor.png
DE : Parrot-home
- name : OVA Security
description : Lorem ipsum dolor sit amet consectetur adipisicing elit. Error aspernatur odit minima dolores ex neque. Natus reprehenderit cumque quisquam voluptatum distinctio neque nemo. Veritatis tempore commodi ipsum labore vero nesciunt?
icon : ../images/virtualbox.png
image : ../images/monitor.png
DE : Parrot-security
extension : virtual.ova
torrent : yes
server_icon : ../images/icons/server.png
torrent_icon : ../images/icons/torrent.png
docker_URL : https://nest.parrotsec.org/build/docker-images/-/blob/master/README.md
\ No newline at end of file
{{ define "main" }}
{{ partial "navigation.html" . }}
{{ partial "virtual.html" . }}
{{ partial "community.html" . }}
{{ end }}
\ No newline at end of file
{{ $data := index .Site.Data .Site.Language.Lang }}
{{ if $data.virtual.enable }}
<div id="particles-js">
</div>
<script src="../plugins/particles/particles.min.js"></script>
<script>
window.particlesJS.load('particles-js', '../plugins/particles/particles.json', function(){
console.log('particles.json loaded!');
});
</script>
<section class="download-virtual">
<div class="col-xl-12 my-3">
<div class="title mt-5 pb-0 text-center">
<h2>{{ $data.virtual.title }}</h2>
<div class="border-meghna"></div>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-lg-12 mt-2 text-center">
<h3 class="my-5">{{ $data.virtual.description }}</h3>
<hr class="w-50">
<div class="row">
<h3 class="col-lg-12 mb-5 mt-3 text-center">
CHOOSE YOUR <span style="color: #57cbcc;">EDITION</span>
</h3>
{{ range $data.virtual.editions }}
<div class="container">
<div class="row">
<div class="col-lg-6 my-5">
<h2 style="display: inline; border-bottom: 1px solid #57cbcc;">{{ .name }}</h2>
<p class="my-3 text-white">{{ .description }}</p>
<a href="{{ $.Site.Params.mirror }}{{ $.Site.Params.version }}/{{ .DE }}-{{ $.Site.Params.version }}_{{ $data.virtual.extension }}.mirrorlist" class="btn btn-main mt-3 mb-4 mx-5 w-50" style="color:#222" target="_blank">
Select Server <img src="{{ $data.virtual.server_icon }}" style="width: 15px; height: 15px;">
</a>
<a href="{{ $.Site.Params.mirror }}{{ $.Site.Params.version }}/{{ .DE }}-{{ $.Site.Params.version }}_{{ $data.virtual.extension }}.torrent" class="btn btn-main mt-3 mb-4 mx-5 w-50" style="color:#222">
Get Torrent <img src="{{ $data.virtual.torrent_icon }}" style="width: 15px; height: 15px;">
</a>
</div>
<div class="col-lg-6">
<img src="{{ .image }}" width="100%" height="100%">
</div>
</div>
</div>
<hr class="w-50">
{{ end }}
<div class="row">
<div class="col-lg-6 my-5">
<h2 style="display: inline; border-bottom: 1px solid #57cbcc;">Docker Images</h2>
<p class="my-3 text-white">Lorem ipsum dolor, sit amet consectetur adipisicing elit. Eum omnis facilis assumenda a. Id, quis architecto! Magnam ducimus voluptate eaque modi obcaecati praesentium, cumque ad molestias eligendi officiis! Expedita, totam!</p>
<a href="{{ $data.virtual.docker_URL }}" class="btn btn-main mt-3 mb-4 mx-5 w-50" style="color:#222" target="_blank">
Open <img src="../images/icons/docker.png" style="width: 15px; height: 15px;">
</a>
</div>
<div class="col-lg-6">
<img src="../images/monitor.png" width="100%" height="100%">
</div>
</div>
<hr class="w-50">
</div>
</div>
</div>
</div>
</section>
{{ end }}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment