render()

in src/content/components/SettingsView/SettingsView.js [52:113]


  render() {
    return (
      <div className={styles.container}>
        <h1>Settings</h1>
        <div id="prefs" className={styles.list}>
          <div className={styles.row}>
            <div className={styles.col}>
              <label htmlFor="bugzilla_email">Bugzilla Email</label>
            </div>
            <div className={styles.col}>
              <input
                type="email"
                className={gStyles.smallInput}
                name="bugzilla_email"
                onChange={this.onInputChange}
                value={this.state.bugzilla_email}
              />
            </div>
          </div>
          {/* <div className={styles.row}>
            <div className={styles.col}>
              <label htmlFor="offline_debug">
                Debug in offline mode (fake data)
              </label>
            </div>
            <div className={styles.col}>
              <input
                type="checkbox"
                className={gStyles.smallInput}
                name="offline_debug"
                onChange={this.onCheckBoxChange}
                checked={this.state.offline_debug}
              />
            </div>
          </div> */}
          <div className={styles.row}>
            <div className={styles.col}>
              <label htmlFor="disable_cache">Disable cache</label>
            </div>
            <div className={styles.col}>
              <input
                type="checkbox"
                name="disable_cache"
                onChange={this.onCheckBoxChange}
                checked={this.state.disable_cache}
              />
            </div>
          </div>
          <div className={styles.row}>
            <div className={styles.col}>
              <button
                className={gStyles.primaryButton}
                name="iterations_check"
                onClick={this.onIterationsCheck}>
                Check iterations (logged in console)
              </button>
            </div>
          </div>
        </div>
      </div>
    );
  }