Commits

Alan Wynn committed 8a73ddd

add version control switches

Comments (0)

Files changed (1)

 <html lang="en">
     <head>
         <meta charset="utf-8">
-        
+
         <title>
             Installer
         </title>
-        
+
         <link href="//netdna.bootstrapcdn.com/bootswatch/2.1.1/united/bootstrap.min.css" rel="stylesheet" type="text/css">
         <link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.2.2/css/bootstrap-responsive.min.css" rel="stylesheet" type="text/css">
         <link href="//netdna.bootstrapcdn.com/font-awesome/3.0.2/css/font-awesome.css" rel="stylesheet" type="text/css">
         }
 
         #installer {
-            background:#fff; 
-            padding:10px; 
-            border-radius:5px; 
+            background:#fff;
+            padding:10px;
+            border-radius:5px;
             box-shadow:inset 0 0 1px #000000;
         }
 
                                 <b>Web Server</b>
                                 <label class="checkbox">
                                    Apache2 <input data-parts="apache2-install,apache-modules,apache-modules-install" type="checkbox">
-                                </label> 
+                                </label>
 
                                 <label class="checkbox">
                                    Nginx <input id="nginx" data-callback="installer.php" data-parts="nginx-source,nginx-install" type="checkbox">
 
                                 <label class="checkbox">
                                    Rewrite <input data-parts="apache-rewrite-install" type="checkbox">
-                                </label> 
+                                </label>
 
                                 <label class="checkbox">
                                    Deflate <input data-parts="apache-deflate-install" type="checkbox">
-                                </label> 
+                                </label>
 
                                 <label class="checkbox">
                                    Headers <input data-parts="apache-headers-install" type="checkbox">
-                                </label> 
+                                </label>
 
                                 <label class="checkbox">
                                    Expires <input data-parts="apache-expires-install" type="checkbox">
-                                </label> 
+                                </label>
                             </p>
 
                             <p>
                                 <b>Server Software</b>
                                 <label class="checkbox">
                                    PHP <input id="php" data-callback="installer.php" data-parts="php5-install,php-extensions,php-extensions-install" type="checkbox">
-                                </label> 
+                                </label>
 
                                 <label class="checkbox">
                                    Python <input data-parts="python-install,python-packages,python-packages-install" type="checkbox">
-                                </label> 
+                                </label>
 
                                 <label class="checkbox">
                                    MySQL Server <input data-parts="mysql-server-install" type="checkbox">
                                 </label>
                             </p>
 
+                            <p>
+                                <b>Version Control</b>
+                                <label class="checkbox">
+                                   Git <input data-parts="git-install" type="checkbox">
+                                </label>
+
+                                <label class="checkbox">
+                                   SVN <input data-parts="subversion-install" type="checkbox">
+                                </label>
+
+                                <label class="checkbox">
+                                   Mercurial/HG <input data-parts="mercurial-install" type="checkbox">
+                                </label>
+                            </p>
+
                             <p id="php-extensions" style="display:none">
                                 <b>PHP Extensions</b>
 
                                 <label class="checkbox">
                                    APC <input data-parts="php-apc-install" type="checkbox">
-                                </label> 
+                                </label>
 
                                 <label class="checkbox">
                                    MySQL <input data-parts="php-mysql-install" type="checkbox">
-                                </label> 
+                                </label>
 
                                 <label class="checkbox">
                                    Memcache <input data-parts="php-memcache-install" type="checkbox">
-                                </label> 
+                                </label>
 
                                 <label class="checkbox">
                                    MongoDB <input data-parts="php-mongodb-install" type="checkbox">
-                                </label> 
+                                </label>
 
                                 <label class="checkbox">
                                    GD <input data-parts="php-gd-install" type="checkbox">
-                                </label> 
+                                </label>
 
                                 <label class="checkbox">
                                    Curl <input data-parts="php-curl-install" type="checkbox">
-                                </label> 
+                                </label>
                             </p>
 
                             <p id="python-packages" style="display:none">
 
                                 <label class="checkbox">
                                    virtualenv <input data-parts="python-virtualenv-install" type="checkbox">
-                                </label>     
+                                </label>
                             </p>
 
                             <p>
                                 <b>Miscellaneous</b>
                                 <label class="checkbox">
                                    Zip <input data-parts="misc-zip-install" type="checkbox">
-                                </label> 
+                                </label>
                                 <label class="checkbox">
                                    Make <input data-parts="misc-make-install" type="checkbox">
-                                </label> 
+                                </label>
                                 <label class="checkbox">
                                    Curl <input data-parts="misc-curl-install" type="checkbox">
-                                </label> 
+                                </label>
 
                                 <label class="checkbox">
                                    g++ <input data-parts="misc-g-install" type="checkbox">
-                                </label> 
+                                </label>
                             </p>
                         </div>
-                    </div> 
+                    </div>
                 </div>
                 <div class="span9">
                     <div class="well">
                             <p>
                                 Easily install all the software you need on your Ubuntu server. To get started, please select your ubuntu version.
                             </p>
-                           
+
                         </div>
-                        
+
                         <div id="installer" style="display:none">
 
                             <div id="nginx-source" style="display:none">
                                  python python-pip
                             </span>
 
+                            <!-- Version Control -->
+                            <span id="git-install" style="display:none">
+                                 git
+                            </span>
+
+                            <span id="subversion-install" style="display:none">
+                                 subversion
+                            </span>
+
+                            <span id="mercurial-install" style="display:none">
+                                 mercurial
+                            </span>
+
                             <!-- PHP Extensions -->
                             <span id="php-extensions-install" style="display:none">
                                 <span id="php-apc-install" style="display:none">
                             <span id="python-packages-install" style="display:none">
                                 <br /><br />
                                 <span id="python-virtualenv-install" style="display:none">
-                                     pip install virtualenv 
+                                     pip install virtualenv
                                 </span>
                             </span>
 
         </div>
 
         <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/1.9.0/jquery.min.js " type="text/javascript"></script>
-       
+
         <script>
         $(document).ready(function() {
 
             $('input[type=radio]').on('click', function() {
 
                 $('#options').fadeIn();
-                
+
                 var version = $(this).val();
 
                 if (version === '12.04') {
 
                     method($(this));
                 }
-            
+
 
             });
         });
 
         var installer = {
             php : function (data) {
-                
+
                 if ($('#nginx:checked').length > 0 && $('#php:checked').length > 0) {
                     $('#php5-fpm-install').show();
                 } else {
                     $('#php5-fpm-install').hide();
                 }
-                
+
             }
         }
 
         </script>
 
     </body>
-</html>
+</html>