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
1d9e9193
Commit
1d9e9193
authored
Sep 08, 2016
by
神楽坂玲奈
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modal
parent
e549a400
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
1 deletion
+28
-1
app/app-detail.component.html
app/app-detail.component.html
+22
-1
index.html
index.html
+5
-0
package.json
package.json
+1
-0
No files found.
app/app-detail.component.html
View file @
1d9e9193
<h1>
{{name}}
</h1>
<div
*ngIf=
"!isInstalled"
>
<button
type=
"button"
class=
"btn btn-primary"
>
安装
</button>
<button
type=
"button"
class=
"btn btn-primary"
data-toggle=
"modal"
data-target=
"#install-modal"
>
安装
</button>
<button
type=
"button"
class=
"btn btn-secondary"
>
导入
</button>
<button
type=
"button"
class=
"btn btn-secondary"
>
正版代购
</button>
</div>
...
...
@@ -60,3 +60,24 @@
</tbody>
</table>
</div>
<!-- Modal -->
<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"
>
<div
class=
"modal-header"
>
<button
type=
"button"
class=
"close"
data-dismiss=
"modal"
aria-label=
"Close"
>
<span
aria-hidden=
"true"
>
×
</span>
</button>
<h4
class=
"modal-title"
id=
"myModalLabel"
>
安装 {{name}}
</h4>
</div>
<div
class=
"modal-body"
>
...
</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>
</div>
</div>
\ No newline at end of file
index.html
View file @
1d9e9193
...
...
@@ -11,6 +11,11 @@
<script
src=
"node_modules/zone.js/dist/zone.js"
></script>
<script
src=
"node_modules/reflect-metadata/Reflect.js"
></script>
<script
src=
"node_modules/systemjs/dist/system.src.js"
></script>
<script>
delete
module
.
exports
</script>
<script
src=
"node_modules/jquery/dist/jquery.min.js"
></script>
<script
src=
"node_modules/tether/dist/js/tether.min.js"
></script>
<script
src=
"node_modules/bootstrap/dist/js/bootstrap.min.js"
></script>
<!-- 2. Configure SystemJS -->
<script
src=
"systemjs.config.js"
></script>
<script>
...
...
package.json
View file @
1d9e9193
...
...
@@ -37,6 +37,7 @@
"
reflect-metadata
"
:
"
latest
"
,
"
rxjs
"
:
"
latest
"
,
"
systemjs
"
:
"
latest
"
,
"
tether
"
:
"
latest
"
,
"
zone.js
"
:
"
latest
"
},
"devDependencies"
:
{
...
...
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