Explorar o código

Improvements in projects section. Multires images.

Iñigo Valentin %!s(int64=9) %!d(string=hai) anos
pai
achega
0596ab95e6
Modificáronse 100 ficheiros con 40 adicións e 8 borrados
  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=BIN
      www/img/icon/project.gif
  6. BIN=BIN
      www/img/icon/x1/blog.gif
  7. BIN=BIN
      www/img/icon/x1/home.gif
  8. BIN=BIN
      www/img/icon/x1/profile.gif
  9. BIN=BIN
      www/img/icon/x1/project.gif
  10. BIN=BIN
      www/img/icon/x1/projects.gif
  11. BIN=BIN
      www/img/icon/x2/blog.gif
  12. BIN=BIN
      www/img/icon/x2/home.gif
  13. BIN=BIN
      www/img/icon/x2/profile.gif
  14. BIN=BIN
      www/img/icon/x2/project.gif
  15. BIN=BIN
      www/img/icon/x2/projects.gif
  16. BIN=BIN
      www/img/icon/x3/blog.gif
  17. BIN=BIN
      www/img/icon/x3/home.gif
  18. BIN=BIN
      www/img/icon/x3/profile.gif
  19. BIN=BIN
      www/img/icon/x3/project.gif
  20. BIN=BIN
      www/img/icon/x3/projects.gif
  21. BIN=BIN
      www/img/icon/x4/blog.gif
  22. BIN=BIN
      www/img/icon/x4/home.gif
  23. BIN=BIN
      www/img/icon/x4/profile.gif
  24. BIN=BIN
      www/img/icon/x4/project.gif
  25. BIN=BIN
      www/img/icon/x4/projects.gif
  26. BIN=BIN
      www/img/icon/x5/blog.gif
  27. BIN=BIN
      www/img/icon/x5/home.gif
  28. BIN=BIN
      www/img/icon/x5/profile.gif
  29. BIN=BIN
      www/img/icon/x5/project.gif
  30. BIN=BIN
      www/img/icon/x5/projects.gif
  31. BIN=BIN
      www/img/icon/x6/blog.gif
  32. BIN=BIN
      www/img/icon/x6/home.gif
  33. BIN=BIN
      www/img/icon/x6/profile.gif
  34. BIN=BIN
      www/img/icon/x6/project.gif
  35. BIN=BIN
      www/img/icon/x6/projects.gif
  36. BIN=BIN
      www/img/lang/x1/en.gif
  37. BIN=BIN
      www/img/lang/x1/es.gif
  38. BIN=BIN
      www/img/lang/x1/eu.gif
  39. BIN=BIN
      www/img/lang/x2/en.gif
  40. BIN=BIN
      www/img/lang/x2/es.gif
  41. BIN=BIN
      www/img/lang/x2/eu.gif
  42. BIN=BIN
      www/img/lang/x3/en.gif
  43. BIN=BIN
      www/img/lang/x3/es.gif
  44. BIN=BIN
      www/img/lang/x3/eu.gif
  45. BIN=BIN
      www/img/lang/x4/en.gif
  46. BIN=BIN
      www/img/lang/x4/es.gif
  47. BIN=BIN
      www/img/lang/x4/eu.gif
  48. BIN=BIN
      www/img/lang/x5/en.gif
  49. BIN=BIN
      www/img/lang/x5/es.gif
  50. BIN=BIN
      www/img/lang/x5/eu.gif
  51. BIN=BIN
      www/img/lang/x6/en.gif
  52. BIN=BIN
      www/img/lang/x6/es.gif
  53. BIN=BIN
      www/img/lang/x6/eu.gif
  54. BIN=BIN
      www/img/license/x1/CC-0.png
  55. BIN=BIN
      www/img/license/x1/CC-BY-SA.png
  56. BIN=BIN
      www/img/license/x1/GPLV3.png
  57. BIN=BIN
      www/img/license/x2/CC-0.png
  58. BIN=BIN
      www/img/license/x2/CC-BY-SA.png
  59. BIN=BIN
      www/img/license/x2/GPLV3.png
  60. BIN=BIN
      www/img/license/x3/CC-0.png
  61. BIN=BIN
      www/img/license/x3/CC-BY-SA.png
  62. BIN=BIN
      www/img/license/x3/GPLV3.png
  63. BIN=BIN
      www/img/license/x4/CC-0.png
  64. BIN=BIN
      www/img/license/x4/CC-BY-SA.png
  65. BIN=BIN
      www/img/license/x4/GPLV3.png
  66. BIN=BIN
      www/img/license/x5/CC-0.png
  67. BIN=BIN
      www/img/license/x5/CC-BY-SA.png
  68. BIN=BIN
      www/img/license/x5/GPLV3.png
  69. BIN=BIN
      www/img/license/x6/CC-0.png
  70. BIN=BIN
      www/img/license/x6/CC-BY-SA.png
  71. BIN=BIN
      www/img/license/x6/GPLV3.png
  72. BIN=BIN
      www/img/logo/x1/favicon.ico
  73. BIN=BIN
      www/img/logo/x1/favicon.png
  74. BIN=BIN
      www/img/logo/x1/inigovalentin.png
  75. BIN=BIN
      www/img/logo/x2/favicon.ico
  76. BIN=BIN
      www/img/logo/x2/favicon.png
  77. BIN=BIN
      www/img/logo/x2/inigovalentin.png
  78. BIN=BIN
      www/img/logo/x3/favicon.ico
  79. BIN=BIN
      www/img/logo/x3/favicon.png
  80. BIN=BIN
      www/img/logo/x3/inigovalentin.png
  81. BIN=BIN
      www/img/logo/x4/favicon.ico
  82. BIN=BIN
      www/img/logo/x4/favicon.png
  83. BIN=BIN
      www/img/logo/x4/inigovalentin.png
  84. BIN=BIN
      www/img/logo/x5/favicon.ico
  85. BIN=BIN
      www/img/logo/x5/favicon.png
  86. BIN=BIN
      www/img/logo/x5/inigovalentin.png
  87. BIN=BIN
      www/img/logo/x6/favicon.ico
  88. BIN=BIN
      www/img/logo/x6/favicon.png
  89. BIN=BIN
      www/img/logo/x6/inigovalentin.png
  90. BIN=BIN
      www/img/misc/x1/slid-close.png
  91. BIN=BIN
      www/img/misc/x1/slid-down.png
  92. BIN=BIN
      www/img/misc/x1/slid-left.png
  93. BIN=BIN
      www/img/misc/x1/slid-menu.png
  94. BIN=BIN
      www/img/misc/x1/slid-right.png
  95. BIN=BIN
      www/img/misc/x1/slid-top.png
  96. BIN=BIN
      www/img/misc/x2/slid-close.png
  97. BIN=BIN
      www/img/misc/x2/slid-down.png
  98. BIN=BIN
      www/img/misc/x2/slid-left.png
  99. BIN=BIN
      www/img/misc/x2/slid-menu.png
  100. BIN=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=BIN
www/img/icon/project.gif


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio