docs/index.html in activeadmin-2.2.0 vs docs/index.html in activeadmin-2.3.0
- old
+ new
@@ -8,85 +8,105 @@
{% include top-menu.html %}
<div id="main-content">
<p class="intro">
The <strong>administration framework</strong> for business critical <strong>Ruby on Rails</strong> applications.
</p>
+
<p>
Active Admin is a Ruby on Rails plugin for generating administration style interfaces. It abstracts common business application patterns to make it simple for developers to implement beautiful and elegant interfaces with very little effort.
</p>
+
<h2>
A beautiful interface designed for real people.
</h2>
+
<div id="features">
<div id="features-left">
<h3 class="first">
Global Navigation
</h3>
+
<p>
Customizable global navigation allows you to create usable admin interfaces for your business.
</p>
+
<h3>
Scopes
</h3>
+
<p>
Use scopes to create sections of mutually exclusive resources for quick navigation and reporting.
</p>
+
<h3>
Index Styles
</h3>
+
<p>
Index screens are available in many styles. The default, shown here, is a table view, but Active Admin also supports Grids, Blocks and a Blog view.
</p>
+
<h3>
<span class="caps">API</span> & Downloads
</h3>
+
<p>
Each resource that is registered wtih Active Admin becomes available as <span class="caps">JSON</span>, <span class="caps">XML</span> and <span class="caps">CSV</span> download. Customize the output to meet your requirements.
</p>
</div>
+
<div id="features-right">
<h3 class="first">
User Authentication
</h3>
+
<p>
Use the bundled Devise configuration or implement your own authorization using the provided hooks.
</p>
+
<h3>
Action Items
</h3>
+
<p>
Add buttons, links or other content in the “Action Items” section on each screen.
</p>
+
<h3>
Filters
</h3>
+
<p>
Allow users to filter resources by searching strings, text fields, dates, and numeric values.
</p>
+
<h3>
Sidebar Sections
</h3>
+
<p>
Customize the sidebar sections with a simple <span class="caps">DSL</span> built in to Active Admin.
</p>
</div>
</div>
+
<p>
Active Admin’s interface was designed from the ground up for non-technical users. It makes it easy for developers to build highly usable interfaces that customers will actually enjoy using.
</p>
+
<h2>
An elegant <span class="caps">DSL</span> built for developer productivity.
</h2>
+
<p>
Get started with one line of code or customize the entire interface with the provided <span class="caps">DSL</span>.
</p>
+
<div id="dsl">
<div class="highlight">
- <pre>
-<code class="ruby"><span class="c1"># app/admin/products.rb</span>
+ <pre><code class="ruby"><span class="c1"># app/admin/products.rb</span>
<span class="no">ActiveAdmin</span><span class="o">.</span><span class="n">register</span> <span class="no">Product</span> <span class="k">do</span>
-
<span class="c1"># Create sections on the index screen</span>
<span class="n">scope</span> <span class="ss">:all</span><span class="p">,</span> <span class="ss">default:</span> <span class="kp">true</span>
<span class="n">scope</span> <span class="ss">:available</span>
<span class="n">scope</span> <span class="ss">:drafts</span>
@@ -102,15 +122,96 @@
<span class="n">column</span> <span class="s2">"Price"</span><span class="p">,</span> <span class="ss">sortable:</span> <span class="ss">:price</span> <span class="k">do</span> <span class="o">|</span><span class="n">product</span><span class="o">|</span>
<span class="n">number_to_currency</span> <span class="n">product</span><span class="o">.</span><span class="n">price</span>
<span class="k">end</span>
<span class="n">actions</span>
<span class="k">end</span>
-
-<span class="k">end</span>
-</code>
- </pre>
+<span class="k">end</span></code></pre>
</div>
</div>
+
+ <h2>
+ Active Admin for enterprise
+ </h2>
+
+ <p>
+ <a href="https://tidelift.com/subscription/pkg/rubygems-activeadmin?utm_source=rubygems-activeadmin&utm_medium=homepage">
+ Available as part of the Tidelift Subscription
+ </a>
+ </p>
+
+ <p>
+ Active Admin and the maintainers of thousands of other packages are
+ working with Tidelift to deliver one enterprise subscription that
+ covers all of the open source you use.
+ </p>
+
+ <p>
+ If you want the flexibility of open source and the confidence of
+ commercial-grade software, this is for you.
+ </p>
+
+ <div class="tidelift-buttons">
+ <a href="https://tidelift.com/subscription/pkg/rubygems-activeadmin?utm_source=rubygems-activeadmin&utm_medium=referral" target="_blank">
+ <span>LEARN MORE</span>
+ </a>
+
+ <a href="https://tidelift.com/subscription/request-a-demo?utm_source=rubygems-activeadmin&utm_medium=referral" target="_blank">
+ <span>REQUEST A DEMO</span>
+ </a>
+ </div>
+
+ <h3>
+ The Tidelift Subscription manages your dependencies for you.
+ </h3>
+
+ <ul>
+ <li>
+ Get the tools you need to continuously catalog and understand the open source software that your application depends on.
+ </li>
+
+ <li>
+ Your subscription helps pay the open source maintainers of the exact
+ packages you use to ensure they meet the standards you require.
+ </li>
+
+ <li>
+ Address issues proactively, with tools that scan for new security,
+ licensing, and maintenance issues, and alert our participating open
+ source maintainers so they can resolve them on your behalf.
+ </li>
+
+ <li>
+ Measure and improve your open source dependencies' health—which
+ improves your app’s health—and get a short list of high-impact steps
+ your team can take to improve them even more.
+ </li>
+
+ <li>
+ Get commercial assurances that don't come for free with open source
+ packages, like intellectual property indemnification and support
+ under a service level agreement. You expect these guarantees from
+ proprietary software, and you can have them when using open source
+ as well.
+ </li>
+ </ul>
+
+ <p>
+ The end result? All of the capabilities you expect from
+ commercial-grade software, for the full breadth of open source you
+ use. That means less time grappling with esoteric open source trivia,
+ and more time building your own applications—and your business.
+ </p>
+
+ <div class="tidelift-buttons">
+ <a href="https://tidelift.com/subscription/pkg/rubygems-activeadmin?utm_source=rubygems-activeadmin&utm_medium=referral" target="_blank">
+ <span>LEARN MORE</span>
+ </a>
+
+ <a href="https://tidelift.com/subscription/request-a-demo?utm_source=rubygems-activeadmin&utm_medium=referral" target="_blank">
+ <span>REQUEST A DEMO</span>
+ </a>
+ </div>
+
<h2 class="getting-started-heading">
3 Ways to Get Started:
</h2>
<p class="getting-started">
<a href="http://demo.activeadmin.info/admin">Check Out the Live Demo</a> <a href="{{ site.baseurl }}/documentation.html">Read The Documentation</a> <a href="http://github.com/activeadmin/activeadmin">Visit the Git Repository</a>