Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 16607 | Rev 16609 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 16607 Rev 16608
Línea 115... Línea 115...
115
 
115
 
116
                
116
                
Línea -... Línea 117...
-
 
117
 
-
 
118
 
-
 
119
                //Dibujamos la tabla
-
 
120
                var myTemplate = $.templates("#peopleTmpl");
-
 
121
 
-
 
122
                var people = [
-
 
123
                    {
-
 
124
                    name: "Adriana"
-
 
125
                    },
117
 
126
                    {
118
 
127
                    name: "Robert",
119
                //Dibujamos la tabla
128
                    nickname: "Bob"
-
 
129
                    }
-
 
130
                ];
120
                var myTemplate = $.templates("#personTmpl");
131
 
-
 
132
                app = {
121
 
133
                    people: people
Línea 276... Línea 288...
276
                </div>
288
                </div>
277
            </div>
289
            </div>
278
        </div>
290
        </div>
279
</section>
291
</section>
Línea -... Línea 292...
-
 
292
 
280
 
293
<table>
-
 
294
    <tbody id="peopleList"></tbody>
281
<div id="peopleList"></div>
295
</table>
282
 
296
 
283
<script id="personTmpl" type="text/x-jsrender">
-
 
284
    <table class="table table-bordered ">
297
<script id="peopleTmpl" type="text/x-jsrender">
285
        <thead>
298
    <tr><td>
286
            <tr>
-
 
287
                <th>Usuarios</th>
299
    <ul>
288
                {{for people}}
300
      {{for people}}
289
                <th>{{:demo}}</th>
301
        <li>
290
               {{  /for }}
302
          {{:name}}
291
            </tr>
303
          {{if nickname}}
292
        </thead>
304
            ( {{:nickname}} )
293
        <tbody>
305
          {{/if}}
294
            <tr>
-
 
295
                <td></td>
306
        </li>
296
            </tr>
307
      {{/for}}
297
        </tbody>
308
    </ul>
298
    </table>
-
 
299
    
309
  </td></tr>
Línea 300... Línea 310...
300
</script>
310
</script>
301
 
311
 
302
<!-- <section class="content">
312
<!-- <section class="content">