Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
F
freeswitch
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
张华
freeswitch
Commits
c1736915
提交
c1736915
authored
10月 02, 2015
作者:
Ken Rice
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
FS-8288 About Screen and Help link
上级
ed9e9c62
隐藏空白字符变更
内嵌
并排
正在显示
11 个修改的文件
包含
90 行增加
和
2 行删除
+90
-2
.gitignore
html5/verto/verto_communicator/.gitignore
+1
-0
Gruntfile.js
html5/verto/verto_communicator/Gruntfile.js
+28
-0
package.json
html5/verto/verto_communicator/package.json
+2
-0
contributors.txt
html5/verto/verto_communicator/src/contributors.txt
+2
-1
fs_logo_small.png
html5/verto/verto_communicator/src/img/fs_logo_small.png
+0
-0
vc_logo.png
html5/verto/verto_communicator/src/img/vc_logo.png
+0
-0
index.html
html5/verto/verto_communicator/src/index.html
+1
-0
about.html
html5/verto/verto_communicator/src/partials/about.html
+22
-0
menu.html
html5/verto/verto_communicator/src/partials/menu.html
+7
-1
AboutController.source.js
...rc/vertoControllers/controllers/AboutController.source.js
+23
-0
MainController.js
...icator/src/vertoControllers/controllers/MainController.js
+4
-0
没有找到文件。
html5/verto/verto_communicator/.gitignore
浏览文件 @
c1736915
...
...
@@ -2,3 +2,4 @@ dist/
.tmp/
bower_components/
node_modules/
src/vertoControllers/controllers/AboutController.js
html5/verto/verto_communicator/Gruntfile.js
浏览文件 @
c1736915
...
...
@@ -63,6 +63,26 @@ module.exports = function (grunt) {
}
},
revision
:
{
options
:
{
property
:
'meta.revision'
,
ref
:
'HEAD'
,
short
:
true
}
},
preprocess
:
{
options
:
{
context
:
{
revision
:
'<%= meta.revision %>'
}
},
js
:
{
src
:
'src/vertoControllers/controllers/AboutController.source.js'
,
dest
:
'src/vertoControllers/controllers/AboutController.js'
},
},
postcss
:
{
options
:
{
map
:
true
,
...
...
@@ -285,6 +305,7 @@ module.exports = function (grunt) {
'*.html'
,
'*.json'
,
'partials/**/*.html'
,
'img/*.png'
,
'images/{,*/}*.{webp}'
,
'css/fonts/{,*/}*.*'
,
'sounds/*.*'
...
...
@@ -326,6 +347,9 @@ module.exports = function (grunt) {
},
});
grunt
.
loadNpmTasks
(
'grunt-git-revision'
);
grunt
.
loadNpmTasks
(
'grunt-preprocess'
);
grunt
.
registerTask
(
'serve'
,
function
(
target
)
{
var
tasks
=
[
'wiredep'
,
...
...
@@ -338,9 +362,13 @@ module.exports = function (grunt) {
grunt
.
task
.
run
(
tasks
);
});
grunt
.
registerTask
(
'default'
,
[
'build'
]);
grunt
.
registerTask
(
'build'
,
[
'clean:dist'
,
'revision'
,
'preprocess'
,
'wiredep'
,
'useminPrepare'
,
'concurrent:dist'
,
...
...
html5/verto/verto_communicator/package.json
浏览文件 @
c1736915
...
...
@@ -19,6 +19,8 @@
"grunt-contrib-jshint"
:
"^0.11.0"
,
"grunt-contrib-uglify"
:
"^0.7.0"
,
"grunt-contrib-watch"
:
"latest"
,
"grunt-preprocess"
:
"latest"
,
"grunt-git-revision"
:
"latest"
,
"grunt-filerev"
:
"^2.1.2"
,
"grunt-newer"
:
"^1.1.0"
,
"grunt-ng-annotate"
:
"^0.9.2"
,
...
...
html5/verto/verto_communicator/src/contributors.txt
浏览文件 @
c1736915
...
...
@@ -3,5 +3,6 @@
"Ítalo Rossi <italo@evolux.net.br>",
"Stefan Yohansson <stefan@evolux.net.br>",
"João Mesquita <jmesquita@indicium.com.ar>",
"Ken Rice <krice@freeswitch.org>"
"Ken Rice <krice@freeswitch.org>",
"Brian West <brian@freeswitch.org>"
]
html5/verto/verto_communicator/src/img/fs_logo_small.png
0 → 100644
浏览文件 @
c1736915
7.6 KB
html5/verto/verto_communicator/src/img/vc_logo.png
0 → 100644
浏览文件 @
c1736915
25.5 KB
html5/verto/verto_communicator/src/index.html
浏览文件 @
c1736915
...
...
@@ -102,6 +102,7 @@
<script
type=
"text/javascript"
src=
"src/vertoControllers/controllers/BrowserUpgradeController.js"
></script>
<script
type=
"text/javascript"
src=
"src/vertoControllers/controllers/ChatController.js"
></script>
<script
type=
"text/javascript"
src=
"src/vertoControllers/controllers/ContributorsController.js"
></script>
<script
type=
"text/javascript"
src=
"src/vertoControllers/controllers/AboutController.js"
></script>
<script
type=
"text/javascript"
src=
"src/vertoControllers/controllers/DialPadController.js"
></script>
<script
type=
"text/javascript"
src=
"src/vertoControllers/controllers/InCallController.js"
></script>
<script
type=
"text/javascript"
src=
"src/vertoControllers/controllers/LoginController.js"
></script>
...
...
html5/verto/verto_communicator/src/partials/about.html
0 → 100644
浏览文件 @
c1736915
<div
class=
"modal-header"
>
</div>
<div
class=
"modal-body"
>
<ul
class=
"contributors"
>
<li>
<div
class=
"clearfix"
><img
src=
"img/vc_logo.png"
></div>
</li>
<li>
<div
class=
"clearfix"
>
Version: 0.1.0
</div>
</li>
<li>
<div
class=
"clearfix"
>
Git Rev: {{ githash }}
</div>
</li>
<li>
<div
class=
"clearfix"
>
Powered By:
<a
href=
"https://freeswitch.org/"
target=
"_blank"
><img
src=
"img/fs_logo_small.png"
height=
"30"
></a></div>
</li>
</ul>
</div>
<div
class=
"modal-footer"
>
</div>
html5/verto/verto_communicator/src/partials/menu.html
浏览文件 @
c1736915
...
...
@@ -58,9 +58,15 @@
</ul>
</li>
<li
class=
"navbar-item-icon"
>
<a
href=
""
ng-click=
"showContributors()
"
>
<a
href=
""
class=
"dropdown-toggle"
data-toggle=
"dropdown"
role=
"button"
aria-expanded=
"false
"
>
<i
class=
"mdi-action-loyalty"
></i>
<span
class=
"caret"
></span>
</a>
<ul
class=
"dropdown-menu"
role=
"menu"
>
<li><a
href=
""
ng-click=
"showAbout()"
>
About
</a></li>
<li><a
href=
""
ng-click=
"showContributors()"
>
Contributors
</a></li>
<li><a
href=
"https://freeswitch.org/confluence/x/MQCT"
target=
"_blank"
>
Help
</a></li>
</ul>
</li>
</ul>
...
...
html5/verto/verto_communicator/src/vertoControllers/controllers/AboutController.source.js
0 → 100644
浏览文件 @
c1736915
(
function
()
{
'use strict'
;
angular
.
module
(
'vertoControllers'
)
.
controller
(
'AboutController'
,
[
'$scope'
,
'$http'
,
'toastr'
,
function
(
$scope
,
$http
,
toastr
)
{
var
githash
=
'/* @echo revision */'
||
'something is not right'
;
$scope
.
githash
=
githash
;
/* leave this here for later, but its not needed right now
$http.get(window.location.pathname + '/contributors.txt')
.success(function(data) {
})
.error(function() {
toastr.error('contributors not found.');
});
*/
}
]);
})();
html5/verto/verto_communicator/src/vertoControllers/controllers/MainController.js
浏览文件 @
c1736915
...
...
@@ -152,6 +152,10 @@
};
$scope
.
showAbout
=
function
()
{
$scope
.
openModal
(
'partials/about.html'
,
'AboutController'
);
};
$scope
.
showContributors
=
function
()
{
$scope
.
openModal
(
'partials/contributors.html'
,
'ContributorsController'
);
};
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论