Skip to content

Commit f5df71d

Browse files
committed
Binded with angular
1 parent 2e61e8f commit f5df71d

File tree

4 files changed

+13
-4
lines changed

4 files changed

+13
-4
lines changed

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ <h4>Statistics</h4>
130130
<!-- ------- Header -------- -->
131131
<div class="row topProject">
132132
<div class="large-12 columns">
133-
<div class="popup">
133+
<div class="popup" ng-hide="helped">
134134
Click here to filter Adobe repositories!
135135
<a class="close" ng-click="closeHelp()">X</a>
136136
</div>
@@ -145,7 +145,7 @@ <h2 class="large-6 small-4 columns">Repos</h2>
145145
<option value="name">Name</option>
146146
</select>
147147
</div>
148-
<div class="button large-2 small-2 culumns" ng-click="toggleFilters = !toggleFilters" ng-class="{disabled: loading}">
148+
<div class="button large-2 small-2 culumns" ng-click="toggleFiltersButton()" ng-class="{disabled: loading}">
149149
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" width="100px" height="100px" viewBox="0 0 100 100" enable-background="new 0 0 100 100" xml:space="preserve">
150150
<path fill="#000000" d="M50.717,2.495c-29.288,0-47.692,6-47.692,10.833c0,5.932,16.029,19.893,20.167,23.667 c4.712,4.299,16.044,16.058,16.5,18.001c0.147,2.147,2.002,35.008,2.002,35.008s-0.168,5.5,8.998,5.5 c9.166,0,8.498-5.334,8.498-5.334s2.169-32.674,2.169-34.84s8.333-10.835,18.5-20.002c10.167-9.167,18.167-15.758,18.167-22 C98.025,8.299,80.004,2.495,50.717,2.495z M50.481,21.083C28.676,21.083,11,17.965,11,14.12s17.676-7.964,39.481-7.964 c21.801,0,39.478,4.119,39.478,7.964S72.282,21.083,50.481,21.083z"/>
151151
</svg>

js/script.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,15 @@ this.GitHubCtrl = function($scope, $sce, $filter, DatasAdobe, DatasAdobeOffline,
220220
array.splice(i, 1);
221221
}
222222

223+
$scope.closeHelp = function() {
224+
$scope.helped = true;
225+
}
226+
227+
$scope.toggleFiltersButton = function() {
228+
$scope.closeHelp();
229+
$scope.toggleFilters = !$scope.toggleFilters;
230+
}
231+
223232
//--------------------------- Mobile & Parrallax -----------------------------
224233

225234
$scope.mobile = isMobile(navigator.userAgent||navigator.vendor||window.opera);

stylesheets/app.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7665,7 +7665,7 @@ form.custom .custom.dropdown.open.medium ul {
76657665
}
76667666
/* line 491, sass/app.scss */
76677667
.main .topProject .popup .close:hover {
7668-
color: #ddd;
7668+
color: #fff;
76697669
}
76707670
/* line 496, sass/app.scss */
76717671
.main .topProject .popup:after {

stylesheets/sass/app.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ form.custom .custom.dropdown.open.medium ul {
489489
font-size: 13px;
490490

491491
&:hover {
492-
color: #ddd;
492+
color: #fff;
493493
}
494494
}
495495

0 commit comments

Comments
 (0)