Web · Wiki · Activities · Blog · Lists · Chat · Meeting · Bugs · Git · Translate · Archive · People · Donate

Commit 82b8dff43419fdd1c05b9e934e3bc9f63620234f

Fixes two bugs w/ new resource view and some touches to UI
  
194194 width: 64px;
195195 }
196196
197.grid-icon-regular {
198 height: 32px;
199 width: 32px;
200 }
201
197202.grid-icon:hover {
198203 color: white;
199204 padding: 30px;
335335 vertical-align: middle;
336336 color: white;
337337 background-color: #282828;
338 padding-left:50px;
338339 }
339340
340341.resource-form {
350350
351351.resource-form-field {
352352 right: 50px;
353 width:100px;
353 width:500px;
354354 clear:both;
355 padding:20px;
355356 }
356357
357358.resource-input {
359 height: 28px;
360 text-indent: 5px;
358361 width: 400px;
359362 right: 100px;
363 border-radius: 15px;
360364 }
361365
362366.resource-inputarea {
363367 width: 400px;
364368 height: 100px;
365369 border: 1px solid #282828;
370 border-radius: 15px;
366371 }
367372
368373#submit-buttons {
369 float: right;
370 right: 0px;
371 width: 55px;
374 padding: 20px;
372375 }
373376
374377#submit-buttons img {
375 clear:both;
378 clear:both;
379 margin-left: 50px;
376380 }
377381
378382/* BELOW FROM PLUGINS: jquery-tools */
Binary files differ
  
1<?xml version="1.0" ?><!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd' [
2 <!ENTITY stroke_color "#666666">
3 <!ENTITY fill_color "#ffffff">
4]><svg
5 xmlns:dc="http://purl.org/dc/elements/1.1/"
6 xmlns:cc="http://creativecommons.org/ns#"
7 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
8 xmlns:svg="http://www.w3.org/2000/svg"
9 xmlns="http://www.w3.org/2000/svg"
10 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
11 xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
12 enable-background="new 0 0 55 55"
13 height="55px"
14 version="1.1"
15 viewBox="0 0 55 55"
16 width="55px"
17 x="0px"
18 xml:space="preserve"
19 y="0px"
20 id="svg2"
21 inkscape:version="0.48.1 r9760"
22 sodipodi:docname="sugar-network.svg"><metadata
23 id="metadata17"><rdf:RDF><cc:Work
24 rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
25 rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs
26 id="defs15" /><sodipodi:namedview
27 pagecolor="#ff0400"
28 bordercolor="#666666"
29 borderopacity="1"
30 objecttolerance="10"
31 gridtolerance="10"
32 guidetolerance="10"
33 inkscape:pageopacity="0.5254902"
34 inkscape:pageshadow="2"
35 inkscape:window-width="1278"
36 inkscape:window-height="719"
37 id="namedview13"
38 showgrid="false"
39 inkscape:zoom="5.1090909"
40 inkscape:cx="-6.6548043"
41 inkscape:cy="27.5"
42 inkscape:window-x="0"
43 inkscape:window-y="32"
44 inkscape:window-maximized="0"
45 inkscape:current-layer="svg2" /><circle
46 cx="27.5"
47 cy="27.5"
48 r="20.75"
49 id="circle7"
50 sodipodi:cx="27.5"
51 sodipodi:cy="27.5"
52 sodipodi:rx="20.75"
53 sodipodi:ry="20.75"
54 style="fill:none;stroke:&stroke_color;;stroke-width:3.5;stroke-opacity:1" /><g
55 id="g9"
56 transform="translate(-5.6761566,3.5231317)">
57 <path
58 d="m 27.499,32.994 c -3.03,0 -5.492,-2.46 -5.492,-5.493 0,-3.036 2.462,-5.495 5.493,-5.495 3.037,0 5.493,2.459 5.493,5.495 -0.003,3.038 -2.459,5.493 -5.494,5.493 z"
59 id="path11"
60 inkscape:connector-curvature="0"
61 style="fill:&fill_color;fill-opacity:0.93333334" />
62 </g><g
63 transform="translate(0.09786474,-6.5569396)"
64 id="g9-7"><path
65 d="m 27.499,32.994 c -3.03,0 -5.492,-2.46 -5.492,-5.493 0,-3.036 2.462,-5.495 5.493,-5.495 3.037,0 5.493,2.459 5.493,5.495 -0.003,3.038 -2.459,5.493 -5.494,5.493 z"
66 id="path11-5"
67 inkscape:connector-curvature="0"
68 style="fill:&fill_color;fill-opacity:0.93333334" /></g><g
69 transform="translate(5.969751,3.4252669)"
70 id="g9-7-9"><path
71 d="m 27.499,32.994 c -3.03,0 -5.492,-2.46 -5.492,-5.493 0,-3.036 2.462,-5.495 5.493,-5.495 3.037,0 5.493,2.459 5.493,5.495 -0.003,3.038 -2.459,5.493 -5.494,5.493 z"
72 id="path11-5-2"
73 inkscape:connector-curvature="0"
74 style="fill:&fill_color;fill-opacity:0.93333334" /></g></svg>
  
6565 $( "#selected-resource" ).empty().append( this.getIndex() + 1 );
6666 });
6767 });
68
69 $(".question-button").click(function() {
70 $("#resource-form1").submit();
71 });
7268 </script>
7369 {% endblock view %}
  
55 Mejorar el Sistema
66 </div>
77 <form id="resource-form1" method="POST" action="/submit_resource">
8 <input name="guid" type="hidden" value="{{context.guid}}" />
98 <div class="resource-form-field">
10 Título
9 Contexto: <span id="context-title">{{context.title}}</span>
10 <img class="grid-icon-regular" src="/context/icon/{{context.guid}}" />
11 <input name="guid" type="hidden" value="{{context.guid}}" />
12 </div>
13 <div class="resource-form-field">
14 Título<br/>
1115 <input name="title" class="resource-input" type="text"/>
1216 </div>
1317 <div class="resource-form-field">
14 Detalles
18 Detalles<br/>
1519 <textarea name="content" class="resource-inputarea" ></textarea>
1620 </div>
1721 </form>
2525 <img src="/static/icons/emblem-charging.png" alt="Es una idea" />
2626 </div>
2727</div>
28<script type="text/javascript">
29 $(function() {
30 $("#search").attr('disabled', true);
31 });
32 $(".question-button").click(function() {
33 $("#resource-form1").submit();
34 });
35</script>
2836{% endblock view %}
  
11 <div id="toolbar">
22 <ul class="toolbar-bar">
3 <li class="toolbar-items">
4 <div>
5 <img class="toolbar-icon" src="/static/icons/sugar-network.png" />
6 </div>
7 </li>
38 <li class="toolbar-items" onclick="location='/new/resource'">
49 <div>
510 <img class="toolbar-icon" src="/static/icons/mejorar-sistema.png" />
611 </div>
712 </li>
8 <li class="toolbar-items" onclick="location='/favorites'">
13 <!--li class="toolbar-items" onclick="location='/favorites'">
914 <div>
1015 <img class="toolbar-icon" src="/static/icons/tool-shape-star.png" />
1116 </div>
12 </li>
17 </li-->
1318 <li class="toolbar-items">
1419 <input id="search" type="text" name="terms" value="{{query or ''}}"
1520 onkeyup="onKeyPressed(event)" />