<commit_before>{% extends "layout.twig" %}
{% block content %}
<div class="container-fluid" ng-app="msiofApp" ng-controller='DashboardCtrl' ng-init='apiKey="{{apiKey}}"; expandAll=true;'>
		  <div ng-show="showInstallInstructions || (servers.length == 0 && loaded)" class='jumbotron'>
					 <h1>Install on new server as root: </h1>
					 <p><input style='width:100%;' select-on-click value="curl -s {{ url('install-script', {'apiKey': apiKey}) }} | bash"></p>

					 <button ng-click="showInstallInstructions = false" class='btn btn-primary'>Close install instructions</button>
					 <a href='{{ url('install-script', {'apiKey': apiKey}) }}'>View Install Source</a>

					 <hr>

					 <h1>Add shared server</h1>
					 <form role="form" action="/add-shared-server-key" method="POST">
								<p>
										  <input style='width:50%;' name='serverKey' ng-model='sharedKey' placeholder='Enter server key...'>
								</p>

								<input type='submit' class='btn btn-primary' value='Submit'>
								<div ng-click="showInstallInstructions=false; sharedKey=''" class='btn btn-default'>Cancel</div>
					 </form><commit_msg>hide 'close install instructions' button if you have no servers<commit_after>{% extends "layout.twig" %}
{% block content %}
<div class="container-fluid" ng-app="msiofApp" ng-controller='DashboardCtrl' ng-init='apiKey="{{apiKey}}"; expandAll=true;'>
		  <div ng-show="showInstallInstructions || (servers.length == 0 && loaded)" class='jumbotron'>
					 <h1>Install on new server as root: </h1>
					 <p><input style='width:100%;' select-on-click value="curl -s {{ url('install-script', {'apiKey': apiKey}) }} | bash"></p>

					 <button ng-hide="(servers.length == 0 && loaded)" ng-click="showInstallInstructions = false" class='btn btn-primary'>Close install instructions</button>
					 <a href='{{ url('install-script', {'apiKey': apiKey}) }}'>View Install Source</a>

					 <hr>

					 <h1>Add shared server</h1>
					 <form role="form" action="/add-shared-server-key" method="POST">
								<p>
										  <input style='width:50%;' name='serverKey' ng-model='sharedKey' placeholder='Enter server key...'>
								</p>

								<input type='submit' class='btn btn-primary' value='Submit'>
								<div ng-click="showInstallInstructions=false; sharedKey=''" class='btn btn-default'>Cancel</div>
					 </form>
{'fraction_non_alphanumeric': 0.19356223175965664, 'fraction_numerical': 0.009012875536480686, 'mean_word_length': 4.145695364238411, 'pattern_counts': {'":': 0, '<': 47, '<?xml version=': 0, '>': 47, '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': '3353818', 'n_tokens_mistral': 887, 'n_tokens_neox': 710, 'n_words': 163}