overview.html 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548
  1. <div class="container-fluid">
  2. <ul class="nav nav-pills">
  3. <li><a ng-href="#/overview/all/today/errors">Heutige Fehler</a></li>
  4. <li><a ng-href="#/overview/all/today/all">Heutige Statusmeldungen</a></li>
  5. <li><a ng-href="#/overview/all/all/missing">Alle Fehlenden</a></li>
  6. <li><a ng-href="#/overview/all/all/errors">Alle Fehler</a></li>
  7. <li>
  8. <div class="dropdown">
  9. <a class="btn dropdown-toggle" role="button" data-toggle="dropdown">Benutzer: {{benutzer||'bitte auswählen'}}&nbsp;<b class="caret"></b></a>
  10. <ul class="dropdown-menu" role="menu">
  11. <li ng-repeat="val in domain.benutzer"><a ng-click="saveUser(val)">{{val}}</a></li>
  12. </ul>
  13. </div>
  14. </li>
  15. </ul>
  16. </div>
  17. <div class="row">
  18. <div class="container-fluid col-md-7">
  19. <table class="table table-bordered table-striped">
  20. <tr>
  21. <th>
  22. <label>
  23. Datum <i class="glyphicon glyphicon-sort-by-alphabet" ng-click="Predicate='datum'"></i><br/>
  24. <input ng-model="Filter.datum" type="date" ng-change="refresh()" />
  25. </label>
  26. </th>
  27. <th>
  28. <label>
  29. Kunde <i class="glyphicon glyphicon-sort-by-alphabet" ng-click="Predicate='kunde'"></i><br/>
  30. <input ng-model="Filter.kunde" />
  31. </label>
  32. </th>
  33. <th>Start Soll<br/>Ende Soll <i class="glyphicon glyphicon-sort-by-alphabet" ng-click="Predicate='ende_soll'"></i></th>
  34. <th>Start Ist<br/>Ende Ist</th>
  35. <th>Abweichung</th>
  36. <th>Fehler / Statistik</th>
  37. <th>Kommentar</th>
  38. </tr>
  39. <tr>
  40. <td>
  41. </td>
  42. <td>
  43. <div class="dropdown">
  44. <a class="btn dropdown-toggle" role="button" data-toggle="dropdown">{{Filter.system||'alle'}}&nbsp;<b class="caret"></b></a>
  45. <ul class="dropdown-menu" role="menu">
  46. <li><a ng-click="Filter.system=''">alle</a></li>
  47. <li class="divider"></li>
  48. <li ng-repeat="val in domain.system"><a ng-click="Filter.system=val">{{val}}</a></li>
  49. </ul>
  50. </div>
  51. </td>
  52. <td></td>
  53. <td>
  54. <div class="dropdown">
  55. <a class="btn dropdown-toggle" role="button" data-toggle="dropdown">{{domain.fehlend[Filter.fehlend]||'alle'}}&nbsp;<b class="caret"></b></a>
  56. <ul class="dropdown-menu" role="menu">
  57. <li><a ng-click="Filter.fehlend=''">alle</a></li>
  58. <li class="divider"></li>
  59. <li ng-repeat="(key,val) in domain.fehlend"><a ng-click="Filter.fehlend=key">{{val}}</a></li>
  60. </ul>
  61. </div>
  62. </td>
  63. <td></td>
  64. <td>
  65. <div class="dropdown">
  66. <a class="btn dropdown-toggle" role="button" data-toggle="dropdown">{{domain.fehler[Filter.fehler]||'alle'}}&nbsp;<b class="caret"></b></a>
  67. <ul class="dropdown-menu" role="menu">
  68. <li><a ng-click="Filter.fehler=''">alle</a></li>
  69. <li class="divider"></li>
  70. <li ng-repeat="(key,val) in domain.fehler"><a ng-click="Filter.fehler=key">{{val}}</a></li>
  71. </ul>
  72. </div>
  73. </td>
  74. <td>
  75. <div class="dropdown">
  76. <a class="btn dropdown-toggle" role="button" data-toggle="dropdown">{{Filter.benutzer||'alle'}}&nbsp;<b class="caret"></b></a>
  77. <ul class="dropdown-menu" role="menu">
  78. <li><a ng-click="Filter.benutzer=''">alle</a></li>
  79. <li class="divider"></li>
  80. <li ng-repeat="val in domain.benutzer"><a ng-click="Filter.benutzer=val">{{val}}</a></li>
  81. </ul>
  82. </div>
  83. </td>
  84. </tr>
  85. <tr ng-repeat="zeile in overview | filter:SearchText | filter:Filter | orderBy:Predicate:Reverse" ng-class="{'danger':zeile.fehlend==1}">
  86. <td>{{dateFormat(zeile.datum)}}</td>
  87. <td><span class="label label-danger label-{{zeile.system}}">{{left(zeile.system, 1)}}</span> <a ng-href="#/overview/{{zeile.kunde}}/all/all">{{zeile.kunde}}</a></td>
  88. <td>{{zeile.start_soll}}<br/>{{zeile.ende_soll}}</td>
  89. <td>
  90. <a ng-click="saveStartTime(zeile)">{{zeile.start}}</a><br/>
  91. <a ng-click="saveEndTime(zeile)">{{zeile.ende}}</a>
  92. </td>
  93. <td>
  94. {{timeDiffStart(zeile)}}<br/>
  95. {{timeDiff(zeile)}}</td>
  96. <td>
  97. <!--<a ng-href="#/overview/{{zeile.kunde}}/all/all"><button type="button" class="btn btn-default" title="Fehlermeldungen"><span class="glyphicon glyphicon-exclamation-sign"></span></button></a>-->
  98. <!--<a ng-href="#/stats/{{zeile.kunde}}"><button type="button" class="btn btn-default" title="Statistik"><span class="glyphicon glyphicon-stats"></span></button></a>-->
  99. <!--<a ng-href="#/config/{{zeile.kunde}}/current"><button type="button" class="btn btn-default" title="Konfiguration"><span class="glyphicon glyphicon-list-alt"></span></button></a>-->
  100. <button type="button" class="btn btn-default btn-sm" data-toggle="modal" data-target="#fehler-modal" ng-click="setCurrent(zeile)" ng-show="zeile.anzahl != null">
  101. <span class="glyphicon" ng-class="{'glyphicon-check': zeile.anzahl == 0 && zeile.bearbeitet == 1, 'glyphicon-eye-close': zeile.anzahl == 0 && zeile.bearbeitet == 0, 'glyphicon-exclamation-sign': zeile.anzahl > 0 && zeile.bearbeitet == 0, 'glyphicon-ok': zeile.anzahl > 0 && zeile.bearbeitet == 1}"></span>
  102. <span class="label label-danger label-{{zeile.anzahl}}"> {{zeile.anzahl}}</span>
  103. </button>
  104. <button type="button" data-trigger="focus" class="btn btn-default btn-sm" data-toggle="modal" data-target="#fehler-modal" ng-click="setCurrent(zeile)" ng-show="zeile.anzahl == null">
  105. <span class="glyphicon glyphicon-question-sign"></span>
  106. </button>
  107. </td>
  108. <td>
  109. <button type="button" class="btn btn-default btn-sm" ng-init="c = getComments(zeile)" ng-show="c" data-toggle="popover" data-placement="bottom"
  110. title="" data-content="" data-popover="{{zeile.kunde}}">
  111. <span ng-show="c[0].datum != zeile.datum">{{dateFormat(c[0].datum)}}: </span>
  112. <span class="glyphicon {{getCommentIcon(c)}}"></span>
  113. <span class="label label-danger label-{{c[0].fehler}}"> {{c[0].fehler}}</span>
  114. {{c[0].benutzer}}
  115. </button>
  116. </td>
  117. </tr>
  118. </table>
  119. </div>
  120. </div>
  121. <!-- Modal -->
  122. <div class="modal fade" id="fehler-modal" tabindex="-1" role="dialog" aria-labelledby="fehler-modal-label" aria-hidden="true">
  123. <div class="modal-dialog modal-lg">
  124. <div class="modal-content">
  125. <div class="modal-header">
  126. <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
  127. <h4 class="modal-title" id="fehler-modal-label"><span class="glyphicon glyphicon-exclamation-sign"></span>&nbsp; {{current.zeile.kunde}} - {{dateFormat(current.zeile.datum)}}</h4>
  128. </div>
  129. <div class="modal-body">
  130. <h3>Kommentar</h3>
  131. <table class="table table-hover table-bordered">
  132. <tr>
  133. <th>Benutzer</th>
  134. <td>
  135. <div class="dropdown">
  136. <a class="btn dropdown-toggle" role="button" data-toggle="dropdown">{{current.kommentar.benutzer||'unbekannt'}}&nbsp;<b class="caret"></b></a>
  137. <ul class="dropdown-menu" role="menu">
  138. <li ng-repeat="val in domain.benutzer"><a ng-click="current.kommentar.benutzer=val">{{val}}</a></li>
  139. </ul>
  140. </div>
  141. </td>
  142. </tr>
  143. <tr>
  144. <th>Bearbeitungsstand</th>
  145. <td>
  146. <div class="dropdown">
  147. <a class="btn dropdown-toggle" role="button" data-toggle="dropdown"><span class="glyphicon {{getCommentIcon(current.kommentar)}}"></span> {{domain.bearbeitet[current.kommentar.status]||'unbekannt'}}&nbsp;<b class="caret"></b></a>
  148. <ul class="dropdown-menu" role="menu">
  149. <li ng-repeat="(key,val) in domain.bearbeitet"><a ng-click="current.kommentar.status=key"><span class="glyphicon {{domain.comment[key]}}"></span> {{val}}</a></li>
  150. </ul>
  151. </div>
  152. </td>
  153. </tr>
  154. <tr ng-show="current.kommentar.status=='7'">
  155. <th>Empfänger</th>
  156. <td>
  157. <div class="dropdown">
  158. <a class="btn dropdown-toggle" role="button" data-toggle="dropdown">{{current.kommentar.benutzer2||'unbekannt'}}&nbsp;<b class="caret"></b></a>
  159. <ul class="dropdown-menu" role="menu">
  160. <li ng-repeat="val in domain.benutzer"><a ng-click="current.kommentar.benutzer2=val;current.kommentar.kommentar='weitergeleitet an '+val">{{val}}</a></li>
  161. </ul>
  162. </div>
  163. </td>
  164. </tr>
  165. <tr>
  166. <th>Anzahl Fehler
  167. <span class="label label-danger label-{{current.fehler.anzahl}}"> {{current.fehler.anzahl}}</span>
  168. </th>
  169. <td>
  170. <span class="label label-danger label-{{current.kommentar.fehler}}"> {{current.kommentar.fehler}}</span> &nbsp;
  171. <label>
  172. <input type="range" name="Anzahl" min="0" max="10" ng-model="current.kommentar.fehler" />
  173. </label>
  174. </td>
  175. </tr>
  176. <tr>
  177. <th>Kommentar</th>
  178. <td>
  179. <label>
  180. <textarea cols="60" rows="5" ng-model="current.kommentar.kommentar"></textarea>
  181. </label>
  182. </td>
  183. </tr>
  184. <tr>
  185. <td></td>
  186. <td>
  187. <button type="button" class="btn btn-default" ng-click="saveComments()">Speichern</button>
  188. <button type="button" class="btn btn-primary" ng-click="saveComments()" data-dismiss="modal">Speichern und schließen</button>
  189. </td>
  190. </tr>
  191. </table>
  192. <h3>Fehler</h3>
  193. <div class="logdatei" ng-repeat="e in current.fehler.fehlerbericht | filter: errorLevel | orderBy: 'ErrorLevel'">
  194. <a href="" onclick="$(this).next().toggle()">
  195. <p class="modell" ng-class="{'rot':e.ErrorLevel < 3}">{{e.Type}}: {{e.Name}} ({{errorCount(e)}})</p>
  196. </a>
  197. <div class="closed-tab">
  198. <ul class="fehler" ng-show="e.Type=='Modell'">
  199. <li ng-repeat="error in e.Errors"><a href="http://wiki.global-cube.de/{{error.Number}}">{{error.Number}}</a>:
  200. ({{error.Level}}) {{error.Message}}</li>
  201. </ul>
  202. <pre class="fehler" ng-show="e.Type=='Workflow'" ng-bind-html="e.Errors[0]"></pre>
  203. <table class="ft" ng-show="e.Type=='Portal'||e.Type=='Versand'">
  204. <tbody ng-repeat="error in e.Errors">
  205. <tr>
  206. <td rowspan="6" class="number">{{$index+1}}
  207. <td>Datei:</td>
  208. <td></td>
  209. <td>{{error.Filename}}</td>
  210. </tr>
  211. <tr>
  212. <td>Stand:</td>
  213. <td></td>
  214. <td>{{error.Modified}}</td>
  215. </tr>
  216. <tr>
  217. <td>Benutzer:</td>
  218. <td><button class="btn btn-default btn-sm" ng-show="!inWhitelist('User', error.User)" ng-click="whitelistToggle('User', error.User)"><span class="glyphicon glyphicon-ban-circle"></span></button></td>
  219. <td>{{error.User}}</td>
  220. </tr>
  221. <tr>
  222. <td>Bericht:</td>
  223. <td><button class="btn btn-default btn-sm" ng-show="!inWhitelist('Report', error.Report)" ng-click="whitelistToggle('Report', error.Report)"><span class="glyphicon glyphicon-ban-circle"></span></button></td>
  224. <td>{{error.Report}}</td>
  225. </tr>
  226. <tr>
  227. <td>Schicht:</td>
  228. <td><button class="btn btn-default btn-sm" ng-show="!inWhitelist('Layer', error.Layer)" ng-click="whitelistToggle('Layer', error.Layer)"><span class="glyphicon glyphicon-ban-circle"></span></button></td>
  229. <td>{{error.Layer}}</td>
  230. </tr>
  231. <tr class="strich">
  232. <td><div ng-show="e.Type=='Versand'">Empfänger:</div></td>
  233. <td></td>
  234. <td><div ng-bind-html="mailFormat(error.MailTo)"></div></td>
  235. </tr>
  236. </tbody>
  237. <tr ng-show="e.Errors2">
  238. <td colspan="4"><a ng-click="e.Show=!e.Show;">Ausgeblendete Berichte</a></td>
  239. </tr>
  240. <tbody ng-repeat="error in e.Errors2" ng-show="e.Show">
  241. <tr>
  242. <td rowspan="6" class="number">{{$index+1}}
  243. <td>Datei:</td>
  244. <td></td>
  245. <td>{{error.Filename}}</td>
  246. </tr>
  247. <tr>
  248. <td>Stand:</td>
  249. <td></td>
  250. <td>{{error.Modified}}</td>
  251. </tr>
  252. <tr>
  253. <td>Benutzer:</td>
  254. <td><button class="btn btn-default btn-sm" ng-show="!inWhitelist('User', error.User)" ng-click="whitelistToggle('User', error.User)"><span class="glyphicon glyphicon-ban-circle"></span></button></td>
  255. <td>{{error.User}}</td>
  256. </tr>
  257. <tr>
  258. <td>Bericht:</td>
  259. <td><button class="btn btn-default btn-sm" ng-show="!inWhitelist('Report', error.Report)" ng-click="whitelistToggle('Report', error.Report)"><span class="glyphicon glyphicon-ban-circle"></span></button></td>
  260. <td>{{error.Report}}</td>
  261. </tr>
  262. <tr>
  263. <td>Schicht:</td>
  264. <td><button class="btn btn-default btn-sm" ng-show="!inWhitelist('Layer', error.Layer)" ng-click="whitelistToggle('Layer', error.Layer)"><span class="glyphicon glyphicon-ban-circle"></span></button></td>
  265. <td>{{error.Layer}}</td>
  266. </tr>
  267. <tr class="strich">
  268. <td><div ng-show="e.Type=='Versand'">Empfänger:</div></td>
  269. <td></td>
  270. <td><div ng-bind-html="mailFormat(error.MailTo)"></div></td>
  271. </tr>
  272. </tbody>
  273. </table>
  274. </div>
  275. </div>
  276. <h3>Weitere Logdateien</h3>
  277. <table class="table table-hover table-bordered">
  278. <tr ng-repeat="(header, g) in current.fehler.weitere">
  279. <th>{{header}}</th>
  280. <td>
  281. <ul>
  282. <li ng-repeat="e in g" >
  283. <a ng-click="current.fehlerdetails = e" ng-show="header != 'Modell'">{{e.Name}}</a>
  284. <span ng-show="header == 'Modell'">{{e.Name}}</span>
  285. </li>
  286. </ul>
  287. </td>
  288. </tr>
  289. </table>
  290. <div class="logdatei" ng-show="current.fehlerdetails != null">
  291. <p class="modell">{{current.fehlerdetails.Type}}: {{current.fehlerdetails.Name}} ({{errorCount(current.fehlerdetails)}})</p>
  292. <pre class="fehler" ng-repeat="error in current.fehlerdetails.Errors">{{error}}</pre>
  293. <table class="ft" ng-show="current.fehlerdetails.Errors2">
  294. <tbody ng-repeat="error in current.fehlerdetails.Errors2">
  295. <tr>
  296. <td rowspan="6" class="number">{{$index+1}}
  297. <td>Datei:</td>
  298. <td></td>
  299. <td>{{error.Filename}}</td>
  300. </tr>
  301. <tr>
  302. <td>Stand:</td>
  303. <td></td>
  304. <td>{{error.Modified}}</td>
  305. </tr>
  306. <tr>
  307. <td>Benutzer:</td>
  308. <td><button class="btn btn-default btn-sm" ng-show="!inWhitelist('User', error.User)" ng-click="whitelistToggle('User', error.User)"><span class="glyphicon glyphicon-ban-circle"></span></button></td>
  309. <td>{{error.User}}</td>
  310. </tr>
  311. <tr>
  312. <td>Bericht:</td>
  313. <td><button class="btn btn-default btn-sm" ng-show="!inWhitelist('Report', error.Report)" ng-click="whitelistToggle('Report', error.Report)"><span class="glyphicon glyphicon-ban-circle"></span></button></td>
  314. <td>{{error.Report}}</td>
  315. </tr>
  316. <tr>
  317. <td>Schicht:</td>
  318. <td><button class="btn btn-default btn-sm" ng-show="!inWhitelist('Layer', error.Layer)" ng-click="whitelistToggle('Layer', error.Layer)"><span class="glyphicon glyphicon-ban-circle"></span></button></td>
  319. <td>{{error.Layer}}</td>
  320. </tr>
  321. <tr class="strich">
  322. <td><div ng-show="e.Type=='Versand'">Empfänger:</div></td>
  323. <td></td>
  324. <td><div ng-bind-html="mailFormat(error.MailTo)"></div></td>
  325. </tr>
  326. </tbody>
  327. </table>
  328. </div>
  329. <div ng-show="current.fehler.whitelist.User || current.fehler.whitelist.Report || current.fehler.whitelist.Layer">
  330. <h3>Ausgeblendete Berichte</h3>
  331. <table class="table table-hover table-bordered">
  332. <tr ng-show="current.fehler.whitelist.User">
  333. <th>Benutzer</th>
  334. <td>
  335. <ul>
  336. <li ng-repeat="val in current.fehler.whitelist.User"><a ng-click="whitelistToggle('User', val)">{{val}}</a></li>
  337. </ul>
  338. </td>
  339. </tr>
  340. <tr ng-show="current.fehler.whitelist.Report">
  341. <th>Bericht</th>
  342. <td>
  343. <ul>
  344. <li ng-repeat="val in current.fehler.whitelist.Report"><button ng-click="whitelistToggle('Report', val)"><span class="glyphicon glyphicon-trash"></span></button> {{val}}</li>
  345. </ul>
  346. </td>
  347. </tr>
  348. <tr ng-show="current.fehler.whitelist.Layer">
  349. <th>Schicht</th>
  350. <td>
  351. <ul>
  352. <li ng-repeat="val in current.fehler.whitelist.Layer"><a ng-click="whitelistToggle('Layer', val)">{{val}}</a></li>
  353. </ul>
  354. </td>
  355. </tr>
  356. </table>
  357. </div>
  358. <h3>Historie</h3>
  359. <table class="table table-hover table-bordered table-condensed">
  360. <tr>
  361. <th style="width: 140px;">Datum</th>
  362. <th style="width: 100px;">Start<br/>Ende</th>
  363. <th style="width: 110px;">Abweichung</th>
  364. <th style="width: 120px;">Fehler</th>
  365. <th style="width: 340px;">Kommentar</th>
  366. </tr>
  367. <tr ng-repeat="z in current.overview | orderBy: 'datum':true | limitTo: current.limit " ng-class="{'danger':z.fehlend==1}">
  368. <td>{{dateFormat(z.datum)}}</td>
  369. <td>
  370. <a ng-click="saveStartTime(z)">{{z.start}}</a><br/>
  371. <a ng-click="saveEndTime(z)">{{z.ende}}</a>
  372. </td>
  373. <td>
  374. {{timeDiffStart(z)}}<br/>
  375. {{timeDiff(z)}}
  376. </td>
  377. <td>
  378. <button type="button" class="btn btn-default btn-sm" ng-click="setCurrent(z)" ng-show="z.anzahl != null">
  379. <span class="glyphicon" ng-class="{'glyphicon-check': z.anzahl == 0 && z.bearbeitet == 1, 'glyphicon-eye-close': z.anzahl == 0 && z.bearbeitet == 0, 'glyphicon-exclamation-sign': z.anzahl > 0 && z.bearbeitet == 0, 'glyphicon-ok': z.anzahl > 0 && z.bearbeitet == 1}"></span>
  380. <span class="label label-danger label-{{z.anzahl}}"> {{z.anzahl}}</span>
  381. </button>
  382. <button type="button" data-trigger="focus" class="btn btn-default btn-sm" ng-click="setCurrent(zeile)" ng-show="z.anzahl == null">
  383. <span class="glyphicon glyphicon-question-sign"></span>
  384. </button>
  385. </td>
  386. <td>
  387. <button type="button" class="btn btn-default btn-sm" ng-init="c = getComments(z)" ng-show="c" data-toggle="popover" data-placement="bottom"
  388. title="" data-content="" data-popover="{{z.kunde}}">
  389. <span ng-show="c[0].datum != z.datum">{{dateFormat(c[0].datum)}}: </span>
  390. <span class="glyphicon {{getCommentIcon(c)}}"></span>
  391. <span class="label label-danger label-{{c[0].fehler}}"> {{c[0].fehler}}</span>
  392. {{c[0].benutzer}}
  393. </button>
  394. </td>
  395. </tr>
  396. <tr>
  397. <td>
  398. <button class="btn btn-default" ng-click="current.limit=100"><span class="glyphicon glyphicon-plus"></span></button>
  399. </td>
  400. </tr>
  401. </table>
  402. <h3>Statistik</h3>
  403. <div>
  404. <div id="duration" style="width: 750px; height: 550px">
  405. </div>
  406. <br/><br/>
  407. <table class="table table-bordered table-striped">
  408. <tr>
  409. <th>Name</th>
  410. <th>Datum</th>
  411. <th>Zeit</th>
  412. <th>Dauer</th>
  413. <th>Quellen</th>
  414. <th>Kategorien</th>
  415. <th>Datensätze</th>
  416. </tr>
  417. <tr ng-repeat="e in current.fehler.fehlerbericht" ng-show="e.Summary.Duration != null">
  418. <td>{{e.Type}}: <a href="" ng-click="showDetails(e)">{{e.Name}}</a></td>
  419. <td>{{dateFormat(e.Modified)}}</td>
  420. <td>{{timeFormat(e.Modified)}}</td>
  421. <td>{{e.Summary.Duration}}</td>
  422. <td>{{e.Sources.length}}</td>
  423. <td>{{e.Summary.Categories}}</td>
  424. <td>{{e.Summary.Entities}}</td>
  425. </tr>
  426. </table>
  427. <div ng-show="current.details!=null">
  428. <h3>Details zu {{current.details.Type}}: {{current.details.Name}}</h3>
  429. <div id="duration_details" style="width: 750px; height: 550px">
  430. </div>
  431. <br/><br/>
  432. <table class="table table-bordered table-striped">
  433. <tr>
  434. <th>Name</th>
  435. <th ng-show="current.details.Type!='Modell'">Report</th>
  436. <th ng-show="current.details.Type=='Modell'">Datensätze</th>
  437. <th>Dauer</th>
  438. </tr>
  439. <tr ng-repeat="e in current.details.Sources">
  440. <td>{{e.Filename}}</td>
  441. <td ng-show="current.details.Type!='Modell'">{{e.Report}} ({{e.Layer}})</td>
  442. <td ng-show="current.details.Type=='Modell'">{{e.Entities}}</td>
  443. <td>{{e.Duration}}</td>
  444. </tr>
  445. </table>
  446. </div>
  447. </div>
  448. </div>
  449. </div>
  450. </div>
  451. </div>
  452. <style>
  453. .table tbody tr td {
  454. vertical-align: middle;
  455. }
  456. .label-0 {
  457. background-color: #aaaaaa;
  458. }
  459. .label-1 {
  460. background-color: #bbbb00;
  461. }
  462. .label-2 {
  463. background-color: #bb8800;
  464. }
  465. .label-3 {
  466. background-color: #bb0000;
  467. }
  468. table.ft {
  469. border: 1px solid #888;
  470. }
  471. table.ft td {
  472. padding: 3px 5px;
  473. margin: 2px;
  474. background-color: #ddd;
  475. }
  476. .logdatei {
  477. margin: 10px 5px 20px 5px;
  478. padding: 0 20px 10px 20px;
  479. background-color: #eee;
  480. border: 1px solid #888;
  481. }
  482. .modell {
  483. font-weight: bold;
  484. background-color: #ccc;
  485. padding: 10px;
  486. margin: 0 -20px;
  487. }
  488. .rot {
  489. background-color: #e88;
  490. }
  491. .number {
  492. font-weight: bold;
  493. background-color: #ccc;
  494. border: 1px solid #888888;
  495. }
  496. .strich {
  497. border-bottom: 1px solid #888888;
  498. }
  499. </style>