Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jio
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Sven Franck
jio
Commits
7ac5b5a8
Commit
7ac5b5a8
authored
Nov 21, 2013
by
Marco Mariani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs: colorful download buttons w/ minified version
parent
68c28702
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
99 additions
and
9 deletions
+99
-9
docs/_static/jiodocs.css
docs/_static/jiodocs.css
+79
-0
docs/_static/jiodocs.js
docs/_static/jiodocs.js
+8
-0
docs/_templates/layout.html
docs/_templates/layout.html
+2
-0
docs/conf.py
docs/conf.py
+2
-2
docs/getting_started.rst
docs/getting_started.rst
+8
-7
No files found.
docs/_static/jiodocs.css
0 → 100644
View file @
7ac5b5a8
/* override sphinx theme */
.line-block
{
margin-bottom
:
0.4em
;
}
a
.button
{
-moz-border-radius
:
6px
;
-webkit-border-radius
:
6px
;
border-radius
:
6px
;
display
:
inline-block
;
color
:
#ffffff
;
font-family
:
arial
;
font-size
:
15px
;
font-weight
:
bold
;
padding
:
6px
24px
;
text-decoration
:
none
;
}
a
.button
:hover
{
color
:
#ffffff
;
}
a
.button
:active
{
position
:
relative
;
top
:
1px
;
}
a
.blue-button
{
-moz-box-shadow
:
inset
0px
1px
0px
0px
#97c4fe
;
-webkit-box-shadow
:
inset
0px
1px
0px
0px
#97c4fe
;
box-shadow
:
inset
0px
1px
0px
0px
#97c4fe
;
background
:
-webkit-gradient
(
linear
,
left
top
,
left
bottom
,
color-stop
(
0.05
,
#3d94f6
),
color-stop
(
1
,
#1e62d0
));
background
:
-moz-linear-gradient
(
top
,
#3d94f6
5%
,
#1e62d0
100%
);
background
:
-webkit-linear-gradient
(
top
,
#3d94f6
5%
,
#1e62d0
100%
);
background
:
-o-linear-gradient
(
top
,
#3d94f6
5%
,
#1e62d0
100%
);
background
:
-ms-linear-gradient
(
top
,
#3d94f6
5%
,
#1e62d0
100%
);
background
:
linear-gradient
(
to
bottom
,
#3d94f6
5%
,
#1e62d0
100%
);
filter
:
progid
:
DXImageTransform
.
Microsoft
.
gradient
(
startColorstr
=
'#3d94f6'
,
endColorstr
=
'#1e62d0'
,
GradientType
=
0
);
background-color
:
#3d94f6
;
border
:
1px
solid
#337fed
;
text-shadow
:
0px
1px
0px
#1570cd
;
}
a
.blue-button
:hover
{
background
:
-webkit-gradient
(
linear
,
left
top
,
left
bottom
,
color-stop
(
0.05
,
#1e62d0
),
color-stop
(
1
,
#3d94f6
));
background
:
-moz-linear-gradient
(
top
,
#1e62d0
5%
,
#3d94f6
100%
);
background
:
-webkit-linear-gradient
(
top
,
#1e62d0
5%
,
#3d94f6
100%
);
background
:
-o-linear-gradient
(
top
,
#1e62d0
5%
,
#3d94f6
100%
);
background
:
-ms-linear-gradient
(
top
,
#1e62d0
5%
,
#3d94f6
100%
);
background
:
linear-gradient
(
to
bottom
,
#1e62d0
5%
,
#3d94f6
100%
);
filter
:
progid
:
DXImageTransform
.
Microsoft
.
gradient
(
startColorstr
=
'#1e62d0'
,
endColorstr
=
'#3d94f6'
,
GradientType
=
0
);
background-color
:
#1e62d0
;
}
a
.green-button
{
-moz-box-shadow
:
inset
0px
1px
0px
0px
#9acc85
;
-webkit-box-shadow
:
inset
0px
1px
0px
0px
#9acc85
;
box-shadow
:
inset
0px
1px
0px
0px
#9acc85
;
background
:
-webkit-gradient
(
linear
,
left
top
,
left
bottom
,
color-stop
(
0.05
,
#74ad5a
),
color-stop
(
1
,
#68a54b
));
background
:
-moz-linear-gradient
(
top
,
#74ad5a
5%
,
#68a54b
100%
);
background
:
-webkit-linear-gradient
(
top
,
#74ad5a
5%
,
#68a54b
100%
);
background
:
-o-linear-gradient
(
top
,
#74ad5a
5%
,
#68a54b
100%
);
background
:
-ms-linear-gradient
(
top
,
#74ad5a
5%
,
#68a54b
100%
);
background
:
linear-gradient
(
to
bottom
,
#74ad5a
5%
,
#68a54b
100%
);
filter
:
progid
:
DXImageTransform
.
Microsoft
.
gradient
(
startColorstr
=
'#74ad5a'
,
endColorstr
=
'#68a54b'
,
GradientType
=
0
);
background-color
:
#74ad5a
;
border
:
1px
solid
#3b6e22
;
text-shadow
:
0px
1px
0px
#92b879
;
}
a
.green-button
:hover
{
background
:
-webkit-gradient
(
linear
,
left
top
,
left
bottom
,
color-stop
(
0.05
,
#68a54b
),
color-stop
(
1
,
#74ad5a
));
background
:
-moz-linear-gradient
(
top
,
#68a54b
5%
,
#74ad5a
100%
);
background
:
-webkit-linear-gradient
(
top
,
#68a54b
5%
,
#74ad5a
100%
);
background
:
-o-linear-gradient
(
top
,
#68a54b
5%
,
#74ad5a
100%
);
background
:
-ms-linear-gradient
(
top
,
#68a54b
5%
,
#74ad5a
100%
);
background
:
linear-gradient
(
to
bottom
,
#68a54b
5%
,
#74ad5a
100%
);
filter
:
progid
:
DXImageTransform
.
Microsoft
.
gradient
(
startColorstr
=
'#68a54b'
,
endColorstr
=
'#74ad5a'
,
GradientType
=
0
);
background-color
:
#68a54b
;
}
docs/_static/jiodocs.js
0 → 100644
View file @
7ac5b5a8
/* jslint undef: true */
/* global jQuery, document */
jQuery
(
document
).
ready
(
function
(
$
)
{
$
(
'
a:contains(Full download)
'
).
addClass
(
'
button
'
).
addClass
(
'
blue-button
'
).
addClass
(
'
blue
'
);
$
(
'
a:contains(Minified download)
'
).
addClass
(
'
button
'
).
addClass
(
'
green-button
'
).
addClass
(
'
blue
'
);
});
docs/_templates/layout.html
View file @
7ac5b5a8
{%- extends "basic/layout.html" %}
{%- extends "basic/layout.html" %}
{%- block extrahead %}
{%- block extrahead %}
<link
rel=
"stylesheet"
type=
"text/css"
href=
"_static/jiodocs.css"
>
<script
type=
"text/javascript"
src=
"_static/jiodocs.js"
></script>
{{ super() }}
{{ super() }}
{% if theme_touch_icon %}
{% if theme_touch_icon %}
<link
rel=
"apple-touch-icon"
href=
"{{ pathto('_static/' ~ theme_touch_icon, 1) }}"
/>
<link
rel=
"apple-touch-icon"
href=
"{{ pathto('_static/' ~ theme_touch_icon, 1) }}"
/>
...
...
docs/conf.py
View file @
7ac5b5a8
...
@@ -27,7 +27,7 @@ import sys, os
...
@@ -27,7 +27,7 @@ import sys, os
# Add any Sphinx extension module names here, as strings. They can be extensions
# Add any Sphinx extension module names here, as strings. They can be extensions
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions
=
[
'sphinx.ext.todo'
,
'sphinx.ext.ifconfig'
]
extensions
=
[
'sphinx.ext.todo'
,
'sphinx.ext.ifconfig'
,
'sphinxcontrib.jsdemo'
]
# Add any paths that contain templates here, relative to this directory.
# Add any paths that contain templates here, relative to this directory.
templates_path
=
[
'_templates'
]
templates_path
=
[
'_templates'
]
...
@@ -134,7 +134,7 @@ html_static_path = ['_static']
...
@@ -134,7 +134,7 @@ html_static_path = ['_static']
# Custom sidebar templates, maps document names to template names.
# Custom sidebar templates, maps document names to template names.
html_sidebars
=
{
html_sidebars
=
{
'index'
:
[
'side-top.html'
,
'side-support.html'
,
'side-informed.html'
,
'searchbox.html'
],
'index'
:
[
'side-top.html'
,
'side-
gettingstarted.html'
,
'side-downloads.html'
,
'side-
support.html'
,
'side-informed.html'
,
'searchbox.html'
],
'**'
:
[
'side-top.html'
,
'localtoc.html'
,
'relations.html'
,
'searchbox.html'
]
'**'
:
[
'side-top.html'
,
'localtoc.html'
,
'relations.html'
,
'searchbox.html'
]
}
}
...
...
docs/getting_started.rst
View file @
7ac5b5a8
...
@@ -85,6 +85,14 @@ This walkthrough is designed to get you started using a basic jIO instance.
...
@@ -85,6 +85,14 @@ This walkthrough is designed to get you started using a basic jIO instance.
Download & Fork
Download & Fork
---------------
---------------
You can use one of the ZIP packages, which include all the dependencies and storages:
`Full download (172k) <_static/jio-2.0.0.zip>`_
`Minified download (87k) <_static/jio-2.0.0-min.zip>`_
or you can create your own set of files using the following links:
Core
Core
^^^^
^^^^
...
@@ -128,13 +136,6 @@ Revision based storage handlers
...
@@ -128,13 +136,6 @@ Revision based storage handlers
* `revisionstorage.js <http://git.erp5.org/gitweb/jio.git/blob_plain/refs/heads/master:/src/jio.storage/revisionstorage.js>`_ (depends on sha256) (WIP)
* `revisionstorage.js <http://git.erp5.org/gitweb/jio.git/blob_plain/refs/heads/master:/src/jio.storage/revisionstorage.js>`_ (depends on sha256) (WIP)
* `replicaterevisionstorage.js <http://git.erp5.org/gitweb/jio.git/blob_plain/refs/heads/master:/src/jio.storage/replicatestorage.js>`_ (WIP)
* `replicaterevisionstorage.js <http://git.erp5.org/gitweb/jio.git/blob_plain/refs/heads/master:/src/jio.storage/replicatestorage.js>`_ (WIP)
Minified version
^^^^^^^^^^^^^^^^
.. XXX this sounds harsh. Can we provide it or at least be more explicit?
To get the minified version of the jIO library, you have to build it yourself. See documentation.
Unit tests
Unit tests
^^^^^^^^^^
^^^^^^^^^^
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment