2 Star 0 Fork 0

mirrors_Unitech / Skytoop

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

Skytoop, an open source cloud desktop

I did Skytoop to learn Ajax, Web2Py and Jquery intensively.

You can check a demo version on http://www.skytoop.com

username = demo@skytoop.com
password = 123456

How to use the sources ?

Functionnalities

  • Filemanager (controllers/filemanager.py + views/filemanager)
  • Multi file upload
  • Size limitation on total file uploaded (db/db_tables.py)
  • Wallpapers can be set
  • Public/Private Skytoop
  • Widgets (static/widgets/)
  • Widget Draw (static/widgets/drawZone) (the code is ugly)
  • Widget Note (static/widgets/notes)
  • Icons
  • Ajax Search
  • Widgets position synchronisation
  • Css + Js compression (with pack.py)

Widgets

The "Parent widget" (this is not a real inheritance, todo) is located in static/widgets/widgetsGen/jquery.widgetsGen.js

To add a new widget :

Add the name (represented by his name in syncType) of the widget in

── $.fn.widgetGen.select

The parent widget has a CRUD for child widgets

── $.fn.widgetGen.save
── $.fn.widgetGen.update
── $.fn.widgetGen.remove
── $.fn.widgetGen.send

Datas you can syncronize with the server are all fields begining with the prefix sync:

 $.fn.widgetGen.defaults = {
syncType	: '',
syncX		: 0,
syncY		: 0,
syncWidth	: 0,
syncHeight	: 0,
syncData1	: '',	 
syncData2	: '',
syncData3	: '',
syncTitle	: '',
syncId		: 0
 };

For an example refer to static/widgets/notes/jquery.stickynote.js or static/widgets/widgetsGen/sample-widget.js

Files

  • JS for Desktop design are on static/desk/assets/javascript/*
  • JS for the filemanager are on static/filemanager

Controllers

controllers/
├── appadmin.py       # Appadmin
├── custom.py         # To change wallpaper and to switch on a public Skytoop
├── default.py        # Desktop main controllers
├── filemanager.py    # Filemanager
├── get_list.py       # On the index when you click on left bottom Skytoop c, get desktop list
├── icons.py          # CRUD for icons + favicon.ico grabbing
├── note_log.py       # On the index page for displaying recent changes
├── public.py	      # For search bar + public Skytoops 
├── vote_log.py	      # Vote log, for voting for features
└── widget.py         # CRUD widgets

JS/CSS Files

static/
├── color-picker           # Color picker when customizing wallpaper
├── css			   # CSS Files
├── desk		   # Main folder for JS/CSS Desktop
│   └── assets
│       ├── images
│       │   ├── gui
│       │   ├── icons
│       │   └── misc
│       ├── javascripts    # @@@ Here are the most important files for Desktop
│       ├── scroll	   # Customization of the scroll bar
│       └── stylesheets	   # CSS files
├── filemanager		   # For the filemanager
│   ├── css
│   ├── images
│   │   └── fileicons
│   ├── jquery_contextmenu
│   │   └── images
│   ├── jquery_filetree
│   │   └── images
│   └── js
├── html5
├── images
├── js
├── multifile-upload	  # For the multiple file upload
├── pres-images
├── speed-bar		  # Images for the "speed bar" at the right of desktops
├── svg
├── tmp
├── vote_log		  # For the vote log
│   ├── css
│   └── js
├── wallpapers -> ../uploads/  # to avoid downloading wallpaper each time (not very secure)
└── widgets		  # Widgets
├── drawZone	  
├── notes
│   ├── css
│   └── images
├── template
├── widgetsGen
└── winamp

License

Skytoop is under MIT license.

Copyright (c) 2011 Strzelewicz Alexandre, www.hemca.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Copyright (c) 2011 John Resig, http://jquery.com/ Demo : www.skytoop.com On Git : https://github.com/Alexandre-Strzelewicz/Skytoop

简介

暂无描述 展开 收起
JavaScript 等 5 种语言
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_Unitech/Skytoop.git
git@gitee.com:mirrors_Unitech/Skytoop.git
mirrors_Unitech
Skytoop
Skytoop
master

搜索帮助