Browse Source

Update infos and title

Signed-off-by: adrien <adrien@iglou.eu>
master
adrien 2 years ago
parent
commit
6cfee06248
  1. 3
      builder.sh
  2. 6
      public/draw_10x10.html
  3. 6
      public/draw_20x20.html
  4. 6
      public/draw_50x50.html
  5. 6
      public/draw_5x5.html
  6. 7
      public/index.html
  7. 4
      resources/draw_.html
  8. 7
      resources/index.html

3
builder.sh

@ -81,6 +81,7 @@ in_html=""
grid_css=""
grid_check=""
grid_cells=""
draw_title=""
canvas_r="${canvas_r:-15}"
canvas_c="${canvas_c:-15}"
@ -97,6 +98,7 @@ initBuilder
in_css="$(cat "${in_css}")"
in_html="$(cat "${in_html}")"
draw_title="[SDP] Drawing canvas ${canvas_c}x${canvas_r}"
((cells = canvas_r * canvas_c))
buildGrid "black"
@ -111,6 +113,7 @@ insertData "in_css" "canvas_c"
insertData "in_html" "out_css"
insertData "in_html" "grid_check"
insertData "in_html" "grid_cells"
insertData "in_html" "draw_title"
writeoutput "$in_html" "$out_dir$out_html"
writeoutput "$in_css" "$out_dir$out_css"

6
public/draw_10x10.html

@ -2,9 +2,9 @@
<html lang="fr">
<head>
<meta charset="utf-8">
<title>[=draw_title]</title>
<meta name="description" content="">
<meta name="author" content="">
<title>[SDP] Drawing canvas 10x10</title>
<meta name="description" content="Online pure HTML/CSS pixel art editor">
<meta name="author" content="Iglou.eu">
<link rel="shortcut icon" href="favicon.ico">
<link rel="stylesheet" href="draw_10x10.css" type="text/css">
</head>

6
public/draw_20x20.html

@ -2,9 +2,9 @@
<html lang="fr">
<head>
<meta charset="utf-8">
<title>[=draw_title]</title>
<meta name="description" content="">
<meta name="author" content="">
<title>[SDP] Drawing canvas 20x20</title>
<meta name="description" content="Online pure HTML/CSS pixel art editor">
<meta name="author" content="Iglou.eu">
<link rel="shortcut icon" href="favicon.ico">
<link rel="stylesheet" href="draw_20x20.css" type="text/css">
</head>

6
public/draw_50x50.html

@ -2,9 +2,9 @@
<html lang="fr">
<head>
<meta charset="utf-8">
<title>[=draw_title]</title>
<meta name="description" content="">
<meta name="author" content="">
<title>[SDP] Drawing canvas 50x50</title>
<meta name="description" content="Online pure HTML/CSS pixel art editor">
<meta name="author" content="Iglou.eu">
<link rel="shortcut icon" href="favicon.ico">
<link rel="stylesheet" href="draw_50x50.css" type="text/css">
</head>

6
public/draw_5x5.html

@ -2,9 +2,9 @@
<html lang="fr">
<head>
<meta charset="utf-8">
<title>[=draw_title]</title>
<meta name="description" content="">
<meta name="author" content="">
<title>[SDP] Drawing canvas 5x5</title>
<meta name="description" content="Online pure HTML/CSS pixel art editor">
<meta name="author" content="Iglou.eu">
<link rel="shortcut icon" href="favicon.ico">
<link rel="stylesheet" href="draw_5x5.css" type="text/css">
</head>

7
public/index.html

@ -3,12 +3,13 @@
<head>
<meta charset="utf-8">
<title>[index] Simple Drawing Program</title>
<meta name="description" content="">
<meta name="author" content="">
<meta name="description" content="Online pure HTML/CSS pixel art editor">
<meta name="author" content="Iglou.eu">
<link rel="shortcut icon" href="favicon.ico">
<style media="screen">
body {text-align:center;color: gray}
small {display: block;font-size: .6em;font-style: italic}
ul {padding: 0;list-style: none}
</style>
</head>
<body>
@ -17,5 +18,7 @@
<ul>
<li><a href="draw_10x10.html">draw_10x10.html</a></li><li><a href="draw_15x15.html">draw_15x15.html</a></li><li><a href="draw_20x20.html">draw_20x20.html</a></li><li><a href="draw_50x50.html">draw_50x50.html</a></li><li><a href="draw_5x5.html">draw_5x5.html</a></li>
</ul>
<p>Simple projet from <a href="hppts://iglou.eu">iglou.eu</a> source code on <a href="https://git.iglou.eu/Laboratory/SDP">git.iglou.eu</a></p>
<p>Under MIT License</p>
</body>
</html>

4
resources/draw_.html

@ -3,8 +3,8 @@
<head>
<meta charset="utf-8">
<title>[=draw_title]</title>
<meta name="description" content="">
<meta name="author" content="">
<meta name="description" content="Online pure HTML/CSS pixel art editor">
<meta name="author" content="Iglou.eu">
<link rel="shortcut icon" href="favicon.ico">
<link rel="stylesheet" href="[=out_css]" type="text/css">
</head>

7
resources/index.html

@ -3,12 +3,13 @@
<head>
<meta charset="utf-8">
<title>[index] Simple Drawing Program</title>
<meta name="description" content="">
<meta name="author" content="">
<meta name="description" content="Online pure HTML/CSS pixel art editor">
<meta name="author" content="Iglou.eu">
<link rel="shortcut icon" href="favicon.ico">
<style media="screen">
body {text-align:center;color: gray}
small {display: block;font-size: .6em;font-style: italic}
ul {padding: 0;list-style: none}
</style>
</head>
<body>
@ -17,5 +18,7 @@
<ul>
[=index]
</ul>
<p>Simple projet from <a href="hppts://iglou.eu">iglou.eu</a> source code on <a href="https://git.iglou.eu/Laboratory/SDP">git.iglou.eu</a></p>
<p>Under MIT License</p>
</body>
</html>
Loading…
Cancel
Save