<commit_before>extends ../../../layouts/admin

block head
  title AGS Settings

block neck
  link(rel='stylesheet', href='/views/admin/ags-settings/index.min.css?#{cacheBreaker}')

block feet
  script(src='/views/admin/ags-settings/index.min.js?#{cacheBreaker}')

block body
  div.row
    div.col-xs-12
      div#header
      div#filters
      div#results-table
      div#results-paging

  script(type='text/template', id='tmpl-header')
    div.page-header
      form.form-inline.pull-right
        div.input-group
          input.form-control(name='serviceUrl', type='text', placeholder='service url', value!='')
          input.form-control(name='userIdColumnName', type='text', placeholder='user id column name', value!='')
          button.btn.btn-primary.btn-add(type='button') Add New
      h1 AGS Settings
  script(type='text/template', id='tmpl-results-table')
    table.table.table-striped
      thead
        tr
          th
          th aaaa
          th.stretch bbbb
          th id
      tbody#results-rows

  script(type='text/template', id='tmpl-results-row')
    td
      input.btn.btn-default.btn-sm.btn-details(type='button', value='Edit')
    td <%- serviceUrl %>
    td <%- userIdColumnName %>
    td.nowrap <%= _id %>

  script(type='text/template', id='tmpl-results-empty-row')
    tr
      td(colspan='4') no documents matched<commit_msg>fixing UI of settings page.<commit_after>extends ../../../layouts/admin

block head
  title AGS Settings

block neck
  link(rel='stylesheet', href='/views/admin/ags-settings/index.min.css?#{cacheBreaker}')

block feet
  script(src='/views/admin/ags-settings/index.min.js?#{cacheBreaker}')

block body
  div.row
    div.col-xs-12
      div#header
      div#filters
      div#results-table
      div#results-paging

  script(type='text/template', id='tmpl-header')
    div.page-header
      form.form-inline.pull-right
        div.input-group
          input.form-control(name='serviceUrl', type='text', placeholder='service url', value!='')
          input.form-control(name='userIdColumnName', type='text', placeholder='user id column name', value!='')
          button.btn.btn-primary.btn-add(type='button') Add New
      h1 AGS Settings
  script(type='text/template', id='tmpl-results-table')
    table.table.table-striped
      thead
        tr
          th
          th Service URL
          th.stretch User ID Column Name
      tbody#results-rows

  script(type='text/template', id='tmpl-results-row')
    td
      input.btn.btn-default.btn-sm.btn-details(type='button', value='Edit')
    td <%- serviceUrl %>
    td <%- userIdColumnName %>

  script(type='text/template', id='tmpl-results-empty-row')
    tr
      td(colspan='4') no documents matched
{'fraction_non_alphanumeric': 0.15126978284873022, 'fraction_numerical': 0.002944423997055576, 'mean_word_length': 2.877318116975749, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5882547', 'n_tokens_mistral': 885, 'n_tokens_neox': 866, 'n_words': 155}