Skip to content

Commit

Permalink
Reformat code
Browse files Browse the repository at this point in the history
  • Loading branch information
agrueneberg committed Oct 2, 2017
1 parent ca68ebf commit e128b61
Show file tree
Hide file tree
Showing 19 changed files with 259 additions and 259 deletions.
221 changes: 109 additions & 112 deletions _attachments/index.html
Original file line number Diff line number Diff line change
@@ -1,119 +1,116 @@
<!DOCTYPE html>
<html ng-app="Acralyzer" ng-controller="AcralyzerCtrl">
<head>
<!--
Copyright 2013 Kevin Gaudin ([email protected])
This file is part of Acralyzer.
Acralyzer is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Acralyzer is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Acralyzer. If not, see <http://www.gnu.org/licenses/>.
-->
<title>Acralyzer / {{acralyzer.app}}</title>
<meta charset="utf-8">
<link rel="icon" type="image/png" href="img/logo.png" />
<link rel="alternate" type="application/rss+xml" href="{{rsslink}}" title="Latest Crash Reports">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<link rel="stylesheet" href="vendor/bootstrap/css/bootstrap.min.css" type="text/css">
<link rel="stylesheet" href="vendor/bootstrap/css/bootstrap-responsive.min.css" type="text/css">

<link rel="stylesheet" href="style/main.css" type="text/css">
</head>
<body>
<div class="navbar navbar-fixed-top" ng-controller="NavigationCtrl">
<div class="navbar-inner">
<a class="brand" href="#">Acralyzer</a>
<ul class="nav">
<li ng-class="{active: $route.current.activetab == 'bugs-browser'}"><a href="#/bugs-browser">Bugs</a></li>
<li ng-class="{active: $route.current.activetab == 'reports-browser'}"><a href="#/reports-browser">Reports</a></li>
</ul>

<div id="usermenu" class="btn-group pull-right" data-ng-controller="AccountCtrl">
<button style="min-width: 150px" class="btn dropdown-toggle" data-toggle="dropdown" ng-cloak>
<i class="icon-user"></i> {{username || "Anonymous"}}
<span class="caret"></span>
</button>
<ul class="dropdown-menu" role="menu" aria-labelledby="dLabel">
<li ng-class="{ hide: username }"><a ng-click="showLogin()" title="Login"><strong>Login</strong></a></li>
<li ng-class="{ hide: !username }"><a ng-click="logout()" title="Logout"><i class="icon-off" alt="logout"></i> Logout</a></li>
</ul>
<head>
<!--
Copyright 2013 Kevin Gaudin ([email protected])
This file is part of Acralyzer.
Acralyzer is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Acralyzer is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Acralyzer. If not, see <http://www.gnu.org/licenses/>.
-->
<title>Acralyzer / {{acralyzer.app}}</title>
<meta charset="utf-8">
<link rel="icon" type="image/png" href="img/logo.png">
<link rel="alternate" type="application/rss+xml" href="{{rsslink}}" title="Latest Crash Reports">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<link rel="stylesheet" href="vendor/bootstrap/css/bootstrap.min.css" type="text/css">
<link rel="stylesheet" href="vendor/bootstrap/css/bootstrap-responsive.min.css" type="text/css">

<link rel="stylesheet" href="style/main.css" type="text/css">
</head>
<body>
<div class="navbar navbar-fixed-top" ng-controller="NavigationCtrl">
<div class="navbar-inner">
<a class="brand" href="#">Acralyzer</a>
<ul class="nav">
<li ng-class="{active: $route.current.activetab == 'bugs-browser'}"><a href="#/bugs-browser">Bugs</a></li>
<li ng-class="{active: $route.current.activetab == 'reports-browser'}"><a href="#/reports-browser">Reports</a></li>
</ul>
<div id="usermenu" class="btn-group pull-right" data-ng-controller="AccountCtrl">
<button style="min-width: 150px" class="btn dropdown-toggle" data-toggle="dropdown" ng-cloak>
<i class="icon-user"></i> {{username || "Anonymous"}}
<span class="caret"></span>
</button>
<ul class="dropdown-menu" role="menu" aria-labelledby="dLabel">
<li ng-class="{ hide: username }"><a ng-click="showLogin()" title="Login"><strong>Login</strong></a></li>
<li ng-class="{ hide: !username }"><a ng-click="logout()" title="Logout"><i class="icon-off" alt="logout"></i> Logout</a></li>
</ul>
</div>

</div>

</div>
</div>

<div ng-view></div>


<footer class="footer">
<div class="container">
<p><a href="http://acra.ch/acralyzer" target="_blank">Acralyzer</a> is crafted by <a href="https://plus.google.com/105599514712357912650" target="_blank">Kevin Gaudin</a>.</p>
<p><a href="http://github.com/ACRA/acralyzer" target="_blank">Code</a> licensed under <a href="http://www.gnu.org/licenses/gpl.html" target="_blank">GNU General Public License v3</a>.</p>
<ul class="footer-links">
<li><a href="https://plus.google.com/118444843928759726538" target="_blank">Follow +ACRA on Google+</a></li>
<li class="muted">·</li>
<li><a href="https://github.com/ACRA/acralyzer/issues?state=open" target="_blank">Issues</a></li>
<li class="muted">·</li>
<li><a href="https://github.com/ACRA/acralyzer/wiki" target="_blank">Documentation</a></li>
</ul>
</div>
<p>Acralyzer uses other open source software:</p>
<p>
<a href="http://couchdb.apache.org" target="_blank">CouchDB</a>
· <a href="http://angularjs.org" target="_blank">AngularJS</a>
· <a href="http://twitter.github.com/bootstrap/" target="_blank">Twitter Bootstrap</a>
· <a href="http://angular-ui.github.com/bootstrap/" target="_blank">Angular-UI Bootstrap</a>
<br/>
<a href="http://jquery.com/" target="_blank">JQuery</a>
· <a href="http://james.padolsey.com/javascript/prettyprint-for-javascript/" target="_blank">prettyprint.js</a>
· <a href="http://momentjs.com/" target="_blank">moment.js</a>
· <a href="https://github.com/coreyti/showdown" target="_blank">Showdown</a>
<br/>
<a href="http://kevingaudin.github.io/monsterid.js" target="_blank">MonsterID.js</a>
</p>
<p>Most icons by <a href="http://glyphicons.com/">Glyphicons</a>.</p>
</footer>

<script src="vendor/jquery/jquery-1.8.3.min.js"></script>
<script src="vendor/angular/angular.min.js"></script>
<script src="vendor/angular/angular-resource.min.js"></script>
<script src="vendor/angular-ui-bootstrap/ui-bootstrap-tpls-0.3.0.min.js"></script>
<script src="vendor/bootstrap/js/bootstrap.min.js"></script>
<script src="vendor/padolsey/prettyprint.js"></script>
<script src="vendor/timrwood/moment.min.js"></script>
<script src="vendor/jshash/md5-min.js"></script>
<script src="vendor/showdown/showdown.js"></script>
<script src="vendor/showdown/extensions/table.js"></script>
<script src="vendor/showdown/extensions/github.js"></script>
<script src="vendor/monsterid/monsterid.min.js"></script>

<script src="script/config.js"></script>

<script src="script/AcralyzerEvents.js"></script>
<script src="script/app.js"></script>
<script src="script/service.user.js"></script>

<script src="script/AccountControllers.js"></script>
<script src="script/AcralyzerControllers.js"></script>
<script src="script/NavigationController.js"></script>
<script src="script/ReportDetailsController.js"></script>
<script src="script/ReportsBrowserControllers.js"></script>
<script src="script/BugsBrowserControllers.js"></script>

<script src="script/service.reportsstore.js"></script>
<script src="script/service.monsterid.js"></script>

</body>
<div ng-view></div>

<footer class="footer">
<div class="container">
<p><a href="http://acra.ch/acralyzer" target="_blank">Acralyzer</a> is crafted by <a href="https://plus.google.com/105599514712357912650" target="_blank">Kevin Gaudin</a>.</p>
<p><a href="http://github.com/ACRA/acralyzer" target="_blank">Code</a> licensed under <a href="http://www.gnu.org/licenses/gpl.html" target="_blank">GNU General Public License v3</a>.</p>
<ul class="footer-links">
<li><a href="https://plus.google.com/118444843928759726538" target="_blank">Follow +ACRA on Google+</a></li>
<li class="muted">·</li>
<li><a href="https://github.com/ACRA/acralyzer/issues?state=open" target="_blank">Issues</a></li>
<li class="muted">·</li>
<li><a href="https://github.com/ACRA/acralyzer/wiki" target="_blank">Documentation</a></li>
</ul>
</div>
<p>Acralyzer uses other open source software:</p>
<p>
<a href="http://couchdb.apache.org" target="_blank">CouchDB</a>
· <a href="http://angularjs.org" target="_blank">AngularJS</a>
· <a href="http://twitter.github.com/bootstrap/" target="_blank">Twitter Bootstrap</a>
· <a href="http://angular-ui.github.com/bootstrap/" target="_blank">Angular-UI Bootstrap</a>
<br>
<a href="http://jquery.com/" target="_blank">JQuery</a>
· <a href="http://james.padolsey.com/javascript/prettyprint-for-javascript/" target="_blank">prettyprint.js</a>
· <a href="http://momentjs.com/" target="_blank">moment.js</a>
· <a href="https://github.com/coreyti/showdown" target="_blank">Showdown</a>
<br>
<a href="http://kevingaudin.github.io/monsterid.js" target="_blank">MonsterID.js</a>
</p>
<p>Most icons by <a href="http://glyphicons.com/">Glyphicons</a>.</p>
</footer>

<script src="vendor/jquery/jquery-1.8.3.min.js"></script>
<script src="vendor/angular/angular.min.js"></script>
<script src="vendor/angular/angular-resource.min.js"></script>
<script src="vendor/angular-ui-bootstrap/ui-bootstrap-tpls-0.3.0.min.js"></script>
<script src="vendor/bootstrap/js/bootstrap.min.js"></script>
<script src="vendor/padolsey/prettyprint.js"></script>
<script src="vendor/timrwood/moment.min.js"></script>
<script src="vendor/jshash/md5-min.js"></script>
<script src="vendor/showdown/showdown.js"></script>
<script src="vendor/showdown/extensions/table.js"></script>
<script src="vendor/showdown/extensions/github.js"></script>
<script src="vendor/monsterid/monsterid.min.js"></script>

<script src="script/config.js"></script>

<script src="script/AcralyzerEvents.js"></script>
<script src="script/app.js"></script>
<script src="script/service.user.js"></script>

<script src="script/AccountControllers.js"></script>
<script src="script/AcralyzerControllers.js"></script>
<script src="script/NavigationController.js"></script>
<script src="script/ReportDetailsController.js"></script>
<script src="script/ReportsBrowserControllers.js"></script>
<script src="script/BugsBrowserControllers.js"></script>

<script src="script/service.reportsstore.js"></script>
<script src="script/service.monsterid.js"></script>

</body>
</html>
2 changes: 1 addition & 1 deletion _attachments/partials/bugs-browser.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ <h2>Browse bugs</h2>
<div id="content">
<div class="row-fluid tab-content">
<span ng-bind-template="Bugs {{startNumber}} to {{startNumber + bugs.length - 1}}:">Loading...</span>
<div class="loader" ng-show="loading"><img src="img/loader.gif"/></div>
<div class="loader" ng-show="loading"><img src="img/loader.gif"></div>
<ng-include src="'partials/bugs-table.html'"></ng-include>
<ng-include src="'partials/paginator.html'"></ng-include>
</div>
Expand Down
4 changes: 2 additions & 2 deletions _attachments/partials/bugs-table.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@
<a ng-click="bug.toggleSolved()">
<span title="Unsolved bug" ng-hide="bug.value.solved || bug.solvedPending"><i class="icon-bug-unsolved"></i></span>
<span title="Solved bug" ng-show="bug.value.solved && !bug.solvedPending"><i class="icon-bug-solved"></i></span>
<span title="Updating state" ng-show="bug.solvedPending"><img src="img/polling.gif"/></span>
<span title="Updating state" ng-show="bug.solvedPending"><img src="img/polling.gif"></span>
</a>
</div>
<span title="Number of reports" class="div-table-cell label">{{bug.value.count}}</span>
<span title="Latest report" class="div-table-cell label label-info">{{bug.latest}}</span>
<span title="Application version code" class="div-table-cell label label-warning">{{bug.key[0]}}</span>
<span class="div-table-cell exceptions">
<span title="Exception" class="label label-important">{{bug.key[1]}}</span><br/>
<span title="Exception" class="label label-important">{{bug.key[1]}}</span><br>
<span title="Root exception" class="label label-inverse" ng-show="bug.key[2]">Caused by: {{bug.key[2]}}</span>
</a>
</div>
Expand Down
6 changes: 3 additions & 3 deletions _attachments/partials/login-dialog.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,21 @@ <h3>Login</h3>
<div ng-class="{ 'control-group': true, 'error': loginForm.username.$invalid || badUsername }">
<label class="control-label" for="username">Username</label>
<div class="controls">
<input ng-model="username" name="username" type="text" required />
<input ng-model="username" name="username" type="text" required>
<span class="help-inline" ng-show="loginForm.username.$error.required">Required!</span><br>
<span class="help-inline" ng-show="badUsername">Bad username or password</span><br>
</div>
</div>
<div ng-class="{ 'control-group': true, 'error': loginForm.password.$invalid }">
<label class="control-label" for="password">Password</label>
<div class="controls">
<input ng-model="password" name="password" type="password" required />
<input ng-model="password" name="password" type="password" required>
<span class="help-inline" ng-show="loginForm.password.$error.required">Required!</span><br>
</div>
</div>
</div>
<div class="modal-footer">
<img src="img/not-polling.gif" ng-show="pending" alt="pending transaction" />
<img src="img/not-polling.gif" ng-show="pending" alt="pending transaction">
<button class="btn btn-primary" ng-click="close()" data-my-disabled="!loginForm.$valid" ng-disabled='!loginForm.$valid' >Login</button>
</div>
</form>
8 changes: 4 additions & 4 deletions _attachments/partials/report-details.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div ng-show="report._id">
<hr/>
<hr>
<div class="report-details-header">
<div class="direct-link"><a href="#/report-details/{{report._id}}"><i class="icon-share"></i>direct link</a></div>
<h3>Summary</h3>
Expand Down Expand Up @@ -27,7 +27,7 @@ <h3>Summary</h3>
<th>Installation ID</th>
<td>
<a class="label label-inverse" href="#/reports-browser/user/{{report.INSTALLATION_ID}}" ng-show="report.INSTALLATION_ID">
<img class="avatar" monsterid="{{report.INSTALLATION_ID}}" title="{{report.INSTALLATION_ID}}"/>
<img class="avatar" monsterid="{{report.INSTALLATION_ID}}" title="{{report.INSTALLATION_ID}}">
{{report.INSTALLATION_ID}}
</a>
</td>
Expand All @@ -46,11 +46,11 @@ <h3>Summary</h3>
<tr>
<th>Custom Data</th>
<td colspan="5">
<div prettyprint="report.CUSTOM_DATA"/>
<div prettyprint="report.CUSTOM_DATA">
</td>
</tr>
</table>
</div>
<h3>Full report</h3>
<div class="report-details" prettyprint="report" />
<div class="report-details" prettyprint="report">
</div>
6 changes: 3 additions & 3 deletions _attachments/partials/reports-browser.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,20 @@ <h2>Browse reports</h2>
<form ng-submit="getData()" class="form-inline">
<select ng-model="filterName" ng-change="changeFilterValues()" ng-options="f.label for f in availableFilters" ng-hide="selectedUser">
</select>
<select ng-model="filterValue" ng-disabled="filterName == noFilter" ng-change="filterValueSelected()" ng-options="v.label for v in filterValues" ng-hide="selectedUser">
<select ng-model="filterValue" ng-disabled="filterName == noFilter" ng-change="filterValueSelected()" ng-options="v.label for v in filterValues" ng-hide="selectedUser">
</select>
</form>
</div>
<div id="reports-list" class="row-fluid tab-content">
<span ng-show="selectedUser">
For user
<span class="label label-inverse">
<img class="avatar" monsterid="{{selectedUser.installationId}}" />
<img class="avatar" monsterid="{{selectedUser.installationId}}">
{{selectedUser.installationId}}
</span>
</span>
<span ng-bind-template="Reports {{startNumber}} to {{startNumber + reports.length - 1}} (out of {{totalReports}}):">Loading...</span>
<div class="loader" ng-show="loading"><img src="img/loader.gif"/></div>
<div class="loader" ng-show="loading"><img src="img/loader.gif"></div>
<ng-include src="'partials/reports-table.html'"></ng-include>
<ng-include src="'partials/paginator.html'"></ng-include>
</div>
Expand Down
4 changes: 2 additions & 2 deletions _attachments/partials/reports-table.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
<i class="icon-trash" title="Delete permanently"></i>
</a>
</div>
<a ng-click="loadReport(report)" title="User" class="div-table-cell label label-inverse"><img class="avatar" monsterid="{{report.value.installation_id}}" ng-show="report.value.installation_id"/></a>
<a ng-click="loadReport(report)" title="Crash date" class="div-table-cell label label-info">{{report.displayDate}}</a>
<a ng-click="loadReport(report)" title="User" class="div-table-cell label label-inverse"><img class="avatar" monsterid="{{report.value.installation_id}}" ng-show="report.value.installation_id"></a>
<a ng-click="loadReport(report)" title="Crash date" class="div-table-cell label label-info">{{report.displayDate}}</a>
<a ng-click="loadReport(report)" title="Application version name" class="div-table-cell label label-warning">{{report.value.application_version_name}}</a>
<a ng-click="loadReport(report)" title="Android verion" class="div-table-cell label label-success">{{report.value.android_version}}</a>
<a ng-click="loadReport(report)" title="Device" class="div-table-cell label">{{report.value.device}}</a>
Expand Down
Loading

0 comments on commit e128b61

Please sign in to comment.