Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
webApp_DoVoiceInteraction
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
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
Service Desk
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
by21
webApp_DoVoiceInteraction
Commits
931ee6d4
Commit
931ee6d4
authored
3 years ago
by
zh1516
Browse files
Options
Downloads
Patches
Plain Diff
files page new layout
parent
b83608df
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
webApp_DoVoiceInteraction/base/templates/base/files.html
+68
-20
68 additions, 20 deletions
webApp_DoVoiceInteraction/base/templates/base/files.html
with
68 additions
and
20 deletions
webApp_DoVoiceInteraction/base/templates/base/files.html
+
68
−
20
View file @
931ee6d4
{% extends 'mainTemplate.html' %}
{% block content %}
<div>
<div>
{% for file in audio_files %}
<div>
{{ file.name }} --- {{ file.created }}
{% if file.file %}
--- {{ file.filename }} --- {{ file.file.size|filesizeformat }}
{% endif %}
{% include 'base/audioPlayer.html' %}
<br>
<form
method=
"POST"
style=
"display: inline;"
action=
"{% url 'delete' file.id %}"
>
{% csrf_token %}
<input
type=
"submit"
value=
"Delete"
/>
</form>
<hr>
<h2
class=
"ui center aligned icon header"
>
<i
class=
"circular file audio icon"
></i>
Audio file Library
</h2>
<div
class=
"ui divider"
></div>
<div
class=
"ui four column doubling stackable grid"
>
{% for file in audio_files %}
<div
class=
"column"
>
<div
class=
"ui raised segment"
>
<div
class=
"ui items"
>
<div
class=
"item"
>
<div
class=
"content"
>
<a
class=
"header"
>
{{ file.name }}
</a>
<div
class=
"meta"
>
<span>
{{ file.created }}
<br>
{% if file.file %}
{{ file.filename }}
<br>
{{ file.file.size|filesizeformat }}
{% endif %}
</span>
</div>
{% include 'base/audioPlayer.html' %}
<form
method=
"POST"
style=
"display: inline;"
action=
"{% url 'delete' file.id %}"
>
{% csrf_token %}
<input
type=
"submit"
value=
"Delete"
class=
"ui secondary mini button"
>
</form>
<div
class=
"ui horizontal divider"
><a>
Transcription
</a></div>
<div
class=
"description"
>
Audio transcription goes here.
</div>
<div
class=
"extra"
>
Correct? What about the label below?
</div>
</div>
</div>
</div>
</div>
<div
class=
"ui pointing orange label"
>
<i
class=
"id badge icon"
>
User label here
</i>
</div>
{% endfor %}
</div>
{% endfor %}
</div>
<!-------------------------------------->
<!--<div>-->
<!-- <div>-->
<!-- {% for file in audio_files %}-->
<!-- <div>-->
<!-- {{ file.name }} --- {{ file.created }}-->
<!-- {% if file.file %}-->
<!-- --- {{ file.filename }} --- {{ file.file.size|filesizeformat }}-->
<!-- {% endif %}-->
<!-- {% include 'base/audioPlayer.html' %}-->
<!-- <br>-->
<!-- <form method="POST"-->
<!-- style="display: inline;"-->
<!-- action="{% url 'delete' file.id %}">-->
<!-- {% csrf_token %}-->
<!-- <input type="submit" value="Delete"/>-->
<!-- </form>-->
<!-- <hr>-->
<!-- </div>-->
<!-- {% endfor %}-->
<!-- </div>-->
<!--</div>-->
{% endblock content %}
\ No newline at end of file
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