Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
mycard
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
syntax_j
mycard
Commits
f706d542
Commit
f706d542
authored
Sep 08, 2016
by
神楽坂玲奈
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
install modal
parent
b855fb64
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
38 additions
and
11 deletions
+38
-11
app/app-detail.component.html
app/app-detail.component.html
+14
-7
app/app-detail.component.ts
app/app-detail.component.ts
+1
-0
app/lobby.component.html
app/lobby.component.html
+1
-1
app/lobby.component.ts
app/lobby.component.ts
+6
-2
apps.json
apps.json
+16
-1
No files found.
app/app-detail.component.html
View file @
f706d542
...
...
@@ -78,10 +78,16 @@
</div>
<div
class=
"modal-body"
>
<p>
即将开始安装 {{name}}
</p>
<!-- 安装位置
只在 windows 下可选
-->
<!-- 安装位置
选择只在 windows 下存在, 为了方便调试暂时不加ngif
-->
<h4>
安装位置
</h4>
<div
class=
"form-group"
>
<div
class=
"input-group"
>
<input
type=
"text"
class=
"form-control"
placeholder=
"安装位置"
>
<span
class=
"input-group-btn"
>
<button
class=
"btn btn-secondary"
type=
"button"
>
浏览
</button>
</span>
</div>
</div>
<h4>
快捷方式
</h4>
<div
class=
"checkbox"
>
<label>
...
...
@@ -96,12 +102,13 @@
</label>
</div>
<h4>
附加内容
</h4>
<
!--<div ng-repeat="(id, ref) in references" class="checkbox
">
<
div
*ngFor=
"let mod of currentApp.references[platform]
"
>
<label>
<input type="checkbox" (ngModel)="ref.install" (ngModel)="ref.disabled">
{{apps[id].name}}
<input
type=
"checkbox"
(ngModel)=
"__todo__"
[disabled]=
"['dependency', 'runtime'].includes(mod.type)"
>
{{searchApp(mod.id).name[searchApp(mod.id).locales[0]]}}
</label>
</div>
-->
</div>
</div>
<div
class=
"modal-footer"
>
<button
type=
"button"
class=
"btn btn-secondary"
data-dismiss=
"modal"
>
取消
</button>
...
...
app/app-detail.component.ts
View file @
f706d542
...
...
@@ -12,6 +12,7 @@ declare var process;
styleUrls
:
[
'
app/app-detail.component.css
'
],
})
export
class
AppDetailComponent
{
platform
=
process
.
platform
;
constructor
(
private
appsService
:
AppsService
,
private
appService
:
AppService
,
private
routingService
:
RoutingService
)
{
}
...
...
app/lobby.component.html
View file @
f706d542
<!-- Begin page content -->
<div
id=
"main"
>
<apps></apps>
<app-detail></app-detail>
<app-detail
*ngIf=
"routingService.app"
></app-detail>
<roster></roster>
</div>
<webview
id=
"candy"
src=
"https://dev.openflex.net/candy"
></webview>
\ No newline at end of file
app/lobby.component.ts
View file @
f706d542
/**
* Created by zh99998 on 16/9/2.
*/
import
{
Component
}
from
'
@angular/core
'
;
import
{
Component
}
from
'
@angular/core
'
;
import
{
RoutingService
}
from
"
./routing.service
"
;
@
Component
({
selector
:
'
lobby
'
,
templateUrl
:
'
app/lobby.component.html
'
,
styleUrls
:
[
'
app/lobby.component.css
'
],
})
export
class
LobbyComponent
{
}
export
class
LobbyComponent
{
constructor
(
private
routingService
:
RoutingService
)
{
}
}
apps.json
View file @
f706d542
...
...
@@ -20,7 +20,22 @@
}
}
},
"references"
:
{},
"references"
:
{
"darwin"
:
[
{
"id"
:
"th105"
,
"type"
:
"optional"
},
{
"id"
:
"th12_mod1"
,
"type"
:
"language"
},
{
"id"
:
"th12_mod2"
,
"type"
:
"runtime"
}
]
},
"locales"
:
[
"zh-CN"
],
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment