diff --git a/vispa/extensions/file/__init__.py b/vispa/extensions/file/__init__.py deleted file mode 100644 index 73923dca3ade545eac01e051fe0dbfcfe3fd7172..0000000000000000000000000000000000000000 --- a/vispa/extensions/file/__init__.py +++ /dev/null @@ -1,23 +0,0 @@ -# -*- coding: utf-8 -*- - -import cherrypy - -from vispa.server import AbstractExtension -from vispa.controller import AbstractController - -from .controller import FileController - - -class FileBrowserController(AbstractController): - pass - -class FileBrowserExtension(AbstractExtension): - - def name(self): - return 'file' - - def dependencies(self): - return [] - - def setup(self): - self.add_controller(FileController()) diff --git a/vispa/extensions/file/controller.py b/vispa/extensions/file/controller.py deleted file mode 100644 index 1e2cff8fb549d79f07c84d05c9c354a77c32259a..0000000000000000000000000000000000000000 --- a/vispa/extensions/file/controller.py +++ /dev/null @@ -1,14 +0,0 @@ -# -*- coding: utf-8 -*- -import cherrypy -# import vispa.workspace, providing e.g. "module()" and "get_instance()" -import vispa.workspace -# we import vispa's AbstractController which provides a collection of useful -# methods -from vispa.controller import AbstractController - -# define a new class that inherits from AbstractController -class FileController(AbstractController): - - def __init__(self): - AbstractController.__init__(self) - self.extension = None diff --git a/vispa/extensions/file/static/css/base/base.css b/vispa/extensions/file/static/css/base/base.css deleted file mode 100644 index 216bd94cd679711b8c79f5c27c254f00c0f458e6..0000000000000000000000000000000000000000 --- a/vispa/extensions/file/static/css/base/base.css +++ /dev/null @@ -1,18 +0,0 @@ -.file-rightclickmenu-itemhide{display:none;visibility:hidden} -.file-rightclickmenu-itemshow{display:block;visibility:visible} -.file-content{-moz-user-select:none;-webkit-user-select:none;-o-user-select:none;-ms-user-select:none;user-select:none;position:absolute;height:100%;bottom:0;right:0;top:0;left:0;overflow:hidden} -.file-content>.alert{position:absolute;top:40px;width:100%} -.progress-row>span{width:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center} -.progress-row>span>.progress-title{-webkit-box-flex:1;-webkit-flex:auto;-ms-flex:auto;flex:auto;overflow:hidden;white-space:nowrap;text-overflow:ellipsis} -.progress-row>span>.fa{-webkit-box-flex:0;-webkit-flex:none;-ms-flex:none;flex:none} -.progress-row>span>.fa:hover{color:#eee} -.progress-row>span>.progress{-webkit-box-flex:1;-webkit-flex:auto;-ms-flex:auto;flex:auto;margin-bottom:0} -.progress-row>span>.btn{-webkit-box-flex:0;-webkit-flex:none;-ms-flex:none;flex:none;margin-left:12px} -.fileselector{height:50vh} -.fileselector>.file-content>.alert{top:55px} -.fileselector .file-path-bar{position:absolute;top:3px} -.table-info-dialog>tbody>tr>td{border:none;border:0} -.table-info-dialog-width{width:114px} -.table-info-dialog{overflow:hidden;table-layout:fixed;word-wrap:break-word} -.file-info-dialog-header{margin-bottom:20px} -.filterField{bottom:5px;right:5px;position:absolute;visibility:hidden;width:300px;z-index:99} \ No newline at end of file diff --git a/vispa/extensions/file/static/css/base/base.less b/vispa/extensions/file/static/css/base/base.less deleted file mode 100644 index e06cf92ee787cc8409bfb348ef75c0c6d16b179b..0000000000000000000000000000000000000000 --- a/vispa/extensions/file/static/css/base/base.less +++ /dev/null @@ -1,107 +0,0 @@ -@gray-dark: lighten(#000, 20%); -@gray-lighter: lighten(#000, 93.5%); -@table-bg-hover: #f5f5f5; -@table-border-color: #ddd; -@breadcrumb-bg: #f5f5f5; -@breadcrumb-padding-vertical: 8px; -@padding-base-vertical: 6px; -@padding-base-horizontal: 12px; - - -.file-rightclickmenu-itemhide { - display: none; - visibility: hidden; -} -.file-rightclickmenu-itemshow { - display: block; - visibility: visible; -} -/* main template */ - -.file-content { - -moz-user-select: none; - -khtml-user-select: none; - -webkit-user-select: none; - -o-user-select: none; - user-select: none; - position: absolute; - height: 100%; - bottom: 0px; - right: 0px; - top: 0px; - left: 0px; - overflow: hidden; - > .alert { - position: absolute; - top: 40px; - width: 100%; - } -} - -.progress-row { - > span { - width: 100%; - display: flex; - flex-direction: row; - align-items: center; - > .progress-title { - flex: auto; - overflow: hidden; - white-space: nowrap; - text-overflow: ellipsis; - } - > .fa { - flex: none; - &:hover { - color: @gray-lighter; - } - } - > .progress { - flex: auto; - margin-bottom: 0px; - } - > .btn { - flex: none; - margin-left: @padding-base-horizontal; - } - } -} - -/* file selector */ - -.fileselector { - height: 50vh; - > .file-content > .alert { - top: 55px; - } - .file-path-bar { - position: absolute; - top: 3px; - } -} - -/* info dialog - temporary: this leaves, when template of table view is used */ - -.table-info-dialog > tbody > tr > td { - border: none; - border: 0; -} -.table-info-dialog-width { - width: 114px; -} -.table-info-dialog { - overflow: hidden; - table-layout: fixed; - word-wrap: break-word; -} -.file-info-dialog-header { - margin-bottom: 20px; -} -.filterField { - bottom: 5px; - right: 5px; - position: absolute; - visibility: hidden; - width: 300px; - z-index: 99; -} diff --git a/vispa/extensions/file/static/css/base/file-icons.css b/vispa/extensions/file/static/css/base/file-icons.css deleted file mode 100644 index c9090984d82d017df991453bb3e534f57e93d9b5..0000000000000000000000000000000000000000 --- a/vispa/extensions/file/static/css/base/file-icons.css +++ /dev/null @@ -1,14 +0,0 @@ -.fi-bmp,.fi-gif,.fi-ico,.fi-jpeg,.fi-jpg,.fi-png,.fi-raw,.fi-svg,.fi-tif,.fi-tiff{color:#054109} -.fi-c,.fi-cc,.fi-cpp,.fi-cxx,.fi-h,.fi-hxx{color:#164F86} -.fi-F,.fi-F03,.fi-F90,.fi-F95,.fi-f,.fi-f03,.fi-f90,.fi-f95{color:#002452} -.fi-csh,.fi-sh{color:#0365C0} -.fi-css,.fi-html,.fi-jade,.fi-js,.fi-json,.fi-less,.fi-mako{color:#3B1F4E} -.fi-m,.fi-r,.fi-tex,.fi-xml,.fi-yaml,.fi-yml{color:#5F327C} -.fi-py,.fi-pyc{color:#C3971A} -.fi-pxlio{color:#51A7F9} -.fi-root{color:#00882B} -.fi-eps,.fi-pdf,.fi-ps{color:#C82506} -.fi-rar,.fi-tar,.fi-targz,.fi-zip{color:#4A1402} -.fi-conf,.fi-ini{color:#862506} -.fi-log,.fi-txt{color:#1A1A1A} -.fi-default-alt:before,.fi-default-symlink:before,.fi-default:before{color:#8E8E8E} \ No newline at end of file diff --git a/vispa/extensions/file/static/css/base/file-icons.less b/vispa/extensions/file/static/css/base/file-icons.less deleted file mode 100644 index d05e9bf2460142cdb40033c2b5d6ead52645ac76..0000000000000000000000000000000000000000 --- a/vispa/extensions/file/static/css/base/file-icons.less +++ /dev/null @@ -1,98 +0,0 @@ -// colors for fis - -@fi-blue1: #51A7F9; // 1 = lightest -@fi-blue2: #0365C0; -@fi-blue3: #164F86; -@fi-blue4: #002452; // 4 = darkest -@fi-green1: #70BF41; -@fi-green2: #00882B; -@fi-green3: #0B5D18; -@fi-green4: #054109; -@fi-yellow1: #F5D328; -@fi-yellow2: #DCBD23; -@fi-yellow3: #C3971A; -@fi-yellow4: #A37512; -@fi-orange1: #F39019; -@fi-orange2: #DE6A10; -@fi-orange3: #BD5B0C; -@fi-orange4: #924607; -@fi-red1: #EC5D57; -@fi-red2: #C82506; -@fi-red3: #862506; -@fi-red4: #570706; -@fi-purple1: #B36AE2; -@fi-purple2: #773F9B; -@fi-purple3: #5F327C; -@fi-purple4: #3B1F4E; -@fi-brown1: #4A1402; -@fi-gray1: #8E8E8E; -@fi-gray2: #444444; -@fi-gray3: #1A1A1A; - -// @fi-brown: #4A1402; -// @fi-red: #96281B; -// @fi-blue-dark: #3A539B; -// @fi-blue: #3A539B; -// @fi-blue-light: #59ABE3; -// @fi-purple: #913D88; -// @fi-purple-light: #913D88; -// @fi-green-dark: #003B0B; -// @fi-green-light: #008A1A; -// @fi-yellow: #D99305; -// @fi-orange: #D16D00; -// @fi-gray-dark: #444; -// @fi-gray-light: #8e8e8e; - - -// pictures -.fi-bmp, .fi-gif, .fi-ico, .fi-jpeg, .fi-jpg, .fi-png, .fi-raw, .fi-svg, .fi-tif, .fi-tiff { - color: @fi-green4; -} -// coding -.fi-c, .fi-cc, .fi-cpp, .fi-h, .fi-cxx, .fi-hxx { - color: @fi-blue3; -} -.fi-f, .fi-f03, .fi-f90, .fi-f95, .fi-F, .fi-F03, .fi-F90, .fi-F95 { - color: @fi-blue4; -} -.fi-sh, .fi-csh { - color: @fi-blue2; -} -.fi-css, .fi-html, .fi-jade, .fi-js, .fi-less, .fi-mako, .fi-json { - color: @fi-purple4; -} -.fi-tex, .fi-xml, .fi-yaml, .fi-yml, .fi-r, .fi-m { - color: @fi-purple3; -} -.fi-py, .fi-pyc { - color: @fi-yellow3; -} -// pxlio -.fi-pxlio { - color: @fi-blue1; -} -// root -.fi-root { - color: @fi-green2; -} -// adobe -.fi-eps, .fi-pdf, .fi-ps { - color: @fi-red2; -} -// packed -.fi-rar, .fi-tar, .fi-targz, .fi-zip { - color: @fi-brown1; -} -// conf/ini -.fi-conf, .fi-ini { - color: @fi-red3; -} -// log txt -.fi-log, .fi-txt { - color: @fi-gray3; -} -// default -.fi-default:before, .fi-default-alt:before, .fi-default-symlink:before { - color: @fi-gray1; -} - diff --git a/vispa/extensions/file/static/css/base/pathbar.css b/vispa/extensions/file/static/css/base/pathbar.css deleted file mode 100644 index 694046db78f4deb3e88b88f8e8068b6c71e5ed9d..0000000000000000000000000000000000000000 --- a/vispa/extensions/file/static/css/base/pathbar.css +++ /dev/null @@ -1,32 +0,0 @@ -.path-bar-icon{width:44px;border-right:2px solid #ddd} -.path-bar-icon .dropdown-toggle{webkit-box-shadow:none!important;box-shadow:none!important;width:44px;cursor:pointer;padding:8px 14px 4px 14px} -.path-bar-icon .dropdown-menu{margin-top:9px} -.path-bar-icon .dropdown-menu .glyphicon{margin-right:10px} -.file-path-bar{display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-flex-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center;width:100%;height:36px} -.file-path-bar>.options{width:44px;border-right:2px solid #ddd} -.file-path-bar>.options .dropdown-toggle{webkit-box-shadow:none!important;box-shadow:none!important;width:44px;cursor:pointer;padding:8px 14px 4px 14px} -.file-path-bar>.options .dropdown-menu{margin-top:9px} -.file-path-bar>.options .dropdown-menu .glyphicon{margin-right:10px} -.file-path-bar>.bookmark-dropdown>.bookmark-container>.bookmarks>.bookmark{padding:3px 20px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;white-space:nowrap} -.file-path-bar>.bookmark-dropdown>.bookmark-container>.bookmarks>.bookmark:hover{background-color:#f5f5f5;cursor:pointer} -.file-path-bar>.bookmark-dropdown>.bookmark-container>.bookmarks>.bookmark:hover>.bookmark-glyphicon-edit{color:#333} -.file-path-bar>.bookmark-dropdown>.bookmark-container>.bookmarks>.bookmark:hover>.bookmark-glyphicon-remove{color:#333} -.file-path-bar>.bookmark-dropdown>.bookmark-container>.bookmarks>.bookmark>.bookmark-glyphicon-symbol{color:#000} -.file-path-bar>.bookmark-dropdown>.bookmark-container>.bookmarks>.bookmark>.bookmark-glyphicon-symbol-editable{color:#555} -.file-path-bar>.bookmark-dropdown>.bookmark-container>.bookmarks>.bookmark>.bookmark-glyphicon-symbol-editable:hover{color:#000} -.file-path-bar>.bookmark-dropdown>.bookmark-container>.bookmarks>.bookmark>.bookmark-name{margin-right:10px;display:inline-block;max-width:80%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis} -.file-path-bar>.bookmark-dropdown>.bookmark-container>.bookmarks>.bookmark>.input-bookmarkname{margin-right:10px;background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:4px;box-shadow:0 1px 1px rgba(0,0,0,.075) inset;color:#555;-webkit-transition:border-color .15s ease-in-out 0s,box-shadow .15s ease-in-out 0s;transition:border-color .15s ease-in-out 0s,box-shadow .15s ease-in-out 0s} -.file-path-bar>.bookmark-dropdown>.bookmark-container>.bookmarks>.bookmark>.input-bookmarkname:focus{border-color:#66afe9;outline:0;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)} -.file-path-bar>.bookmark-dropdown>.bookmark-container>.bookmarks>.bookmark>.input-bookmarkname::-webkit-input-placeholder{color:#999} -.file-path-bar>.bookmark-dropdown>.bookmark-container>.bookmarks>.bookmark>.input-bookmarkname:-moz-placeholder{color:#999;opacity:1} -.file-path-bar>.bookmark-dropdown>.bookmark-container>.bookmarks>.bookmark>.input-bookmarkname::-moz-placeholder{color:#999;opacity:1} -.file-path-bar>.bookmark-dropdown>.bookmark-container>.bookmarks>.bookmark>.input-bookmarkname:-ms-input-placeholder{color:#999} -.file-path-bar>.bookmark-dropdown>.bookmark-container>.bookmarks>.bookmark>.bookmark-glyphicon-edit{color:#fff} -.file-path-bar>.bookmark-dropdown>.bookmark-container>.bookmarks>.bookmark>.bookmark-glyphicon-edit:hover{color:#000!important} -.file-path-bar>.bookmark-dropdown>.bookmark-container>.bookmarks>.bookmark>.bookmark-glyphicon-remove{color:#fff} -.file-path-bar>.bookmark-dropdown>.bookmark-container>.bookmarks>.bookmark>.bookmark-glyphicon-remove:hover{color:#000!important} -.file-path-bar>.path-list{position:relative;margin-left:15px;width:80%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;direction:rtl;text-align:left} -.file-path-bar>.path-list>.path-bar-item+.path-bar-item:before{content:"/";padding:0 7px;text-align:left} -.file-path-bar>.path-list>.path-bar-item{text-decoration:none} -.file-path-bar>.path-list .glyphicon{display:inline} -.file-path-bar>.path-list>.active{pointer-events:none!important;color:#333!important} \ No newline at end of file diff --git a/vispa/extensions/file/static/css/base/pathbar.less b/vispa/extensions/file/static/css/base/pathbar.less deleted file mode 100644 index 374c80a80ba4ed21c67bedaee09c3380485367cf..0000000000000000000000000000000000000000 --- a/vispa/extensions/file/static/css/base/pathbar.less +++ /dev/null @@ -1,166 +0,0 @@ -@gray-dark: lighten(#000, 20%); -@gray: lighten(#000, 33.5%); -@table-border-color: #ddd; -@body-bg: #fff; -@dropdown-link-hover-bg: #f5f5f5; -@gray-base: #000; -@border-radius-base: 4px; -@input-bg: #fff; -@input-color: @gray; -@input-border: #ccc; -@input-border-radius: @border-radius-base; -@input-border-focus: #66afe9; -@input-color-placeholder: #999; - -/* icons for options and bookmarks in path bar */ -.path-bar-icon { - width: 44px; - border-right: 2px solid @table-border-color; - .dropdown-toggle { - webkit-box-shadow: none !important; - box-shadow: none !important; - width: 44px; - cursor: pointer; - padding: 8px 14px 4px 14px; - } - .dropdown-menu { - margin-top: 9px; - .glyphicon { - margin-right: 10px; - } - } -} - -/* path bar */ -.file-path-bar { - display: -webkit-box; // OLD - iOS 6-, Safari 3.1-6 - display: -moz-box; // OLD - Firefox 19- (buggy but mostly works) - display: -ms-flexbox; // TWEENER - IE 10 - display: -webkit-flex; - display: flex; - -webkit-box-align: center; - -webkit-flex-align: center; - -ms-flex-align: center; - -webkit-align-items: center; - align-items: center; - width: 100%; - height: 36px; - - /* option gear wheel */ - > .options { - .path-bar-icon; - } - - /* bookmarks */ - > .bookmark-dropdown { - > .bookmark-container { - > .bookmarks { - > .bookmark { - padding: 3px 20px; - display: flex; - white-space: nowrap; - &:hover { - background-color: @dropdown-link-hover-bg; - cursor: pointer; - > .bookmark-glyphicon-edit { - color: @gray-dark; - } - > .bookmark-glyphicon-remove { - color: @gray-dark; - } - } - > .bookmark-glyphicon-symbol { - color: @gray-base; - } - > .bookmark-glyphicon-symbol-editable { - color: @gray; - &:hover { - color: @gray-base; - } - } - > .bookmark-name { - margin-right: 10px; - display: inline-block; - max-width: 80%; - overflow: hidden; - white-space: nowrap; - text-overflow: ellipsis; - } - > .input-bookmarkname { - margin-right: 10px; - background-color: @input-bg; - background-image: none; - border: 1px solid @input-border; - border-radius: @input-border-radius; - box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset; - color: @input-color; - transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s; - &:focus { - border-color: @input-border-focus; - outline: 0; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, 0.6); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, 0.6); - } - &::-webkit-input-placeholder { - // WebKit browsers - color: @input-color-placeholder; - } - &:-moz-placeholder { - // Mozilla Firefox 4 to 18 - color: @input-color-placeholder; - opacity: 1; - } - &::-moz-placeholder { - // Mozilla Firefox 19+ - color: @input-color-placeholder; - opacity: 1; - } - &:-ms-input-placeholder { - // Internet Explorer 10+ - color: @input-color-placeholder; - } - } - > .bookmark-glyphicon-edit { - color: @body-bg; - &:hover { - color: @gray-base !important; - } - } - > .bookmark-glyphicon-remove { - color: @body-bg; - &:hover { - color: @gray-base !important; - } - } - } - } - } - } - - /* path list */ - > .path-list { - position: relative; - margin-left: 15px; - width: 80%; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; - direction: rtl; - text-align: left; - > .path-bar-item + .path-bar-item:before { - content: "/"; - padding: 0 7px; - text-align: left; - } - > .path-bar-item { - text-decoration: none; - } - .glyphicon { - display: inline; - } - > .active { - pointer-events: none !important; - color: @gray-dark !important; - } - } -} diff --git a/vispa/extensions/file/static/css/base/views/symbol/symbol.css b/vispa/extensions/file/static/css/base/views/symbol/symbol.css deleted file mode 100644 index 3c5806d1909394096373a14c5f020cfcc6498e19..0000000000000000000000000000000000000000 --- a/vispa/extensions/file/static/css/base/views/symbol/symbol.css +++ /dev/null @@ -1,44 +0,0 @@ -.file-view-symbol{position:absolute;top:40px;left:0;bottom:0;overflow:auto;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;float:left} -.file-view-symbol.file-list{width:100%} -.file-view-symbol.file-list.dragover{box-shadow:0 0 20px #5cb85c inset} -.file-view-symbol.file-list.dragover>.node{background-color:rgba(0,0,0,0)!important} -.file-view-symbol.file-list.gear-wheel-disable .glyphicon-cog{opacity:0} -.file-view-symbol.icon-tiny .file-node{margin:5px} -.file-view-symbol.icon-tiny .file-node{width:80px;height:68px} -.file-view-symbol.icon-tiny .symbol-icon-p{margin-top:-35px;display:inline-block;text-align:center;z-index:-1;padding:0;-webkit-user-select:none;font-size:24px;width:80px} -.file-view-symbol.icon-tiny .symbol-name{width:80px} -.file-view-symbol.icon-tiny .file-selection-box{left:12px} -.file-view-symbol.icon-tiny .file-properties{margin-top:-9px;top:10px} -.file-view-symbol.icon-small .file-node{margin:2px 4px 2px 4px} -.file-view-symbol.icon-small .file-node{width:100px;height:85px} -.file-view-symbol.icon-small .symbol-icon-p{margin-top:-35px;display:inline-block;text-align:center;z-index:-1;padding:0;-webkit-user-select:none;font-size:30px;width:100px} -.file-view-symbol.icon-small .symbol-name{width:100px} -.file-view-symbol.icon-small .file-selection-box{left:20px} -.file-view-symbol.icon-small .file-properties{margin-top:1px;top:0} -.file-view-symbol.icon-medium .file-node{margin:8px} -.file-view-symbol.icon-medium .file-node{width:110px;height:90px} -.file-view-symbol.icon-medium .symbol-icon-p{margin-top:-23px;display:inline-block;text-align:center;z-index:-1;padding:0;-webkit-user-select:none;font-size:38px;width:110px} -.file-view-symbol.icon-medium .symbol-name{width:110px} -.file-view-symbol.icon-medium .file-selection-box{left:20px} -.file-view-symbol.icon-medium .file-properties{margin-top:1px;top:0} -.file-view-symbol.icon-large .file-node{margin:12px} -.file-view-symbol.icon-large .file-node{width:116px;height:100px} -.file-view-symbol.icon-large .symbol-icon-p{margin-top:-24px;display:inline-block;text-align:center;z-index:-1;padding:0;-webkit-user-select:none;font-size:46px;width:116px} -.file-view-symbol.icon-large .symbol-name{width:116px} -.file-view-symbol.icon-large .file-selection-box{left:20px} -.file-view-symbol.icon-large .file-properties{margin-top:1px;top:0} -.file-view-symbol .file-node{border-radius:5px;float:left;-webkit-user-select:none} -.file-view-symbol .file-node[draggable=true]{cursor:move;-khtml-user-drag:element} -.file-view-symbol .file-node:hover{background-color:#f5f5f5;cursor:pointer} -.file-view-symbol .file-node:hover>.file-properties{visibility:visible} -.file-view-symbol .file-node[selected]{background-color:#D2D2D2;color:#fff} -.file-view-symbol .file-node[selected]>.file-properties{visibility:visible} -.file-view-symbol .file-node.dragstart{opacity:.4} -.file-view-symbol .file-node.dragover{background-color:rgba(92,184,92,.5)!important} -.file-view-symbol .file-selection-p{display:inherit;margin:0 0 0 4px;position:relative;visibility:visible;-webkit-user-select:none} -.file-view-symbol .symbol-name{-webkit-hyphens:auto;-moz-hyphens:auto;display:inline-block;font-family:'Trebuchet MS',Helvetica,Arial,sans-serif;font-size:13px;font-weight:400;margin-top:-5px;margin-bottom:0;overflow:hidden;text-align:center;word-wrap:break-word;-webkit-user-select:none} -.file-view-symbol .file-selection-box{position:absolute;top:2px;visibility:visible;-webkit-user-select:none;content:''} -.file-view-symbol .file-selection-box span{background:green url(../../../../img/white_plus.png) no-repeat center;border-radius:8px;display:block;height:16px;width:16px;-webkit-user-select:none} -.file-view-symbol .file-selection-box input{display:none} -.file-view-symbol .file-selection-box input:checked+span{background:red url(../../../../img/white_minus.png) no-repeat center} -.file-view-symbol .file-properties{visibility:hidden;float:right;margin-right:3px;-webkit-user-select:none} \ No newline at end of file diff --git a/vispa/extensions/file/static/css/base/views/symbol/symbol.less b/vispa/extensions/file/static/css/base/views/symbol/symbol.less deleted file mode 100644 index c37a836265471369919d8b9ef4116ce9a9ab0f48..0000000000000000000000000000000000000000 --- a/vispa/extensions/file/static/css/base/views/symbol/symbol.less +++ /dev/null @@ -1,195 +0,0 @@ -@symbol-bg-hover : #f5f5f5; -@brand-success : #5cb85c; -@brand-danger : #d9534f; -@default-file-symbol-node-width : 100px; -@file-symbol-node-width-tiny : @default-file-symbol-node-width * 0.8; -@file-symbol-node-width-small : @default-file-symbol-node-width; -@file-symbol-node-width-medium : @default-file-symbol-node-width + 10; -@file-symbol-node-width-large : @default-file-symbol-node-width + 16; -@default-file-symbol-node-height : 85px; -@file-symbol-node-height-tiny : @default-file-symbol-node-height * 0.8; -@file-symbol-node-height-small : @default-file-symbol-node-height; -@file-symbol-node-height-medium : @default-file-symbol-node-height + 5; -@file-symbol-node-height-large : @default-file-symbol-node-height + 15; -@default-file-symbol-font-size : 30px; -@file-symbol-font-size-tiny : @default-file-symbol-font-size * 0.8; -@file-symbol-font-size-small : @default-file-symbol-font-size; -@file-symbol-font-size-medium : @default-file-symbol-font-size + 8; -@file-symbol-font-size-large : @default-file-symbol-font-size + 16; -@file-symbol-icon-margin-top-tiny : -35px; -@file-symbol-icon-margin-top-small : -35px; -@file-symbol-icon-margin-top-medium : -23px; -@file-symbol-icon-margin-top-large : -24px; -@file-symbol-selectionbox-left-tiny : 12px; -@file-symbol-selectionbox-left-small : 20px; -@file-symbol-selectionbox-left-medium : 20px; -@file-symbol-selectionbox-left-large : 20px; - -.icon-size (@size) { - @font-size : 'file-symbol-font-size-@{size}'; - @node-width : 'file-symbol-node-width-@{size}'; - @node-height : 'file-symbol-node-height-@{size}'; - @margin-top : 'file-symbol-icon-margin-top-@{size}'; - .file-node { - width : @@node-width; - height : @@node-height; - } - .symbol-icon-p { - margin-top : @@margin-top; - display : inline-block; - text-align : center; - z-index : -1; - padding : 0; - -webkit-user-select : none; - font-size : @@font-size; - width : @@node-width; - } - .symbol-name { - width: @@node-width; - } -} -.selectionbox-position (@size) { - @left: 'file-symbol-selectionbox-left-@{size}'; - .file-selection-box { - left: @@left; - } -} -.properties-position (@margin) { - .file-properties { - margin-top : @margin; - top : 1 - @margin; - } -} -.file-view-symbol { - position : absolute; - top : 40px; - left : 0; - bottom : 0; - overflow : auto; - -webkit-user-select : none; - user-select : none; - float : left; - &.file-list { - width: 100%; - &.dragover{ - box-shadow: 0px 0px 20px @brand-success inset; - > .node { - background-color: rgba(0,0,0,0) !important; - } - } - &.gear-wheel-disable { - .glyphicon-cog { - opacity: 0.0; - } - } - } - &.icon-tiny { - .file-node { - margin: 5px; - } - .icon-size(tiny); - .selectionbox-position(tiny); - .properties-position(-9px); - } - &.icon-small { - .file-node { - margin: 2px 4px 2px 4px; - } - .icon-size(small); - .selectionbox-position(small); - .properties-position(1px); - } - &.icon-medium { - .file-node { - margin: 8px; - } - .icon-size(medium); - .selectionbox-position(medium); - .properties-position(1px); - } - &.icon-large { - .file-node { - margin: 12px; - } - .icon-size(large); - .selectionbox-position(large); - .properties-position(1px); - } - .file-node { - border-radius : 5px; - float : left; - -webkit-user-select : none; - &[draggable=true] { - cursor : move; - -khtml-user-drag : element; - } - &:hover { - background-color : @symbol-bg-hover; - cursor : pointer; - > .file-properties { - visibility: visible; - } - } - &[selected] { - background-color : #D2D2D2; - color : white; - > .file-properties { - visibility: visible; - } - } - &.dragstart { - opacity: 0.4; - } - &.dragover { - background-color: fade(@brand-success, 50%) !important; - } - } - .file-selection-p { - display : inherit; - margin : 0 0 0 4px; - position : relative; - visibility : visible; - -webkit-user-select : none; - } - .symbol-name { - -webkit-hyphens : auto; - -moz-hyphens : auto; - display : inline-block; - font-family : 'Trebuchet MS', Helvetica, Arial, sans-serif; - font-size : 13px; - font-weight : normal; - margin-top : -5px; - margin-bottom : 0; - overflow : hidden; - text-align : center; - word-wrap : break-word; - -webkit-user-select : none; - } - .file-selection-box { - position : absolute; - top : 2px; - visibility : visible; - -webkit-user-select : none; - content : ''; - span { - background : green url("../../../../img/white_plus.png") no-repeat center; - border-radius : 8px; - display : block; - height : 16px; - width : 16px; - -webkit-user-select : none; - } - input { - display: none; - &:checked + span { - background: red url("../../../../img/white_minus.png") no-repeat center; - } - } - } - .file-properties { - visibility : hidden; - float : right; - margin-right : 3px; - -webkit-user-select : none; - } -} diff --git a/vispa/extensions/file/static/css/base/views/table/table.css b/vispa/extensions/file/static/css/base/views/table/table.css deleted file mode 100644 index 5964b3d9b2fc9b8b517dbb5e8a03c4294a638e75..0000000000000000000000000000000000000000 --- a/vispa/extensions/file/static/css/base/views/table/table.css +++ /dev/null @@ -1,80 +0,0 @@ -.file-view-table.row-tiny .node{height:34px} -.file-view-table.row-tiny .icon{width:30px;-webkit-box-flex:0;-webkit-flex:0 0 30px;-ms-flex:0 0 30px;flex:0 0 30px} -.file-view-table.row-tiny .icon [class*=" fi-"],.file-view-table.row-tiny .icon [class^=fi-]{font-size:24px} -.file-view-table.row-tiny .icon .fi-folder,.file-view-table.row-tiny .icon .fi-folder-open,.file-view-table.row-tiny .icon .fi-folder-symlink{font-size:16px} -.file-view-table.row-small .node{height:40px} -.file-view-table.row-small .icon{width:45px;-webkit-box-flex:0;-webkit-flex:0 0 45px;-ms-flex:0 0 45px;flex:0 0 45px} -.file-view-table.row-small .icon [class*=" fi-"],.file-view-table.row-small .icon [class^=fi-]{font-size:30px} -.file-view-table.row-small .icon .fi-folder,.file-view-table.row-small .icon .fi-folder-open,.file-view-table.row-small .icon .fi-folder-symlink{font-size:22px} -.file-view-table.row-medium .node{height:48px} -.file-view-table.row-medium .icon{width:60px;-webkit-box-flex:0;-webkit-flex:0 0 60px;-ms-flex:0 0 60px;flex:0 0 60px} -.file-view-table.row-medium .icon [class*=" fi-"],.file-view-table.row-medium .icon [class^=fi-]{font-size:38px} -.file-view-table.row-medium .icon .fi-folder,.file-view-table.row-medium .icon .fi-folder-open,.file-view-table.row-medium .icon .fi-folder-symlink{font-size:30px} -.file-view-table.row-large .node{height:56px} -.file-view-table.row-large .icon{width:75px;-webkit-box-flex:0;-webkit-flex:0 0 75px;-ms-flex:0 0 75px;flex:0 0 75px} -.file-view-table.row-large .icon [class*=" fi-"],.file-view-table.row-large .icon [class^=fi-]{font-size:46px} -.file-view-table.row-large .icon .fi-folder,.file-view-table.row-large .icon .fi-folder-open,.file-view-table.row-large .icon .fi-folder-symlink{font-size:38px} -.file-table-hidden{display:none!important;visibility:hidden!important} -.file-table-select-column{width:70px;-webkit-box-flex:0;-webkit-flex:0 0 70px;-ms-flex:0 0 70px;flex:0 0 70px;text-align:center} -.file-table-icon-column{text-align:left} -.file-table-size-column{width:120px;-webkit-box-flex:0;-webkit-flex:0 0 120px;-ms-flex:0 0 120px;flex:0 0 120px;text-align:right} -.file-table-time-column{width:215px;-webkit-box-flex:0;-webkit-flex:0 0 215px;-ms-flex:0 0 215px;flex:0 0 215px;padding-left:20px;text-align:left} -.file-table-options-column{width:50px;-webkit-box-flex:0;-webkit-flex:0 0 50px;-ms-flex:0 0 50px;flex:0 0 50px;text-align:center} -.file-view-table .file-list.edit-tools-hidden .edit-tools{display:none!important;visibility:hidden!important} -.file-view-table{width:100%} -.file-view-table.select-touch input[type=checkbox]{width:22px;height:22px} -.file-view-table .file-table-head{position:absolute;top:44px;left:0;display:-webkit-flex;display:-webkit-box;display:-ms-flexbox;display:flex;width:100%;height:38px;padding-top:7px;border-bottom:3px solid #ddd} -.file-view-table .file-table-head .glyphicon{margin-left:4px} -.file-view-table .file-table-head>.select{width:70px;-webkit-box-flex:0;-webkit-flex:0 0 70px;-ms-flex:0 0 70px;flex:0 0 70px;text-align:center} -.file-view-table .file-table-head>.icon{text-align:left} -.file-view-table .file-table-head>.name{webkit-flex:1;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1} -.file-view-table .file-table-head>.size{width:120px;-webkit-box-flex:0;-webkit-flex:0 0 120px;-ms-flex:0 0 120px;flex:0 0 120px;text-align:right} -.file-view-table .file-table-head>.time{width:215px;-webkit-box-flex:0;-webkit-flex:0 0 215px;-ms-flex:0 0 215px;flex:0 0 215px;padding-left:20px;text-align:left} -.file-view-table .file-table-head>.options{width:50px;-webkit-box-flex:0;-webkit-flex:0 0 50px;-ms-flex:0 0 50px;flex:0 0 50px;text-align:center} -.file-view-table .file-table-head>.name,.file-view-table .file-table-head>.size,.file-view-table .file-table-head>.time{cursor:pointer} -.file-view-table .file-list{position:absolute;bottom:0;right:0;top:80px;left:0;overflow-y:auto;width:100%} -.file-view-table .file-list.dragover{box-shadow:0 0 20px #5cb85c inset} -.file-view-table .file-list.dragover>.node{background-color:rgba(0,0,0,0)!important} -.file-view-table .file-list.gear-wheel-disable .glyphicon-cog{opacity:.4} -.file-view-table .file-list>.node{display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-flex-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center;width:100%} -.file-view-table .file-list>.node:nth-child(2n){background-color:#f9f9f9} -.file-view-table .file-list>.node:hover{background-color:#f5f5f5} -.file-view-table .file-list>.node:not(:hover) .edit-tools{display:none} -.file-view-table .file-list>.node[selected]{background-color:#f5f5f5} -.file-view-table .file-list>.node.dragover{background-color:rgba(92,184,92,.5)!important} -.file-view-table .file-list>.node.dragover-denied{background-color:rgba(217,83,79,.5)!important} -.file-view-table .file-list>.node.dragstart{opacity:.4;cursor:move} -.file-view-table .file-list>.node[draggable=true]{cursor:pointer;-khtml-user-drag:element} -.file-view-table .file-list>.node.stop-pointer-events *{pointer-events:none} -.file-view-table .file-list>.node>.select{width:70px;-webkit-box-flex:0;-webkit-flex:0 0 70px;-ms-flex:0 0 70px;flex:0 0 70px;text-align:center} -.file-view-table .file-list>.node>.icon{text-align:left} -.file-view-table .file-list>.node>.name{-webkit-flex:1;-webkit-box-flex:1;-ms-flex:1;flex:1;position:relative} -.file-view-table .file-list>.node>.name>.vhidden{visibility:hidden;display:inline-block;width:0} -.file-view-table .file-list>.node>.name>.completename{display:inline-block;position:absolute;top:0;left:0;max-width:100%;overflow:hidden;visibility:hidden;white-space:nowrap;padding-right:1px} -.file-view-table .file-list>.node>.name>.completename>.wrapper{width:100%;display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;position:absolute;top:0;visibility:visible} -.file-view-table .file-list>.node>.name>.completename>.wrapper>.flex{-webkit-flex:1 1 1px;-webkit-box-flex:1;-ms-flex:1 1 1px;flex:1 1 1px;position:relative} -.file-view-table .file-list>.node>.name>.completename>.wrapper>.flex>.root{position:absolute;max-width:100%;overflow:hidden;text-overflow:ellipsis} -.file-view-table .file-list>.node>.name>.completename>.wrapper>.ext{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0} -.file-view-table .file-list>.node>.name>.input-filename{background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:4px;box-shadow:0 1px 1px rgba(0,0,0,.075) inset;color:#555;-webkit-transition:border-color .15s ease-in-out 0s,box-shadow .15s ease-in-out 0s;transition:border-color .15s ease-in-out 0s,box-shadow .15s ease-in-out 0s} -.file-view-table .file-list>.node>.name>.input-filename:focus{border-color:#66afe9;outline:0;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)} -.file-view-table .file-list>.node>.name>.input-filename::-webkit-input-placeholder{color:#999} -.file-view-table .file-list>.node>.name>.input-filename:-moz-placeholder{color:#999;opacity:1} -.file-view-table .file-list>.node>.name>.input-filename::-moz-placeholder{color:#999;opacity:1} -.file-view-table .file-list>.node>.name>.input-filename:-ms-input-placeholder{color:#999} -.file-view-table .file-list>.node>.edit-tools{font-size:12px;width:250px;-webkit-box-flex:0;-webkit-flex:0 0 250px;-ms-flex:0 0 250px;flex:0 0 250px;text-align:right} -.file-view-table .file-list>.node>.edit-tools .glyphicon{margin-left:14px} -.file-view-table .file-list>.node>.edit-tools .glyphicon-pencil{margin-left:4px} -@media (max-width:992px){.file-view-table .file-list>.node>.edit-tools{width:110px;-webkit-box-flex:0;-webkit-flex:0 0 110px;-ms-flex:0 0 110px;flex:0 0 110px} -.file-view-table .file-list>.node>.edit-tools .glyphicon{margin-left:10px;margin-right:10px} -.file-view-table .file-list>.node>.edit-tools .glyphicon-pencil{margin-left:8px} -} -.file-view-table .file-list>.node>.size{width:120px;-webkit-box-flex:0;-webkit-flex:0 0 120px;-ms-flex:0 0 120px;flex:0 0 120px;text-align:right} -.file-view-table .file-list>.node>.time{width:215px;-webkit-box-flex:0;-webkit-flex:0 0 215px;-ms-flex:0 0 215px;flex:0 0 215px;padding-left:20px;text-align:left} -.file-view-table .file-list>.node>.options{width:50px;-webkit-box-flex:0;-webkit-flex:0 0 50px;-ms-flex:0 0 50px;flex:0 0 50px;text-align:center;cursor:pointer} -.fileselector .node{height:38px} -.fileselector .icon{width:40px} -.fileselector .icon [class*=" icon-"],.fileselector .icon [class^=icon-]{font-size:26px} -.fileselector .icon .icon-folder,.fileselector .icon .icon-folder-open,.fileselector .icon .icon-folder-symlink{font-size:22px} -.fileselector .edit-tools{display:none!important;visibility:hidden!important} -.fileselector .size{display:none!important;visibility:hidden!important} -.fileselector .time{display:none!important;visibility:hidden!important} \ No newline at end of file diff --git a/vispa/extensions/file/static/css/base/views/table/table.less b/vispa/extensions/file/static/css/base/views/table/table.less deleted file mode 100755 index 7f66d09becb0451aa13c60be9e31847d0c324d02..0000000000000000000000000000000000000000 --- a/vispa/extensions/file/static/css/base/views/table/table.less +++ /dev/null @@ -1,386 +0,0 @@ -/* define variables and classes from bootstrap */ -@screen-md : 992px; - -@gray : lighten(#000, 33.5%); // #555 -@brand-success : #5cb85c; -@brand-danger : #d9534f; - -@table-bg-accent : #f9f9f9; -@table-bg-hover : #f5f5f5; -@table-bg-active : @table-bg-hover; -@table-border-color : #ddd; - -@border-radius-base : 4px; - -@input-bg : #fff; -@input-color : @gray; -@input-border : #ccc; -@input-border-radius : @border-radius-base; -@input-border-focus : #66afe9; -@input-color-placeholder : #999; - -/* some own variables */ -@width-edit-tool-small : 110px; // when sharing is included: 160 -@width-edit-tool-large : 250px; // when sharing is included: 320 -@width-select-column : 70px; -@width-icon-column : 45px; -@width-size-column : 120px; -@width-time-column : 215px; -@width-options-column : 50px; - - -// size of icons -@default-file-table-height : 40px; -@file-table-tiny : @default-file-table-height - 6; -@file-table-small : @default-file-table-height; -@file-table-medium : @default-file-table-height + 8; -@file-table-large : @default-file-table-height + 16; - -.file-table-icon-size (@default-file-table-height) { - [class^="fi-"], [class*=" fi-"] { - font-size: @default-file-table-height - 10; - } - .fi-folder, .fi-folder-open, .fi-folder-symlink { - font-size: @default-file-table-height - 18; - } -} - -.file-view-table { - &.row-tiny { - .node { - height: @file-table-tiny; - } - .icon { - width : @width-icon-column - 15; - flex : 0 0 @width-icon-column - 15; - .file-table-icon-size(@file-table-tiny); - } - } - &.row-small { - .node { - height: @file-table-small; - } - .icon { - width : @width-icon-column; - flex : 0 0 @width-icon-column; - .file-table-icon-size(@file-table-small); - } - } - &.row-medium { - .node { - height: @file-table-medium; - } - .icon { - width : @width-icon-column + 15; - flex : 0 0 @width-icon-column + 15; - .file-table-icon-size(@file-table-medium); - } - } - &.row-large { - .node { - height: @file-table-large; - } - .icon { - width : @width-icon-column + 30; - flex : 0 0 @width-icon-column + 30; - .file-table-icon-size(@file-table-large); - } - } -} - - -/* some classes for columns */ -.file-table-hidden { - display : none !important; - visibility : hidden !important; -} -.file-table-select-column { - width : @width-select-column; - flex : 0 0 @width-select-column; - text-align : center; -} -.file-table-icon-column { - text-align: left; -} -.file-table-size-column { - width : @width-size-column; - flex : 0 0 @width-size-column; - text-align : right; -} -.file-table-time-column { - width : @width-time-column; - flex : 0 0 @width-time-column; - padding-left : 20px; - text-align : left; -} -.file-table-options-column { - width : @width-options-column; - flex : 0 0 @width-options-column; - text-align : center; -} - -/* hide edit tools on touch displays */ -.file-view-table { - .file-list { - &.edit-tools-hidden { - .edit-tools { - display : none !important; - visibility : hidden !important; - } - } - } -} - -/* tale view */ -.file-view-table { - width: 100%; - &.select-touch { - input[type=checkbox] { - width : 22px; - height : 22px; - } - } - /* table head of filelist */ - .file-table-head { - position : absolute; - top : 44px; - left : 0px; - display : -webkit-flex; - display : flex; - width : 100%; - height : 38px; - padding-top : 7px; - border-bottom : 3px solid @table-border-color; - .glyphicon { - margin-left: 4px; - } - > .select { - .file-table-select-column; - } - > .icon { - .file-table-icon-column; - } - > .name { - webkit-flex: 1; - flex: 1; - } - > .size { - .file-table-size-column; - } - > .time { - .file-table-time-column; - } - > .options { - .file-table-options-column; - } - > .name, > .size, > .time { - cursor: pointer; - } - } - /* all other rows */ - .file-list { - position : absolute; - bottom : 0px; - right : 0px; - top : 80px; - left : 0px; - overflow-y : auto; - width : 100%; - &.dragover{ - box-shadow: 0px 0px 20px @brand-success inset; - > .node { - background-color: rgba(0,0,0,0) !important; - } - } - &.gear-wheel-disable { - .glyphicon-cog { - opacity: 0.4; - } - } - > .node { - display : -webkit-box; // OLD - iOS 6-, Safari 3.1-6 - display : -moz-box; // OLD - Firefox 19- (buggy but mostly works) - display : -ms-flexbox; // TWEENER - IE 10 - display : -webkit-flex; - display : flex; - -webkit-box-align : center; - -webkit-flex-align : center; - -ms-flex-align : center; - -webkit-align-items : center; - align-items : center; - width : 100%; - &:nth-child(2n) { - background-color: @table-bg-accent; - } - &:hover { - background-color: @table-bg-hover; - } - &:not(:hover) .edit-tools { - display: none; - } - &[selected] { - background-color: @table-bg-active; - } - &.dragover { - background-color: fade(@brand-success, 50%) !important; - } - &.dragover-denied { - background-color: fade(@brand-danger, 50%) !important; - } - &.dragstart { - opacity: 0.4; - cursor: move; - } - &[draggable=true] { - cursor : pointer; - -khtml-user-drag : element; - } - &.stop-pointer-events * { - pointer-events: none; - } - > .select { - .file-table-select-column; - } - > .icon { - .file-table-icon-column; - } - > .name { - -webkit-flex : 1; - flex : 1; - position : relative; - > .vhidden { - visibility : hidden; - display : inline-block; - width : 0px; - } - > .completename { - display : inline-block; - position : absolute; - top : 0px; - left : 0px; - max-width : 100%; - overflow : hidden; - visibility : hidden; - white-space : nowrap; - padding-right : 1px; // dirty hack to give a little bit more space so we wont have an ellipsis when there is enough space - > .wrapper { - width : 100%; - display : -webkit-box; // OLD - iOS 6-, Safari 3.1-6 - display : -moz-box; // OLD - Firefox 19- (buggy but mostly works) - display : -ms-flexbox; // TWEENER - IE 10 - display : -webkit-flex; - display : flex; - position : absolute; - top : 0px; - visibility : visible; - > .flex { - -webkit-flex : 1 1 1px; - flex : 1 1 1px; - position : relative; - > .root { - position : absolute; - max-width : 100%; - overflow : hidden; - text-overflow : ellipsis; - } - } - > .ext { - flex-shrink: 0; - } - } - - } - > .input-filename { - background-color : @input-bg; - background-image : none; - border : 1px solid @input-border; - border-radius : @input-border-radius; - box-shadow : 0 1px 1px rgba(0, 0, 0, 0.075) inset; - color : @input-color; - transition : border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s; - &:focus { - border-color : @input-border-focus; - outline : 0; - -webkit-box-shadow : inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, 0.6); - box-shadow : inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, 0.6); - } - &::-webkit-input-placeholder { // WebKit browsers - color: @input-color-placeholder; - } - &:-moz-placeholder { // Mozilla Firefox 4 to 18 - color : @input-color-placeholder; - opacity : 1; - } - &::-moz-placeholder { // Mozilla Firefox 19+ - color : @input-color-placeholder; - opacity : 1; - } - &:-ms-input-placeholder { // Internet Explorer 10+ - color: @input-color-placeholder; - } - } - } - > .edit-tools { - font-size : 12px; - width : @width-edit-tool-large; - flex : 0 0 @width-edit-tool-large; - text-align : right; - .glyphicon { - margin-left: 14px; - } - .glyphicon-pencil { - margin-left: 4px; - } - @media(max-width:@screen-md) { - width : @width-edit-tool-small; - flex : 0 0 @width-edit-tool-small; - .glyphicon { - margin-left : 10px; - margin-right : 10px; - } - .glyphicon-pencil { - margin-left: 8px; - } - } - } - > .size { - .file-table-size-column; - } - > .time { - .file-table-time-column; - } - > .options { - .file-table-options-column; - cursor: pointer; - } - } - } -} - -/* fileselector */ -.fileselector { - .node { - height: 38px; - } - .icon { - width: 40px; - [class^="icon-"], [class*=" icon-"] { - font-size: 26px; - } - .icon-folder, .icon-folder-open, .icon-folder-symlink { - font-size: 22px; - } - } - .edit-tools { - display : none !important; - visibility : hidden !important; - } - .size { - display : none !important; - visibility : hidden !important; - } - .time { - display : none !important; - visibility : hidden !important; - } -} diff --git a/vispa/extensions/file/static/html/alert.html b/vispa/extensions/file/static/html/alert.html deleted file mode 100644 index de1a77b02306249ba2cde267eb7b5612a9cc908c..0000000000000000000000000000000000000000 --- a/vispa/extensions/file/static/html/alert.html +++ /dev/null @@ -1,2 +0,0 @@ - - \ No newline at end of file diff --git a/vispa/extensions/file/static/html/alert.jade b/vispa/extensions/file/static/html/alert.jade deleted file mode 100644 index 99f04888e15aedd511175b9b1ce4c87a9605cd62..0000000000000000000000000000000000000000 --- a/vispa/extensions/file/static/html/alert.jade +++ /dev/null @@ -1 +0,0 @@ -.alert.alert-danger(role="alert") You don't have the permission to read this directory \ No newline at end of file diff --git a/vispa/extensions/file/static/html/bookmarkSymbolDialog.html b/vispa/extensions/file/static/html/bookmarkSymbolDialog.html deleted file mode 100644 index 56ecf0abe62d571b3b6de13507e8d18fcbe86ff9..0000000000000000000000000000000000000000 --- a/vispa/extensions/file/static/html/bookmarkSymbolDialog.html +++ /dev/null @@ -1,10 +0,0 @@ - -
-
- -
-
- - -
-
\ No newline at end of file diff --git a/vispa/extensions/file/static/html/bookmarkSymbolDialog.jade b/vispa/extensions/file/static/html/bookmarkSymbolDialog.jade deleted file mode 100644 index 6e38293b81c1b1a6fed3207473ae4802a82bfe43..0000000000000000000000000000000000000000 --- a/vispa/extensions/file/static/html/bookmarkSymbolDialog.jade +++ /dev/null @@ -1,11 +0,0 @@ -div - div - button.btn.btn-default(type="button", data-bind="button") - i.glyphicon(data-bind="symbol") - div - button.btn.btn-danger(type="button", id="cancel", title="cancel") - i.glyphicon.glyphicon-remove - span cancel - button.btn.btn-success(type="button", id="save", title="save") - i.glyphicon.glyphicon-ok - span save diff --git a/vispa/extensions/file/static/html/fileselectorBottom.html b/vispa/extensions/file/static/html/fileselectorBottom.html deleted file mode 100644 index f2c4768b71e17125054e2b2f6fb09a77c9cfcfe0..0000000000000000000000000000000000000000 --- a/vispa/extensions/file/static/html/fileselectorBottom.html +++ /dev/null @@ -1,8 +0,0 @@ - diff --git a/vispa/extensions/file/static/html/fileselectorBottom.jade b/vispa/extensions/file/static/html/fileselectorBottom.jade deleted file mode 100644 index b8de3f1b09dace9a7da87e7a725c015bfc7a459b..0000000000000000000000000000000000000000 --- a/vispa/extensions/file/static/html/fileselectorBottom.jade +++ /dev/null @@ -1,6 +0,0 @@ -form.form-inline(role="form") - .form-group(style="float: left") - label.sr-only(for="exampleInputEmail2") Type filename - input.form-control(type="text", id="FileSelectorFileInput", placeholder="Type filename") -button.btn.btn-default.fs-close(type="button", data-dismiss="modal") Close -button.btn.btn-primary.fs-select(type="button") Select diff --git a/vispa/extensions/file/static/html/filter.html b/vispa/extensions/file/static/html/filter.html deleted file mode 100644 index 8b20a110f01e800de02092e5db4b1c6f5a5d15f1..0000000000000000000000000000000000000000 --- a/vispa/extensions/file/static/html/filter.html +++ /dev/null @@ -1,4 +0,0 @@ - -
- -
\ No newline at end of file diff --git a/vispa/extensions/file/static/html/filter.jade b/vispa/extensions/file/static/html/filter.jade deleted file mode 100644 index baa9dc6bd992a217f82a58ec115944ac3605f4c7..0000000000000000000000000000000000000000 --- a/vispa/extensions/file/static/html/filter.jade +++ /dev/null @@ -1,2 +0,0 @@ -.filterField - input.form-control(type="text" placeholder="Filter files") diff --git a/vispa/extensions/file/static/html/infodialog.html b/vispa/extensions/file/static/html/infodialog.html deleted file mode 100644 index 20e3ed4c031753ec69a2e3c3a014af5f0f1a8d0f..0000000000000000000000000000000000000000 --- a/vispa/extensions/file/static/html/infodialog.html +++ /dev/null @@ -1,33 +0,0 @@ - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Name:
Type:
Size:
Location: -
Last modified:
-
\ No newline at end of file diff --git a/vispa/extensions/file/static/html/infodialog.jade b/vispa/extensions/file/static/html/infodialog.jade deleted file mode 100644 index 2e5dcdba174d5eda909d2d1829680ea5f3274df6..0000000000000000000000000000000000000000 --- a/vispa/extensions/file/static/html/infodialog.jade +++ /dev/null @@ -1,24 +0,0 @@ -.file-info-dialog - table.table.table-hover.table-info-dialog - tbody - tr - td.table-info-dialog-width Name: - td(data-bind="name") - tr - td Type: - td(data-bind="extension") - tr - td Size: - td - span(data-bind="size") - span(data-bind="sizeSuffix") - tr - tr - td Location: - td(data-bind="path") - tr - td Last modified: - td(data-bind="mtime") - tr - td(data-bind="symlinkDesc") - td(data-bind="symlink") diff --git a/vispa/extensions/file/static/html/infodialogmore.html b/vispa/extensions/file/static/html/infodialogmore.html deleted file mode 100644 index ff87a351ff8bb79634fc7120f4bdfa76dfdfc052..0000000000000000000000000000000000000000 --- a/vispa/extensions/file/static/html/infodialogmore.html +++ /dev/null @@ -1,22 +0,0 @@ - -
-
 items with a total size of   selected:
- - - - - - - - - - - - - - - - - -
NameSizeTypeLast modified
-
\ No newline at end of file diff --git a/vispa/extensions/file/static/html/infodialogmore.jade b/vispa/extensions/file/static/html/infodialogmore.jade deleted file mode 100644 index 05c014291c562e9715fe12d683e2d9f06e375b5d..0000000000000000000000000000000000000000 --- a/vispa/extensions/file/static/html/infodialogmore.jade +++ /dev/null @@ -1,22 +0,0 @@ -.file-info-dialog - .file-info-dialog-header - span(data-bind="numberOfSelectedItems") - |  items with a total size of  - span(data-bind="totalSize") - span(data-bind="totalSizeSuffix") - |   selected: - table.table.table-condensed.table-hover - thead - tr - th Name - th(width="84px") Size - th(width="74px") Type - th(width="180px") Last modified - tbody.table-info-dialog-body - tr - td(data-bind="name") - td - span(data-bind="size") - span(data-bind="sizeSuffix") - td(data-bind="extension") - td(data-bind="mtime") diff --git a/vispa/extensions/file/static/html/main.html b/vispa/extensions/file/static/html/main.html deleted file mode 100644 index cb2f6d30357c11acac32b78cd75a73f1afa3c54a..0000000000000000000000000000000000000000 --- a/vispa/extensions/file/static/html/main.html +++ /dev/null @@ -1,2 +0,0 @@ - -
\ No newline at end of file diff --git a/vispa/extensions/file/static/html/main.jade b/vispa/extensions/file/static/html/main.jade deleted file mode 100644 index 4609ebd6cce83c7df3fca4e5174e6b12829d2cdc..0000000000000000000000000000000000000000 --- a/vispa/extensions/file/static/html/main.jade +++ /dev/null @@ -1 +0,0 @@ -.file-content diff --git a/vispa/extensions/file/static/html/openDialog.html b/vispa/extensions/file/static/html/openDialog.html deleted file mode 100644 index 23f9e802630cb29198db9505d685523a5655c3e9..0000000000000000000000000000000000000000 --- a/vispa/extensions/file/static/html/openDialog.html +++ /dev/null @@ -1,8 +0,0 @@ - -
-
- - - -
-
\ No newline at end of file diff --git a/vispa/extensions/file/static/html/openDialog.jade b/vispa/extensions/file/static/html/openDialog.jade deleted file mode 100644 index 869bc9e010b4150259e5318cb362f26a295b943f..0000000000000000000000000000000000000000 --- a/vispa/extensions/file/static/html/openDialog.jade +++ /dev/null @@ -1,12 +0,0 @@ -div - span - div - button.btn.btn-danger(type="button", id="cancel", title="Cancel") - i.glyphicon.glyphicon-remove - span Cancel - button.btn.btn-primary(type="button", id="codeeditor", title="Open with code editor") - i.glyphicon.glyphicon-pencil - span Code Editor - button.btn.btn-primary(type="button", id="download", title="Download") - i.glyphicon.glyphicon-download - span Downlaod diff --git a/vispa/extensions/file/static/html/pathbar.html b/vispa/extensions/file/static/html/pathbar.html deleted file mode 100644 index e785fb8b030f5119f2c0aaf7d7fe7d1729411a0d..0000000000000000000000000000000000000000 --- a/vispa/extensions/file/static/html/pathbar.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
-
- -
-
-
-
diff --git a/vispa/extensions/file/static/html/pathbar.jade b/vispa/extensions/file/static/html/pathbar.jade deleted file mode 100644 index ceb95d59bac85c909a65092e4c715e4370dbc70d..0000000000000000000000000000000000000000 --- a/vispa/extensions/file/static/html/pathbar.jade +++ /dev/null @@ -1,24 +0,0 @@ -.file-path-bar - .btn-group.options - span.dropdown-toggle - i.glyphicon.glyphicon-menu-hamburger - .btn-group.path-bar-icon.bookmark-dropdown - span.dropdown-toggle(data-toggle="dropdown") - i.glyphicon.glyphicon-bookmark - ul.dropdown-menu.bookmark-container(role="menu") - li.bookmark-button - a(href="#") - i.glyphicon.glyphicon-plus - | Add bookmark - li.divider - li.bookmarks.sortable - .bookmark(href="#", data-bind="bookmark") - i.bookmark-glyphicon-symbol - i(data-bind="bookmark-glyphicon") - span.bookmark-name(data-bind="bookmark-name") - i.bookmark-glyphicon-edit(title="Edit bookmark") - i.glyphicon.glyphicon-pencil - i.bookmark-glyphicon-remove(title="Remove bookmark") - i.glyphicon.glyphicon-remove - .path-list - a(href="#", data-bind="pathPart").path-bar-item diff --git a/vispa/extensions/file/static/html/setACLdialog.html b/vispa/extensions/file/static/html/setACLdialog.html deleted file mode 100644 index 39ae96cce9d48f6725ad205484aaa33f557ca1c7..0000000000000000000000000000000000000000 --- a/vispa/extensions/file/static/html/setACLdialog.html +++ /dev/null @@ -1,60 +0,0 @@ - -
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
- -
-
- -
-
-
- -
- -
-
- -
-
- -
-
-
-
- - -
\ No newline at end of file diff --git a/vispa/extensions/file/static/html/setACLdialog.jade b/vispa/extensions/file/static/html/setACLdialog.jade deleted file mode 100644 index a740df80da270ca87a7ef4d01de68661d675fba8..0000000000000000000000000000000000000000 --- a/vispa/extensions/file/static/html/setACLdialog.jade +++ /dev/null @@ -1,44 +0,0 @@ -div.form-horizontal - div.form-group - label.control-label.col-xs-2(for="type") Type: - div.col-xs-10 - select.form-control(type="select", id="type") - option user - option group - option mask - option other - div.form-group - label.control-label.col-xs-2(for="name") Name: - div.col-xs-10 - input.form-control(type="text", id="name", placeholder="Name") - div.form-group - label.control-label.col-xs-2 Rights: - div.col-xs-3 - label.checkbox-inline - input(type="checkbox", value="", id="read") - |Read - div.col-xs-3 - label.checkbox-inline - input(type="checkbox", value="", id="write") - |Write - div.col-xs-3 - label.checkbox-inline - input(type="checkbox", value="", id="execute") - |Execute - div.form-group - label.control-label.col-xs-2 Options: - div.col-xs-3 - label.checkbox-inline - input(type="checkbox", value="", id="remove") - |Remove - div.col-xs-3 - label.checkbox-inline - input(type="checkbox", value="", id="recursive") - |Recursive - div.col-xs-3 - label.checkbox-inline - input(type="checkbox", value="", id="default") - |Default -div - button.btn.btn-default(type="button", id="cancel") Cancel - button.btn.btn-primary(type="button", id="ok") Ok diff --git a/vispa/extensions/file/static/html/showACLdialog.html b/vispa/extensions/file/static/html/showACLdialog.html deleted file mode 100644 index af8f84b9193059f92dba9b2a7a9969de83f966ba..0000000000000000000000000000000000000000 --- a/vispa/extensions/file/static/html/showACLdialog.html +++ /dev/null @@ -1,21 +0,0 @@ - -
- - - - - - - - - - - - - - - - - -
TypeNameRightsDefault
-
\ No newline at end of file diff --git a/vispa/extensions/file/static/html/showACLdialog.jade b/vispa/extensions/file/static/html/showACLdialog.jade deleted file mode 100644 index 58b4bd2fb2cf05a0cbc1b2f4b8aa29613020cb20..0000000000000000000000000000000000000000 --- a/vispa/extensions/file/static/html/showACLdialog.jade +++ /dev/null @@ -1,14 +0,0 @@ -div - table.table.table-condensed.table-hover - thead - tr - th Type - th Name - th Rights - th Default - tbody - tr - td(data-bind="type") - td(data-bind="name") - td(data-bind="rights") - td(data-bind="default") diff --git a/vispa/extensions/file/static/html/symbol.html b/vispa/extensions/file/static/html/symbol.html deleted file mode 100644 index 4991dc3546b470bfc4f2d01316b4d35d967253ba..0000000000000000000000000000000000000000 --- a/vispa/extensions/file/static/html/symbol.html +++ /dev/null @@ -1,15 +0,0 @@ - -
-
-

- -

 

-

-
-
-
-

-
-
\ No newline at end of file diff --git a/vispa/extensions/file/static/html/symbol.jade b/vispa/extensions/file/static/html/symbol.jade deleted file mode 100644 index f27f2feb5398bec7cee4ba9956444176b2e9a9c6..0000000000000000000000000000000000000000 --- a/vispa/extensions/file/static/html/symbol.jade +++ /dev/null @@ -1,12 +0,0 @@ -.file-view-symbol.file-list.icon-tiny - .file-node(draggable="true", data-bind="data") - p.file-selection-p - label.file-selection-box - input(type="checkbox").file-selection-checkbox - span - p.file-properties - |   - //- p.symbol-icon-p - .symbol-icon-p - div(data-bind="icon") - p(data-bind="name").symbol-name diff --git a/vispa/extensions/file/static/html/table.html b/vispa/extensions/file/static/html/table.html deleted file mode 100644 index e2d505bc57c1e9014f709278096b2158ba47dcc7..0000000000000000000000000000000000000000 --- a/vispa/extensions/file/static/html/table.html +++ /dev/null @@ -1,32 +0,0 @@ - -
- -
-
- -
-
-
Name
- - - -
- -
-
-
-
-
-
i
- - - - - -
-
-
\ No newline at end of file diff --git a/vispa/extensions/file/static/html/table.jade b/vispa/extensions/file/static/html/table.jade deleted file mode 100755 index f5531166bddcc74c7ab9d317f63fbb601bc5d86b..0000000000000000000000000000000000000000 --- a/vispa/extensions/file/static/html/table.jade +++ /dev/null @@ -1,48 +0,0 @@ -.file-view-table - // header of table - .file-table-head - .select - input(type="checkbox").select-all - .icon - .name Name - i.glyphicon.glyphicon-sort-by-alphabet - .size.hidden-sm.hidden-xs Size - i.glyphicon.glyphicon-sort - .time.hidden-xs Modified - i.glyphicon.glyphicon-sort - // .options - // file list - .file-list - .node.file-node(draggable="true", data-bind="data") - .select - span.file-selection-p.input - input(type="checkbox").file-selection-checkbox - .icon - span(data-bind="icon") - .name - i.vhidden i - span.completename(data-bind="name") - span.wrapper - span.flex - span.root(data-bind="root") - span.ext(data-bind="ext") - .edit-tools.hidden-xs - a.edit-rename(href="#") - i.glyphicon.glyphicon-pencil(title="Rename") - span.hidden-sm.hidden-xs Rename - a.edit-download(href="#") - i.glyphicon.glyphicon-download(title="Download") - span.hidden-sm.hidden-xs Download - // a.edit-share(href="#") - // i.glyphicon.glyphicon-link(title="Share") - // span.hidden-sm.hidden-xs Share - a.edit-remove(href="#") - i.glyphicon.glyphicon-remove(title="Remove") - span.hidden-sm.hidden-xs Remove - .size.hidden-sm.hidden-xs - span(data-bind="size") - span(data-bind="sizeSuffix") - .time.hidden-xs - span(data-bind="mtime") - // .file-properties.options - // .glyphicon.glyphicon-cog \ No newline at end of file diff --git a/vispa/extensions/file/static/html/uploadProgressbar.html b/vispa/extensions/file/static/html/uploadProgressbar.html deleted file mode 100644 index 147a44a54bc05f1480e5be0c41b315dbf49655cf..0000000000000000000000000000000000000000 --- a/vispa/extensions/file/static/html/uploadProgressbar.html +++ /dev/null @@ -1,8 +0,0 @@ - -
-
-
-
-
0%
-
-
abort
\ No newline at end of file diff --git a/vispa/extensions/file/static/html/uploadProgressbar.jade b/vispa/extensions/file/static/html/uploadProgressbar.jade deleted file mode 100644 index 4f9496d0f82c6df1039d9cfb29ee8e463345b17f..0000000000000000000000000000000000000000 --- a/vispa/extensions/file/static/html/uploadProgressbar.jade +++ /dev/null @@ -1,10 +0,0 @@ -.progress-row - span - .progress-title - .fa.fa-remove - span - .progress - .progress-bar.progress-bar-primary.progress-bar-striped.active(role="progressbar", aria-valuenow="0", aria-valuemin="0", aria-valuemax="100" style="width: 0%;") 0% - .btn.btn-xs.btn-danger - i.fa.fa-stop - | abort diff --git a/vispa/extensions/file/static/img/c.png b/vispa/extensions/file/static/img/c.png deleted file mode 100644 index c1a9ea2b1014077dfe25acc877843f5756b40c18..0000000000000000000000000000000000000000 Binary files a/vispa/extensions/file/static/img/c.png and /dev/null differ diff --git a/vispa/extensions/file/static/img/cc.png b/vispa/extensions/file/static/img/cc.png deleted file mode 100644 index 46953946ffc90730ab4b69be2d6d63de4ddf2b63..0000000000000000000000000000000000000000 Binary files a/vispa/extensions/file/static/img/cc.png and /dev/null differ diff --git a/vispa/extensions/file/static/img/cpp.png b/vispa/extensions/file/static/img/cpp.png deleted file mode 100644 index b5dbaf9207e75498c7dd00f1432a61828d638b67..0000000000000000000000000000000000000000 Binary files a/vispa/extensions/file/static/img/cpp.png and /dev/null differ diff --git a/vispa/extensions/file/static/img/default.png b/vispa/extensions/file/static/img/default.png deleted file mode 100644 index d1a943c4a56906b07c41fb37b42d683308c65cca..0000000000000000000000000000000000000000 Binary files a/vispa/extensions/file/static/img/default.png and /dev/null differ diff --git a/vispa/extensions/file/static/img/document-open.png b/vispa/extensions/file/static/img/document-open.png deleted file mode 100644 index f35f2583540678b7a544d9175245096082f302af..0000000000000000000000000000000000000000 Binary files a/vispa/extensions/file/static/img/document-open.png and /dev/null differ diff --git a/vispa/extensions/file/static/img/edit-cut.png b/vispa/extensions/file/static/img/edit-cut.png deleted file mode 100644 index 217663b19c426af17532b2a6c49c5e8bd119911a..0000000000000000000000000000000000000000 Binary files a/vispa/extensions/file/static/img/edit-cut.png and /dev/null differ diff --git a/vispa/extensions/file/static/img/edit-delete.png b/vispa/extensions/file/static/img/edit-delete.png deleted file mode 100644 index 9becb3e2f3346b028b6349ccbd3d1d0c633b2d06..0000000000000000000000000000000000000000 Binary files a/vispa/extensions/file/static/img/edit-delete.png and /dev/null differ diff --git a/vispa/extensions/file/static/img/edit-paste.png b/vispa/extensions/file/static/img/edit-paste.png deleted file mode 100644 index dd429ced625603273671b08c983a1c31c8207649..0000000000000000000000000000000000000000 Binary files a/vispa/extensions/file/static/img/edit-paste.png and /dev/null differ diff --git a/vispa/extensions/file/static/img/folder-new.png b/vispa/extensions/file/static/img/folder-new.png deleted file mode 100644 index fcd15c018493cecd0498daa8d0f2e1cf3f4126e3..0000000000000000000000000000000000000000 Binary files a/vispa/extensions/file/static/img/folder-new.png and /dev/null differ diff --git a/vispa/extensions/file/static/img/folder.png b/vispa/extensions/file/static/img/folder.png deleted file mode 100644 index 17f1500964a0e083c2d1c5287b72cd68b1b37131..0000000000000000000000000000000000000000 Binary files a/vispa/extensions/file/static/img/folder.png and /dev/null differ diff --git a/vispa/extensions/file/static/img/format-text-italic.png b/vispa/extensions/file/static/img/format-text-italic.png deleted file mode 100644 index 87ed6f9f6e7b93dcbe0a9f5df0c1a05d963179c9..0000000000000000000000000000000000000000 Binary files a/vispa/extensions/file/static/img/format-text-italic.png and /dev/null differ diff --git a/vispa/extensions/file/static/img/h.png b/vispa/extensions/file/static/img/h.png deleted file mode 100644 index 0fd3c989e13f4163962a83ca6031a012cb481dea..0000000000000000000000000000000000000000 Binary files a/vispa/extensions/file/static/img/h.png and /dev/null differ diff --git a/vispa/extensions/file/static/img/jpeg.png b/vispa/extensions/file/static/img/jpeg.png deleted file mode 100644 index 112284145ac53d0f4232a7103b58b32129145cb7..0000000000000000000000000000000000000000 Binary files a/vispa/extensions/file/static/img/jpeg.png and /dev/null differ diff --git a/vispa/extensions/file/static/img/jpg.png b/vispa/extensions/file/static/img/jpg.png deleted file mode 100644 index 67aae057da24c206c1ccd42272c223b6951c2e21..0000000000000000000000000000000000000000 Binary files a/vispa/extensions/file/static/img/jpg.png and /dev/null differ diff --git a/vispa/extensions/file/static/img/pdf.png b/vispa/extensions/file/static/img/pdf.png deleted file mode 100644 index d4276f572488d437a0a8934fd8043e09b6aec06f..0000000000000000000000000000000000000000 Binary files a/vispa/extensions/file/static/img/pdf.png and /dev/null differ diff --git a/vispa/extensions/file/static/img/png.png b/vispa/extensions/file/static/img/png.png deleted file mode 100644 index e3719c24630b401fdffb6d482d78e1e9aa06a909..0000000000000000000000000000000000000000 Binary files a/vispa/extensions/file/static/img/png.png and /dev/null differ diff --git a/vispa/extensions/file/static/img/pxlio.png b/vispa/extensions/file/static/img/pxlio.png deleted file mode 100644 index 3d0594a77dcb7beefe010113c2b2b9c9b928d650..0000000000000000000000000000000000000000 Binary files a/vispa/extensions/file/static/img/pxlio.png and /dev/null differ diff --git a/vispa/extensions/file/static/img/py.png b/vispa/extensions/file/static/img/py.png deleted file mode 100644 index f0de8ddfd5de822c601ee449eae025ed3c2a8485..0000000000000000000000000000000000000000 Binary files a/vispa/extensions/file/static/img/py.png and /dev/null differ diff --git a/vispa/extensions/file/static/img/pyc.png b/vispa/extensions/file/static/img/pyc.png deleted file mode 100644 index e853b241300533fe389895e039cc426c8832e617..0000000000000000000000000000000000000000 Binary files a/vispa/extensions/file/static/img/pyc.png and /dev/null differ diff --git a/vispa/extensions/file/static/img/root.png b/vispa/extensions/file/static/img/root.png deleted file mode 100644 index 6cf56a0dd41192fbbdc7eac906a89888363c4433..0000000000000000000000000000000000000000 Binary files a/vispa/extensions/file/static/img/root.png and /dev/null differ diff --git a/vispa/extensions/file/static/img/sort-asc.gif b/vispa/extensions/file/static/img/sort-asc.gif deleted file mode 100644 index 730533fa3570dd4805cec70fe2630e85a2e1b863..0000000000000000000000000000000000000000 Binary files a/vispa/extensions/file/static/img/sort-asc.gif and /dev/null differ diff --git a/vispa/extensions/file/static/img/sort-desc.gif b/vispa/extensions/file/static/img/sort-desc.gif deleted file mode 100644 index 4c3b61020bb4d707e41e94fbf2b6ebe5d0c87f6b..0000000000000000000000000000000000000000 Binary files a/vispa/extensions/file/static/img/sort-desc.gif and /dev/null differ diff --git a/vispa/extensions/file/static/img/txt.png b/vispa/extensions/file/static/img/txt.png deleted file mode 100644 index ab595b769786a57de527277a5b1f065555b3068d..0000000000000000000000000000000000000000 Binary files a/vispa/extensions/file/static/img/txt.png and /dev/null differ diff --git a/vispa/extensions/file/static/img/unsorted.gif b/vispa/extensions/file/static/img/unsorted.gif deleted file mode 100644 index 5647f658329230706ec09c5e3c24fae39d225a04..0000000000000000000000000000000000000000 Binary files a/vispa/extensions/file/static/img/unsorted.gif and /dev/null differ diff --git a/vispa/extensions/file/static/img/upbutton.png b/vispa/extensions/file/static/img/upbutton.png deleted file mode 100644 index 7ac40c6550bc95442e36fab939b61a00fafce9f1..0000000000000000000000000000000000000000 Binary files a/vispa/extensions/file/static/img/upbutton.png and /dev/null differ diff --git a/vispa/extensions/file/static/img/user-home.png b/vispa/extensions/file/static/img/user-home.png deleted file mode 100644 index a29bd69f68067c1c763cb596109c3cff0f5ad93d..0000000000000000000000000000000000000000 Binary files a/vispa/extensions/file/static/img/user-home.png and /dev/null differ diff --git a/vispa/extensions/file/static/img/vorlage.png b/vispa/extensions/file/static/img/vorlage.png deleted file mode 100644 index 78fa32d001626b231dc7924babc4708a9929bf2b..0000000000000000000000000000000000000000 Binary files a/vispa/extensions/file/static/img/vorlage.png and /dev/null differ diff --git a/vispa/extensions/file/static/img/white_minus.png b/vispa/extensions/file/static/img/white_minus.png deleted file mode 100644 index 739e52779550e8bca7d4e885cbea1f7648ccc032..0000000000000000000000000000000000000000 Binary files a/vispa/extensions/file/static/img/white_minus.png and /dev/null differ diff --git a/vispa/extensions/file/static/img/white_plus.png b/vispa/extensions/file/static/img/white_plus.png deleted file mode 100644 index 284bb3c4b66ed19eb1f008b5ff1134714c26e441..0000000000000000000000000000000000000000 Binary files a/vispa/extensions/file/static/img/white_plus.png and /dev/null differ diff --git a/vispa/extensions/file/static/img/xml.png b/vispa/extensions/file/static/img/xml.png deleted file mode 100644 index 83eb1311b1b2891519655f230531458a73437fed..0000000000000000000000000000000000000000 Binary files a/vispa/extensions/file/static/img/xml.png and /dev/null differ diff --git a/vispa/extensions/file/static/img/zip.png b/vispa/extensions/file/static/img/zip.png deleted file mode 100644 index dab247ed9e5fdd6b9cef501cd74185cd8c0eddaf..0000000000000000000000000000000000000000 Binary files a/vispa/extensions/file/static/img/zip.png and /dev/null differ diff --git a/vispa/extensions/file/static/js/base/actions.js b/vispa/extensions/file/static/js/base/actions.js deleted file mode 100755 index 05d1489dff04a361029b7d76c880a93b49d3edd0..0000000000000000000000000000000000000000 --- a/vispa/extensions/file/static/js/base/actions.js +++ /dev/null @@ -1,623 +0,0 @@ -define([ - "jquery", - "jclass", - "vispa/vue/menu", - "text!../../html/openDialog.html", - "text!../../html/infodialog.html", - "text!../../html/infodialogmore.html", - "text!../../html/showACLdialog.html", - "text!../../html/setACLdialog.html" -], function ( - $, - JClass, - Menu, - openTmpl, - infoTmpl, - moreTmpl, - showACLdialogTmpl, - setACLdialogTmpl -) { - - var FileBaseActions = JClass._extend({ - init: function (FileBase) { - this.FileBase = FileBase; - this.selections = FileBase.selections; - this.removebool = false; - this.entries = []; - }, - - // Reimplemented by the actions of the filebrowser / -selector - openFolder: function (data) { - // Make the function callable with a string or a selection. - // In this case it is possible because the selection contains only one element. - var newPath = ""; - if (typeof data == "string") { - newPath = this.FileBase.helper.abspath(data); - } else { - newPath = Object.keys(this.FileBase.selections.entries)[0]; - } - newPath = this.FileBase.selections.entries[newPath] - .data() - .data.realpath || newPath; - this.FileBase.instance.setLoading(true, 0); - this.FileBase.instance.state.set("path", newPath); - }, - - openFolderInNewTab: function (data) { - var newPath = ""; - if (typeof data == "string") { - newPath = this.FileBase.helper.abspath(data); - } else { - newPath = Object.keys(this.FileBase.selections.entries)[0]; - } - newPath = this.FileBase.selections.entries[newPath] - .data() - .data.realpath || newPath; - this.FileBase.instance.spawnInstance("file", "FileBrowser", { - "path": newPath - }); - }, - - openFile: function (data) { - var self = this; - var path = null; - - if (typeof data == "string") { - path = this.FileBase.helper.abspath(data); - } else { - $.each(Object.keys(this.FileBase.selections.entries), function () { - // file is equal to this - self.openFile(String(this)); - }); - return; - } - - var selectionElem = this.FileBase.selections.entries[path]; - if (selectionElem && selectionElem.data().data.symlink) { - path = this.FileBase.selections.entries[path].data().data.realpath; - } - - vispa.fileHandler.runDefaultHandler(path, this.FileBase.instance); - }, - - _openWithCodeEditor: function (path) { - this.FileBase.instance.spawnInstance("codeeditor", "CodeEditor", { - path: path - }); - }, - - rename: function () { - var self = this; - var fullpaths = Object.keys(this.FileBase.selections.entries); - $.each(fullpaths, function () { - var fullpath = this; - // get the filename - var name = self.FileBase.helper.filenameFromPath(fullpath); - // var name = fullpath.replace(self.FileBase.instance.state.get("path"), "").replace("/", ""); - // Open a promt with callback function executing the ajax command - // the default value is given at the end of the prompt command - // bootbox.prompt("Enter a new name", - self.FileBase.instance.prompt("Enter a new name", // -> Does not support default argument - function (newName) { - if (newName == name || newName === null || newName === "" || newName === - undefined) { - return; - } - - self._rename(self.FileBase.instance.state.get("path"), name, newName); - }, { - defaultValue: name - }); - }); - }, - - _rename: function (path, name, newName) { - var self = this; - if (newName === null || newName === "" || newName === undefined) { - newName = name; - } - if (newName == name) { - return true; - } - var dfd = self.FileBase.instance.POST("/ajax/fs/rename", { - "path": path, - "name": name, - "new_name": newName - }, function (err) { - if (err) return; - // rename triggers 2 events, let's try to wait for both - self.FileBase.updateView(400); - }); - return true; - }, - - copy: function () { - $(".file-node").css("opacity", "1.0"); - this.removebool = false; - this.entries = Object.keys(this.FileBase.selections.entries); - $.cookie("vispaFile", JSON.stringify({ - "fileEntries": this.entries, - "fileRemove": this.removebool - }), { - path: "/" - }); - }, - - cut: function () { - $(".file-node").css("opacity", "1.0"); - this.removebool = true; - this.entries = Object.keys(this.FileBase.selections.entries); - $.cookie("vispaFile", JSON.stringify({ - "fileEntries": this.entries, - "fileRemove": this.removebool - }), { - path: "/" - }); - for (var i = 0; i < this.entries.length; i++) { - $(this.FileBase.selections.entries[this.entries[i]]).css("opacity", "0.4"); - } - }, - - paste: function () { - var self = this; - var cookie = $.cookie("vispaFile"); - if (cookie === undefined || cookie === null) { - return; - } - - var src = JSON.parse(cookie); - var paths = src.fileEntries; - var cut = src.fileRemove; - - var dfd = self.FileBase.instance.POST("/ajax/fs/paste", { - "path": this.FileBase.instance.state.get("path"), - "paths": JSON.stringify(paths), - "cut": cut - }, function () { - if (cut) { - self.removebool = false; - // delete cookie - $.removeCookie("vispaFile", { - path: "/" - }); - } - //self.FileBase.updateView(); - this.entries = []; - }); - }, - - move: function (source, destination) { - var self = this; - self.FileBase.instance.POST("/ajax/fs/move", { - "source": JSON.stringify(source), - "destination": JSON.stringify(destination) - }); - }, - - remove: function () { - var self = this; - this.entries = Object.keys(this.FileBase.selections.entries); - var confirmDialog = this.FileBase.instance.prefs.get("ShowDeleteDialog"); - if (confirmDialog) { - this.FileBase.instance.confirm( - "Do you really want to delete " + this.entries.length + " items?", - function (result) { - if (result === true) { - self._remove(); - } - } - ); - } else { - self._remove(); - } - }, - - _remove: function () { - var self = this; - var dfd = self.FileBase.instance.POST("/ajax/fs/remove", { - "path": JSON.stringify(self.entries) - }, function (err) { - //self.FileBase.updateView(); - self.entries = []; - self.FileBase.selections.entries = {}; - }); - }, - - download: function () { - var self = this; - var path = Object.keys(this.FileBase.selections.entries); - - function _download(path, deleteOnComplete) { - $("