slitaz-base-files rev 231
merge
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Apr 13 01:27:05 2014 +0200 (2014-04-13) |
parents | 9db13a2c9830 cf0ae7633c29 |
children | 94340c7e4c50 |
files |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/rootfs/var/www/index.html Sun Apr 13 01:27:05 2014 +0200 1.3 @@ -0,0 +1,42 @@ 1.4 +<!DOCTYPE html> 1.5 +<html xmlns="http://www.w3.org/1999/xhtml"> 1.6 +<head> 1.7 + <title>SliTaz Web Server</title> 1.8 + <meta charset="utf-8" /> 1.9 + <link rel="stylesheet" type="text/css" href="style.css" /> 1.10 +</head> 1.11 +<body> 1.12 + 1.13 +<!-- Header --> 1.14 +<div id="header"> 1.15 + <h1>SliTaz Web Server</h1> 1.16 +</div> 1.17 + 1.18 +<!-- Content --> 1.19 +<div id="content"> 1.20 +<h2>Index of /</h2> 1.21 + 1.22 +<p> 1.23 + Welcome to the SliTaz HTTP web server. You can delete or modify this 1.24 + page to put your own xHTML pages, web sites, CGI or PHP scripts. CGI 1.25 + support is activated by default using the SHell interpreter for *.sh 1.26 + and *.cgi files. This page is located in the server root directory 1.27 + /var/www. The default configuration is to allow connections only from 1.28 + lan so port 80 is not open to the web for security reasons. 1.29 +</p> 1.30 + 1.31 +<pre> 1.32 +Busybox HTTPD confg : /etc/httpd.conf 1.33 +LighTTPD configs : /etc/lighttpd 1.34 +</pre> 1.35 + 1.36 +<!-- End content --> 1.37 +</div> 1.38 + 1.39 +<!-- Footer --> 1.40 +<div id="footer"> 1.41 + Copyright © 2014 <a href="http://www.slitaz.org/">SliTaz GNU/Linux</a> 1.42 +</div> 1.43 + 1.44 +</body> 1.45 +</html>
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/rootfs/var/www/style.css Sun Apr 13 01:27:05 2014 +0200 2.3 @@ -0,0 +1,138 @@ 2.4 +/* CSS style for SliTaz Network (minimal version) */ 2.5 + 2.6 +html { min-height: 102%; } 2.7 +body { font: 88% sans-serif, vernada, arial; margin: 0; } 2.8 +h1 { margin: 0; padding: 8px; color: #fff; font-size: 20px; } 2.9 +h1 a { color: #fff; text-decoration: none; } 2.10 +h2 { color: #444; } h3 { color: #666; font-size: 140%; } 2.11 +a { text-decoration: underline; color: #215090; } 2.12 +a:hover { text-decoration: none; } 2.13 +img { border: 0pt none; vertical-align: middle; } 2.14 +pre { 2.15 + overflow: auto; 2.16 + font-size: 98%; 2.17 +} 2.18 + 2.19 +/* Header */ 2.20 + 2.21 +#header { 2.22 + background: #222; 2.23 + height: 40px; 2.24 + border-bottom: 4px solid #afafaf; 2.25 +} 2.26 + 2.27 +#header h1 { 2.28 + margin: 0; 2.29 + padding: 8px 0 0 4px; 2.30 + width: 250px; 2.31 +} 2.32 + 2.33 +#header h1 a { 2.34 + color: white; 2.35 + text-decoration: none; 2.36 + font-size: 20px; 2.37 + font-style: italic; 2.38 +} 2.39 + 2.40 +#header h1 a:hover { 2.41 + color: #afafaf; 2.42 +} 2.43 + 2.44 +/* Header links */ 2.45 + 2.46 +#network { 2.47 + float: right; 2.48 + padding: 14px 5px 0; 2.49 + font-size: 12px; 2.50 +} 2.51 + 2.52 +#network a, #network span { 2.53 + padding: 0 4px; 2.54 + color: #fff; 2.55 + font-weight: bold; 2.56 + text-decoration: none; 2.57 +} 2.58 + 2.59 +#network a:hover, #network span { color: #afafaf; } 2.60 + 2.61 +/* Logo */ 2.62 + 2.63 +#logo { 2.64 + background: url(images/logo.png) no-repeat left; 2.65 + position: absolute; 2.66 + float: left; 2.67 + left: 0px; 2.68 + top: 0px; 2.69 + width: 40px; 2.70 + height: 40px; 2.71 +} 2.72 + 2.73 +/* Search */ 2.74 + 2.75 +#search { 2.76 + position: absolute; 2.77 + right: 20px; 2.78 + top: 60px; 2.79 +} 2.80 + 2.81 +#search input[type="text"] { 2.82 + width: 200px; 2.83 + 2.84 + padding: 4px; 2.85 + margin: 4px 0px; 2.86 + font-size: 14px; 2.87 + line-height: 1.2em; 2.88 + background: #fefefe; 2.89 + border: 2px solid #afafaf; 2.90 + -webkit-appearance: none; 2.91 + -webkit-padding-end: 12px; 2.92 + -webkit-padding-start: 6px; 2.93 +} 2.94 + 2.95 +/* Content */ 2.96 + 2.97 +#content { 2.98 + margin: 40px auto; 2.99 + padding: 0 20px; 2.100 + text-align: justify; 2.101 + max-width: 720px; 2.102 +} 2.103 + 2.104 +.box { 2.105 + padding: 6px; 2.106 + margin: 4px 0px; 2.107 +} 2.108 + 2.109 +pre, .box { 2.110 + background-color: #f8f8f8; 2.111 + border: 1px solid #ddd; 2.112 +} 2.113 + 2.114 +pre { 2.115 + padding: 10px; 2.116 +} 2.117 + 2.118 +pre img { margin: 4px 4px 4px 0px; } 2.119 + 2.120 +.error { color: red; } 2.121 +.ok { color: green; } 2.122 +.date { color: #666; font-size: 96%; } 2.123 + 2.124 +/* Round corner */ 2.125 + 2.126 +pre, img, .box, input[type="text"] { 2.127 + -moz-border-radius: 4px; 2.128 + -webkit-border-radius: 4px; 2.129 + border-radius: 4px; 2.130 +} 2.131 + 2.132 +/* Footer */ 2.133 + 2.134 +#footer { 2.135 + text-align: center; 2.136 + padding: 20px; 2.137 + border-top: 1px solid #ddd; 2.138 + font-size: 90%; 2.139 +} 2.140 + 2.141 +#footer a { padding: 0 2px; }