<commit_before>'use strict';

const {ipcRenderer} = require('electron');

const BaseComponent = require(__dirname + '/../../components/base.js');
const DomainUtil = require(__dirname + '/../../utils/domain-util.js');
const ServerInfoForm = require(__dirname + '/server-info-form.js');
const NewServerForm = require(__dirname + '/new-server-form.js');

class ServersSection extends BaseComponent {
	constructor(props) {
		super();
		this.props = props;
	}

	template() {
		return `
			<div class="settings-pane" id="server-settings-pane">
				<div class="title">Manage Servers</div>
				<div class="actions-container">
					<div class="action green" id="new-server-action">
						<i class="material-icons">add_box</i>
						<span>New Server</span>
					</div>
				</div>
				<div id="new-server-container" class="hidden"></div>
				<div class="sub-title" id="existing-servers"></div>
				<div id="server-info-container"></div>
			</div><commit_msg>settings: Tweak text of initial screen to be a bit clearer.<commit_after>'use strict';

const {ipcRenderer} = require('electron');

const BaseComponent = require(__dirname + '/../../components/base.js');
const DomainUtil = require(__dirname + '/../../utils/domain-util.js');
const ServerInfoForm = require(__dirname + '/server-info-form.js');
const NewServerForm = require(__dirname + '/new-server-form.js');

class ServersSection extends BaseComponent {
	constructor(props) {
		super();
		this.props = props;
	}

	template() {
		return `
			<div class="settings-pane" id="server-settings-pane">
				<div class="title">Manage Servers</div>
				<div class="actions-container">
					<div class="action green" id="new-server-action">
						<i class="material-icons">add_box</i>
						<span>Add Server</span>
					</div>
				</div>
				<div id="new-server-container" class="hidden"></div>
				<div class="sub-title" id="existing-servers"></div>
				<div id="server-info-container"></div>
			</div>
{'fraction_non_alphanumeric': 0.18453608247422681, 'fraction_numerical': 0.0, 'mean_word_length': 4.028497409326425, 'pattern_counts': {'":': 0, '<': 39, '<?xml version=': 0, '>': 39, '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': '3395672', 'n_tokens_mistral': 691, 'n_tokens_neox': 599, 'n_words': 125}