~sircmpwn/sr.ht-dev

lists.sr.ht: Use dir="auto" v1 PROPOSED

Ersei Saggi: 1
 Use dir="auto"

 6 files changed, 10 insertions(+), 0 deletions(-)
#1107253 alpine.yml success
#1107254 archlinux.yml failed
#1107255 debian.yml success
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~sircmpwn/sr.ht-dev/patches/47346/mbox | git am -3
Learn more about email & git

[PATCH lists.sr.ht] Use dir="auto" Export this patch

---
 listssrht/templates/archive.html         | 1 +
 listssrht/templates/create-mirror.html   | 3 +++
 listssrht/templates/create.html          | 2 ++
 listssrht/templates/settings-access.html | 1 +
 listssrht/templates/settings-info.html   | 2 ++
 listssrht/templates/user-lists.html      | 1 +
 6 files changed, 10 insertions(+)

diff --git a/listssrht/templates/archive.html b/listssrht/templates/archive.html
index 95c934e..d8fd2ac 100644
--- a/listssrht/templates/archive.html
+++ b/listssrht/templates/archive.html
@@ -127,6 +127,7 @@
        <input
          name="search"
          type="text"
          dir="auto"
          {% if view == "archives" %}
          placeholder='Search...{{"     from:me" if current_user else ""}}     is:patch     In-Reply-To:<12345@example.org>     "PATCH my-project"'
          {% elif view == "patches" %}
diff --git a/listssrht/templates/create-mirror.html b/listssrht/templates/create-mirror.html
index bc1a1fe..328bfba 100644
--- a/listssrht/templates/create-mirror.html
+++ b/listssrht/templates/create-mirror.html
@@ -14,6 +14,7 @@
          <label for="name">Name</label>
          <input
            type="text"
            dir="auto"
            name="name"
            id="name"
            class="form-control {{valid.cls("name")}}"
@@ -23,6 +24,7 @@
        <div class="form-group">
          <label for="description">Description</label>
          <textarea
            dir="auto"
            name="description"
            id="description"
            class="form-control {{valid.cls("description")}}"
@@ -37,6 +39,7 @@
          <label for="address">Subscription address or URL</label>
          <input
            type="text"
            dir="auto"
            name="address"
            id="address"
            aria-describedby="address-help"
diff --git a/listssrht/templates/create.html b/listssrht/templates/create.html
index 08764c1..1a3d854 100644
--- a/listssrht/templates/create.html
+++ b/listssrht/templates/create.html
@@ -11,6 +11,7 @@
        <label for="name">Name</label>
        <input
          type="text"
          dir="auto"
          name="name"
          id="name"
          class="form-control {{valid.cls("name")}}"
@@ -20,6 +21,7 @@
      <div class="form-group">
        <label for="description">Description</label>
        <textarea
          dir="auto"
          name="description"
          id="description"
          class="form-control {{valid.cls("description")}}"
diff --git a/listssrht/templates/settings-access.html b/listssrht/templates/settings-access.html
index eb1b8fb..64b44a0 100644
--- a/listssrht/templates/settings-access.html
+++ b/listssrht/templates/settings-access.html
@@ -140,6 +140,7 @@
          <label for="user">Username or email</label>
          <input
            type="text"
            dir="auto"
            class="form-control {{valid.cls("user")}}"
            id="user"
            name="user"
diff --git a/listssrht/templates/settings-info.html b/listssrht/templates/settings-info.html
index 8c6ae5b..dd511bd 100644
--- a/listssrht/templates/settings-info.html
+++ b/listssrht/templates/settings-info.html
@@ -16,6 +16,7 @@
        </label>
        <input
          type="text"
          dir="auto"
          name="name"
          id="name"
          class="form-control"
@@ -25,6 +26,7 @@
      <div class="form-group {{valid.cls("description")}}">
        <label for="description">Description</label>
        <textarea
          dir="auto"
          name="description"
          id="description"
          class="form-control"
diff --git a/listssrht/templates/user-lists.html b/listssrht/templates/user-lists.html
index 02ad81d..4781ef5 100644
--- a/listssrht/templates/user-lists.html
+++ b/listssrht/templates/user-lists.html
@@ -25,6 +25,7 @@
        <input
          name="search"
          type="text"
          dir="auto"
          placeholder="Search"
          class="form-control"
          value="{{ search if search else "" }}" />
-- 
2.42.0
lists.sr.ht/patches: FAILED in 6m6s

[Use dir="auto"][0] from [Ersei Saggi][1]

[0]: https://lists.sr.ht/~sircmpwn/sr.ht-dev/patches/47346
[1]: mailto:vcs@ersei.net

✗ #1107254 FAILED  lists.sr.ht/patches/archlinux.yml https://builds.sr.ht/~sircmpwn/job/1107254
✓ #1107253 SUCCESS lists.sr.ht/patches/alpine.yml    https://builds.sr.ht/~sircmpwn/job/1107253
✓ #1107255 SUCCESS lists.sr.ht/patches/debian.yml    https://builds.sr.ht/~sircmpwn/job/1107255