2014-04-03 15:22:38 -05:00
|
|
|
<div class="modal-body" ng-controller="InspectCtrl" ng-init="init()">
|
|
|
|
<div class="pull-right editor-title">Inspector</div>
|
|
|
|
|
|
|
|
<div ng-model="editor.index" bs-tabs>
|
|
|
|
<div ng-repeat="tab in ['Request','Response']" data-title="{{tab}}">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="editor-row" ng-if="editor.index == 0">
|
2013-07-30 16:58:45 -05:00
|
|
|
|
2014-04-03 15:22:38 -05:00
|
|
|
<table class="table table-striped">
|
|
|
|
<tr>
|
|
|
|
<td>Url</td>
|
|
|
|
<td>{{inspector_info.error.config.url}}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Method</td>
|
|
|
|
<td>{{inspector_info.error.config.method}}</td>
|
|
|
|
</tr>
|
|
|
|
<tr ng-repeat="(key, value) in inspector_info.error.config.headers">
|
|
|
|
<td>
|
|
|
|
{{key}}
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
{{value}}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Data</td>
|
|
|
|
<td>{{inspector_info.error.config.data}}</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="editor-row" ng-if="editor.index == 1">
|
|
|
|
<div ng-if="response_html">
|
|
|
|
<div iframe-content="response_html"></div>
|
|
|
|
</div>
|
2013-07-30 16:58:45 -05:00
|
|
|
</div>
|
2014-04-03 15:22:38 -05:00
|
|
|
|
2013-07-30 16:58:45 -05:00
|
|
|
</div>
|
|
|
|
<div class="modal-footer">
|
|
|
|
<button type="button" class="btn btn-success" ng-click="dismiss()">Close</button>
|
|
|
|
</div>
|