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
b855fb64
Commit
b855fb64
authored
Sep 08, 2016
by
神楽坂玲奈
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
install modal
parent
1d9e9193
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
7 deletions
+36
-7
app/app-detail.component.html
app/app-detail.component.html
+36
-7
No files found.
app/app-detail.component.html
View file @
b855fb64
...
...
@@ -54,17 +54,22 @@
<th
scope=
"row"
>
{{i + 1}}
</th>
<td>
{{searchApp(mod.id).name[searchApp(mod.id).locales[0]]}}
</td>
<td>
{{mod.type}}
</td>
<td
*ngIf=
"checkInstall(mod.id)"
><button
type=
"button"
class=
"btn btn-danger btn-sm"
>
卸载
</button></td>
<td
*ngIf=
"!checkInstall(mod.id)"
><button
(click)=
"install()"
type=
"button"
class=
"btn btn-primary btn-sm"
>
安装
</button></td>
<td
*ngIf=
"checkInstall(mod.id)"
>
<button
type=
"button"
class=
"btn btn-danger btn-sm"
>
卸载
</button>
</td>
<td
*ngIf=
"!checkInstall(mod.id)"
>
<button
(click)=
"install()"
type=
"button"
class=
"btn btn-primary btn-sm"
>
安装
</button>
</td>
</tr>
</tbody>
</table>
</div>
<!-- Modal -->
<div
class=
"modal fade"
id=
"install-modal"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal fade"
id=
"install-modal"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal-dialog"
role=
"document"
>
<
div
class=
"modal-content
"
>
<
form
class=
"modal-content"
(ngSubmit)=
"install()
"
>
<div
class=
"modal-header"
>
<button
type=
"button"
class=
"close"
data-dismiss=
"modal"
aria-label=
"Close"
>
<span
aria-hidden=
"true"
>
×
</span>
...
...
@@ -72,12 +77,36 @@
<h4
class=
"modal-title"
id=
"myModalLabel"
>
安装 {{name}}
</h4>
</div>
<div
class=
"modal-body"
>
...
<p>
即将开始安装 {{name}}
</p>
<!-- 安装位置只在 windows 下可选 -->
<h4>
安装位置
</h4>
<h4>
快捷方式
</h4>
<div
class=
"checkbox"
>
<label>
<input
type=
"checkbox"
(ngModel)=
"shortcut.application"
>
创建应用程序快捷方式
</label>
</div>
<div
class=
"checkbox"
>
<label>
<input
type=
"checkbox"
(ngModel)=
"shortcut.desktop"
>
创建桌面快捷方式
</label>
</div>
<h4>
附加内容
</h4>
<!--<div ng-repeat="(id, ref) in references" class="checkbox">
<label>
<input type="checkbox" (ngModel)="ref.install" (ngModel)="ref.disabled">
{{apps[id].name}}
</label>
</div>-->
</div>
<div
class=
"modal-footer"
>
<button
type=
"button"
class=
"btn btn-secondary"
data-dismiss=
"modal"
>
取消
</button>
<button
type=
"button"
class=
"btn btn-primary"
>
安装
</button>
</div>
</
div
>
</
form
>
</div>
</div>
\ No newline at end of file
</div>
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