<commit_before><template name="Add_Plants_Page">
  {{#If_Logged_In}}
  <div style="padding-top: 20px" class="ui text container">
    {{> quickForm
    collection=stuffCollection
    template="semanticUI"
    id="AddPlantsForm"
    type="insert"
    resetOnSuccess=true}}
  </div>
  {{/If_Logged_In}}
  <head>
    <title>Geolocation</title>
    <meta name="viewport" content="initial-scale=1.0, user-scalable=no">
    <meta charset="utf-8">
    <style>
      /* Always set the map height explicitly to define the size of the div
       * element that contains the map. */
      /*#map {*/
      /*height: 500px;*/
      /*}*/
      /* Optional: Makes the sample page fill the window. */
      html, body {
        height: 100%;
        margin: 0;
        padding: 0;
      }
    </style>
  </head>
  <div class="ui container"><div id="map" style="height: 500px;"></div></div>
  <script>
    // Note: This example requires that you consent to location sharing when
    // prompted by your browser. If you see the error "The Geolocation service
    // failed.", it means you probably did not give permission for the browser to
    // locate you.
    function initMap() {
      var map = new google.maps.Map(document.getElementById('map'), {
        center: {lat: -34.397, lng: 150.644},
        zoom: 16
      });
      var infoWindow = new google.maps.InfoWindow({map: map});
      // Try HTML5 geolocation.
      if (navigator.geolocation) {
        navigator.geolocation.getCurrentPosition(function(position) {
          var pos = {
            lat: position.coords.latitude,
            lng: position.coords.longitude
          };
          infoWindow.setPosition(pos);
          infoWindow.setContent('Location found.');
          map.setCenter(pos);
        }, function() {
          handleLocationError(true, infoWindow, map.getCenter());
        });
      } else {
        // Browser doesn't support Geolocation
        handleLocationError(false, infoWindow, map.getCenter());
      }
    }
    function handleLocationError(browserHasGeolocation, infoWindow, pos) {
      infoWindow.setPosition(pos);
      infoWindow.setContent(browserHasGeolocation ?
          'Error: The Geolocation service failed.' :
          'Error: Your browser doesn\'t support geolocation.');
    }
  </script>
  <script async defer
          src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBBkGBcI1a-ZC9e0PsxeOSVOP02IzcjQwo&callback=initMap">
  </script>
</template><commit_msg>Changed add plants map and form styling<commit_after><template name="Add_Plants_Page">
  {{#If_Logged_In}}
    <div class="ui centered grid">
      <div style="padding-top: 20px" class="four wide column">
        {{> quickForm
        collection=stuffCollection
        template="semanticUI"
        id="AddPlantsForm"
        type="insert"
        resetOnSuccess=true}}
      </div>
      <div class="eight wide column">
        <div id="map" style="height: 500px;"></div>
      </div>
    </div>
    <script>
      // Note: This example requires that you consent to location sharing when
      // prompted by your browser. If you see the error "The Geolocation service
      // failed.", it means you probably did not give permission for the browser to
      // locate you.
      function initMap() {
        var map = new google.maps.Map(document.getElementById('map'), {
          center: {lat: -34.397, lng: 150.644},
          zoom: 16
        });
        var infoWindow = new google.maps.InfoWindow({map: map});
        // Try HTML5 geolocation.
        if (navigator.geolocation) {
          navigator.geolocation.getCurrentPosition(function(position) {
            var pos = {
              lat: position.coords.latitude,
              lng: position.coords.longitude
            };
            infoWindow.setPosition(pos);
            infoWindow.setContent('Location found.');
            map.setCenter(pos);
          }, function() {
            handleLocationError(true, infoWindow, map.getCenter());
          });
        } else {
          // Browser doesn't support Geolocation
          handleLocationError(false, infoWindow, map.getCenter());
        }
      }
      function handleLocationError(browserHasGeolocation, infoWindow, pos) {
        infoWindow.setPosition(pos);
        infoWindow.setContent(browserHasGeolocation ?
            'Error: The Geolocation service failed.' :
            'Error: Your browser doesn\'t support geolocation.');
      }
    </script>
    <script async defer
            src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBBkGBcI1a-ZC9e0PsxeOSVOP02IzcjQwo&callback=initMap">
    </script>
  {{/If_Logged_In}}
  <!--<head>-->
    <!--<title>Geolocation</title>-->
    <!--<meta name="viewport" content="initial-scale=1.0, user-scalable=no">-->
    <!--<meta charset="utf-8">-->
    <!--<style>-->
      <!--/* Always set the map height explicitly to define the size of the div-->
       <!--* element that contains the map. */-->
      <!--/*#map {*/-->
      <!--/*height: 500px;*/-->
      <!--/*}*/-->
      <!--/* Optional: Makes the sample page fill the window. */-->
      <!--html, body {-->
        <!--height: 100%;-->
        <!--margin: 0;-->
        <!--padding: 0;-->
      <!--}-->
    <!--</style>-->
  <!--</head>-->

</template>
{'fraction_non_alphanumeric': 0.1465173657240463, 'fraction_numerical': 0.013285253368760675, 'mean_word_length': 2.291692692067458, 'pattern_counts': {'":': 0, '<': 63, '<?xml version=': 0, '>': 65, 'https://': 2, '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': '811124', 'n_tokens_mistral': 1596, 'n_tokens_neox': 1534, 'n_words': 373}