Skip to content

Commit

Permalink
Fix layout and angularjs dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
robertodauria committed May 17, 2021
1 parent ef593e2 commit f1b0891
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
1 change: 0 additions & 1 deletion app/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ angular.module('Measure', [
'gettext',
'Measure.Measure',
'Measure.GaugeService',
'ng.deviceDetector'
])

.value('ndtServer', {})
Expand Down
5 changes: 3 additions & 2 deletions app/measure/measure.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!-- Intro -->
<section id="intro" class="wrapper style1 fullscreen">
<div>
<div class="features">
<section>
<h1 translate>Test Your Speed</h1>
<p class="startIntroLabel">
Expand All @@ -14,7 +14,8 @@ <h1 translate>Test Your Speed</h1>
<div class="row">
<div class="6u">
<a class="button special startButton big" ng-click="startTest()"
ng-class="{disabled: (privacyConsent !== true || startButtonClass === 'disabled')}">
ng-class="{disabled: (privacyConsent !== true || startButtonClass
=== 'disabled')}">
<span ng-show="!measurementComplete && startButtonClass != 'disabled'"><span translate>Begin</span> <i class="fa fa-play" aria-hidden="true"></i></span>
<span ng-show="measurementComplete && startButtonClass != 'disabled'"><span translate>Again</span> <i class="fa fa-repeat" aria-hidden="true"></i></span>
<span ng-show="startButtonClass == 'disabled'"><span translate>Testing</span> <i class="fa fa-circle-o-notch" aria-hidden="true"></i></span>
Expand Down
4 changes: 2 additions & 2 deletions app/measure/measure.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
angular.module('Measure.Measure', ['ngRoute'])

.controller('MeasureCtrl', function($scope, $rootScope, $interval, $timeout,
gettextCatalog, ndtServer, ProgressGauge, deviceDetector) {
gettextCatalog, ndtServer, ProgressGauge) {

var ndtSemaphore = false;

$scope.measurementComplete = false;
$scope.measurementComplete = false;

ProgressGauge.create();
$scope.currentPhase = '';
Expand Down

0 comments on commit f1b0891

Please sign in to comment.