Refactoring - resolve code inspection problems.

This commit is contained in:
Alexander Zobnin
2015-07-24 19:33:22 +03:00
parent 0df92cf580
commit 12be5fff56
6 changed files with 107 additions and 76 deletions

View File

@@ -10,13 +10,17 @@
User
</li>
<li>
<input type="text" class="tight-form-input input-large" ng-model='current.jsonData.username' placeholder=""></input>
<input type="text" class="tight-form-input input-large"
ng-model='current.jsonData.username'
placeholder="">
</li>
<li class="tight-form-item">
Password
</li>
<li>
<input type="password" class="tight-form-input input-large" ng-model='current.jsonData.password' placeholder=""></input>
<input type="password" class="tight-form-input input-large"
ng-model='current.jsonData.password'
placeholder="">
</li>
</ul>
<div class="clearfix"></div>
@@ -28,14 +32,18 @@
</li>
<li class="tight-form-item">
Enable&nbsp;
<input class="cr1" id="current.jsonData.trends" type="checkbox" ng-model="current.jsonData.trends" ng-checked="current.jsonData.trends">
<input class="cr1" id="current.jsonData.trends" type="checkbox"
ng-model="current.jsonData.trends"
ng-checked="current.jsonData.trends">
<label for="current.jsonData.trends" class="cr1"></label>
</li>
<li class="tight-form-item" ng-if="current.jsonData.trends">
Use trends from
</li>
<li ng-if="current.jsonData.trends">
<input type="text" class="tight-form-input input-small" ng-model='current.basicAuthUser' placeholder="7d"></input>
<input type="text" class="tight-form-input input-small"
ng-model='current.basicAuthUser'
placeholder="7d">
</li>
</ul>
<div class="clearfix"></div>
@@ -46,7 +54,9 @@
Metrics limit
</li>
<li>
<input type="text" class="tight-form-input input-small" ng-model='current.jsonData.limitMetrics' placeholder="100"></input>
<input type="text" class="tight-form-input input-small"
ng-model='current.jsonData.limitMetrics'
placeholder="100">
</li>
</ul>
<div class="clearfix"></div>