Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
go
Commits
2731d0c1
Commit
2731d0c1
authored
Oct 12, 2016
by
Zosman
Browse files
FirstDraft
parent
9f7e6f6a
Pipeline
#383
passed with stage
in 3 minutes and 43 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
go/go/templates/link_box.html
View file @
2731d0c1
...
@@ -43,8 +43,10 @@
...
@@ -43,8 +43,10 @@
<strong>
Expires:
</strong>
{{url.expires|default_if_none:"Never"}}
<strong>
Expires:
</strong>
{{url.expires|default_if_none:"Never"}}
<br></br>
<br></br>
<a
class=
"button btn btn-danger btn-sm fa"
href=
"{{domain}}delete/{{url.short}}
"
>
<a
class=
"button btn btn-danger btn-sm fa"
data-target=
"#deletionModal"
data-toggle=
"modal
"
>
<i
class=
"fa fa-trash-o fa-lg"
></i>
Delete
</a>
<i
class=
"fa fa-trash-o fa-lg"
></i>
Delete
</a>
<!-- <a class="button btn btn-danger btn-sm fa" href="{{domain}}delete/{{url.short}}">
<i class="fa fa-trash-o fa-lg"></i> Delete</a> -->
<a
tabindex=
"0"
class=
"button btn btn-info btn-sm fa"
<a
tabindex=
"0"
class=
"button btn btn-info btn-sm fa"
role=
"button"
data-toggle=
"popover"
title=
"Not Implemented Quite Yet :("
role=
"button"
data-toggle=
"popover"
title=
"Not Implemented Quite Yet :("
...
@@ -54,6 +56,28 @@
...
@@ -54,6 +56,28 @@
contribute code, head to git.gmu.edu/srct/go"
>
contribute code, head to git.gmu.edu/srct/go"
>
<i
class=
"fa fa-cog"
></i>
Edit
</a>
<i
class=
"fa fa-cog"
></i>
Edit
</a>
<div
id=
"deletionModal"
class=
"modal fade"
role=
"dialog"
>
<div
class=
"modal-dialog"
>
<!-- Modal content-->
<div
class=
"modal-content"
>
<div
class=
"modal-header"
>
<button
type=
"button"
class=
"close"
data-dismiss=
"modal"
>
×
</button>
<h4
class=
"modal-title"
style=
"font-weight:bold"
>
Are you sure you would like to
<a
style=
"color:red"
>
delete
</a>
{{domain}}{{url.short}}
</h4>
</div>
<div
class=
"modal-body"
style=
"padding-bottom: 80px"
>
<a
type=
"button"
class=
"btn btn-success btn-lg btn-block"
href=
"{{domain}}delete/{{url.short}}"
style=
"padding-bottom: 10px"
>
Yes
</a>
<a
type=
"button"
class=
"btn btn-danger btn-lg btn-block"
style=
"float:right;"
data-dismiss=
"modal"
>
No
</a>
</div>
<div
class=
"modal-footer"
>
<button
type=
"button"
class=
"btn btn-default"
data-dismiss=
"modal"
>
Cancel
</button>
</div>
</div>
</div>
</div>
{% endif %}
{% endif %}
<br></br>
<br></br>
</div>
</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