@@ -60,5 +60,6 @@ class @AgentShowPage |
||
60 | 60 |
.fail -> |
61 | 61 |
$("#memory .spinner").fadeOut -> |
62 | 62 |
$("#memory .clear").css(display: 'inline-block') |
63 |
+ |
|
63 | 64 |
$ -> |
64 | 65 |
Utils.registerPage(AgentShowPage, forPathsMatching: /^agents\/\d+/) |
@@ -162,19 +162,19 @@ |
||
162 | 162 |
<pre><%= Utils.pretty_jsonify @agent.options || {} %></pre> |
163 | 163 |
</p> |
164 | 164 |
<button type="submit" class="btn btn-default" id="toggle-memory">Show Memory</button> |
165 |
- <div id="memorypanel" class="hidden"> |
|
166 |
- <p id="memory" data-agent-id="<%= @agent.id %>"> |
|
167 |
- <b>Memory:</b> |
|
168 |
- <% if @agent.memory.present? %> |
|
169 |
- <i class="fa fa-spinner fa-pulse spinner"></i> |
|
170 |
- <i class="fa fa-trash action-icon clear"></i> |
|
171 |
- <% end %> |
|
172 |
- <pre class="memory"><%= Utils.pretty_jsonify @agent.memory || {} %></pre> |
|
173 |
- </p> |
|
174 |
- </div> |
|
165 |
+ <div id="memorypanel" class="hidden"> |
|
166 |
+ <p id="memory" data-agent-id="<%= @agent.id %>"> |
|
167 |
+ <b>Memory:</b> |
|
168 |
+ <% if @agent.memory.present? %> |
|
169 |
+ <i class="fa fa-spinner fa-pulse spinner"></i> |
|
170 |
+ <i class="fa fa-trash action-icon clear"></i> |
|
171 |
+ <% end %> |
|
172 |
+ <pre class="memory"><%= Utils.pretty_jsonify @agent.memory || {} %></pre> |
|
173 |
+ </p> |
|
175 | 174 |
</div> |
176 | 175 |
</div> |
177 | 176 |
</div> |
178 | 177 |
</div> |
179 | 178 |
</div> |
180 |
-</div> |
|
179 |
+</div> |
|
180 |
+ |