Commit e3176f2bb16a28f4080efceb20246400e9f3b885

Authored by Valessio Soares de Brito
1 parent aa1a82c7
Exists in master and in 1 other branch add_vagrant

fix small bugs and change pattern to dark red

src/web/static/images/pattern.gif

4.93 KB | W: | H:

4.93 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
src/web/templates/layout.html
@@ -108,6 +108,7 @@ if (x==null || x=="Write your list App here or send a file list this icon:") @@ -108,6 +108,7 @@ if (x==null || x=="Write your list App here or send a file list this icon:")
108 <div id="hybrid-form" class="group-form group-hybrid"> 108 <div id="hybrid-form" class="group-form group-hybrid">
109 <label><input type="hidden" class="DEPENDS ON strategy BEING hybrid">Neighborhood:</label> 109 <label><input type="hidden" class="DEPENDS ON strategy BEING hybrid">Neighborhood:</label>
110 <label class="special"><input type="text" name="neighbours" class="DEPENDS ON strategy BEING hybrid" value="50" size="4"></label> 110 <label class="special"><input type="text" name="neighbours" class="DEPENDS ON strategy BEING hybrid" value="50" size="4"></label>
  111 + <div>
111 <label><input type="hidden" class="DEPENDS ON strategy BEING hybrid">Personal profile:</label> 112 <label><input type="hidden" class="DEPENDS ON strategy BEING hybrid">Personal profile:</label>
112 <label class=special><input type="checkbox" name="profile_desktop" class="DEPENDS ON strategy BEING hybrid" > Desktop</label> 113 <label class=special><input type="checkbox" name="profile_desktop" class="DEPENDS ON strategy BEING hybrid" > Desktop</label>
113 <label class=special><input type="checkbox" name="profile_admin" class="DEPENDS ON strategy BEING hybrid" > Admin</label> 114 <label class=special><input type="checkbox" name="profile_admin" class="DEPENDS ON strategy BEING hybrid" > Admin</label>
@@ -115,6 +116,7 @@ if (x==null || x==&quot;Write your list App here or send a file list this icon:&quot;) @@ -115,6 +116,7 @@ if (x==null || x==&quot;Write your list App here or send a file list this icon:&quot;)
115 <label class=special><input type="checkbox" name="profile_science" class="DEPENDS ON strategy BEING hybrid" > Science</label> 116 <label class=special><input type="checkbox" name="profile_science" class="DEPENDS ON strategy BEING hybrid" > Science</label>
116 <label class=special><input type="checkbox" name="profile_arts" class="DEPENDS ON strategy BEING hybrid" > Arts</label> 117 <label class=special><input type="checkbox" name="profile_arts" class="DEPENDS ON strategy BEING hybrid" > Arts</label>
117 </div> 118 </div>
  119 + </div>
118 </fieldset> 120 </fieldset>
119 <fieldset> 121 <fieldset>
120 <legend>Your packages</legend> 122 <legend>Your packages</legend>
src/web/templates/package.html
1 $def with (pkg) 1 $def with (pkg)
2 2
3 -<div id="debtags_box" class="graybox horiz-grad">  
4 -<h2>Debtags</h2>  
5 -<ul id="debtags_pkg">  
6 -$for facet, tags in pkg['tag'].items():  
7 - <li> $facet  
8 - <ul>  
9 - $for tag in tags:  
10 - <li>$tag</li>  
11 - </ul>  
12 - </li>  
13 -</ul>  
14 -</div><!-- id="debtags_box" -->  
15 -  
16 <div class="align-left" id="voting_box"> 3 <div class="align-left" id="voting_box">
17 <button type="button" class="like_button" onclick=";return false;" id="like" > 4 <button type="button" class="like_button" onclick=";return false;" id="like" >
18 <img src="/static/images/pixel-vfl73.gif" alt=""> 5 <img src="/static/images/pixel-vfl73.gif" alt="">
@@ -30,6 +17,20 @@ $for facet, tags in pkg[&#39;tag&#39;].items(): @@ -30,6 +17,20 @@ $for facet, tags in pkg[&#39;tag&#39;].items():
30 </div><!-- id="voting_box" --> 17 </div><!-- id="voting_box" -->
31 18
32 <h1 id="title_pkg">$pkg['package'] <br /><span>$pkg['description']</span></h1> 19 <h1 id="title_pkg">$pkg['package'] <br /><span>$pkg['description']</span></h1>
  20 +
  21 +<div id="debtags_box" class="graybox horiz-grad">
  22 +<h2>Debtags</h2>
  23 +<ul id="debtags_pkg">
  24 +$for facet, tags in pkg['tag'].items():
  25 + <li> $facet
  26 + <ul>
  27 + $for tag in tags:
  28 + <li>$tag</li>
  29 + </ul>
  30 + </li>
  31 +</ul>
  32 +</div><!-- id="debtags_box" -->
  33 +
33 <p> 34 <p>
34 <h2>Details</h2> 35 <h2>Details</h2>
35 36
src/web/templates/support.html
@@ -43,9 +43,9 @@ $var jsfiles: @@ -43,9 +43,9 @@ $var jsfiles:
43 It's very important to use the div.line wrapping each two columns. 43 It's very important to use the div.line wrapping each two columns.
44 Otherwise unexpected things will happen. 44 Otherwise unexpected things will happen.
45 --> 45 -->
46 - <div class="col50"> 46 + <div class="graybox align-left horiz-grad" style="width: 300px; margin: 15px;">
47 <h2 id="h2-1">Column1</h2> 47 <h2 id="h2-1">Column1</h2>
48 - <tt>div.col50</tt> 48 + <tt>div class="graybox align-left horiz-grad" style="width: 300px;" and use end boxs: <br style="clear: both;" /></tt>
49 <p><strong>Use dual columns on index pages not on normal content 49 <p><strong>Use dual columns on index pages not on normal content
50 pages</strong></p> 50 pages</strong></p>
51 51
@@ -58,12 +58,12 @@ $var jsfiles: @@ -58,12 +58,12 @@ $var jsfiles:
58 culpa qui officia deserunt mollit anim id est laborum</p> 58 culpa qui officia deserunt mollit anim id est laborum</p>
59 </div><!-- end div.col50 --> 59 </div><!-- end div.col50 -->
60 60
61 - <div class="col50 lastcol"> 61 + <div class="graybox vert-grad">
62 <!-- 62 <!--
63 The rightmost column must have the lastcol class 63 The rightmost column must have the lastcol class
64 --> 64 -->
65 <h2>Column2</h2> 65 <h2>Column2</h2>
66 - <tt>div.col50.lastcol</tt> 66 + <tt>div.graybox vert-grad</tt>
67 67
68 <p><strong>Care should be taken to make both columns of almost 68 <p><strong>Care should be taken to make both columns of almost
69 equal length</strong></p> 69 equal length</strong></p>
@@ -79,6 +79,8 @@ $var jsfiles: @@ -79,6 +79,8 @@ $var jsfiles:
79 </div><!-- end div.col50.lastcol --> 79 </div><!-- end div.col50.lastcol -->
80 </div><!-- end div.line --> 80 </div><!-- end div.line -->
81 81
  82 +<br style="clear: both;" />
  83 +
82 <h2 id="h2-2"> 84 <h2 id="h2-2">
83 <!-- 85 <!--
84 Use headings hierarchically. The heading tree has *one* h1 as root 86 Use headings hierarchically. The heading tree has *one* h1 as root