update filetypes icon
parent
be69f65cef
commit
185c29038f
|
@ -15,6 +15,7 @@ use OCP\AppFramework\App;
|
|||
|
||||
use OCP\Util;
|
||||
Util::addScript('gpxedit', 'filetypes');
|
||||
Util::addStyle('gpxedit', 'style');
|
||||
|
||||
$app = new Application();
|
||||
$container = $app->getContainer();
|
||||
|
|
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 3.9 KiB |
|
@ -925,3 +925,7 @@ div#ho button {
|
|||
input[type=checkbox] {
|
||||
cursor: pointer;
|
||||
}
|
||||
/* jquery dialog */
|
||||
.ui-dialog{
|
||||
z-index: 2001 !important ;
|
||||
}
|
||||
|
|
|
@ -1,30 +1,3 @@
|
|||
#hello {
|
||||
color: red;
|
||||
}
|
||||
#app-navigation *, #app-settings *{
|
||||
width:2px;
|
||||
z-index:-10;
|
||||
}
|
||||
#app-navigation, #app-settings{
|
||||
width:2px;
|
||||
}
|
||||
|
||||
#app *{
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
#map *{
|
||||
box-sizing: content-box;
|
||||
}
|
||||
#gpxlist td{
|
||||
word-wrap: break-word;
|
||||
white-space: normal;
|
||||
}
|
||||
#gpxlist a{
|
||||
color: blue;
|
||||
text-decoration: underline;
|
||||
}
|
||||
/* jquery dialog */
|
||||
.ui-dialog{
|
||||
z-index: 2001 !important ;
|
||||
.icon-gpxedit-black {
|
||||
background-image: url("app_black.svg");
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@ $(document).ready(function() {
|
|||
|
||||
if (OCA.Files && OCA.Files.fileActions && !$('#sharingToken').val()) {
|
||||
|
||||
var token = $('#sharingToken').val();
|
||||
var token = $('#sharingToken').val();
|
||||
|
||||
// file action for directories
|
||||
if (!token) {
|
||||
|
@ -11,7 +11,7 @@ $(document).ready(function() {
|
|||
displayName: t('gpxedit','Load in GpxEdit'),
|
||||
mime: 'httpd/unix-directory',
|
||||
permissions: OC.PERMISSION_READ,
|
||||
icon: function () {return OC.imagePath('gpxedit', 'app_black');},
|
||||
iconClass: 'icon-gpxedit-black',
|
||||
actionHandler: function(file, data){
|
||||
var dir;
|
||||
if (data.dir === '/'){
|
||||
|
@ -36,7 +36,7 @@ $(document).ready(function() {
|
|||
displayName: t('gpxedit', 'Edit with GpxEdit'),
|
||||
mime: 'application/gpx+xml',
|
||||
permissions: OC.PERMISSION_READ,
|
||||
icon: function () {return OC.imagePath('gpxedit', 'app_black');},
|
||||
iconClass: 'icon-gpxedit-black',
|
||||
actionHandler: openFile
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue