/alps/pcitool

To get this branch, use:
bzr branch http://darksoft.org/webbzr/alps/pcitool

« back to all changes in this revision

Viewing changes to pyserver/templates/base.html

  • Committer: Suren A. Chilingaryan
  • Date: 2016-03-04 18:30:43 UTC
  • mfrom: (346.1.39 pcitool)
  • Revision ID: csa@suren.me-20160304183043-mjf6xvyermjh5olg
Integrate last part of Python code from Vasiliy Chernov

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
        <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
7
7
        <link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='codebase/dhtmlx.css') }}"/>
8
8
   <link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='base.css') }}"/>
9
 
   <script type=text/javascript src="{{ url_for('static', filename='jquery-2.2.1.js') }}"></script>
10
 
        <script src="{{ url_for('static', filename='codebase/dhtmlx.js') }}"></script>
 
9
   <script type="text/javascript" src="{{ url_for('static', filename='FileSaver.js') }}"></script>
 
10
   <script type="text/javascript" src="{{ url_for('static', filename='jquery-2.2.1.js') }}"></script>
 
11
   <script type="text/javascript" src="{{ url_for('static', filename='jquery-ui.js') }}"></script>
 
12
        <link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='jquery-ui.css') }}"/>
 
13
        <link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='theme.css') }}"/>
 
14
   <script src="{{ url_for('static', filename='codebase/dhtmlx.js') }}"></script>
11
15
   <script src="{{ url_for('static', filename='check_err.js') }}"></script>
12
16
        <script>
13
17
      var propsTree
75
79
               var pathToGetRegister = "{{ url_for('get_register_info') }}"
76
80
               var completePath = pathToGetRegister + '?bank=' + bank +
77
81
                              '&name=' + name
78
 
 
79
 
               $("#reg_info_place").load(completePath)
 
82
                              
 
83
               $("#reg_info_place").load(completePath, 0, function() { 
 
84
                  $('.infoTable').DataTable()
 
85
                  alert("aaa")})
80
86
            }
81
87
 
82
88
            function setRegisterField(id, bank, name) {
151
157
         createRegistersList()
152
158
                }
153
159
        </script>
 
160
   <script>
 
161
      $(function() {
 
162
         $( "#tabs" ).tabs();
 
163
         
 
164
         $("#script_info_place").load("{{ url_for('get_scripts_list') }}")
 
165
      });
 
166
   </script>
154
167
</head>
155
168
<body onload="doOnLoad()">
156
169
        {% block info %}
159
172
      </div>
160
173
   {% endblock %}
161
174
   
162
 
   <div class="tabs">
163
 
      <input type="radio" name="current" checked="checked" id="props_id"/>
164
 
      <label for="props_id">Properties</label>
165
 
      <input type="radio" name="current" id="labels_id"/>
166
 
      <label for="labels_id">Registers</label>
167
 
      <div>
 
175
   <div id="tabs" style="overflow:auto">
 
176
      <ul>
 
177
         <li><a href="#fragment-1">Properties</a></li>
 
178
         <li><a href="#fragment-2">Registers</a></li>
 
179
         <li><a href="#fragment-3">Scripts</a></li>
 
180
      </ul>
 
181
      <div id="fragment-1">
168
182
         <table>
169
183
            <tr>
170
184
               <td valign="top">
171
185
                  <div id="treeboxbox_tree" class = "tree"></div>
172
186
               </td>
173
 
               <td valign="top" id="prop_info_place" />
 
187
               <td valign="top" id="prop_info_place"/>
174
188
            </tr>
175
 
         </table>         
176
 
      </div>
177
 
      <div>
 
189
         </table>   
 
190
      </div>
 
191
      <div id="fragment-2">
 
192
         <div>
 
193
            <table>
 
194
               <tr>
 
195
                  <td valign="top">
 
196
                     <div id="treeboxbox_tree2" class="tree"></div>
 
197
                  </td>
 
198
                  <td valign="top" id="reg_info_place"/>
 
199
               </tr>
 
200
            </table>
 
201
         </div>
 
202
      </div>
 
203
      <div id="fragment-3">
178
204
         <table>
179
205
            <tr>
180
 
               <td valign="top">
181
 
                  <div id="treeboxbox_tree2" class="tree"></div>
182
 
               </td>
183
 
               <td valign="top" id="reg_info_place" />
 
206
               <td valign="top" id="script_info_place">
184
207
            </tr>
185
208
         </table>
186
209
      </div>
187
210
   </div>
 
211
 
188
212
   {% block content %}
189
213
   {% endblock %}
190
 
    <div class="block1" >
 
214
   <div class="block1" >
191
215
      <a href="{{ url_for('process_json_command', command='help') }}">Json API usage</a>
192
 
    </div>
 
216
   </div>
193
217
</body>
194
218
</html>