Compare commits
3 Commits
8fd6f3b751
...
8828a4abef
Author | SHA1 | Date |
---|---|---|
Tim Van Baak | 8828a4abef | |
Tim Van Baak | b7e83c5059 | |
Tim Van Baak | b480d6edfd |
|
@ -253,7 +253,7 @@ def action(source_name, item_id, action):
|
||||||
data_path: Path = current_app.config["INTAKE_DATA"]
|
data_path: Path = current_app.config["INTAKE_DATA"]
|
||||||
source = LocalSource(data_path, source_name)
|
source = LocalSource(data_path, source_name)
|
||||||
item = execute_action(source, item_id, action)
|
item = execute_action(source, item_id, action)
|
||||||
return jsonify(item)
|
return jsonify(item._item)
|
||||||
|
|
||||||
|
|
||||||
@app.route("/edit/source/<string:name>", methods=["GET", "POST"])
|
@app.route("/edit/source/<string:name>", methods=["GET", "POST"])
|
||||||
|
|
|
@ -172,7 +172,7 @@ def cmd_action(cmd_args):
|
||||||
source = LocalSource(data_path, args.source)
|
source = LocalSource(data_path, args.source)
|
||||||
try:
|
try:
|
||||||
item = execute_action(source, args.item, args.action, 5)
|
item = execute_action(source, args.item, args.action, 5)
|
||||||
print("Item:", item, file=sys.stderr)
|
print("Item:", item._item, file=sys.stderr)
|
||||||
except InvalidConfigException as ex:
|
except InvalidConfigException as ex:
|
||||||
print("Could not fetch", args.source, file=sys.stderr)
|
print("Could not fetch", args.source, file=sys.stderr)
|
||||||
print(ex, file=sys.stderr)
|
print(ex, file=sys.stderr)
|
||||||
|
|
|
@ -35,6 +35,7 @@ article {
|
||||||
}
|
}
|
||||||
article img {
|
article img {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
|
height: auto;
|
||||||
}
|
}
|
||||||
article textarea {
|
article textarea {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
|
@ -35,6 +35,7 @@ article {
|
||||||
}
|
}
|
||||||
article img {
|
article img {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
|
height: auto;
|
||||||
}
|
}
|
||||||
button, summary {
|
button, summary {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
|
@ -19,6 +19,7 @@ article {
|
||||||
}
|
}
|
||||||
article img {
|
article img {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
|
height: auto;
|
||||||
}
|
}
|
||||||
button, summary {
|
button, summary {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[project]
|
[project]
|
||||||
name = "intake"
|
name = "intake"
|
||||||
version = "1.0.4"
|
version = "1.0.6"
|
||||||
|
|
||||||
[project.scripts]
|
[project.scripts]
|
||||||
intake = "intake.cli:main"
|
intake = "intake.cli:main"
|
||||||
|
|
Loading…
Reference in New Issue