1e8634e6bSJames Feist<loader loading="loading"></loader>
2*86caba11SEd Tanous<div id="redfish", class="redfish">
3e8634e6bSJames Feist  <div class="row column">
4*86caba11SEd Tanous    <div class="logo">
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    {
10*86caba11SEd Tanous    <ul class="key_value">
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{
20*86caba11SEd Tanous  <ul class="key_value">
21e8634e6bSJames Feist    <li ng-repeat="(key, value) in value" ng-include="'recurse'"> </li>
22e8634e6bSJames Feist  </ul>
23bc5cc7f7SJames Feist}
24e8634e6bSJames Feist</span>
25e8634e6bSJames Feist
26e8634e6bSJames Feist<span ng-if="isArray(value)">
27e8634e6bSJames Feist[
28*86caba11SEd Tanous  <div ng-repeat="val in value" class="value">
29e8634e6bSJames Feist    <span ng-if="isObject(val) && !isArray(val)">
30e8634e6bSJames Feist      {
31*86caba11SEd Tanous      <ul class="key_value">
32e8634e6bSJames Feist        <li ng-repeat="(key, value) in val" ng-include="'recurse'"> </li>
33e8634e6bSJames Feist      </ul>
34bc5cc7f7SJames Feist      }
35bc5cc7f7SJames Feist      <span ng-if="!$last">,</span>
36bc5cc7f7SJames Feist      </br>
37e8634e6bSJames Feist    </span>
38e8634e6bSJames Feist    <span ng-if="!isObject(val) && !isArray(val)">
39bc5cc7f7SJames Feist    {{val | json }}
40bc5cc7f7SJames 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>
48bc5cc7f7SJames Feist<span ng-if="key.indexOf('@odata.id') == -1" ng-href="#{{value}}">{{value | json}}</span>
49e8634e6bSJames Feist</span>
50bc5cc7f7SJames Feist<span ng-if="!$last">,</span>
51bc5cc7f7SJames Feist</br>
52e8634e6bSJames Feist</script>
53