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 108 <div id="hybrid-form" class="group-form group-hybrid">
109 109 <label><input type="hidden" class="DEPENDS ON strategy BEING hybrid">Neighborhood:</label>
110 110 <label class="special"><input type="text" name="neighbours" class="DEPENDS ON strategy BEING hybrid" value="50" size="4"></label>
  111 + <div>
111 112 <label><input type="hidden" class="DEPENDS ON strategy BEING hybrid">Personal profile:</label>
112 113 <label class=special><input type="checkbox" name="profile_desktop" class="DEPENDS ON strategy BEING hybrid" > Desktop</label>
113 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 116 <label class=special><input type="checkbox" name="profile_science" class="DEPENDS ON strategy BEING hybrid" > Science</label>
116 117 <label class=special><input type="checkbox" name="profile_arts" class="DEPENDS ON strategy BEING hybrid" > Arts</label>
117 118 </div>
  119 + </div>
118 120 </fieldset>
119 121 <fieldset>
120 122 <legend>Your packages</legend>
... ...
src/web/templates/package.html
1 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 3 <div class="align-left" id="voting_box">
17 4 <button type="button" class="like_button" onclick=";return false;" id="like" >
18 5 <img src="/static/images/pixel-vfl73.gif" alt="">
... ... @@ -30,6 +17,20 @@ $for facet, tags in pkg[&#39;tag&#39;].items():
30 17 </div><!-- id="voting_box" -->
31 18  
32 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 34 <p>
34 35 <h2>Details</h2>
35 36  
... ...
src/web/templates/support.html
... ... @@ -43,9 +43,9 @@ $var jsfiles:
43 43 It's very important to use the div.line wrapping each two columns.
44 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 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 49 <p><strong>Use dual columns on index pages not on normal content
50 50 pages</strong></p>
51 51  
... ... @@ -58,12 +58,12 @@ $var jsfiles:
58 58 culpa qui officia deserunt mollit anim id est laborum</p>
59 59 </div><!-- end div.col50 -->
60 60  
61   - <div class="col50 lastcol">
  61 + <div class="graybox vert-grad">
62 62 <!--
63 63 The rightmost column must have the lastcol class
64 64 -->
65 65 <h2>Column2</h2>
66   - <tt>div.col50.lastcol</tt>
  66 + <tt>div.graybox vert-grad</tt>
67 67  
68 68 <p><strong>Care should be taken to make both columns of almost
69 69 equal length</strong></p>
... ... @@ -79,6 +79,8 @@ $var jsfiles:
79 79 </div><!-- end div.col50.lastcol -->
80 80 </div><!-- end div.line -->
81 81  
  82 +<br style="clear: both;" />
  83 +
82 84 <h2 id="h2-2">
83 85 <!--
84 86 Use headings hierarchically. The heading tree has *one* h1 as root
... ...