File tree Expand file tree Collapse file tree 9 files changed +206
-35
lines changed
Analytics/App_Plugins/Analytics/backOffice/AnalyticsTree/partials Expand file tree Collapse file tree 9 files changed +206
-35
lines changed Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 1- {
2- "Id": "4113171",
3- "Name": "www.nibble.be",
4- "Created": "2008-04-13T14:26:12+02:00",
5- "Updated": "2011-07-20T00:58:59.981+02:00"
6- }
1+
Original file line number Diff line number Diff line change 1212
1313 $scope . $watch ( 'dateFilter' , function ( ) {
1414
15-
15+ settingsResource . setDateFilter ( $scope . dateFilter . startDate , $scope . dateFilter . endDate ) ;
1616 //Get Profile
1717 settingsResource . getprofile ( ) . then ( function ( response ) {
1818 $scope . profile = response . data ;
Original file line number Diff line number Diff line change 11< div ng-controller ="Analytics.SettingsController ">
2- < div class ="umb-pane ">
2+ < div class ="umb-pane form-horizontal ">
3+
34 < umb-control-group ng-hide ="hasAuthd() " label ="Authorisation " description ="Login with Google via oAuth to verify ">
45 < button class ="btn btn-success " ng-click ="auth() "> < span class ="icon-lock "> </ span > Authorize</ button >
56 </ umb-control-group >
1617 Account
1718 < small > Select which account you wish to view settings from</ small >
1819 </ label >
19-
20+
2021 < div class ="controls controls-row ">
2122
2223 < select name ="account " ng-model ="selectedaccount " ng-change ="accountSelected(selectedaccount) " ng-options ="account.Name for account in accounts ">
@@ -46,10 +47,10 @@ <h5>Web Property Id: {{ selectedprofile.WebPropertyId }}</h5>
4647 </ div >
4748
4849
49- <!-- <h4>DEBUG</h4>
50- <textarea>{{ settings | json }}</textarea><br />
51- <textarea>{{ selectedaccount | json }}</textarea><br/>
52- <textarea>{{ selectedprofile | json }}</textarea>-->
50+ <!-- <h4>DEBUG</h4>
51+ <textarea>{{ settings | json }}</textarea><br />
52+ <textarea>{{ selectedaccount | json }}</textarea><br/>
53+ <textarea>{{ selectedprofile | json }}</textarea>-->
5354
5455
5556 < div class ="umb-tab-buttons ">
Original file line number Diff line number Diff line change @@ -52,7 +52,8 @@ angular.module("umbraco.resources")
5252 if ( dateFilter . startDate == null ) {
5353 dateFilter . startDate = moment ( ) . subtract ( 'days' , 29 ) . format ( 'YYYY-MM-DD' ) ;
5454 dateFilter . endDate = moment ( ) . format ( 'YYYY-MM-DD' ) ;
55- setDateFilter ( dateFilter . startDate , dateFilter . endDate ) ;
55+ $cookieStore . put ( "analyticsStartDate" , dateFilter . startDate ) ;
56+ $cookieStore . put ( "analyticsEndDate" , dateFilter . endDate ) ;
5657 }
5758
5859 return dateFilter ;
Original file line number Diff line number Diff line change 1- {
2- "Id": "8245037",
3- "AccountId": "4113171",
4- "WebPropertyId": "UA-4113171-1",
5- "InternalWebPropertyId": "7923617",
6- "Name": "www.nibble.be",
7- "Currency": "USD",
8- "Timezone": "Europe/Brussels",
9- "WebsiteUrl": "www.nibble.be",
10- "Type": "WEB",
11- "Created": "2008-04-13T14:26:12+02:00",
12- "Updated": "2011-09-20T09:34:04.996+02:00"
13- }
1+
Original file line number Diff line number Diff line change 1- <?xml version =" 1.0" encoding =" utf-8" ?>
1+ <?xml version =" 1.0" encoding =" utf-8" ?>
22<Analytics >
33 <ClientId label =" Client ID" description =" This is the Client ID key from the Google API" >206456221167-1a6npdlit92260gfaekomgon8cm0ratg</ClientId >
44 <ClientSecret label =" Client Secret" description =" This is the Client Secret from the Google API" >_LklwvmJC0EIkEprcRB4keQ_</ClientSecret >
5- <RefreshToken label =" Refresh Token" description =" The refresh token used to acquire new access tokens. This is sensitive information." >1/8T0O1zrI2lVG7exZzmvUMlhNQPbN7NL2Tp6ijimsCvo </RefreshToken >
5+ <RefreshToken label =" Refresh Token" description =" The refresh token used to acquire new access tokens. This is sensitive information." ></RefreshToken >
66</Analytics >
Original file line number Diff line number Diff line change 11< div ng-controller ="Analytics.SettingsController ">
2- < div class ="umb-pane ">
2+ < div class ="umb-pane form-horizontal ">
3+
34 < umb-control-group ng-hide ="hasAuthd() " label ="Authorisation " description ="Login with Google via oAuth to verify ">
45 < button class ="btn btn-success " ng-click ="auth() "> < span class ="icon-lock "> </ span > Authorize</ button >
56 </ umb-control-group >
1617 Account
1718 < small > Select which account you wish to view settings from</ small >
1819 </ label >
19-
20+
2021 < div class ="controls controls-row ">
2122
2223 < select name ="account " ng-model ="selectedaccount " ng-change ="accountSelected(selectedaccount) " ng-options ="account.Name for account in accounts ">
@@ -46,10 +47,10 @@ <h5>Web Property Id: {{ selectedprofile.WebPropertyId }}</h5>
4647 </ div >
4748
4849
49- <!-- <h4>DEBUG</h4>
50- <textarea>{{ settings | json }}</textarea><br />
51- <textarea>{{ selectedaccount | json }}</textarea><br/>
52- <textarea>{{ selectedprofile | json }}</textarea>-->
50+ <!-- <h4>DEBUG</h4>
51+ <textarea>{{ settings | json }}</textarea><br />
52+ <textarea>{{ selectedaccount | json }}</textarea><br/>
53+ <textarea>{{ selectedprofile | json }}</textarea>-->
5354
5455
5556 < div class ="umb-tab-buttons ">
You can’t perform that action at this time.
0 commit comments