@@ -1132,15 +1132,18 @@ window.ManageAppsView = countlyView.extend({
1132
1132
$ ( '#top-bar > div.logo-container > a' ) . attr ( 'href' , 'javascript:void(0)' ) ;
1133
1133
$ ( '#top-bar > div.right-menu > div:nth-child(1)' ) . css ( { 'opacity' : '0' , 'pointer-events' : 'none' } ) ;
1134
1134
$ ( "#sidebar" ) . addClass ( "hidden" ) ;
1135
- $ ( "#app-navigation" ) . css ( { 'opacity' : '0' , 'pointer-events' :'none' } ) ;
1135
+ $ ( "#app-navigation" ) . css ( { 'opacity' : '0' , 'pointer-events' : 'none' } ) ;
1136
1136
$ ( "#hide-sidebar-button" ) . hide ( ) ;
1137
1137
$ ( '#app-management-bar' ) . hide ( ) ;
1138
1138
$ ( '#content-container' ) . css ( { 'margin-left' : '0px' } ) ;
1139
+ var width = $ ( 'body' ) . width ( ) ;
1139
1140
// create first app screen elements
1140
1141
$ ( '#content' ) . prepend ( '<div id="first-app-welcome"></div>' ) ;
1141
1142
$ ( '#first-app-welcome' ) . append ( '<h1 id="first-app-welcome-header" data-localize="management-applications.create-first-app-title"></h1>' ) ;
1142
1143
$ ( '#first-app-welcome' ) . append ( '<p id="first-app-description" data-localize="management-applications.create-first-app-description"></p>' ) ;
1143
1144
$ ( '#content > div.widget' ) . addClass ( 'widget-first-app-state' ) ;
1145
+ $ ( '#content > div.widget' ) . css ( { 'width' : width / ( 3 ) + 'px' } ) ;
1146
+ $ ( '#first-app-welcome' ) . css ( { 'width' : width / ( 3.5 ) + 'px' , 'margin-left' : '10%' } ) ;
1144
1147
1145
1148
$ ( '#add-new-app' ) . hide ( ) ;
1146
1149
// make visible first app form
@@ -1150,7 +1153,7 @@ window.ManageAppsView = countlyView.extend({
1150
1153
// make things normal after first app create process
1151
1154
function afterFirstApp ( ) {
1152
1155
$ ( "#sidebar" ) . removeClass ( "hidden" ) ;
1153
- $ ( "#app-navigation" ) . css ( { 'opacity' : '1' , 'pointer-events' :'auto' } ) ;
1156
+ $ ( "#app-navigation" ) . css ( { 'opacity' : '1' , 'pointer-events' : 'auto' } ) ;
1154
1157
$ ( "#hide-sidebar-button" ) . show ( ) ;
1155
1158
$ ( '#app-management-bar' ) . show ( ) ;
1156
1159
var widthOfSidebar = $ ( '#sidebar' ) . width ( ) ;
0 commit comments