title: Visitor
pages: false
options:
  preview: false
  status: false
  template: false
  update: true
  url: false
icon: user
files: false
fields:
  title:
    label: Title
    type:  text
    width: 1/2
  lang:
    label: Lang
    type:  text
    width: 1/4
  window_size:
    label: Width×Height of browser
    type:  text
    width: 1/4
  date:
    label: Date and time of first visit (client-side)
    type: datetime
    time:
      format: Y-m-d H:i:s
      interval: 1
    width: 1/2
  ip:
    label: IP address
    type: text
    width: 1/2
    help: Use the following site to get a rough idea of the country corresponding to this IP<span>:</span> <a href="http://www.ipinfodb.com/ip_locator.php" target="_blank">ipinfodb.com/ip_locator.php</a>
  browser:
    label: Browser
    type: text
    width: 1/2
  useragent:
    label: User Agent
    type: text
    width: 1/2

  events:
    label: Events
    type: structure
    style: table
    modalsize: small
    fields:
      event_time:
        label: Time since the beginning of this session
        type: time
        interval: 1
      event_page:
        label: Page
        type: url
      event_type:
        label: Action
        type: textarea

  log:
    label: Log
    type: textarea
    readonly: true

title: Visitor
pages: false
options:
  preview: false
  status: false
  template: false
  update: true
  url: false
icon: user
files: false
fields:
  title:
    label: Title
    type:  text
    width: 1/2
  lang:
    label: Lang
    type:  text
    width: 1/4
  window_size:
    label: Width×Height of browser
    type:  text
    width: 1/4
  date:
    label: Date and time of first visit (client-side)
    type: datetime
    time:
      format: Y-m-d H:i:s
      interval: 1
    width: 1/2
  ip:
    label: IP address
    type: text
    width: 1/2
    help: Use the following site to get a rough idea of the country corresponding to this IP<span>:</span> <a href="http://www.ipinfodb.com/ip_locator.php" target="_blank">ipinfodb.com/ip_locator.php</a>
  browser:
    label: Browser
    type: text
    width: 1/2
  useragent:
    label: User Agent
    type: text
    width: 1/2

  events:
    label: Events
    type: structure
    style: table
    modalsize: small
    fields:
      event_time:
        label: Time since the beginning of this session
        type: time
        interval: 1
      event_page:
        label: Page
        type: url
      event_type:
        label: Action
        type: textarea
  # 
  # log:
  #   label: Log
  #   type: textarea
  #   readonly: true

Remove dev logs from blueprints
Remove dev logs from blueprints
