forked from viewflow/viewflow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
52 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,13 +5,7 @@ | |
|
||
{% block js %} | ||
{{ block.super }} | ||
{% if not debug %} | ||
<link href="{% static 'viewflow/css/viewflow-page-profile.min.css' %}" rel="stylesheet"> | ||
<script src="{% static 'viewflow/js/viewflow-page-profile.min.js' %}"></script> | ||
{% else %} | ||
<link href="{% static 'viewflow/css/viewflow-page-profile.css' %}" rel="stylesheet"> | ||
<script src="{% static 'viewflow/js/viewflow-page-profile.js' %}"></script> | ||
{% endif %} | ||
<script src="{% static 'viewflow/js/smartcrop.js' %}"></script> | ||
{% endblock js %} | ||
|
||
{% block page-title %}{% trans 'Profile' %}{% endblock %} | ||
|
@@ -77,9 +71,14 @@ <h2 class="mdc-typography--subtitle2">[email protected]</h2> | |
<div class="mdc-button mdc-button--raised mdc-card__action vf-page-profile__avatar-change"> | ||
Change | ||
<input type="file"> | ||
|
||
</div> | ||
</section> | ||
<form method="POST" enctype="multipart/form-data">{% csrf_token %}</form> | ||
<form method="POST" enctype="multipart/form-data"> | ||
{% csrf_token %} | ||
<input type="file" name="avatar" style="display:none"> | ||
<button type="submit" style="display:none">Submit</button> | ||
</form> | ||
</vf-page-profile-avatar> | ||
</div> | ||
</div> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters