Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/git/git-scm.com.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Long <jlong@github.com>2018-01-15 19:07:00 +0300
committerJason Long <jlong@github.com>2018-01-15 19:07:00 +0300
commit757364e068b8127869f2b46c69d2177ad8be89d1 (patch)
tree59be7223c69ef5a263dbca8e10d67457880b7508
parentcc1f1787a2f09f8c49d660b191e9e4b5fe23b7ca (diff)
Convert downloads/index
-rw-r--r--app/views/downloads/index.html.erb72
-rw-r--r--app/views/downloads/index.html.haml56
2 files changed, 72 insertions, 56 deletions
diff --git a/app/views/downloads/index.html.erb b/app/views/downloads/index.html.erb
new file mode 100644
index 00000000..a4062eac
--- /dev/null
+++ b/app/views/downloads/index.html.erb
@@ -0,0 +1,72 @@
+<%- @section = "downloads" %>
+<%- @subsection = "" %>
+<%- @page_title = "Git - Downloads" %>
+
+<% content_for :sidebar do %>
+ <%= render 'shared/book' %>
+<% end %>
+
+<div id="main">
+ <div class="two-column">
+ <div class="column-left">
+ <h1>Downloads</h1>
+ <div class="callout">
+ <table class="binaries">
+ <tr>
+ <td>
+ <%= link_to "Mac OS X", "/download/mac", {:class => 'icon mac'} %>
+ </td>
+ <td>
+ <%= link_to "Windows", "/download/win", {:class => 'icon windows'} %>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <%= link_to "Linux/Unix", "/download/linux", {:class => 'icon linux'} %>
+ </td>
+ </tr>
+ </table>
+ </div>
+ <p>
+ <a href="https://www.kernel.org/pub/software/scm/git/">Older releases</a> are available and the <a href="https://github.com/git/git">Git source repository</a> is on GitHub.
+ </p>
+ </div>
+ <div class="column-right">
+ <%= partial 'shared/monitor' %>
+ </div>
+ </div>
+ <div class="callout" id="more-downloads">
+ <div class="two-column">
+ <div class="column-left">
+ <h2>GUI Clients</h2>
+ <p>
+ Git comes with built-in GUI tools (<strong>git-gui</strong>, <strong>gitk</strong>), but there are several third-party tools for users looking for a platform-specific experience.
+ </p>
+ <p>
+ <strong>
+ <%= link_to "View GUI Clients →", "/downloads/guis" %>
+ </strong>
+ </p>
+ </div>
+ <div class="column-right">
+ <h2>Logos</h2>
+ <p>Various Git logos in PNG (bitmap) and EPS (vector) formats are available for use in online and print projects.</p>
+ <p>
+ <strong>
+ <%= link_to "View Logos →", "/downloads/logos" %>
+ </strong>
+ </p>
+ </div>
+ </div>
+ </div>
+ <h2>Git via Git</h2>
+ <p>
+ If you already have Git installed, you can get the latest development version via Git itself:
+ </p>
+ <code>
+ git clone https://github.com/git/git
+ </code>
+ <p>
+ You can also always browse the current contents of the git repository using the <a href="https://github.com/git/git">web interface</a>.
+ </p>
+</div>
diff --git a/app/views/downloads/index.html.haml b/app/views/downloads/index.html.haml
deleted file mode 100644
index 74bd3e47..00000000
--- a/app/views/downloads/index.html.haml
+++ /dev/null
@@ -1,56 +0,0 @@
-- @section = "downloads"
-- @subsection = ""
-- @page_title = "Git - Downloads"
-
-- content_for :sidebar do
- = render 'shared/book'
-
-%div#main
- %div.two-column
- %div.column-left
- %h1 Downloads
- %div.callout
- %table.binaries
- %tr
- %td= link_to "Mac OS X", "/download/mac", {:class => 'icon mac'}
- %td= link_to "Windows", "/download/win", {:class => 'icon windows'}
- %tr
- %td= link_to "Linux/Unix", "/download/linux", {:class => 'icon linux'}
-
- %p
- <a href="https://www.kernel.org/pub/software/scm/git/">Older releases</a> are available and the <a href="https://github.com/git/git">Git source repository</a> is on GitHub.
-
-
- %div.column-right
- = partial 'shared/monitor'
-
-
- %div.callout#more-downloads
- %div.two-column
- %div.column-left
- %h2 GUI Clients
-
- %p
- Git comes with built-in GUI tools (<strong>git-gui</strong>, <strong>gitk</strong>), but there are several third-party tools for users looking for a platform-specific experience.
-
- %p
- %strong= link_to "View GUI Clients →", "/downloads/guis"
-
- %div.column-right
- %h2 Logos
-
- %p Various Git logos in PNG (bitmap) and EPS (vector) formats are available for use in online and print projects.
-
- %p
- %strong= link_to "View Logos →", "/downloads/logos"
-
- %h2 Git via Git
-
- %p
- If you already have Git installed, you can get the latest development version via Git itself:
-
- %code
- git clone https://github.com/git/git
-
- %p
- You can also always browse the current contents of the git repository using the <a href="https://github.com/git/git">web interface</a>.