Nathan Chen b7a0f46685 Collect filesystem initial commit
This tool is used for storing large collect files when reporting bugs
via Launchpad. Simply use the tool to upload a file and then add its URL
location into the Launchpad bug.  You no longer need to split up large
collect files and attach multiple files to your bugs.
This tool is designed using Flask Web Framework, meanwhile docker is
used for easy deployment.
The directory /app holds the Flask application, /db contains the script
for database initialization. Bash file start.sh includes the commands
used for the first time docker deployment.
The file update.sh let developers push their changes to the docker
repository. Change the repository's name and tag accordingly, in this
case it is nchen1windriver/collect and demo.
A config file was added for security purpose in this commit.

Change-Id: I192c3fca541f99773e0395418a9f11e01c27a5a7
Signed-off-by: Nathan Chen <nathan.chen@windriver.com>
2020-02-21 14:57:37 -06:00

28 lines
1.1 KiB
HTML

{% extends "layout.html" %}
{% block title %}Edit Profile{% endblock %}
{% block body %}
<h2>Edit File</h2>
<form action="" method=post>
<!-- <dl>-->
<div class="input-group mb-3">
<div class="input-group-prepend">
<span class="input-group-text">Name:</span>
</div>
<input type="text" name=name class="form-control" placeholder="name" aria-label="name" aria-describedby="basic-addon1" value="{{ form.name }}">
</div>
<div class="input-group mb-3">
<div class="input-group-prepend">
<span class="input-group-text" id="basic-addon1">Launchpad ID:</span>
</div>
<input type="text" name=launchpad_id class="form-control" placeholder="launchpad_id" aria-label="launchpad_id" aria-describedby="basic-addon1" value="{{ form.launchpad_id }}">
</div>
<!-- <dt>Name:-->
<!-- <dd><input type=text name=name size=30 value="{{ form.name }}">-->
<!-- <dt>Launchpad ID:-->
<!-- <dd><input type=text name=launchpad_id size=30 value="{{ form.launchpad_id }}">-->
<!-- </dl>-->
<p>
<input type=submit value="Update file" class="btn btn-primary">
</form>
{% endblock %}