基于DeployHQ2.0 Beta制作
使用了自制的简单页面拼接工具,便于进行原子化的页面组装,提高效果预览的效率,降低修改成本。
projects/deepphpoop/depoloyments.js.html
,供deployments_preview.html和deployments_executing.html调用projects/deepphpoop/resposity/commit_select.html
, 供deployments_new.html调用projects/deepphpoop/resposity/latest_revision.html
, 供deployments_new.html调用projects/deepphpoop/resposity/caching.html
, 供projects_caching_success.html调用projects/deepphpoop/deployments.rss
, 供deployments_index_list.html和公用HEAD区调用server_groups
,供servers_new.html和servers_edit.html调用projects/deepphpoop/server_groups/index_empty.html
,无初始数据projects/deepphpoop/server_groups/index.html
,有初始数据projects/deepphpoop/server_groups/edit.html
,编辑server_groups的模拟数据projects/deepphpoop/server_groups/new_reponse.json
,添加server_groups时调用,未明用途servers
,也是供servers_new.html和servers_edit.html调用projects/deepphpoop/servers/new.html
,ftp类型的服务器projects/deepphpoop/servers/new_ssh.html
,ssh类型的服务器deployments_poll.json
,供deployments_executing.html调用commands_line_response.html
,供commands_index_list.html调用remote/user_data.js
,被remote.js脚本调用,获取用户详细信息
- remote.js, bar.css, 页面最底部的信息条
- 跟remote.js有关的资源,icons等删除
- 去除功能跳转见在url里出现的类似token的信息,同时参考deployments_exectued在js里的token变化时show full log不工作的因素
- 功能和页面间的跳转衔接工作正常
- 传递链接时,链接里类似GUID的字符串去除
- 理解deployhq的JS机制
- common_foot_js.ctp里,(App.Projects || App.Base)字符串中,Projects根据功能不同自动替换