Răsfoiți Sursa

Improvements in projects section. Multires images.

Iñigo Valentin 9 ani în urmă
părinte
comite
0596ab95e6
100 a modificat fișierele cu 40 adăugiri și 8 ștergeri
  1. 24 0
      utils/imagescaler
  2. 10 2
      www/css/project.css
  3. 4 4
      www/css/ui.css
  4. 2 2
      www/header.php
  5. BIN
      www/img/icon/project.gif
  6. BIN
      www/img/icon/x1/blog.gif
  7. BIN
      www/img/icon/x1/home.gif
  8. BIN
      www/img/icon/x1/profile.gif
  9. BIN
      www/img/icon/x1/project.gif
  10. BIN
      www/img/icon/x1/projects.gif
  11. BIN
      www/img/icon/x2/blog.gif
  12. BIN
      www/img/icon/x2/home.gif
  13. BIN
      www/img/icon/x2/profile.gif
  14. BIN
      www/img/icon/x2/project.gif
  15. BIN
      www/img/icon/x2/projects.gif
  16. BIN
      www/img/icon/x3/blog.gif
  17. BIN
      www/img/icon/x3/home.gif
  18. BIN
      www/img/icon/x3/profile.gif
  19. BIN
      www/img/icon/x3/project.gif
  20. BIN
      www/img/icon/x3/projects.gif
  21. BIN
      www/img/icon/x4/blog.gif
  22. BIN
      www/img/icon/x4/home.gif
  23. BIN
      www/img/icon/x4/profile.gif
  24. BIN
      www/img/icon/x4/project.gif
  25. BIN
      www/img/icon/x4/projects.gif
  26. BIN
      www/img/icon/x5/blog.gif
  27. BIN
      www/img/icon/x5/home.gif
  28. BIN
      www/img/icon/x5/profile.gif
  29. BIN
      www/img/icon/x5/project.gif
  30. BIN
      www/img/icon/x5/projects.gif
  31. BIN
      www/img/icon/x6/blog.gif
  32. BIN
      www/img/icon/x6/home.gif
  33. BIN
      www/img/icon/x6/profile.gif
  34. BIN
      www/img/icon/x6/project.gif
  35. BIN
      www/img/icon/x6/projects.gif
  36. BIN
      www/img/lang/x1/en.gif
  37. BIN
      www/img/lang/x1/es.gif
  38. BIN
      www/img/lang/x1/eu.gif
  39. BIN
      www/img/lang/x2/en.gif
  40. BIN
      www/img/lang/x2/es.gif
  41. BIN
      www/img/lang/x2/eu.gif
  42. BIN
      www/img/lang/x3/en.gif
  43. BIN
      www/img/lang/x3/es.gif
  44. BIN
      www/img/lang/x3/eu.gif
  45. BIN
      www/img/lang/x4/en.gif
  46. BIN
      www/img/lang/x4/es.gif
  47. BIN
      www/img/lang/x4/eu.gif
  48. BIN
      www/img/lang/x5/en.gif
  49. BIN
      www/img/lang/x5/es.gif
  50. BIN
      www/img/lang/x5/eu.gif
  51. BIN
      www/img/lang/x6/en.gif
  52. BIN
      www/img/lang/x6/es.gif
  53. BIN
      www/img/lang/x6/eu.gif
  54. BIN
      www/img/license/x1/CC-0.png
  55. BIN
      www/img/license/x1/CC-BY-SA.png
  56. BIN
      www/img/license/x1/GPLV3.png
  57. BIN
      www/img/license/x2/CC-0.png
  58. BIN
      www/img/license/x2/CC-BY-SA.png
  59. BIN
      www/img/license/x2/GPLV3.png
  60. BIN
      www/img/license/x3/CC-0.png
  61. BIN
      www/img/license/x3/CC-BY-SA.png
  62. BIN
      www/img/license/x3/GPLV3.png
  63. BIN
      www/img/license/x4/CC-0.png
  64. BIN
      www/img/license/x4/CC-BY-SA.png
  65. BIN
      www/img/license/x4/GPLV3.png
  66. BIN
      www/img/license/x5/CC-0.png
  67. BIN
      www/img/license/x5/CC-BY-SA.png
  68. BIN
      www/img/license/x5/GPLV3.png
  69. BIN
      www/img/license/x6/CC-0.png
  70. BIN
      www/img/license/x6/CC-BY-SA.png
  71. BIN
      www/img/license/x6/GPLV3.png
  72. BIN
      www/img/logo/x1/favicon.ico
  73. BIN
      www/img/logo/x1/favicon.png
  74. BIN
      www/img/logo/x1/inigovalentin.png
  75. BIN
      www/img/logo/x2/favicon.ico
  76. BIN
      www/img/logo/x2/favicon.png
  77. BIN
      www/img/logo/x2/inigovalentin.png
  78. BIN
      www/img/logo/x3/favicon.ico
  79. BIN
      www/img/logo/x3/favicon.png
  80. BIN
      www/img/logo/x3/inigovalentin.png
  81. BIN
      www/img/logo/x4/favicon.ico
  82. BIN
      www/img/logo/x4/favicon.png
  83. BIN
      www/img/logo/x4/inigovalentin.png
  84. BIN
      www/img/logo/x5/favicon.ico
  85. BIN
      www/img/logo/x5/favicon.png
  86. BIN
      www/img/logo/x5/inigovalentin.png
  87. BIN
      www/img/logo/x6/favicon.ico
  88. BIN
      www/img/logo/x6/favicon.png
  89. BIN
      www/img/logo/x6/inigovalentin.png
  90. BIN
      www/img/misc/x1/slid-close.png
  91. BIN
      www/img/misc/x1/slid-down.png
  92. BIN
      www/img/misc/x1/slid-left.png
  93. BIN
      www/img/misc/x1/slid-menu.png
  94. BIN
      www/img/misc/x1/slid-right.png
  95. BIN
      www/img/misc/x1/slid-top.png
  96. BIN
      www/img/misc/x2/slid-close.png
  97. BIN
      www/img/misc/x2/slid-down.png
  98. BIN
      www/img/misc/x2/slid-left.png
  99. BIN
      www/img/misc/x2/slid-menu.png
  100. BIN
      www/img/misc/x2/slid-right.png

+ 24 - 0
utils/imagescaler

@@ -0,0 +1,24 @@
+#!/bin/bash
+for folder in www/img/*; do
+	if [[ -d $folder ]]; then
+		for file in $folder/*; do
+			if [[ -f $file ]]; then
+				echo $file;
+				for i in {1..32}; do
+					if [ -d $folder/x$i ]; then
+						d=$((i*33))
+						convert "$file" -resize ${d}x${d}  $folder/x$i/${file:${#folder}+1:100}
+					fi
+				done
+			fi
+		done
+	fi
+done;
+
+#for file in *.jpg;do
+#    convert "$file" -resize 800x800  "view/$file"
+#    convert "$file" -resize 600x600  "preview/$file"
+#    convert "$file" -resize 340x340  "miniature/$file"
+#    convert "$file" -resize 180x180  "thumb/$file"
+#done
+

+ 10 - 2
www/css/project.css

@@ -85,17 +85,25 @@ div#license{
     bottom: 2em;
 }
 
+div#license h3 img.pointer{ /* Close icon*/
+    float: right;
+    height: 0.5em;
+    width: 0.5em;
+}
+
 div#license div.entry{
     height: 30%;
+    margin: 0 0.5em 0.5em 0.5em;
+    overflow-y: scroll;
 }
 
 div#license div.entry h4{
     margin: 0;
 }
 
-div#license div.entry p.license_text{
+div#license div.entry div.license_text{
     margin: 0;
-    overflow-y: scroll;
+    
 }
 
 

+ 4 - 4
www/css/ui.css

@@ -82,7 +82,7 @@ nav#header{
     font-size: 110%;
 }
 
-/* Dummy <span> to use as vertical separator between links */
+/* Dummy span to use as vertical separator between links */
 nav#header span.link_separator{
     border-left: 0.077em solid rgba(200, 200, 200, .5);
 }
@@ -560,7 +560,7 @@ table#pager td.pager_current{
     border: 0.077em solid #444444;
 }
 
-/* Dummy <td> that contains "..." */
+/* Dummy td that contains "..." */
 table#pager td.pager_ellipse{
     background-color: initial;
     border: initial;
@@ -589,7 +589,7 @@ span#span_download{
     display: none;
 }
 
-/* Hidden <div> to confirm downloading */
+/* Hidden div to confirm downloading */
 div.license{
     box-shadow: 0 0 1.2em rgba(120, 120, 120, 1);
     display: none;
@@ -605,7 +605,7 @@ div.license{
     border-radius: 1.250em;
 }
 
-/* <div> to dimm the screen */
+/* div to dimm the screen */
 #screen_cover{
     position: fixed;
     top: 0;

+ 2 - 2
www/header.php

@@ -14,9 +14,9 @@
             </span>
         </a>
         <span class='link_separator desktop'></span>
-        <a href='<?=$lserver?>/projects/'>
+        <a href='<?=$lserver?>/project/'>
             <span class='header_container'>
-                <span class='header_icon_container'><img class='header_icon' alt='<?=text($con, "HEADER_PROJECTS", $lang);?>' src='<?=$lserver?>/img/icon/projects.gif'/></span>
+                <span class='header_icon_container'><img class='header_icon' alt='<?=text($con, "HEADER_PROJECTS", $lang);?>' src='<?=$lserver?>/img/icon/project.gif'/></span>
                 <?=text($con, "HEADER_PROJECTS", $lang);?>
             </span>
         </a>

BIN
www/img/icon/project.gif


BIN
www/img/icon/x1/blog.gif


BIN
www/img/icon/x1/home.gif


BIN
www/img/icon/x1/profile.gif


BIN
www/img/icon/x1/project.gif


BIN
www/img/icon/x1/projects.gif


BIN
www/img/icon/x2/blog.gif


BIN
www/img/icon/x2/home.gif


BIN
www/img/icon/x2/profile.gif


BIN
www/img/icon/x2/project.gif


BIN
www/img/icon/x2/projects.gif


BIN
www/img/icon/x3/blog.gif


BIN
www/img/icon/x3/home.gif


BIN
www/img/icon/x3/profile.gif


BIN
www/img/icon/x3/project.gif


BIN
www/img/icon/x3/projects.gif


BIN
www/img/icon/x4/blog.gif


BIN
www/img/icon/x4/home.gif


BIN
www/img/icon/x4/profile.gif


BIN
www/img/icon/x4/project.gif


BIN
www/img/icon/x4/projects.gif


BIN
www/img/icon/x5/blog.gif


BIN
www/img/icon/x5/home.gif


BIN
www/img/icon/x5/profile.gif


BIN
www/img/icon/x5/project.gif


BIN
www/img/icon/x5/projects.gif


BIN
www/img/icon/x6/blog.gif


BIN
www/img/icon/x6/home.gif


BIN
www/img/icon/x6/profile.gif


BIN
www/img/icon/x6/project.gif


BIN
www/img/icon/x6/projects.gif


BIN
www/img/lang/x1/en.gif


BIN
www/img/lang/x1/es.gif


BIN
www/img/lang/x1/eu.gif


BIN
www/img/lang/x2/en.gif


BIN
www/img/lang/x2/es.gif


BIN
www/img/lang/x2/eu.gif


BIN
www/img/lang/x3/en.gif


BIN
www/img/lang/x3/es.gif


BIN
www/img/lang/x3/eu.gif


BIN
www/img/lang/x4/en.gif


BIN
www/img/lang/x4/es.gif


BIN
www/img/lang/x4/eu.gif


BIN
www/img/lang/x5/en.gif


BIN
www/img/lang/x5/es.gif


BIN
www/img/lang/x5/eu.gif


BIN
www/img/lang/x6/en.gif


BIN
www/img/lang/x6/es.gif


BIN
www/img/lang/x6/eu.gif


BIN
www/img/license/x1/CC-0.png


BIN
www/img/license/x1/CC-BY-SA.png


BIN
www/img/license/x1/GPLV3.png


BIN
www/img/license/x2/CC-0.png


BIN
www/img/license/x2/CC-BY-SA.png


BIN
www/img/license/x2/GPLV3.png


BIN
www/img/license/x3/CC-0.png


BIN
www/img/license/x3/CC-BY-SA.png


BIN
www/img/license/x3/GPLV3.png


BIN
www/img/license/x4/CC-0.png


BIN
www/img/license/x4/CC-BY-SA.png


BIN
www/img/license/x4/GPLV3.png


BIN
www/img/license/x5/CC-0.png


BIN
www/img/license/x5/CC-BY-SA.png


BIN
www/img/license/x5/GPLV3.png


BIN
www/img/license/x6/CC-0.png


BIN
www/img/license/x6/CC-BY-SA.png


BIN
www/img/license/x6/GPLV3.png


BIN
www/img/logo/x1/favicon.ico


BIN
www/img/logo/x1/favicon.png


BIN
www/img/logo/x1/inigovalentin.png


BIN
www/img/logo/x2/favicon.ico


BIN
www/img/logo/x2/favicon.png


BIN
www/img/logo/x2/inigovalentin.png


BIN
www/img/logo/x3/favicon.ico


BIN
www/img/logo/x3/favicon.png


BIN
www/img/logo/x3/inigovalentin.png


BIN
www/img/logo/x4/favicon.ico


BIN
www/img/logo/x4/favicon.png


BIN
www/img/logo/x4/inigovalentin.png


BIN
www/img/logo/x5/favicon.ico


BIN
www/img/logo/x5/favicon.png


BIN
www/img/logo/x5/inigovalentin.png


BIN
www/img/logo/x6/favicon.ico


BIN
www/img/logo/x6/favicon.png


BIN
www/img/logo/x6/inigovalentin.png


BIN
www/img/misc/x1/slid-close.png


BIN
www/img/misc/x1/slid-down.png


BIN
www/img/misc/x1/slid-left.png


BIN
www/img/misc/x1/slid-menu.png


BIN
www/img/misc/x1/slid-right.png


BIN
www/img/misc/x1/slid-top.png


BIN
www/img/misc/x2/slid-close.png


BIN
www/img/misc/x2/slid-down.png


BIN
www/img/misc/x2/slid-left.png


BIN
www/img/misc/x2/slid-menu.png


BIN
www/img/misc/x2/slid-right.png


Unele fișiere nu au fost afișate deoarece prea multe fișiere au fost modificate în acest diff