Updated Desktop with new UI
This commit is contained in:
parent
55d9aea664
commit
e12b14311e
|
@ -5,6 +5,7 @@ class DesktopAppsController < OrbitBackendController
|
||||||
|
|
||||||
def index
|
def index
|
||||||
@desktopapps = DesktopApp.all
|
@desktopapps = DesktopApp.all
|
||||||
|
render :layout => false
|
||||||
end
|
end
|
||||||
|
|
||||||
def upload
|
def upload
|
||||||
|
@ -17,6 +18,7 @@ class DesktopAppsController < OrbitBackendController
|
||||||
unzip_app(temp_file,filename)
|
unzip_app(temp_file,filename)
|
||||||
temp_file.close
|
temp_file.close
|
||||||
end
|
end
|
||||||
|
render :layout => false
|
||||||
end
|
end
|
||||||
|
|
||||||
def unzip_app(file, zip_name)
|
def unzip_app(file, zip_name)
|
||||||
|
|
|
@ -5,6 +5,7 @@ class DesktopThemesController < OrbitBackendController
|
||||||
|
|
||||||
def index
|
def index
|
||||||
@desktopThemes = DesktopTheme.all
|
@desktopThemes = DesktopTheme.all
|
||||||
|
render :layout => false
|
||||||
end
|
end
|
||||||
|
|
||||||
def destroy
|
def destroy
|
||||||
|
@ -27,6 +28,7 @@ class DesktopThemesController < OrbitBackendController
|
||||||
#end
|
#end
|
||||||
temp_file.close
|
temp_file.close
|
||||||
end
|
end
|
||||||
|
render :layout => false
|
||||||
end
|
end
|
||||||
def edit
|
def edit
|
||||||
@dw = DesktopWidget.find(params[:id])
|
@dw = DesktopWidget.find(params[:id])
|
||||||
|
|
|
@ -5,6 +5,7 @@ class DesktopWidgetsController < OrbitBackendController
|
||||||
|
|
||||||
def index
|
def index
|
||||||
@desktopWidgets = DesktopWidget.all
|
@desktopWidgets = DesktopWidget.all
|
||||||
|
render :layout => false
|
||||||
end
|
end
|
||||||
|
|
||||||
def upload
|
def upload
|
||||||
|
@ -21,6 +22,7 @@ class DesktopWidgetsController < OrbitBackendController
|
||||||
#end
|
#end
|
||||||
temp_file.close
|
temp_file.close
|
||||||
end
|
end
|
||||||
|
render :layout => false
|
||||||
end
|
end
|
||||||
def edit
|
def edit
|
||||||
@dw = DesktopWidget.find(params[:id])
|
@dw = DesktopWidget.find(params[:id])
|
||||||
|
|
|
@ -13,8 +13,8 @@
|
||||||
<!--[if lt IE 9]>
|
<!--[if lt IE 9]>
|
||||||
<%= javascript_include_tag "html5" %>
|
<%= javascript_include_tag "html5" %>
|
||||||
<![endif]-->
|
<![endif]-->
|
||||||
<%= stylesheet_link_tag "desktop" %>
|
<%= stylesheet_link_tag "desktop/desktop" %>
|
||||||
<%= javascript_include_tag "desktop" %>
|
<%= javascript_include_tag "desktop/desktop" %>
|
||||||
<%= csrf_meta_tag %>
|
<%= csrf_meta_tag %>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
Loading…
Reference in New Issue