Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
TSA NG
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Renzo Mauro Ontivero
TSA NG
Commits
d45995ed
Commit
d45995ed
authored
5 years ago
by
Otto Zaiser
Browse files
Options
Downloads
Patches
Plain Diff
Arreglo single file URL
parent
0615b3e9
No related branches found
No related tags found
No related merge requests found
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
ui/dist/tsa2.js
+1
-1
1 addition, 1 deletion
ui/dist/tsa2.js
ui/dist/tsa2.js.map
+1
-1
1 addition, 1 deletion
ui/dist/tsa2.js.map
ui/src/App.vue
+3
-2
3 additions, 2 deletions
ui/src/App.vue
ui/src/components/DropFile.vue
+6
-5
6 additions, 5 deletions
ui/src/components/DropFile.vue
with
11 additions
and
9 deletions
ui/dist/tsa2.js
+
1
−
1
View file @
d45995ed
source diff could not be displayed: it is too large. Options to address this:
view the blob
.
This diff is collapsed.
Click to expand it.
ui/dist/tsa2.js.map
+
1
−
1
View file @
d45995ed
This diff is collapsed.
Click to expand it.
ui/src/App.vue
+
3
−
2
View file @
d45995ed
...
...
@@ -18,8 +18,8 @@
</li>
</ul>
<div
class=
"copiar"
>
<label
class=
"font_small"
v-html=
"lb_16"
:for=
"'id_'+index"
></label>
<div
class=
"input-group"
>
<label
class=
"sr-only"
v-html=
"lb_16"
></label>
<input
class=
"form-control input-sm"
type=
"textfield"
readonly
:value=
"getHashURL(index)"
:id=
"'id_'+index"
>
<span
class=
"input-group-btn"
>
<button
class=
"btn btn-default btn-sm"
v-on:click=
"copiarURL(index)"
><span
class=
"glyphicon glyphicon-copy text-success"
aria-hidden=
"true"
></span>
<span
v-html=
"lb_15"
></span></button>
...
...
@@ -41,8 +41,8 @@
</li>
</ul>
<div
class=
"copiar"
>
<label
class=
"font_small"
v-html=
"lb_16"
for=
"id_single"
></label>
<div
class=
"input-group"
>
<label
class=
"sr-only"
v-html=
"lb_16"
></label>
<input
class=
"form-control input-sm"
type=
"textfield"
readonly
:value=
"getHashURL(null)"
id=
"id_single"
>
<span
class=
"input-group-btn"
>
<button
class=
"btn btn-default btn-sm"
v-on:click=
"copiarURL(null)"
><span
class=
"glyphicon glyphicon-copy text-success"
aria-hidden=
"true"
></span>
<span
v-html=
"lb_15"
></span></button>
...
...
@@ -148,6 +148,7 @@
},
getHashURL
(
index
){
var
url
;
//console.log(index);
if
(
index
==
null
){
url
=
window
.
location
.
href
;
}
else
{
...
...
This diff is collapsed.
Click to expand it.
ui/src/components/DropFile.vue
+
6
−
5
View file @
d45995ed
...
...
@@ -138,6 +138,7 @@ export default {
},
verify
()
{
var
self
=
this
;
self
.
verifyCounter
=
0
;
for
(
let
i
=
0
;
i
<
self
.
uploadedFiles
.
length
;
i
++
)
{
var
h
=
self
.
allHashes
[
i
];
...
...
@@ -147,11 +148,11 @@ export default {
//console.log(res.data)
if
(
res
.
data
.
stamped
)
{
//self.$emit('verify', res.data.stamps)
if
(
self
.
uploadedFiles
.
length
<=
1
)
{
this
.
$router
.
push
(
'
/hash/
'
+
h
)
this
.
$route
.
params
.
pathMatch
}
//
if(self.uploadedFiles.length
<=
1
)
//
{
//
this.$router.push('/hash/'+h)
//
this.$route.params.pathMatch
//
}
self
.
uploadedFiles
[
i
].
verified
=
true
;
self
.
uploadedFiles
[
i
].
stamps
=
res
.
data
.
stamps
;
self
.
checkVerify
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment