OSDN Git Service

346e05c54f36449fafb8ecae1d0d0c0470b19162
[ring-lang-081/ring.git] / website-obsoleted / resources.template
1   <%  eval(read("resources.data"))  %>
2
3   <div id="resources" class="panel-group">
4     <div class="panel panel-default">
5       <div class="panel-heading"><h4>リソース <span class="badge"><%= len(aResources) %></span></h4></div>
6       <div class="panel-body">
7
8                 <% for aGroup in aResources %>
9
10                 <div class="panel panel-primary" id="samples">
11                       <div class="panel-heading"><%= aGroup[1] %> <span class="badge"><%= len(aGroup[2]) %></span></div>
12                       <div class="panel-body">
13
14                         <table class="table table-striped">
15
16                                 <% if len(aGroup[2][1]) = 2  %>
17                                         <thead>
18                                                 <tr>
19                                                         <th width="80%">説明  </th>
20                                                         <th width="20%">画像 </th>
21                                                 </tr>
22                                         </thead>
23                                 <% ok %>
24
25                                 <tbody>
26                                 <% for aItem in aGroup[2] %>
27                                   <tr>
28                                         <% for aData in aItem %>
29                                                  <th>
30                                                         <%= aData %>
31                                                  </th>
32                                         <% next %>
33                                   </tr>
34                                 <% next %>
35                                 </tbody>
36                         </table>
37
38                       </div>
39                 </div>  
40
41                 <% next %>
42
43        </div>
44      </div>  
45   </div>  
46
47
48