From d6e03455453e83768b53dc23379680f6ef83abca Mon Sep 17 00:00:00 2001 From: Martijn van der Ven Date: Sun, 20 Oct 2019 09:30:33 +0200 Subject: Add new weight posting interface --- views/settings.php | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'views/settings.php') diff --git a/views/settings.php b/views/settings.php index 3ddbcc5..72028c1 100644 --- a/views/settings.php +++ b/views/settings.php @@ -61,6 +61,17 @@ +

Post Format Settings

+ + + + + + +
Weight Unit +
+
+
The unit to be used for weight posts.

Syndication Targets

@@ -182,6 +193,11 @@ $(function(){ }); + $("#save-weight-unit").click(function(){ + $.post("/settings/save", { + weight_unit: $("#weight-unit").val() + }); + }); }); -- cgit v1.2.3