mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
images moved from dropbox to server dir
This commit is contained in:
parent
906bbb38dc
commit
ddfe51c75c
4 changed files with 6 additions and 4 deletions
BIN
images/dir.png
Normal file
BIN
images/dir.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 537 B |
BIN
images/txt.png
Normal file
BIN
images/txt.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 294 B |
|
|
@ -244,13 +244,15 @@ CloudServer._controller=function(pReq, pRes)
|
|||
* ни о том, что это корневой
|
||||
* каталог - загружаем файлы проэкта
|
||||
*/
|
||||
console.log(lFS_s+pathname);
|
||||
if(pathname.indexOf(lFS_s)<0 &&
|
||||
pathname.indexOf(lNoJS_s)<0 &&
|
||||
pathname!=='/'){
|
||||
/* если имена файлов проекта - загружаем их*/
|
||||
/* убираем слеш и читаем файл с текущец директории*/
|
||||
lName=Path.basename(pathname);
|
||||
//lName=Path.basename(pathname);
|
||||
|
||||
/* добавляем текующий каталог к пути */
|
||||
lName='.'+pathname;
|
||||
console.log('reading '+lName);
|
||||
/* сохраняем указатель на responce и имя */
|
||||
CloudServer.Responses[lName]=pRes;
|
||||
|
|
|
|||
|
|
@ -122,13 +122,13 @@
|
|||
/* freeupex */
|
||||
.directory{
|
||||
/*list-style-image*/
|
||||
background-image:url('//dl.dropbox.com/u/74212301/mnemonia/images/icons/dir.png');
|
||||
background-image:url('images/dir.png');
|
||||
background-repeat: no-repeat;
|
||||
background-position: 0 0;
|
||||
}
|
||||
.text-file{
|
||||
/*list-style-image*/
|
||||
background-image:url('//dl.dropbox.com/u/74212301/mnemonia/images/icons/txt.png');
|
||||
background-image:url('images/txt.png');
|
||||
background-repeat: no-repeat;
|
||||
background-position: 0 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue