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}
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      }
35      <span ng-if="!$last">,</span>
36      </br>
37    </span>
38    <span ng-if="!isObject(val) && !isArray(val)">
39    {{val | json }}
40    <span ng-if="!$last">,</span>
41    </span>
42  </div>
43]
44</span>
45
46<span ng-if="!isObject(value) && !isArray(value)">
47<a ng-if="key.indexOf('@odata.id') != -1" ng-href="#{{value}}">"{{value}}"</a>
48<span ng-if="key.indexOf('@odata.id') == -1" ng-href="#{{value}}">{{value | json}}</span>
49</span>
50<span ng-if="!$last">,</span>
51</br>
52</script>
53