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