blob: 5eab9b3a5b869d118ec0c383304fb78697d516ec [file] [log] [blame]
James Feiste8634e62018-09-07 14:25:48 -07001<loader loading="loading"></loader>
Ed Tanous86caba12018-12-19 20:57:42 -08002<div id="redfish", class="redfish">
Gunnar Mills5f0b7762018-09-25 14:10:45 -05003 <div class="row column">
Ed Tanous86caba12018-12-19 20:57:42 -08004 <div class="logo">
Gunnar Mills5f0b7762018-09-25 14:10:45 -05005 <img src="../../assets/images/DMTF_Redfish_logo_2017.svg">
6 </div>
7 </div>
8 <div class="row column">
9 {
Ed Tanous86caba12018-12-19 20:57:42 -080010 <ul class="key_value">
Gunnar Mills5f0b7762018-09-25 14:10:45 -050011 <li ng-repeat="(key, value) in redfishData" ng-include="'recurse'"> </li>
12 </ul>
13 }
14 </div>
James Feiste8634e62018-09-07 14:25:48 -070015</div>
16<script type="text/ng-template" id="recurse">
17"<b>{{key}}</b>":
18<span ng-if="isObject(value) && !isArray(value)">
19{
Ed Tanous86caba12018-12-19 20:57:42 -080020 <ul class="key_value">
Gunnar Mills5f0b7762018-09-25 14:10:45 -050021 <li ng-repeat="(key, value) in value" ng-include="'recurse'"> </li>
22 </ul>
James Feistbc5cc7f2018-11-13 13:30:02 -080023}
James Feiste8634e62018-09-07 14:25:48 -070024</span>
25
26<span ng-if="isArray(value)">
27[
Ed Tanous86caba12018-12-19 20:57:42 -080028 <div ng-repeat="val in value" class="value">
Gunnar Mills5f0b7762018-09-25 14:10:45 -050029 <span ng-if="isObject(val) && !isArray(val)">
30 {
Ed Tanous86caba12018-12-19 20:57:42 -080031 <ul class="key_value">
Gunnar Mills5f0b7762018-09-25 14:10:45 -050032 <li ng-repeat="(key, value) in val" ng-include="'recurse'"> </li>
33 </ul>
James Feistbc5cc7f2018-11-13 13:30:02 -080034 }
35 <span ng-if="!$last">,</span>
36 </br>
Gunnar Mills5f0b7762018-09-25 14:10:45 -050037 </span>
38 <span ng-if="!isObject(val) && !isArray(val)">
James Feistbc5cc7f2018-11-13 13:30:02 -080039 {{val | json }}
40 <span ng-if="!$last">,</span>
Gunnar Mills5f0b7762018-09-25 14:10:45 -050041 </span>
42 </div>
James Feiste8634e62018-09-07 14:25:48 -070043]
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>
James Feistbc5cc7f2018-11-13 13:30:02 -080048<span ng-if="key.indexOf('@odata.id') == -1" ng-href="#{{value}}">{{value | json}}</span>
James Feiste8634e62018-09-07 14:25:48 -070049</span>
James Feistbc5cc7f2018-11-13 13:30:02 -080050<span ng-if="!$last">,</span>
51</br>
James Feiste8634e62018-09-07 14:25:48 -070052</script>