1<loader loading="loading"></loader>
2<div id="redfish">
3  <div class="row column">
4    <div style="max-width: 400px;margin:0">
5      <img src="../../assets/images/DMTF_Redfish_logo_2017.svg">
6    </div>
7  </div>
8  <div class="row column">
9    {
10    <ul style="list-style: none;">
11      <li ng-repeat="(key, value) in redfishData" ng-include="'recurse'"> </li>
12    </ul>
13    }
14  </div>
15</div>
16<script type="text/ng-template" id="recurse">
17"<b>{{key}}</b>":
18<span ng-if="isObject(value) && !isArray(value)">
19{
20  <ul style="list-style: none;">
21    <li ng-repeat="(key, value) in value" ng-include="'recurse'"> </li>
22  </ul>
23},</br>
24</span>
25
26<span ng-if="isArray(value)">
27[
28  <div ng-repeat="val in value" style="margin-left: 2em;">
29    <span ng-if="isObject(val) && !isArray(val)">
30      {
31      <ul style="list-style: none;">
32        <li ng-repeat="(key, value) in val" ng-include="'recurse'"> </li>
33      </ul>
34      },</br>
35    </span>
36    <span ng-if="!isObject(val) && !isArray(val)">
37    {{val}}
38    </span>
39  </div>
40]
41</span>
42
43<span ng-if="!isObject(value) && !isArray(value)">
44<a ng-if="key.indexOf('@odata.id') != -1" ng-href="#{{value}}">"{{value}}"</a>
45<span ng-if="key.indexOf('@odata.id') == -1" ng-href="#{{value}}">{{value | json}}</span>,
46</span>
47</script>
48