<?xml version="1.0"?>
<!DOCTYPE reference PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
	"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
[
  <!ENTITY % local.common.attrib "xmlns:xi  CDATA  #FIXED 'http://www.w3.org/2003/XInclude'">
]>
<reference id="api-base1">
  <title>API: base1</title>

  <partintro>
    <para>This package contains basic support API available to other packages.</para>
  </partintro>

  <xi:include href="api-cockpit.xml"/>

  <xi:include href="cockpit-dbus.xml"/>
  <xi:include href="cockpit-file.xml"/>
  <xi:include href="cockpit-http.xml"/>
  <xi:include href="cockpit-spawn.xml"/>
  <xi:include href="cockpit-metrics.xml"/>
  <xi:include href="cockpit-series.xml"/>
  <xi:include href="cockpit-channel.xml"/>

  <xi:include href="cockpit-location.xml"/>

  <xi:include href="cockpit-locale.xml"/>
  <xi:include href="cockpit-error.xml"/>
  <xi:include href="cockpit-session.xml"/>
  <xi:include href="cockpit-util.xml"/>
  <xi:include href="cockpit-cache.xml"/>
  <xi:include href="cockpit-manifest.xml"/>

  <refentry id="api-base1-patternfly">
    <refmeta>
      <refentrytitle>patternfly.css</refentrytitle>
    </refmeta>

    <refnamediv>
      <refname>patternfly.css</refname>
      <refpurpose>Patternfly standard style sheets</refpurpose>
    </refnamediv>

    <refsection id="api-base1-patternfly-description">
      <title>Description</title>

<programlisting>
&lt;link href="../base1/patternfly.css" type="text/css" rel="stylesheet"&gt;
@import url('../base1/patternfly.css');
</programlisting>

      <para>The standard <ulink url="https://www.patternfly.org/">PatternFly</ulink> CSS stylesheets.
        They automatically pull in the PatternFly and Bootstrap styles that they depend on.</para>
    </refsection>
  </refentry>

  <refentry id="api-base1-jquery">
    <refmeta>
      <refentrytitle>jquery.js</refentrytitle>
    </refmeta>

    <refnamediv>
      <refname>jquery.js</refname>
      <refpurpose>jQuery library</refpurpose>
    </refnamediv>

    <refsection id="api-base1-jquery-description">
      <title>Description</title>
<programlisting>
&lt;script src="../base1/jquery.js"&gt;&lt;/script&gt;
</programlisting>

      <para>To use <ulink url="http://jquery.com">jQuery</ulink> in your package include
        the above script. Other Cockpit and PatternFly code requires jQuery. You should
        always load it, if you use any of the other Cockpit javascript code. It should be
        the first javascript module loaded.</para>

      <para>The current jQuery version is 2.x. In the <code>latest</code> package we may
        track relatively recent versions of jQuery. Other packages may provide more stable versions
        of jQuery in the future.</para>

      <para>Also included in this file are the jQuery plugins used. For this package these
        these are at least: <ulink url="http://getbootstrap.com">Bootstrap 3.0.3</ulink>.</para>

    </refsection>

  </refentry>

</reference>
