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