images moved from dropbox to server dir

This commit is contained in:
coderaiser 2012-06-12 14:52:03 +00:00
parent 906bbb38dc
commit ddfe51c75c
4 changed files with 6 additions and 4 deletions

BIN
images/dir.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 537 B

BIN
images/txt.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 294 B

View file

@ -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;

View file

@ -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;
}