Hola, buenos días.
Tengo en mente un mini proyecto que consiste en una página web que ofrecería algo similar al sitio Ninite, pero para Ubuntu. En si creo que seria algo mas sencillo.
Tengo este simple diseño HTML con su respectivo CSS:
La idea es que al seleccionar con un tick los programas que te interesan, despues le des al botón de Descargar y te descargue un script.sh con todos los "apt-get install" correspondientes a los programas que se han seleccionado seleccionado.
Mi pregunta es como podria hacer eso, ya que no parece muy complicado pero no consigo verlo..
Un saludo a todos!
Tengo en mente un mini proyecto que consiste en una página web que ofrecería algo similar al sitio Ninite, pero para Ubuntu. En si creo que seria algo mas sencillo.
Tengo este simple diseño HTML con su respectivo CSS:
HTML:
<html>
<head>
<link href="./OmegaSoftware.css" rel="stylesheet" type="text/css">
<link rel="icon" type="image/png" href="/home/jsanchez/Escriptori/omegasoftware.ico"/>
<title>
OmegaSoftware
</title>
</head>
<body>
<div id="general">
<div id="titol"
<h1 id="Titol">OmegaSoftware</h1>
</div>
<div id="seguretat">
<h2>Seguretat</h2><br>
<img src="https://chocolatey.org/content/packageimages/keepass-langfiles.2.30.svg" width=18 height=18>
<input type="checkbox" name="keepass2" value="keepass2">KeePass 2<br>
<img src="https://static.avast.com/11/web/min/i/mkt/share/avast-logo.png" width=18 height=18>
<input type="checkbox" name="avast" value="avast">Avast<br>
<img src="https://lh6.ggpht.com/Or_Pcx9Bsn7lFYaWUnA9FTiEUM5sBsijTnNVH_vriJWCKf7W5UWNvtpEt1OEsr-1gIY=w300" width=18 height=18>
<input type="checkbox" name="avg" value="avg">AVG<br>
</div>
<div id="missatgeria">
<h2>Missatgeria</h2><br>
<img src="http://2leaked.com/wp-content/uploads/2015/12/Pidgin.svg_.png" width=18 height=18>
<input type="checkbox" name="pidgin" value="pidgin">Pidgin<br>
<img src="https://lh5.ggpht.com/1CxNUEdzrREikWZoaHIU5J63x2gOxTb7R-ZIbJd51uPBFt0jUj8AX2bMOhKiIBcuAqtH=w300" width=18 height=18>
<input type="checkbox" name="skype" value="skype">Skype<br>
<img src="http://www.pcactual.com/medio/2011/03/23/trillian_logo_618x559.jpg" width=18 height=18>
<input type="checkbox" name="trillian" value="trillian">Trillian<br>
</div>
<div id="desenvolupament">
<h2>Desenvolupament</h2><br>
<img src="https://www.python.org/static/opengraph-icon-200x200.png" width=18 height=18>
<input type="checkbox" name="python" value="python">Python<br>
<img src="http://www.pandasecurity.com/spain/mediacenter/src/uploads/2015/01/filezilla.png" width=18 height=18>
<input type="checkbox" name="filezilla" value="filezilla">Filezilla<br>
<img src="http://screenshots.en.sftcdn.net/en/scrn/20000/20678/putty-05-535x535.jpg" width=18 height=18>
<input type="checkbox" name="putty" value="putty">Putty<br>
</div>
<div id="media">
<h2>Media</h2><br>
<img src="https://lh3.ggpht.com/8BDSUv0P-kr9Kik7weOSet4Au_BlBpM0SmM8dUDdYQOceErGCLroJlhVoSL7cPP14YE=w300" width=18 height=18>
<input type="checkbox" name="vlc" value="vlc">VLC<br>
<img src="http://audacityes.abierto-gratuito.es/files/audacity-logo.jpg" width=18 height=18>
<input type="checkbox" name="audacity" value="audacity">Audacity<br>
<img src="https://lh3.googleusercontent.com/UrY7BAZ-XfXGpfkeWg0zCCeo-7ras4DCoRalC_WXXWTK9q5b0Iw7B0YQMsVxZaNB7DM=w300" width=18 height=18>
<input type="checkbox" name="spotify" value="spotify">Spotify<br>
</div>
<div id="boto" align="center">
<button>
Descarrega
</button>
</div>
</div>
</body>
</html>
La idea es que al seleccionar con un tick los programas que te interesan, despues le des al botón de Descargar y te descargue un script.sh con todos los "apt-get install" correspondientes a los programas que se han seleccionado seleccionado.
Mi pregunta es como podria hacer eso, ya que no parece muy complicado pero no consigo verlo..
Un saludo a todos!