rspamd web frontend: Need help changing page template

Discussion in 'General' started by schwim, Jun 30, 2024.

  1. schwim

    schwim Member HowtoForge Supporter

    Hello there, folks!
    I use the web interface often and I use it in a monitor set in portrait mode. Unfortunately, the page removes the table rows that I want(From, to subject) and retain ID, the one row I almost never need. Can someone tell me where I would find the template for this so I could change which rows the table keeps and removes?
    This is the web frontend I'm talking about:
    Full screen table:
    upload_2024-6-30_14-10-44.png
    Narrow window table:
    upload_2024-6-30_14-9-40.png
     
  2. pyte

    pyte Well-Known Member HowtoForge Supporter

    There is no template system implemented in rspamd. On a normal installation the html and js code that the rspamd webui runs on is located at "/usr/share/rspamd/www/" You could edit the code to make this work, but there is no straighforward way.
     
    ahrasis likes this.
  3. schwim

    schwim Member HowtoForge Supporter

    Thanks very much for that. The breakpoints were found in app/libft.js. Everything is working as needed.
     
    ahrasis likes this.
  4. pyte

    pyte Well-Known Member HowtoForge Supporter

    Keep in mind that updating rspamd might overwrite these files.
     
  5. schwim

    schwim Member HowtoForge Supporter

    I expect it to. I already have to disable greylisting after every update so I'll just knock this one out as well.
     

Share This Page