Compare commits

..

100 Commits

Author SHA1 Message Date
Holger Frey 62a25301a8 Bump version: 0.1.3 → 0.1.4 7 years ago
Holger Frey 947a4798f1 only notify on order change if not own order 7 years ago
Holger Frey 20e18bed57 status in order change also recorded for multiple selections 7 years ago
Holger Frey 880416ade6 added date formatting 7 years ago
Holger Frey 31f22e3128 Bump version: 0.1.2 → 0.1.3 7 years ago
Holger Frey c17e15ee6d multiple selection in order list only for purchasers and admins 7 years ago
Holger Frey df7f0a29e2 google fonts loaded via https 7 years ago
Holger Frey bc78ffcdde updated bootstrap-typahead 7 years ago
Holger Frey 4ba8214262 added update-order-app script to gitignore 7 years ago
Holger Frey 6c76c8d76e redirecting from old orders list view to new url 7 years ago
Holger Frey 14aa56d111 Bump version: 0.1.1 → 0.1.2 7 years ago
Holger Frey f7f45bbdd8 send admin email on exception 7 years ago
Holger Frey 7a757a0ef7 made exceptions templates independent from layout.jinja2 7 years ago
Holger Frey 1585964dc5 added new import data 7 years ago
Holger Frey 0f6d51e22a Bump version: 0.1.0 → 0.1.1 7 years ago
Holger Frey de71b6fa9d moved production.ini 7 years ago
Holger Frey 71c1b5fd76 updated production.ini 7 years ago
Holger Frey 648454fffc added more documentation 7 years ago
Holger Frey a1d9d30b68 Bump version: 0.0.1 → 0.1.0 7 years ago
Holger Frey b5da0d3411 added lots of code documentation 7 years ago
Holger Frey f74918b058 added more custom error pages 7 years ago
Holger Frey d9d630a2af added search for orders, users and consumables 7 years ago
Holger Frey 7e601040b9 added order view 7 years ago
Holger Frey ed9d9c22e1 order status not changable for normal users 7 years ago
Holger Frey 59bc6a8f6c added new order splash screen 7 years ago
Holger Frey b9e3be30ce added editing orders and placing custom orders 7 years ago
Holger Frey 76e0d4e034 added order schemas 7 years ago
Holger Frey 8a2c072c35 added custom money input schema 7 years ago
Holger Frey 2178f37d6a deletion of orders working 7 years ago
Holger Frey e8305b97a3 status change on multiple orders 7 years ago
Holger Frey bfc782560d added colored status macro 7 years ago
Holger Frey 26f7ea962c added viewing order list 7 years ago
Holger Frey 8c4adaad1f modified filter box macro to add multiple boxes on one page 7 years ago
Holger Frey a5a13585d6 added order resources 7 years ago
Holger Frey 2add325e5a changed user principal from id to username 7 years ago
Holger Frey 1d2f5ab0dd added import of order data 7 years ago
Holger Frey f6f609957c added order model 7 years ago
Holger Frey abb0a6afc1 crud for consumables 7 years ago
Holger Frey 627826ab03 added consumable resources 7 years ago
Holger Frey db474eec20 added models for consumables and categories 7 years ago
Holger Frey 30df8627db passwort reset links are working 7 years ago
Holger Frey c638ede5a3 multiple user edits and deltes working 7 years ago
Holger Frey ecf938353e deleting user accounts works 7 years ago
Holger Frey 5e5fe19af3 editing single user works 7 years ago
Holger Frey f6b1b127d6 moved subject for user notification email to events class 7 years ago
Holger Frey 437872da91 generalized user notifications 7 years ago
Holger Frey f0ee6c205e added user notifications 7 years ago
Holger Frey 99bf420f51 added requirement for pyramid mailer 7 years ago
Holger Frey fe6e13aa09 refactored column display selection 7 years ago
Holger Frey e82416882b bugfix in deferred_unique_email_validator 7 years ago
Holger Frey 27ea681279 added user edit form 7 years ago
Holger Frey bafb16453a added child resource lookup to pagination base resource 7 years ago
Holger Frey c754b23daa added showing and hiding of column tables 7 years ago
Holger Frey 914b17e193 added events system 7 years ago
Holger Frey f216996d89 modified role filter as query parameter 7 years ago
Holger Frey ad73f427db fixed default sorting for user list resource 7 years ago
Holger Frey bd0b8fd0a2 added user list view 7 years ago
Holger Frey b01bf05d82 added admin user resources 7 years ago
Holger Frey d12374d25c added base resources for paginated queries 7 years ago
Holger Frey da4db69146 added migration for users 7 years ago
Holger Frey 018531f163 added tqdm to setup requirements 7 years ago
Holger Frey d5dd56e254 added PyYaml to setup requirements 7 years ago
Holger Frey 149dfbc19e moved child nodes to base resource class 7 years ago
Holger Frey cbd6329142 added admin section 7 years ago
Holger Frey 35537e1ae2 added account settings 7 years ago
Holger Frey 6ed06eff82 added deform widgets for deactivated fields 7 years ago
Holger Frey 15de311063 cache_max_age for static views configurable in ini file 7 years ago
Holger Frey e06acbb26b tweaked look of flash messages 7 years ago
Holger Frey 738e4b90b4 added check for unique username in registration 7 years ago
Holger Frey ae6cbac58d initializing database will delete existing sqlite file 7 years ago
Holger Frey ee9df92675 finished first version of registration form 7 years ago
Holger Frey d15523e8a2 adapter javascript to new registration form 7 years ago
Holger Frey 7a919daacf changed templates regarding conrols section 7 years ago
Holger Frey 1285202483 added first view for user registration 7 years ago
Holger Frey d641266b0d template for user registration 7 years ago
Holger Frey db53f7e7c1 default config for registration form added 7 years ago
Holger Frey 44d5e26ca6 simplified form generation from schema 7 years ago
Holger Frey 19de23927e overriding deform templates, missing config 7 years ago
Holger Frey d41d541eb0 overriding deform templates 7 years ago
Holger Frey df13a65727 moved static view config to views package 7 years ago
Holger Frey 5b0709c8cb added account registration schema 7 years ago
Holger Frey 0cb5057c00 added deform to requirements 7 years ago
Holger Frey 6f334852eb flash messages allow a dismissable parameter 7 years ago
Holger Frey ca578303f1 added session flash messages 7 years ago
Holger Frey 725a23979b added basic user login / logout 7 years ago
Holger Frey 4c8e5c69da 'about' navigation highlight set explicitly 7 years ago
Holger Frey 3bfe633260 added Account resource 7 years ago
Holger Frey a1291e5774 redirect default view depending on user login 7 years ago
Holger Frey 77d58da148 reworked error views 7 years ago
Holger Frey 553e01f119 templates referenced by package name 7 years ago
Holger Frey 3d1f52ff8f forgot to add security settings to configurator 7 years ago
Holger Frey 779be58392 adjusted templates to acl setup 7 years ago
Holger Frey 0ae93d5514 added acls for root resource 7 years ago
Holger Frey 3e51a8cda8 configured app security 7 years ago
Holger Frey 9906795d6d added user model 7 years ago
Holger Frey 3f5b98aaef Root resource stores request 7 years ago
Holger Frey ac703eee12 added pyramid.session 7 years ago
Holger Frey e2c872a9f5 imported php faq page 7 years ago
Holger Frey 8ac004bb4a moved layout template from php to jinja 7 years ago
Holger Frey cbd851e4a1 import of original static files 7 years ago
  1. 13
      .gitignore
  2. 7
      AUTHORS.rst
  3. 17
      CONTRIBUTING.rst
  4. 31
      HISTORY.rst
  5. 7
      Makefile
  6. 83
      README.rst
  7. 36
      development.ini
  8. 91
      docs/installation.rst
  9. 13
      ordr2/__init__.py
  10. 75
      ordr2/events.py
  11. 18
      ordr2/models/__init__.py
  12. 234
      ordr2/models/account.py
  13. 24
      ordr2/models/meta.py
  14. 135
      ordr2/models/orders.py
  15. 95
      ordr2/models/user.py
  16. 46
      ordr2/resources/__init__.py
  17. 103
      ordr2/resources/account.py
  18. 195
      ordr2/resources/admin.py
  19. 525
      ordr2/resources/base.py
  20. 114
      ordr2/resources/orders.py
  21. 55
      ordr2/schemas/__init__.py
  22. 108
      ordr2/schemas/account.py
  23. 5
      ordr2/schemas/helpers.py
  24. 211
      ordr2/schemas/orders.py
  25. 2
      ordr2/scripts/__init__.py
  26. 4792
      ordr2/scripts/export_consumables.yml
  27. 100590
      ordr2/scripts/export_orders.yml
  28. 715
      ordr2/scripts/export_users.yml
  29. 120
      ordr2/scripts/initializedb.py
  30. 21
      ordr2/security.py
  31. 19
      ordr2/session.py
  32. 567
      ordr2/static/css/bootstrap-responsive.css
  33. 3365
      ordr2/static/css/bootstrap.css
  34. 51
      ordr2/static/css/email.css
  35. 753
      ordr2/static/css/style.css
  36. 952
      ordr2/static/font/css/open-iconic-bootstrap.css
  37. 960
      ordr2/static/font/css/open-iconic-bootstrap.less
  38. 1
      ordr2/static/font/css/open-iconic-bootstrap.min.css
  39. 958
      ordr2/static/font/css/open-iconic-bootstrap.scss
  40. 954
      ordr2/static/font/css/open-iconic-bootstrap.styl
  41. 1395
      ordr2/static/font/css/open-iconic-foundation.css
  42. 1397
      ordr2/static/font/css/open-iconic-foundation.less
  43. 1
      ordr2/static/font/css/open-iconic-foundation.min.css
  44. 1398
      ordr2/static/font/css/open-iconic-foundation.scss
  45. 1392
      ordr2/static/font/css/open-iconic-foundation.styl
  46. 511
      ordr2/static/font/css/open-iconic.css
  47. 962
      ordr2/static/font/css/open-iconic.less
  48. 1
      ordr2/static/font/css/open-iconic.min.css
  49. 963
      ordr2/static/font/css/open-iconic.scss
  50. 733
      ordr2/static/font/css/open-iconic.styl
  51. BIN
      ordr2/static/font/fonts/open-iconic.eot
  52. BIN
      ordr2/static/font/fonts/open-iconic.otf
  53. 543
      ordr2/static/font/fonts/open-iconic.svg
  54. BIN
      ordr2/static/font/fonts/open-iconic.ttf
  55. BIN
      ordr2/static/font/fonts/open-iconic.woff
  56. BIN
      ordr2/static/font/png/account-login-8x.png
  57. BIN
      ordr2/static/font/png/account-logout-8x.png
  58. BIN
      ordr2/static/font/png/action-redo-8x.png
  59. BIN
      ordr2/static/font/png/action-undo-8x.png
  60. BIN
      ordr2/static/font/png/align-center-8x.png
  61. BIN
      ordr2/static/font/png/align-left-8x.png
  62. BIN
      ordr2/static/font/png/align-right-8x.png
  63. BIN
      ordr2/static/font/png/aperture-8x.png
  64. BIN
      ordr2/static/font/png/arrow-bottom-8x.png
  65. BIN
      ordr2/static/font/png/arrow-circle-bottom-8x.png
  66. BIN
      ordr2/static/font/png/arrow-circle-left-8x.png
  67. BIN
      ordr2/static/font/png/arrow-circle-right-8x.png
  68. BIN
      ordr2/static/font/png/arrow-circle-top-8x.png
  69. BIN
      ordr2/static/font/png/arrow-left-8x.png
  70. BIN
      ordr2/static/font/png/arrow-right-8x.png
  71. BIN
      ordr2/static/font/png/arrow-thick-bottom-8x.png
  72. BIN
      ordr2/static/font/png/arrow-thick-left-8x.png
  73. BIN
      ordr2/static/font/png/arrow-thick-right-8x.png
  74. BIN
      ordr2/static/font/png/arrow-thick-top-8x.png
  75. BIN
      ordr2/static/font/png/arrow-top-8x.png
  76. BIN
      ordr2/static/font/png/audio-8x.png
  77. BIN
      ordr2/static/font/png/audio-spectrum-8x.png
  78. BIN
      ordr2/static/font/png/badge-8x.png
  79. BIN
      ordr2/static/font/png/ban-8x.png
  80. BIN
      ordr2/static/font/png/bar-chart-8x.png
  81. BIN
      ordr2/static/font/png/basket-8x.png
  82. BIN
      ordr2/static/font/png/battery-empty-8x.png
  83. BIN
      ordr2/static/font/png/battery-full-8x.png
  84. BIN
      ordr2/static/font/png/beaker-8x.png
  85. BIN
      ordr2/static/font/png/bell-8x.png
  86. BIN
      ordr2/static/font/png/bluetooth-8x.png
  87. BIN
      ordr2/static/font/png/bold-8x.png
  88. BIN
      ordr2/static/font/png/bolt-8x.png
  89. BIN
      ordr2/static/font/png/book-8x.png
  90. BIN
      ordr2/static/font/png/bookmark-8x.png
  91. BIN
      ordr2/static/font/png/box-8x.png
  92. BIN
      ordr2/static/font/png/briefcase-8x.png
  93. BIN
      ordr2/static/font/png/british-pound-8x.png
  94. BIN
      ordr2/static/font/png/browser-8x.png
  95. BIN
      ordr2/static/font/png/brush-8x.png
  96. BIN
      ordr2/static/font/png/bug-8x.png
  97. BIN
      ordr2/static/font/png/bullhorn-8x.png
  98. BIN
      ordr2/static/font/png/calculator-8x.png
  99. BIN
      ordr2/static/font/png/calendar-8x.png
  100. BIN
      ordr2/static/font/png/camera-slr-8x.png
  101. Some files were not shown because too many files have changed in this diff Show More

13
.gitignore vendored

@ -1,12 +1,11 @@
# ignore update script on production server
update-order-app
# ignore sqlite database # ignore sqlite database
ordr2.sqlite ordr2.sqlite
ordr2_development.sqlite # ignore pyramid_mailer.debug folder
# ignore test mails
mail/ mail/
# ignore production.ini
# ignore deform templates, only copied to have them available production.ini
ordr2/templates/original_deform_templates/
# Byte-compiled / optimized / DLL files # Byte-compiled / optimized / DLL files
__pycache__/ __pycache__/
@ -70,4 +69,4 @@ target/
# pyenv python configuration file # pyenv python configuration file
.python-version .python-version
venv-* venv-ordr2

7
AUTHORS.rst

@ -7,6 +7,13 @@ Development Lead
* Holger Frey <frey@imtek.de> * Holger Frey <frey@imtek.de>
Original PHP Version
--------------------
* Sebastian Sebald (@sebald on github)
Contributors Contributors
------------ ------------

17
CONTRIBUTING.rst

@ -9,14 +9,13 @@ little bit helps, and credit will always be given.
You can contribute in many ways: You can contribute in many ways:
Types of Contributions Types of Contributions
---------------------- ----------------------
Report Bugs Report Bugs
~~~~~~~~~~~ ~~~~~~~~~~~
Report bugs at https://git.cpi.imtek.uni-freiburg.de/holgi/ordr2/issues. Report bugs at https://github.com/holgi/ordr2/issues.
If you are reporting a bug, please include: If you are reporting a bug, please include:
@ -24,21 +23,18 @@ If you are reporting a bug, please include:
* Any details about your local setup that might be helpful in troubleshooting. * Any details about your local setup that might be helpful in troubleshooting.
* Detailed steps to reproduce the bug. * Detailed steps to reproduce the bug.
Fix Bugs Fix Bugs
~~~~~~~~ ~~~~~~~~
Look through the GitHub issues for bugs. Anything tagged with "bug" Look through the GitHub issues for bugs. Anything tagged with "bug"
and "help wanted" is open to whoever wants to implement it. and "help wanted" is open to whoever wants to implement it.
Implement Features Implement Features
~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
Look through the GitHub issues for features. Anything tagged with "enhancement" Look through the GitHub issues for features. Anything tagged with "enhancement"
and "help wanted" is open to whoever wants to implement it. and "help wanted" is open to whoever wants to implement it.
Write Documentation Write Documentation
~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~
@ -46,11 +42,10 @@ Ordr2 could always use more documentation, whether as part of the
official Ordr2 docs, in docstrings, or even on the web in blog posts, official Ordr2 docs, in docstrings, or even on the web in blog posts,
articles, and such. articles, and such.
Submit Feedback Submit Feedback
~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~
The best way to send feedback is to file an issue at https://git.cpi.imtek.uni-freiburg.de/holgi/ordr2/issues. The best way to send feedback is to file an issue at https://github.com/holgi/ordr2/issues.
If you are proposing a feature: If you are proposing a feature:
@ -59,7 +54,6 @@ If you are proposing a feature:
* Remember that this is a volunteer-driven project, and that contributions * Remember that this is a volunteer-driven project, and that contributions
are welcome :) are welcome :)
Get Started! Get Started!
------------ ------------
@ -68,7 +62,7 @@ Ready to contribute? Here's how to set up `ordr2` for local development.
1. Fork the `ordr2` repo on GitHub. 1. Fork the `ordr2` repo on GitHub.
2. Clone your fork locally:: 2. Clone your fork locally::
$ git clone https://git.cpi.imtek.uni-freiburg.de/your_name_here/ordr2/ $ git clone git@github.com:your_name_here/ordr2.git
3. Install your local copy into a virtualenv. Assuming you have virtualenvwrapper installed, this is how you set up your fork for local development:: 3. Install your local copy into a virtualenv. Assuming you have virtualenvwrapper installed, this is how you set up your fork for local development::
@ -98,7 +92,6 @@ Ready to contribute? Here's how to set up `ordr2` for local development.
7. Submit a pull request through the GitHub website. 7. Submit a pull request through the GitHub website.
Pull Request Guidelines Pull Request Guidelines
----------------------- -----------------------
@ -108,7 +101,9 @@ Before you submit a pull request, check that it meets these guidelines:
2. If the pull request adds functionality, the docs should be updated. Put 2. If the pull request adds functionality, the docs should be updated. Put
your new functionality into a function with a docstring, and add the your new functionality into a function with a docstring, and add the
feature to the list in README.rst. feature to the list in README.rst.
3. The pull request should work for Python 2.6, 2.7, 3.3, 3.4 and 3.5, and for PyPy. Check
https://travis-ci.org/holgi/ordr2/pull_requests
and make sure that the tests pass for all supported Python versions.
Tips Tips
---- ----

31
HISTORY.rst

@ -2,34 +2,13 @@
History History
======= =======
0.1.0 (2017-10-05, branch php2python)
0.1.4 (2017-10-10, php2python branch)
-------------------------------------
* date of order status change have a nicer format
* fixed a bug in recording a status change
* owner of order only notified for status change if (s)he didn't issue the change
0.1.3 (2017-10-10, php2python branch)
------------------------------------- -------------------------------------
* custom error page for exception handling * first working version of the PHP to Python rewrite
* uncaught exceptions mailed to administrator
* fixed type ahead function for selecting consumables when creating a new order
* loading of google fonts now via https
* multiple selections of order not available for normal users since these
have not edit or delete rights for all orders
0.1.1 (2017-10-05, php2python branch) 0.0.1 (2017-09-26)
------------------------------------- ------------------
* First production release
0.0.1 (2017-09-26, php2python branch)
-------------------------------------
* Start of the project * setup of the project

7
Makefile

@ -43,6 +43,7 @@ clean-pyc: ## remove Python file artifacts
find . -name '__pycache__' -exec rm -fr {} + find . -name '__pycache__' -exec rm -fr {} +
clean-test: ## remove test and coverage artifacts clean-test: ## remove test and coverage artifacts
rm -fr .tox/
rm -f .coverage rm -f .coverage
rm -fr htmlcov/ rm -fr htmlcov/
@ -50,7 +51,11 @@ lint: ## check style with flake8
flake8 ordr2 tests flake8 ordr2 tests
test: ## run tests quickly with the default Python test: ## run tests quickly with the default Python
py.test --lf py.test
test-all: ## run tests on every Python version with tox
tox
coverage: ## check code coverage quickly with the default Python coverage: ## check code coverage quickly with the default Python
coverage run --source ordr2 -m pytest coverage run --source ordr2 -m pytest

83
README.rst

@ -1,68 +1,43 @@
OLD: Ordr2 - CPI Ordering System ==============================================
================================ Ordr2 - CPI Ordering System, php2python branch
==============================================
CAUTION: This is a rewrite in Python of the original Ordr system by Sebastian Sebald
THIS REPO EXISTS FOR HISTORIC REASONS that can still be found here: https://github.com/sebald/Ordr
THE PROJECT WAS REPLACED BY Ordr3
In our chair at the University of Freiburg there are about forty people working Installation
in the lab but only four of them are accredited for the SAP ordering system ------------
used by the university - the rest has to order through them. This leads to
a quite large amount of mails, post-its and calls per purchaser. To give this
some better structure, our small ordering system was developed. It is actually
a 'would-you-please-order-for-me-system' and disconnected from the upstream
system.
This is a complete rewrite of the CPI `ordering system`_ originally written in Installation consists of three steps:
PHP.
1. clone the project and checkout the php2python branch
> git clone https://git.cpi.imtek.uni-freiburg.de/holgi/ordr2
> cd ordr2
> git checkout php2pyton
Goals 2. create a python virtual environment and activate it
----- > python3 -m venv ordr-venv
* more information on orders: > source ordr-venv/bin/activate
* record the status change in order in a log
* add a new status "hold" if there are questions
* simpler reordering of already placed orders
* better tools for consumables (templates for new orders):
* propose consumables on placed orders
* check unused or outdated consumables
* make categories editable
* revamped user management:
* validate email address on registration
* forgot password system
* make password hashing future proof
* move away from PHP as a programming language (done, branch php2pyhton)
* update the front end tools to current versions
3. install the cloned package and deactivate the environment
(ordr-venv) > pip install .
> deactivate
Notes on technologies used
---------------------------
The project uses `Pyramid`_ as a web framework, especially the `traversal`_ Updating
style routing instead of the more widely spread url dispatch method. This --------
decision was made because:
* the starter of this project likes this kind of routing updating consists of three steps:
* it eliminates the need of defining routes separately
* `row level security`_ is easy to implement since traversal works with
resources from the start.
The new system should have automated unit- and integration tests for all 1. Update the source code
self written code, aming at 100% coverage although this might never be > cd ordr2
reached. > git pull origin php2python
To run a test use the ``make coverage`` command or if you'd like to test 2. activate the python virtual environment
without a coverage report use ``make test`` > source ordr-venv/bin/activate
Also the code should be documented well enough to support the current and 3. install the new version and deactivate the environment
new developers. Good Documentation is hard, so please be forgiving in this (ordr-venv) > pip install .
regard. A set of documents can be compiled and viewed with the ``make docs`` > deactivate
command.
.. _ordering system: https://ordr.cpi.imtek.uni-freiburg.de
.. _Pyramid: https://trypyramid.com
.. _traversal: https://docs.pylonsproject.org/projects/pyramid/en/latest/narr/muchadoabouttraversal.html
.. _row level security: https://docs.pylonsproject.org/projects/pyramid/en/latest/narr/security.html

36
development.ini

@ -14,35 +14,29 @@ pyramid.default_locale_name = en
pyramid.includes = pyramid.includes =
pyramid_mailer.debug pyramid_mailer.debug
pyramid_debugtoolbar pyramid_debugtoolbar
pyramid_jinja2
sqlalchemy.url = sqlite:///%(here)s/ordr2_development.sqlite sqlalchemy.url = sqlite:///%(here)s/ordr2.sqlite
passlib.config = %(here)s/passlib.ini
# automatic CSRF token validation on each POST resquest # By default, the toolbar only appears for clients from IP addresses
session.auto_csrf = true # '127.0.0.1' and '::1'.
# debugtoolbar.hosts = 127.0.0.1 ::1
# cache duration in seconds for static pages
static_views.cache_max_age = 0
# secrets for session and authentication
# CHANGE IN PRODUCTION!
auth.secret = Change Me!
session.secret = 4d72ee16df8cf1238048ade32e3ce4d51757af8ada4a962cfae5cea5c08421a0
# time a user token is valid (in minutes)
token_expiry.change_email = 120
token_expiry.reset_password = 120
token_expiry.user_registration = 120
# email delivery # email delivery
mail.host = localhost mail.host = localhost
mail.port = 2525 mail.port = 2525
mail.default_sender = ordr@example.com mail.default_sender = ordr@example.com
# By default, the toolbar only appears for clients from IP addresses
# '127.0.0.1' and '::1'. # custom settings
# debugtoolbar.hosts = 127.0.0.1 ::1 auth.secret = 'Change Me 1'
session.secret = 'Change Me 2'
session.auto_csrf = true
static_views.cache_max_age = 0
# custom jinja filters and tests
jinja2.filters =
are_extras_active = ordr2.templates.tests:are_extras_active
### ###
# wsgi server configuration # wsgi server configuration

91
docs/installation.rst

@ -5,35 +5,8 @@ Installation
============ ============
From sources Stable release
------------ --------------
The sources for Ordr2 can be downloaded from the `Git repo`_.
You can clone the public repository:
.. code-block:: console
$ git clone https://git.cpi.imtek.uni-freiburg.de/holgi/ordr2
You should create a new virtual environment prior to installing and activate it
.. code-block:: console
$ python3 -m venv venv-ordr2
$ source venv-ordr2/bin/activate
Once you have a copy of the source, you can install it with:
.. code-block:: console
$ pip install .
.. _Git repo: https://git.cpi.imtek.uni-freiburg.de/holgi/ordr2
Stable release (CURRENTLY NOT AVAILABLE)
----------------------------------------
To install Ordr2, run this command in your terminal: To install Ordr2, run this command in your terminal:
@ -41,8 +14,7 @@ To install Ordr2, run this command in your terminal:
$ pip install ordr2 $ pip install ordr2
This is the preferred method to install Ordr2, as it will always install the This is the preferred method to install Ordr2, as it will always install the most recent stable release.
most recent stable release.
If you don't have `pip`_ installed, this `Python installation guide`_ can guide If you don't have `pip`_ installed, this `Python installation guide`_ can guide
you through the process. you through the process.
@ -51,60 +23,29 @@ you through the process.
.. _Python installation guide: http://docs.python-guide.org/en/latest/starting/installation/ .. _Python installation guide: http://docs.python-guide.org/en/latest/starting/installation/
Dependencies From sources
------------ ------------
These are the top-level packages that are needed by the webapp and why. They The sources for Ordr2 can be downloaded from the `Github repo`_.
rely propably on other packages as well.
deform
form rendering and validation library
passlib[argon2, bcrypt]
password hashing library with argon2 and bcrypt support
pyramid
the framework for the web applicatoin
pyramid_debugtoolbar
debugging the web application in the browser
pyramid_jinja2 You can either clone the public repository:
Jina2 templating engine for the pyramid web framework
pyramid_mailer .. code-block:: console
send emails, uses the transaction manager
pyramid_nacl_session
Session object with encryption
pyramid_tm
automatic transaction management based on the request life cycle
SQLAlchemy
database abstraction
transaction $ git clone git://github.com/holgi/ordr2
transaction management
waitress Or download the `tarball`_:
wsgi server for developement
zope.sqlalchemy .. code-block:: console
required by pyramid_tm transaction binding
$ curl -OL https://github.com/holgi/ordr2/tarball/master
For running tests Once you have a copy of the source, you can install it with:
~~~~~~~~~~~~~~~~~
pytest .. code-block:: console
for testing python projects
pytest-cov $ python setup.py install
test coverage report for pytest
pytest-runner
required for `test` command in setup.py
WebTest .. _Github repo: https://github.com/holgi/ordr2
run functional or integration tests on the web application .. _tarball: https://github.com/holgi/ordr2/tarball/master

13
ordr2/__init__.py

@ -2,24 +2,25 @@
__author__ = 'Holger Frey' __author__ = 'Holger Frey'
__email__ = 'frey@imtek.de' __email__ = 'frey@imtek.de'
__version__ = '0.0.1' __version__ = '0.1.4'
from pyramid.config import Configurator from pyramid.config import Configurator
from pyramid.session import SignedCookieSessionFactory
def main(global_config, **settings): def main(global_config, **settings):
''' This function returns a Pyramid WSGI application. ''' ''' This function returns a Pyramid WSGI application. '''
config = Configurator(settings=settings) config = Configurator(settings=settings)
config.include('.models') session_factory = SignedCookieSessionFactory(settings['session.secret'])
config.set_session_factory(session_factory)
config.set_default_csrf_options(require_csrf=settings['session.auto_csrf'])
config.include('.resources') config.include('.resources')
config.include('.schemas') config.include('.models')
config.include('.security') config.include('.security')
config.include('.session')
config.include('.views') config.include('.views')
# explicit include for jinja2 to enable rendering in events module
config.include('pyramid_jinja2') config.include('pyramid_jinja2')
config.scan() config.scan()

75
ordr2/events.py

@ -1,39 +1,31 @@
''' custom events and event subsribers ''' ''' custom events and event subsribers '''
from pyramid.events import subscriber from pyramid.events import NewRequest, subscriber
from pyramid.renderers import render from pyramid.renderers import render
from pyramid_mailer import get_mailer
from pyramid_mailer.message import Message from pyramid_mailer.message import Message
from ordr2.views import set_display_defaults
# custom events # custom events
class UserLogIn(object):
''' notify on user log in '''
def __init__(self, request, user):
self.request = request
self.user = user
class UserNotification(object): class UserNotification(object):
''' base class for user notification emails ''' base class for user notifications '''
:param request:
current request object
:type request:
`pyramid.request.Request`
:param account:
account to send the notification to
:type account:
:class:`ordr2.models.account.Users`
:param data:
additional data to pass to the mail template
'''
#: subject of the notification
subject = None
#: template to render subject = None
template = None template = None
def __init__(self, request, account, data=None, send_to=None): def __init__(self, request, user, data=None):
self.request = request self.request = request
self.account = account self.user = user
self.data = data self.data = data
self.send_to = send_to or account.email
class AccountActivation(UserNotification): class AccountActivation(UserNotification):
@ -42,17 +34,10 @@ class AccountActivation(UserNotification):
template = 'ordr2:templates/emails/activation.jinja2' template = 'ordr2:templates/emails/activation.jinja2'
class ChangedEmail(UserNotification): class PasswordReset(UserNotification):
''' user notification for a changed email address ''' ''' user notification for password reset link '''
subject = '[ordr] Please verify your email address' subject='[ordr] Password Reset'
template = 'ordr2:templates/emails/mail_change.jinja2' template = 'ordr2:templates/emails/password_reset.jinja2'
class CompleteRegistration(UserNotification):
''' user notification for account activation '''
subject = '[ordr] Please verify your email address'
template = 'ordr2:templates/emails/registration.jinja2'
class OrderStatusChange(UserNotification): class OrderStatusChange(UserNotification):
''' user notification for order status change ''' ''' user notification for order status change '''
@ -60,27 +45,33 @@ class OrderStatusChange(UserNotification):
template = 'ordr2:templates/emails/order.jinja2' template = 'ordr2:templates/emails/order.jinja2'
class PasswordReset(UserNotification): # subsribers for events
''' user notification for password reset link '''
subject = '[ordr] Password Reset'
template = 'ordr2:templates/emails/password_reset.jinja2'
@subscriber(UserLogIn)
def set_display_defaults_on_log_in(event):
''' set column display defaults at every login '''
set_display_defaults(event.request)
@subscriber(NewRequest)
def check_display_defaults(event):
''' check if column display preferences are set in sesssion '''
if event.request.user and 'display' not in event.request.session:
set_display_defaults(event.request)
# subsribers for events
@subscriber(UserNotification) @subscriber(UserNotification)
def notify_user(event): def notify_user(event):
''' notify a user about an event ''' ''' notify a user about an event '''
body = render( body = render(
event.template, event.template,
{'user': event.account, 'data': event.data}, {'user': event.user, 'data': event.data},
event.request event.request
) )
message = Message( message = Message(
subject=event.subject, subject=event.subject,
sender=event.request.registry.settings['mail.default_sender'], sender=event.request.registry.settings['mail.default_sender'],
recipients=[event.send_to], recipients=[event.user.email],
html=body html=body
) )
mailer = get_mailer(event.request.registry) event.request.mailer.send(message)
mailer.send(message)

18
ordr2/models/__init__.py

@ -1,8 +1,4 @@
''' models (sub)package for ordr2 ''' Database models and setup '''
prepare the sqlalchemy models for the database
'''
from sqlalchemy import engine_from_config from sqlalchemy import engine_from_config
from sqlalchemy.orm import sessionmaker from sqlalchemy.orm import sessionmaker
@ -11,7 +7,8 @@ import zope.sqlalchemy
# import or define all models here to ensure they are attached to the # import or define all models here to ensure they are attached to the
# Base.metadata prior to any initialization routines # Base.metadata prior to any initialization routines
from .account import User, Role # flake8: noqa from .user import User, Role # flake8: noqa
from .orders import Category, Consumable, Order, OrderStatus # flake8: noqa
# run configure_mappers after defining all of the models to ensure # run configure_mappers after defining all of the models to ensure
# all relationships can be setup # all relationships can be setup
@ -19,18 +16,19 @@ configure_mappers()
def get_engine(settings, prefix='sqlalchemy.'): def get_engine(settings, prefix='sqlalchemy.'):
''' returns a sqlalchemy engine from the application configuration '''
return engine_from_config(settings, prefix) return engine_from_config(settings, prefix)
def get_session_factory(engine): def get_session_factory(engine):
''' returns a database session '''
factory = sessionmaker() factory = sessionmaker()
factory.configure(bind=engine) factory.configure(bind=engine)
return factory return factory
def get_tm_session(session_factory, transaction_manager): def get_tm_session(session_factory, transaction_manager):
''' ''' Get a sqlalchemy.orm.Session instance backed by a transaction.
Get a ``sqlalchemy.orm.Session`` instance backed by a transaction.
This function will hook the session to the transaction manager which This function will hook the session to the transaction manager which
will take care of committing any changes. will take care of committing any changes.
@ -51,9 +49,7 @@ def get_tm_session(session_factory, transaction_manager):
''' '''
dbsession = session_factory() dbsession = session_factory()
zope.sqlalchemy.register( zope.sqlalchemy.register(
dbsession, dbsession, transaction_manager=transaction_manager)
transaction_manager=transaction_manager
)
return dbsession return dbsession

234
ordr2/models/account.py

@ -1,234 +0,0 @@
''' User Account and Roles Models '''
import enum
import uuid
from datetime import datetime, timedelta
from passlib.context import CryptContext
from sqlalchemy import (
Column,
Date,
DateTime,
Enum,
ForeignKey,
Integer,
Text,
Unicode
)
from sqlalchemy.orm import relationship
from .meta import Base, JsonEncoder
#: create a crypt context for password hashes
#: configured in :mod:`ordr2.security.includeme()`
#: this is not in :mod:`ordr2.security` to avoid circular imports
passlib_context = CryptContext()
# non-database models
class Role(enum.Enum):
''' roles of user accounts '''
#: new user, email address was not validated
UNVALIDATED = 'unvalidated'
#: new user, email address validated, not activated by admin
NEW = 'new'
#: standard user of the system, can place and view orders
USER = 'user'
#: privileged user of the system, can edit orders
PURCHASER = 'purchaser'
#: privileged user, can edit orders, users and consumables
ADMIN = 'admin'
#: a user that is no longer activated
INACTIVE = 'inactive'
@property
def principal(self):
''' returns the principal identifier of the role '''
return 'role:' + self.value.lower()
def __str__(self):
''' string representation '''
return self.value.capitalize()
class TokenSubject(enum.Enum):
''' Token Subjects for changing user accounts '''
#: validate email address of freshly registered user
USER_REGISTRATION = 'user_registration'
#: validate email change of active user
CHANGE_EMAIL = 'change_email'
#: reset a forgotten password
RESET_PASSWORD = 'reset_password'
# database driven models
class User(Base):
''' A user of the application '''
__tablename__ = 'users'
#: primary key
id = Column(Integer, primary_key=True)
#: unique user name
username = Column(Text, nullable=False, unique=True)
#: hashed password, see :mod:`ordr2.security`
password_hash = Column(Text, nullable=False)
#: role of the user, see :class:`ordr2.models.account.Role`
role = Column(Enum(Role), nullable=False)
first_name = Column(Text, nullable=False)
last_name = Column(Text, nullable=False)
email = Column(Text, nullable=False, unique=True)
date_created = Column(Date, nullable=False, default=datetime.utcnow)
#: tokens for new user registration, email change and forgotten passwords
tokens = relationship(
'Token',
back_populates='owner',
cascade="all, delete-orphan"
)
@property
def principal(self):
''' returns the principal identifier for the user '''
return 'user:{}'.format(self.id)
@property
def role_principals(self):
''' returns the principal identifiers for the user's role '''
principals = [self.role.principal]
if self.role is Role.PURCHASER:
# a purchaser is also a user
principals.append(Role.USER.principal)
elif self.role is Role.ADMIN:
# an admin is also a purchaser and a user
principals.append(Role.PURCHASER.principal)
principals.append(Role.USER.principal)
return principals
@property
def is_active(self):
''' is true if the user has an active role '''
return self.role in (Role.USER, Role.PURCHASER, Role.ADMIN)
def set_password(self, password):
''' hashes a password using :mod:`ordr2.security.passlib_context` '''
self.password_hash = passlib_context.hash(password)
def check_password(self, password):
''' checks a password against a stored password hash
if the password algorithm is considered deprecated, the stored hash
will be updated using the current algorithm
'''
ok, new_hash = passlib_context.verify_and_update(
password,
self.password_hash
)
if not ok:
# password does not match, return False
return False
elif new_hash:
# algorithm is deprecated, update hash with new algorithm
self.password_hash = new_hash
# password match, return True
return True
def issue_token(self, request, subject, payload=None):
''' issues a token for mail change, password reset or user verification
:param request:
the current request object
:type request:
pyramid.request.Request
:param subject:
what the token is used for
:type subject:
ordr2.models.account.TokenSubject
:param payload:
extra data to store with the token, must be JSON serializable
:rtype:
(str) unique hash to access the token
'''
return Token.issue(request, self, subject, payload)
def __str__(self):
''' string representation '''
return str(self.username)
class Token(Base):
''' Tokens for mail change, account verification and password reset '''
__tablename__ = 'tokens'
#: hash identifyer of the token
hash = Column(Unicode, primary_key=True)
#: :class:`ordr2.models.account.TokenSubject`
subject = Column(Enum(TokenSubject), nullable=False)
#: token expires at this date and time
expires = Column(DateTime, nullable=False)
#: additional data to attach to a token
payload = Column(JsonEncoder, nullable=True)
#: the user_id the token belongs to
owner_id = Column(Integer, ForeignKey('users.id'))
#: the user the token belongs to
owner = relationship('User', back_populates='tokens')
@classmethod
def issue(cls, request, owner, subject, payload=None):
''' issues a token for mail change, password reset or user verification
if the expiry keys for the token is not set in the app configuration,
the token will expire in five minutes.
to set the expiry time in the conig use `token_expiry.` prefix followed
by the value of the token subject and a time in minutes. For example,
to give an active user two hours time to verify an email address change
use `token_expiry.change_email = 120`
:param request:
the current request object
:type request:
pyramid.request.Request
:param subject:
what the token is used for
:type subject:
ordr2.models.account.TokenSubject
:param owner:
account the token is issued for
:type subject:
ordr2.models.account.User
:param payload:
extra data to store with the token, must be JSON serializable
:rtype:
ordr2.models.account.Token
'''
settings_key = 'token_expiry.' + subject.value
minutes = request.registry.settings.get(settings_key, 5)
expires = datetime.utcnow() + timedelta(minutes=int(minutes))
return cls(
hash=uuid.uuid4().hex,
subject=subject,
payload=payload,
owner=owner,
expires=expires)

24
ordr2/models/meta.py

@ -1,10 +1,7 @@
''' SQL conventions and custom Encoders ''' ''' sqlalchemy metadata configuration '''
import json
from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy.schema import MetaData from sqlalchemy.schema import MetaData
from sqlalchemy.types import TypeDecorator, Unicode
# Recommended naming convention used by Alembic, as various different database # Recommended naming convention used by Alembic, as various different database
# providers will autogenerate vastly different names making migrations more # providers will autogenerate vastly different names making migrations more
@ -17,24 +14,5 @@ NAMING_CONVENTION = {
'pk': 'pk_%(table_name)s' 'pk': 'pk_%(table_name)s'
} }
# setup metadata conventions and base declarative class
metadata = MetaData(naming_convention=NAMING_CONVENTION) metadata = MetaData(naming_convention=NAMING_CONVENTION)
Base = declarative_base(metadata=metadata) Base = declarative_base(metadata=metadata)
class JsonEncoder(TypeDecorator):
''' Represents an a data structure as a json-encoded string. '''
impl = Unicode
def process_bind_param(self, value, dialect):
''' inbound (to database) '''
if value is not None:
value = json.dumps(value)
return value
def process_result_value(self, value, dialect):
''' outbound (from database) '''
if value is not None:
value = json.loads(value)
return value

135
ordr2/models/orders.py

@ -0,0 +1,135 @@
''' Consumables, Categories, Orders and Order Status Database Models '''
import bcrypt
import enum
import uuid
from collections import namedtuple
from datetime import datetime
from sqlalchemy import (
Column,
DateTime,
Enum,
Float,
Integer,
Text,
)
from .meta import Base
class Category(enum.Enum):
''' Categories of consumables and orders '''
CHEMICAL = 'chemical'
DISPOSABLE = 'disposable'
SOLVENT = 'solvent'
BIOLAB = 'biolab'
class OrderStatus(enum.Enum):
''' status of the order '''
OPEN = 'open'
APPROVAL = 'approval'
ORDERED = 'ordered'
COMPLETED = 'completed'
class Consumable(Base):
''' A consumable '''
__tablename__ = 'consumables'
id = Column(Integer, primary_key=True)
cas_description = Column(Text, nullable=False)
category = Column(Enum(Category), nullable=False)
catalog_nr = Column(Text, nullable=False)
vendor = Column(Text, nullable=False)
package_size = Column(Text, nullable=False)
unit_price = Column(Float, nullable=False)
currency = Column(Text, nullable=False, default='EUR')
comment = Column(Text, nullable=False, default='')
date_created = Column(DateTime, nullable=False, default=datetime.utcnow)
date_modified = Column(
DateTime,
nullable=False,
default=datetime.utcnow,
onupdate=datetime.utcnow
)
def __str__(self):
''' string representation '''
return '{!s} ({!s})'.format(self.cas_description, self.vendor)
class Order(Base):
''' An order '''
__tablename__ = 'orders'
id = Column(Integer, primary_key=True)
status = Column(Enum(OrderStatus), nullable=False)
cas_description = Column(Text, nullable=False)
category = Column(Enum(Category), nullable=False)
catalog_nr = Column(Text, nullable=False)
vendor = Column(Text, nullable=False)
package_size = Column(Text, nullable=False)
unit_price = Column(Float, nullable=False)
currency = Column(Text, nullable=False, default='EUR')
amount = Column(Integer, nullable=False)
total_price = Column(Float, nullable=False)
account = Column(Text, nullable=False, default='')
comment = Column(Text, nullable=False, default='')
created_date = Column(DateTime, nullable=False, default=datetime.utcnow)
created_by = Column(Text, nullable=False)
approval_date = Column(DateTime, nullable=True)
approval_by = Column(Text, nullable=False, default='')
ordered_date = Column(DateTime, nullable=True)
ordered_by = Column(Text, nullable=False, default='')
completed_date = Column(DateTime, nullable=True)
completed_by = Column(Text, nullable=False, default='')
def __str__(self):
''' string representation '''
return '{!s} ({!s})'.format(self.cas_description, self.vendor)
def _date_info(self, some_date, some_one):
''' string representaton of date and user '''
if not some_date:
# no date, no string
return ''
if some_one:
# in the new system a status change also stores the purchaser
return '{!s} by {!s}'.format(
some_date.strftime('%Y-%m-%d %H:%M'),
some_one
)
# historical data does not have a purchaser associated with a date
return '{!s}'.format(some_date.strftime('%Y-%m-%d %H:%M'))
@property
def placed(self):
''' string representation for placed on / by '''
return self._date_info(self.created_date, self.created_by)
@property
def approved(self):
''' string representation for approval on / by '''
return self._date_info(self.approval_date, self.approval_by)
@property
def ordered(self):
''' string representation for ordered on / by '''
return self._date_info(self.ordered_date, self.ordered_by)
@property
def completed(self):
''' string representation for completed on / by '''
return self._date_info(self.completed_date, self.completed_by)

95
ordr2/models/user.py

@ -0,0 +1,95 @@
''' User Account and Roles Models '''
import bcrypt
import enum
import uuid
from collections import namedtuple
from datetime import datetime
from sqlalchemy import (
Column,
Date,
Enum,
Integer,
Text,
)
from .meta import Base
class Role(enum.Enum):
''' roles of user accounts '''
NEW = 'new'
USER = 'user'
PURCHASER = 'purchaser'
ADMIN = 'admin'
INACTIVE = 'inactive'
@property
def principal(self):
''' returns the principal identifier of the role '''
return 'role:' + self.value.lower()
class User(Base):
''' A user of the application '''
__tablename__ = 'users'
id = Column(Integer, primary_key=True)
user_name = Column(Text, nullable=False, unique=True)
first_name = Column(Text, nullable=False)
last_name = Column(Text, nullable=False)
email = Column(Text, nullable=False, unique=True)
password_hash = Column(Text, nullable=False)
role = Column(Enum(Role), nullable=False)
password_reset = Column(Text, nullable=False, default='')
date_created = Column(Date, nullable=False, default=datetime.utcnow)
@property
def principal(self):
''' returns the principal identifier for the user '''
return 'user:' + self.user_name
@property
def role_principals(self):
''' returns the principal identifiers for the user's role '''
principals = [self.role.principal]
if self.role is Role.PURCHASER:
# a purchaser is also a user
principals.append(Role.USER.principal)
elif self.role is Role.ADMIN:
# an admin is also a purchaser and a user
principals.append(Role.USER.principal)
principals.append(Role.PURCHASER.principal)
return principals
@property
def is_active(self):
''' check if it is an active user account '''
return self.role in (Role.USER, Role.PURCHASER, Role.ADMIN)
def set_password(self, password):
''' hashes a new password '''
pwhash = bcrypt.hashpw(password.encode('utf8'), bcrypt.gensalt())
self.password_hash = pwhash.decode('utf8')
def check_password(self, password):
''' compares a password with a stored password hash '''
if self.password_hash:
expected_hash = self.password_hash.encode('utf8')
return bcrypt.checkpw(password.encode('utf8'), expected_hash)
return False
def generate_password_token(self):
''' generates a token for a password reset link '''
token = uuid.uuid4()
self.password_reset = token.hex
return token.hex
def __str__(self):
''' string representation '''
return '{!s}'.format(self.user_name)

46
ordr2/resources/__init__.py

@ -1,37 +1,37 @@
''' Resources (sub) package, used to connect URLs to views ''' ''' base resource and resource root factory '''
from pyramid.security import Allow, Everyone, DENY_ALL from pyramid.security import Allow, Everyone
from .account import Account, PasswordResetAccount
from .admin import (
Admin,
ConsumableList,
ConsumableResource,
UserList,
UserAccount
)
from .base import BaseResource from .base import BaseResource
from .account import AccountResource from .orders import OrderList, OrderResource
class RootResource(BaseResource): class Root(BaseResource):
''' The root resource for the application ''' Root resource '''
:param request:
the current request object
:type request:
pyramid.request.Request
'''
#: name of the main navigation section for template highlighting __name__ = None
nav_section = 'root' __parent__ = None
#: dict to match the next url path segment
nodes = { nodes = {
'account': AccountResource 'account': Account,
'admin': Admin,
'orders': OrderList
} }
def __init__(self, request): def __init__(self, request):
''' Create the root resource '''
self.__name__ = None
self.__parent__ = None
self.request = request self.request = request
def __acl__(self): def __acl__(self):
''' access controll list for the resource ''' ''' access controll list '''
return [(Allow, Everyone, 'view'), DENY_ALL] return [ (Allow, Everyone, 'view') ]
def includeme(config): def includeme(config):
@ -41,4 +41,4 @@ def includeme(config):
Activate this setup using ``config.include('ordr2.resources')``. Activate this setup using ``config.include('ordr2.resources')``.
''' '''
config.set_root_factory(RootResource) config.set_root_factory(Root)

103
ordr2/resources/account.py

@ -1,103 +1,64 @@
''' Resources for account registraion and settings ''' ''' Resources for User Accounts '''
from datetime import datetime from pyramid.security import Allow, Authenticated, Deny, DENY_ALL, Everyone
from pyramid.security import Allow, Authenticated, Everyone, Deny, DENY_ALL
from ordr2.models.account import Token, TokenSubject from ordr2.models import User
from ordr2.resources.base import BaseResource
from .base import BaseResource
class RegistrationToken(BaseResource):
''' representing :class:`ordr2.models.account.Token` for registration '''
def __acl__(self): class PasswordResetAccount(BaseResource):
''' access controll list for the resource ''' ''' resource for passwort change representing a reset token '''
return [
(Deny, Authenticated, 'register'),
(Allow, Everyone, 'register'),
DENY_ALL
]
class EmailVerificationToken(BaseResource):
''' representing :class:`ordr2.models.account.Token` for email change '''
def __acl__(self): def __acl__(self):
''' access controll list for the resource ''' access controll list '''
a logged in user might only access his own tokens
'''
# self.model is a :class:`ordr2.models.account.Token` instance
return [ return [
(Allow, self.model.owner.principal, 'settings'), (Allow, Everyone, 'reset'),
DENY_ALL DENY_ALL
] ]
class ForgottenPasswordToken(BaseResource): class PasswordReset(BaseResource):
''' representing :class:`ordr2.models.account.Token` for password reset ''' ''' resource for passwort reset link '''
def __acl__(self): def __acl__(self):
''' access controll list for the resource ''' ''' access controll list '''
return [ return [
(Allow, Everyone, 'reset password'), (Allow, Everyone, 'reset'),
DENY_ALL DENY_ALL
] ]
def __getitem__(self, key):
''' queries the database for a password reset token '''
key = key.strip()
if key:
account = self.request.dbsession.\
query(User).\
filter_by(password_reset=key).\
first()
if account:
return PasswordResetAccount(key, self, account)
raise KeyError
class AccountResource(BaseResource):
''' Resouce class for account registration and settings '''
#: name of the main navigation section for template highlighting
nav_section = 'account'
#: mapping token subjects to token resouce classes class Account(BaseResource):
token_resources = { ''' User Account and Settings '''
TokenSubject.USER_REGISTRATION: RegistrationToken,
TokenSubject.CHANGE_EMAIL: EmailVerificationToken,
TokenSubject.RESET_PASSWORD: ForgottenPasswordToken
}
def __init__(self, name, parent, model=None): nodes = {'reset': PasswordReset}
''' Create a base resource '''
# the current model is the current logged in user or None
super().__init__(name, parent, parent.request.user)
def __acl__(self): def __init__(self, name, parent):
''' access controll list for the resource super().__init__(name, parent)
self.model = self.request.user
- everyone can log in our log out
- authenticated users can change their settings
- unauthenticated users can register
''' def __acl__(self):
''' access controll list '''
return [ return [
(Allow, Everyone, 'login'), (Allow, Everyone, 'login'),
(Allow, Everyone, 'logout'), (Allow, Everyone, 'logout'),
(Deny, Authenticated, 'register'), (Deny, Authenticated, 'register'),
(Allow, Everyone, 'register'), (Allow, Everyone, 'register'),
(Allow, Everyone, 'reset password'),
(Allow, Authenticated, 'settings'), (Allow, Authenticated, 'settings'),
(Allow, Everyone, 'reset'),
DENY_ALL DENY_ALL
] ]
def __getitem__(self, key):
''' provides the dict like interface to access child resources
:param str key:
token hash or path segment for a child resource
:rtype:
subclass of ordr2.resources.base.BaseResource
:raises:
KeyError if token hash or path segment is not found
'''
token = self.request.dbsession.query(Token).filter_by(hash=key).first()
if token is None:
# no token found, search for child node
return super().__getitem__(key)
elif token.expires < datetime.utcnow():
# token has expired, delete it
self.request.dbsession.delete(token)
raise KeyError(f'Token {key} has expired on {token.expires}')
resource_class = self.token_resources[token.subject]
return resource_class(key, self, model=token)

195
ordr2/resources/admin.py

@ -0,0 +1,195 @@
''' Resources for the Admin Section '''
from sqlalchemy import or_
from pyramid.security import Allow, Authenticated, Deny, DENY_ALL, Everyone
from .base import BaseResource, PaginationResourceMixin
from ordr2.models import Category, Consumable, User, Role
# user accounr resources
class UserAccount(BaseResource):
''' Resource for a user account '''
def __acl__(self):
''' Access Controll List '''
return [
(Allow, 'role:admin', 'view'),
(Allow, 'role:admin', 'edit'),
(Allow, 'role:admin', 'delete'),
DENY_ALL
]
class UserList(BaseResource, PaginationResourceMixin):
''' Resource for a list of users '''
sql_model_class = User
child_resource_class = UserAccount
default_sorting = 'user.asc'
default_items_per_page = 12
def __acl__(self):
''' Access Controll List '''
return [
(Allow, 'role:admin', 'view'),
(Allow, 'role:admin', 'edit'),
(Allow, 'role:admin', 'delete'),
DENY_ALL
]
def prepare_filtered_query(self, dbsession, filter_params):
''' setup the base filtered query '''
query = dbsession.query(self.sql_model_class)
# filter by role
role_name = filter_params.get('role', None)
try:
role_name = role_name.lower()
role = Role(role_name)
query = query.filter_by(role=role)
except (AttributeError, ValueError):
role_name = None
self.filters['role'] = role_name
# filter by search term
search = filter_params.get('search', None)
if search:
term = '%{}%'.format(search)
query = query.filter(
or_(
self.sql_model_class.user_name.ilike(term),
self.sql_model_class.first_name.ilike(term),
self.sql_model_class.last_name.ilike(term),
self.sql_model_class.email.ilike(term)
)
)
self.filters['search'] = search
return query
def prepare_sorted_query(self, query, sorting):
''' add sorting to the base query '''
available_fields = {
'user': 'user_name',
'first': 'first_name',
'last': 'last_name',
'email': 'email',
'role': 'role'
}
name = available_fields.get(sorting.field, None)
model_field = getattr(self.sql_model_class, name, None)
if model_field:
sort_func = sorting.func(model_field)
query = query.order_by(sort_func)
# add default sorting
default_sort = self.parse_sort_parameters(self.default_sorting)
if sorting.field != default_sort.field:
default_sort = self.parse_sort_parameters(self.default_sorting)
query = self.prepare_sorted_query(query, default_sort)
return query
# consumables resources
class ConsumableResource(BaseResource):
''' Resource for one consumable '''
def __acl__(self):
''' Access Controll List '''
return [
(Allow, 'role:admin', 'view'),
(Allow, 'role:admin', 'edit'),
(Allow, 'role:admin', 'delete'),
DENY_ALL
]
class ConsumableList(BaseResource, PaginationResourceMixin):
''' Resource for a list of consumables '''
sql_model_class = Consumable
child_resource_class = ConsumableResource
default_sorting = 'cas.asc'
default_items_per_page = 12
def __acl__(self):
''' Access Controll List '''
return [
(Allow, 'role:admin', 'view'),
(Allow, 'role:admin', 'create'),
(Allow, 'role:admin', 'edit'),
(Allow, 'role:admin', 'delete'),
DENY_ALL
]
def prepare_filtered_query(self, dbsession, filter_params):
''' setup the base filtered query '''
query = dbsession.query(self.sql_model_class)
# filter by category
category_name = filter_params.get('category', None)
try:
category_name = category_name.lower()
category = Category(category_name)
query = query.filter_by(category=category)
except (AttributeError, ValueError):
category_name = None
self.filters['category'] = category_name
# filter by search term
search = filter_params.get('search', None)
if search:
term = '%{}%'.format(search)
query = query.filter(
or_(
self.sql_model_class.cas_description.ilike(term),
self.sql_model_class.vendor.ilike(term),
self.sql_model_class.catalog_nr.ilike(term)
)
)
self.filters['search'] = search
return query
def prepare_sorted_query(self, query, sorting):
''' add sorting to the base query '''
available_fields = {
'cas': 'cas_description',
'category': 'category',
'catalog': 'catalog_nr',
'vendor': 'vendor',
'pkg': 'package_size',
'price': 'unit_price',
'currency': 'currency'
}
name = available_fields.get(sorting.field, None)
model_field = getattr(self.sql_model_class, name, None)
if model_field:
sort_func = sorting.func(model_field)
query = query.order_by(sort_func)
# add default sorting
default_sort = self.parse_sort_parameters(self.default_sorting)
if sorting.field != default_sort.field:
default_sort = self.parse_sort_parameters(self.default_sorting)
query = self.prepare_sorted_query(query, default_sort)
return query
class Admin(BaseResource):
''' Resource for the admin section '''
nodes = {
'users': UserList,
'consumables': ConsumableList,
}
def __acl__(self):
''' Access Controll List '''
return [ (Allow, 'role:admin', 'view') ]

525
ordr2/resources/base.py

@ -1,115 +1,107 @@
''' Base resource classes ''' ''' Base Resource and Mixin classes, not to be used directly '''
from collections import namedtuple
from pyramid.security import DENY_ALL
from sqlalchemy import asc, desc from sqlalchemy import asc, desc
from sqlalchemy.inspection import inspect
class BaseResource(object): class BaseResource(object):
''' Base resouce class for location aware resources ''' Base Resource for all other resources '''
:param str name:
url path segment that identifies this resource in its lineage
:param parent:
parent resource
:type parent:
ordr2.resources.BaseResource
:param model:
(optional) a model instance represented by this resource,
e.g. a database entry
Provides a dict like interface for retrieving child resources used by
traversal style routing in the Pyramid web framework.
The ``nodes`` property is a dictionary to to match the next url path
segment in traversal to a child class.
For example: to return an AccountResouce when the next path segment is
'account' use ``nodes = {'account': AccountResource}``.
'''
# __name__ and __parent__ properties for location aware resources
__name__ = None
__parent__ = None __parent__ = None
__name__ = None
#: name of the main navigation section for template highlighting request = None
nav_section = None model = None
nodes = dict()
#: dict to match the next url path segment nav_highlight = None
nodes = {}
def __init__(self, name, parent, model=None): def __init__(self, name, parent, sql_model_instance=None):
''' Create a base resource '''
self.__name__ = name self.__name__ = name
self.__parent__ = parent self.__parent__ = parent
self.request = parent.request #: the current request self.request = parent.request
self.model = model #: a related model instance self.model = sql_model_instance
# call to super().__init_() needed to set up PaginationMixin
super().__init__()
def __acl__(self): def __acl__(self):
''' access controll list for the resource ''' ''' Access controll list '''
raise NotImplementedError return [ DENY_ALL ]
def __getitem__(self, key): def __getitem__(self, key):
''' provides the dict like interface to access child resources ''' returns child resources '''
klass = self.nodes.get(key, None)
:param str key: if klass:
path segment for a child resource return klass(key, self)
:rtype: try:
subclass of ordr2.resources.base.BaseResource return super().__getitem__(key)
:raises: except AttributeError:
KeyError if path segment is not found raise KeyError()
'''
node_class = self.nodes[key]
return node_class(key, self) @classmethod
def from_sqla(cls, sql_model_instance, parent):
''' initializes a resource from an SQLalchemy object '''
primary_keys = inspect(sql_model_instance).identity
if primary_keys is None:
raise ValueError('Cannot init resource for primary key: None')
elif len(primary_keys) != 1:
raise ValueError('Cannot init resource for composite primary key')
primary_key = str(primary_keys[0])
return cls(primary_key, parent, sql_model_instance)
class Pagination(object): class Pagination(object):
''' calculates pagination information ''' calculates pagination information
:param int current: current page number Available instance attributes
:param int count: total number of items
:param int items: number of items displayed per pages count: total number of items
:param int window_size: items: number of items displayed per page, aliased by items_per_page
size of pagination window first: first page number
last: last page number
current: current page number
previous: previous page number
next: next page number
window: page window, e.g:
lets assume the current page is 10 and window size is 7 lets assume the current page is 10 and window size is 7
self.window = [7, 8, 9, 10, 11, 12, 13] self.window = [7, 8, 9, 10, 11, 12, 13]
''' '''
def __init__(self, current, count, items, window_size): default_items = 25
default_window_size = 7
def __init__(self, current, count, items=None, window_size=None):
''' calculates pagination information ''' calculates pagination information
:param int current: current page number Parameters:
:param int count: total number of items current: current pages
:param int items: number of items displayed per pages count: total number of items
:param int window_size: items: number of items displayed per pages
size of pagination window window_size: size of pagination window
lets assume the current page is 10 and window size is 7
self.window = [7, 8, 9, 10, 11, 12, 13]
''' '''
# ensure values are integers
current = self._ensure_int(current, 1)
count = self._ensure_int(count, 0)
items = self._ensure_int(items, self.default_items)
window_size = self._ensure_int(window_size, self.default_window_size)
self.count = count #: total number of items # set the simples values that won't change
self.items_per_page = items #: items displayed per page self.count = count
self.first = None #: number of first page self.items = self.items_per_page = items
self.current = None #: number of current (displayed) page
self.last = None #: number of last page
self.previous = None #: number of previous page
self.next = None #: number of next page
self.window = [] #: page window
if count > 0:
# only do the calculation if there are items to be paginated
self.calculate(current, window_size)
def calculate(self, current, window_size):
# calculate number of pages # calculate number of pages
pages = (self.count - 1) // self.items_per_page + 1 pages = (count - 1) // items + 1
# set the number of the first and last page
self.first = 1 self.first = 1
self.last = max(self.first, pages) self.last = max(self.first, pages)
self.current = self._is_valid(current, default=self.first)
# set current, previous and next page self.previous = self._is_valid(self.current - 1)
self.current = self.is_valid(current, default=self.first) self.next = self._is_valid(self.current + 1)
self.previous = self.is_valid(self.current - 1)
self.next = self.is_valid(self.current + 1)
# window calculations # window calculations
# example: lets assume the current page is 10 and window size is 7 # example: lets assume the current page is 10 and window size is 7
@ -118,295 +110,194 @@ class Pagination(object):
start = self.current - half_window start = self.current - half_window
end = self.current + half_window end = self.current + half_window
calculated_window = range(start, end + 1) calculated_window = range(start, end + 1)
self.window = [p for p in calculated_window if self.is_valid(p)] self.window = [p for p in calculated_window if self._is_valid(p)]
def is_valid(self, page, default=None):
''' checks if the given page is valid, returns default if not
:param int page: the page number to test def _is_valid(self, page, default=None):
:param default: the value to return if the test fails ''' checks if the given page is valid, returns default if not '''
''' if self.count and self.first <= page <= self.last:
if self.count and (self.first <= page <= self.last):
return page return page
return default return default
def _ensure_int(self, value, default):
''' converts the value to integer, returns default if it fails '''
try:
return int(value)
except Exception:
return default
class BaseListResource(BaseResource):
''' Base resorce class for listings of other resources
The BaseListResource represents a view to a list of resources, like
products, users, etc. This includes pagination, sorting and filtering of
the resources.
Inherited classes must at least set one parameter and implement three
mehtods:
- ``child_resource_class``
- ``set_base_query()``
The base query is used for basic filtering that should be applied in
all cases; for example to filter out any products that are not in stock
or ariticles in draft mode. This query is also used when traversing
to child resources
- ``set_filtered_query()``
The filtered query extends the base query and applies filters for a
specific view, like show only blue cheeses. This query is used for
calulating pagination and sorting is applied when listing child
resources.
- ``get_sort_by_field(sort_by)``
add a sorting instruction to the query
'''
#: GET key for page number # named tuple for parameters used in sorting
get_key_page = 'p' SortParameter = namedtuple('SortParameter', 'text field direction func')
#: GET key for items per page
get_key_items_per_page = 'n'
#: GET key for order by column class PaginationResourceMixin(object):
get_key_sort_by = 'o' ''' mixin providing pagination information for simple sql models
#: GET key for order by direction class attributes that must be defined in child classes:
get_key_sort_dir = 'd' sql_model_class: sqlalchemy model class
child_resource_class: resource representing a sqlalchemy model
default_sorting: string for default soring behaviour,
e.g. 'created_on.desc'
default_items_per_page: default number of items displayed per page
#: default items per page
default_items_per_page = 12
#: default size of pagination window available instance attributes:
default_window_size = 7 pages: pagination information, see Pagination class
sorting: sorting parameter, processed from request.GET
filters: filter parameters, processed from request.GET
#: default sort direction '''
default_sort_dir = 'asc'
#: default sort by
default_sort_by = None
#: class of child resources # class attributes that must be defined in child classes
sql_model_class = None
child_resource_class = None child_resource_class = None
default_sorting = None
def __init__(self, name, parent): default_items_per_page = 25
''' Instance creation '''
super().__init__(name, parent) # attributes set by processing request.GET
pages = None
self.base_query = None #: base database query sorting = None
self.filtered_query = None #: database query with reuest filters filters = {}
self.filters = {} #: applied view filters
self.sort_by = None #: applied sorting filed # keys for request.GET processing
self.sort_dir = None #: applied sorting direction query_key_current_page = 'p'
self.pages = None #: pagination info query_key_items_per_page = 'n'
query_key_sorting = 'o'
self.set_base_query()
self.set_filtered_query() # base sqlalchemy query object
self.calculate_pagination() _base_query = None
def set_base_query(self):
''' setup of the basic database query def __init__(self):
''' sets parameters from request.GET '''
The base query is used for basic filtering that should be applied in # first we need to remove non-filter parameters from GET
all cases; for example to filter out any products that are not in stock params = dict(self.request.GET)
or ariticles in draft mode. This query is also used when traversing page = params.pop(self.query_key_current_page, 1)
to child resources items = params.pop(
self.query_key_items_per_page,
This method must be implemented in a inherited class:: self.default_items_per_page
def set_base_query(self):
self.base_query = (
self.request.dbsession
.query(Cheeses)
.filter_by(in_stock==True)
) )
''' sort = params.pop(self.query_key_sorting, self.default_sorting)
raise NotImplementedError
def set_filtered_query(self): # we can now setup a base query with applied filters
''' setup of the database query for a specific view self._base_query = self.prepare_filtered_query(
self.request.dbsession,
params
)
the filtered query extends the base query and applies filters for a # with this base query, the pagination can be calculated:
specific view, like show only blue cheeses. This query is used for count = self._base_query.count()
calulating pagination and sorting is applied when listing child self.pages = Pagination(page, count, items)
resources.
This method must be implemented in a inherited class:: # and we should check that we can sort results later
self.sorting = self.parse_sort_parameters(sort)
if self.sorting is None:
msg = 'Error in default sorting {}'.format(self.default_sorting)
raise ValueError(msg)
def set_filtered_query(self):
query = self.base_query
# filter by type of cheese
query = self._filter_by('type', Cheese.type, query)
query = self._filter_by('age', Cheeses.age, query)
self.filtered_query = query
''' def prepare_filtered_query(self, dbsession, filter_params):
raise NotImplementedError ''' setup the base filtered query
def get_sort_by_field(self, sort_by): An example:
''' returns the SQLalchemy model field to sort by
:param str sort_by: def prepare_filtered_query(self, dbsession, filter_params):
a lowercase identifier for the field to sort by query = dbsession.query(self.sql_model_class)
:returns:
SQLalchemy model field or None
This method must be implemented in a inherited class:: by_username = filter_params.get('username', None)
if by_username is not None:
query = query.filter_by(username=by_username)
# don't forget to remember the filter
self.filters['username'] = by_username
def get_sort_by_field(self, sort_by): return query
if sort_by == 'type':
return Cheese.type
''' '''
raise NotImplementedError msg = 'Query setup must be implemented in child class'
raise NotImplementedError(msg)
def _filter_by(self, get_key, model_field, query): def prepare_sorted_query(self, query, sorting):
''' helper method to appyl a simple filter to a query ''' add sorting to the base query
it also records the filters applied to the view query in `self.filters` An example:
:param str get_key: def prepare_sorted_query(self, query, sorting):
name of the GET key to query model_field = getattr(self.sql_model_class, sorting.field)
:param model_field: sort_func = sorting.func(model_field)
field of SQLalchemy model the filter should be applied on return query.order_by(sort_func)
:param query:
SQLalchemy query object
:returns:
SQLalchemy query object with applied filter
''' '''
filter_value = self.request.GET.get(get_key, None) msg = 'Query setup must be implemented in child class'
if filter_value: raise NotImplementedError(msg)
query = query.filter_by(model_field=filter_value)
self.active_filters[get_key] = filter_value
return query
def prepare_sorted_query(self, query):
''' add sorting to the query '''
# first the sorting information from request.GET is used
sort_by = self.request.GET.get(self.get_key_sort_by, None)
sort_field = self.get_sort_by_field(sort_by)
if sort_field:
direction = self.request.GET.get(self.get_key_sort_dir, 'asc')
direction = 'asc' if direction.lower() == 'asc' else 'desc'
sort_func = asc if direction == 'asc' else desc
query = query.order_by(sort_func(sort_field))
self.sort_by = sort_by
self.sort_dir = direction
# default sorting is applied if not already sorted by this field
if self.default_sort_by and self.sort_by != self.default_sort_by:
sort_field = self.get_sort_by_field(self.default_sort_by)
sort_func = asc if self.default_sort_dir == 'asc' else desc
query = query.order_by(sort_func(sort_field))
if not self.sort_by:
self.sort_by = self.default_sort_by
self.sort_dir = self.default_sort_dir
return query def parse_sort_parameters(self, sort_param):
''' parses a string that might contain sorting information '''
sort_functions = { 'asc': asc, 'desc': desc}
try:
sort_param = sort_param.lower()
field, direction = sort_param.split('.', 1)
func = sort_functions[direction]
return SortParameter(sort_param, field, direction, func)
except (AttributeError, IndexError, KeyError, ValueError):
return None
def calculate_pagination(self):
''' calculates the pagination info '''
current_page = self._get_int(self.get_key_page, 1)
items_per_page = self._get_int(
self.get_key_items_per_page,
self.default_items_per_page
)
self.pages = Pagination(
current_page,
self.filtered_query.count(),
items_per_page,
self.default_window_size
)
def items(self): def items(self):
''' returns the items of the current page as resources''' ''' returns the items of the current page as resources'''
if not self.pages.count: if not self.pages.count:
return [] return []
# add the sorting # calculate the offset from the paging information
query = self.prepare_sorted_query(self.filtered_query)
# add offset and limit limit
offset = (self.pages.current - 1) * self.pages.items_per_page offset = (self.pages.current - 1) * self.pages.items_per_page
# prepare the query including sorting, offset and limit
query = self.prepare_sorted_query(self._base_query, self.sorting)
query = query.offset(offset).limit(self.pages.items_per_page) query = query.offset(offset).limit(self.pages.items_per_page)
# return a list of resources representing the items found by the query # return a list of resources representing the items found by the query
return [ return [
self._child_resource(item) self.child_resource_class.from_sqla(item, self)
for item for item
in query.all() in query.all()
] ]
def __getitem__(self, key):
''' returns a child resource representing a sqlalchemy model '''
model = self.base_query.get(key)
if model:
return self._child_resource(model)
return super().__getitem__(key)
def _child_resource(self, item):
''' helper function that returns an SQLalchemy model as resource '''
return self.child_resource_class(item.id, self, model=item)
def _get_int(self, key, default): def query_params(self, *args, **kwargs):
''' returns the value of GET[key] as integer or default ''' returns a dict with query parameters for a new request
:param str key: the key for the value of request.GET The entries are set by the parsed request.GET parameters used to
:param int default: the default value, returned if conversion fails construct the queries. If a new request comes in with the parameters
:rtype: int provided, it will return the same child resources in the same order.
the query parameters can be overridden by providing tuples or
keyword arguments with new values.
''' '''
try: params = {
return int(self.request.GET[key]) self.query_key_current_page: self.pages.current,
except (KeyError, ValueError, TypeError): self.query_key_items_per_page: self.pages.items,
return default self.query_key_sorting: self.sorting.text
}
def query_params(self, override=None): params.update(self.filters)
''' query parameters for the active filters, sorting and page params.update(args)
params.update(kwargs)
:param dict override: # remove items that have None as a value
values that override the current filter, sorting or page settings filtered = {k: v for k, v in params.items() if v is not None}
return filtered
Example::
# current page, sorting, etc. def url(self, *args, **kwargs):
current = context.query_params() ''' shortcut for creating a url pointing to this resource
current == {'p':1, 'n':12, 'o':'name', 'd':'asc', 'type':'brie'}
# next page with same sorting but type filter removed shortcut for:
next = context.query_params({'p':2, 'type': None}) request.resource_url(self, query=self.query_params(*args, **kwargs))
next == {'p':2, 'n':12, 'o':'name', 'd':'asc'}
''' '''
params = {} params = self.query_params(*args, **kwargs)
if self.pages.current: return self.request.resource_url(self, query=params)
params[self.get_key_page] = self.pages.current
params[self.get_key_items_per_page] = self.pages.items_per_page
if self.sort_by:
params[self.get_key_sort_by] = self.sort_by
params[self.get_key_sort_dir] = self.sort_dir
for key, value in self.active_filters.items():
params[key] = value
if override: def __getitem__(self, key):
params.update(override) ''' returns a child resource representing a sqlalchemy model '''
model = self.request.dbsession.query(self.sql_model_class).get(key)
return {k: v for k, v in params.items() if v is not None} if not model:
raise KeyError()
def resource_url(self, resource, *args, override=None, **kwargs): return self.child_resource_class.from_sqla(model, self)
''' resource url for a context with query parameters for current view
:param resource: resource or view name to generate the url for
:type resource: :class:`BaseResource` or ``str``
:param list args: elements for url construction
:param dict override: overriding query params, see ``query_params()``
if the resource provided is a string, the current instance is
prepended::
# this
context.resoure_url('edit')
# is the same as
current_params = context.query_params()
url = request.resource_url(context, 'edit', query=current_params)
'''
if isinstance(resource, str):
chain = [self, resource] + args
else:
chain = [resource] + args
kwargs['query'] = self.query_params(override)
return self.request.resource_url(*chain, **kwargs)

114
ordr2/resources/orders.py

@ -0,0 +1,114 @@
from sqlalchemy import or_
from pyramid.security import Allow, Authenticated, Deny, DENY_ALL, Everyone
from .base import BaseResource, PaginationResourceMixin
from ordr2.models import Category, Order, OrderStatus
class OrderResource(BaseResource):
''' Resource representing one order '''
def __acl__(self):
''' Access controll list '''
acl = [
(Allow, 'role:user', 'view'),
(Allow, 'role:user', 'create'),
(Allow, 'role:purchaser', 'edit'),
(Allow, 'role:purchaser', 'delete'),
]
# open orders may be edited and deleted by the user that placed them
if self.model.status == OrderStatus.OPEN:
acl.append(
(Allow, 'user:' + str(self.model.created_by), 'edit')
)
acl.append(
(Allow, 'user:' + str(self.model.created_by), 'delete')
)
acl.append(DENY_ALL)
return acl
class OrderList(BaseResource, PaginationResourceMixin):
''' Resource representing a list of orders '''
sql_model_class = Order
child_resource_class = OrderResource
default_sorting = 'created.desc'
default_items_per_page = 12
def __acl__(self):
''' Access controll list '''
return [
(Allow, 'role:user', 'view'),
(Allow, 'role:user', 'create'),
(Allow, 'role:purchaser', 'edit'),
(Allow, 'role:purchaser', 'delete'),
DENY_ALL
]
def prepare_filtered_query(self, dbsession, filter_params):
''' setup the base filtered query '''
query = dbsession.query(self.sql_model_class)
# filter by status
status_name = filter_params.get('status', None)
try:
status_name = status_name.lower()
status = OrderStatus(status_name)
query = query.filter_by(status=status)
except (AttributeError, ValueError):
status_name = None
self.filters['status'] = status_name
# filter by user
user_name = filter_params.get('user', None)
if user_name:
query = query.filter_by(created_by=user_name)
self.filters['user'] = user_name
# filter by search term
search = filter_params.get('search', None)
if search:
term = '%{}%'.format(search)
query = query.filter(
or_(
self.sql_model_class.cas_description.ilike(term),
self.sql_model_class.vendor.ilike(term),
self.sql_model_class.catalog_nr.ilike(term),
self.sql_model_class.account.ilike(term),
self.sql_model_class.created_by.ilike(term)
)
)
self.filters['search'] = search
return query
def prepare_sorted_query(self, query, sorting):
''' add sorting to the base query '''
available_fields = {
'cas': 'cas_description',
'category': 'category',
'catalog': 'catalog_nr',
'vendor': 'vendor',
'price': 'unit_price',
'amount': 'amount',
'total': 'total_price',
'created': 'created_date',
'user': 'created_by',
'status': 'status',
}
name = available_fields.get(sorting.field, None)
model_field = getattr(self.sql_model_class, name, None)
if model_field:
sort_func = sorting.func(model_field)
query = query.order_by(sort_func)
# add default sorting
default_sort = self.parse_sort_parameters(self.default_sorting)
if sorting.field != default_sort.field:
default_sort = self.parse_sort_parameters(self.default_sorting)
query = self.prepare_sorted_query(query, default_sort)
return query

55
ordr2/schemas/__init__.py

@ -1,4 +1,4 @@
''' Schemas (sub) package, for form rendering and validation ''' ''' Schemas for form input and validation '''
import colander import colander
import deform import deform
@ -10,6 +10,9 @@ from .helpers import (
deferred_csrf_validator deferred_csrf_validator
) )
# Make Deform widgets aware of our widget template paths
configure_zpt_renderer(['ordr2:templates/deform'])
# Base Schema # Base Schema
@ -25,17 +28,7 @@ class CSRFSchema(colander.Schema):
@classmethod @classmethod
def as_form(cls, request, **kwargs): def as_form(cls, request, **kwargs):
''' returns the schema as a form ''' returns the schema as a form '''
:param request:
the current request
:type request:
pyramid.request.Request
:param kwargs:
additional parameters for the form rendering.
url is not set, the current context and view name will be used to
constuct a url for the form
'''
url = kwargs.pop('url', None) url = kwargs.pop('url', None)
if not url: if not url:
url = request.resource_url(request.context, request.view_name) url = request.resource_url(request.context, request.view_name)
@ -44,12 +37,36 @@ class CSRFSchema(colander.Schema):
return form return form
def includeme(config):
'''
Initialize the form schemas
Activate this setup using ``config.include('ordr2.schemas')``. class MoneyInputSchema(colander.Schema):
''' custom schema for structured money and currency input '''
''' amount = colander.SchemaNode(
# Make Deform widgets aware of our widget template paths colander.Decimal(),
configure_zpt_renderer(['ordr2:templates/deform']) widget=deform.widget.MoneyInputWidget(
readonly_template='textinput_disabled.pt',
css_class='moneyinput amount'
),
)
currency = colander.SchemaNode(
colander.String(),
default='EUR',
widget=deform.widget.TextInputWidget(
readonly_template='textinput_disabled.pt',
css_class='moneyinput currency'
)
)
def __init__(self, *args, **kwargs):
''' define the custom schema templates '''
if 'widget' not in kwargs:
readonly = kwargs.pop('readonly', False)
kwargs['widget'] = deform.widget.MappingWidget(
category='default',
template='money_mapping.pt',
readonly_template='money_mapping_disabled.pt',
item_template='money_mapping_item.pt',
item_readonly_template='money_mapping_item_diabled.pt',
readonly=readonly,
)
super().__init__(*args, **kwargs)

108
ordr2/schemas/account.py

@ -11,14 +11,18 @@ from .helpers import (
) )
ROLES = [(role.name, role.value.capitalize()) for role in Role]
# schema for user registration # schema for user registration
class RegistrationSchema(CSRFSchema): class RegistrationSchema(CSRFSchema):
''' new user registration ''' ''' new user registration '''
username = colander.SchemaNode( user_name = colander.SchemaNode(
colander.String(), colander.String(),
widget=deform.widget.TextInputWidget(readonly=True), widget=deform.widget.TextInputWidget(
template='textinput_disabled.pt'
),
description='automagically generated for you', description='automagically generated for you',
validator = deferred_unique_username_validator, validator = deferred_unique_username_validator,
) )
@ -41,37 +45,22 @@ class RegistrationSchema(CSRFSchema):
def as_form(cls, request, **override): def as_form(cls, request, **override):
settings = { settings = {
'buttons': ('Create Account', 'Cancel'), 'buttons': ('Create Account', 'Cancel'),
'css_class': 'form registration' 'css_class': 'form-horizontal registration'
}
settings.update(override)
return super().as_form(request, **settings)
class ResetPasswordSchema(CSRFSchema):
''' reset a password '''
password = colander.SchemaNode(
colander.String(),
widget=deform.widget.CheckedPasswordWidget()
)
@classmethod
def as_form(cls, request, **override):
settings = {
'buttons': ('Reset Password', 'Cancel'),
'css_class': 'form reset-password'
} }
settings.update(override) settings.update(override)
return super().as_form(request, **settings) return super().as_form(request, **settings)
# schema for user settings
class SettingsSectionGeneralSchema(colander.Schema): class UserSchema(CSRFSchema):
''' Section 'General' for account settings schema ''' ''' user settings schema '''
username = colander.SchemaNode( user_name = colander.SchemaNode(
colander.String(), colander.String(),
widget=deform.widget.TextInputWidget(readonly=True), widget=deform.widget.TextInputWidget(
template='textinput_disabled.pt'
),
) )
first_name = colander.SchemaNode( first_name = colander.SchemaNode(
colander.String() colander.String()
@ -85,12 +74,30 @@ class SettingsSectionGeneralSchema(colander.Schema):
) )
role = colander.SchemaNode( role = colander.SchemaNode(
colander.String(), colander.String(),
widget=deform.widget.TextInputWidget(readonly=True), widget=deform.widget.SelectWidget(values=ROLES)
) )
@classmethod
def as_form(cls, request, **override):
settings = {
'buttons': (
deform.Button(name='save', title='Save changes'),
deform.Button(
name='delete',
title='Delete user',
css_class='btn-danger'
),
deform.Button(name='reset', title='Reset password'),
deform.Button(name='cancel', title='Cancel')
),
'css_class': 'form-horizontal',
}
settings.update(override)
return super().as_form(request, **settings)
class SettingsSectionChangePasswordSchema(colander.Schema): class ChangePasswordSchema(CSRFSchema):
''' Section 'Change Password' for account settings schema ''' ''' change password of an account '''
new_password = colander.SchemaNode( new_password = colander.SchemaNode(
colander.String(), colander.String(),
@ -99,29 +106,50 @@ class SettingsSectionChangePasswordSchema(colander.Schema):
) )
class SettingsSectionConfirmChangesSchema(colander.Schema): class ConfirmSettingsSchema(CSRFSchema):
''' Section 'ConfirmChanges' for account settings schema ''' ''' confirm changes with current password '''
password = colander.SchemaNode( current_password = colander.SchemaNode(
colander.String(), colander.String(),
widget=deform.widget.PasswordWidget(), widget=deform.widget.PasswordWidget(),
validator=deferred_password_validator, description='Enter your current password to confirm changes',
description='Enter your current password to confirm changes' validator=deferred_password_validator
) )
class AccountSettingsSchema(CSRFSchema): class SettingsSchema(CSRFSchema):
''' account settings schema ''' general = UserSchema()
change_password = ChangePasswordSchema()
general = SettingsSectionGeneralSchema() confirm_changes = ConfirmSettingsSchema()
change_password = SettingsSectionChangePasswordSchema()
confirm_changes = SettingsSectionConfirmChangesSchema()
@classmethod @classmethod
def as_form(cls, request, **override): def as_form(cls, request, **override):
settings = { settings = {
'buttons': ('Save Settings', 'Cancel'), 'buttons': ('Save Settings', 'Cancel'),
'css_class': 'form account-settings' 'css_class': 'form-horizontal user-settings'
}
settings.update(override)
form = super().as_form(request, **settings)
# disable the role field for user settings
form['general']['role'].widget = deform.widget.TextInputWidget(
template='textinput_disabled.pt'
)
return form
class ResetPasswordSchema(CSRFSchema):
''' reset password of an account '''
new_password = colander.SchemaNode(
colander.String(),
widget=deform.widget.CheckedPasswordWidget()
)
@classmethod
def as_form(cls, request, **override):
settings = {
'buttons': ('Change Password', 'Cancel'),
'css_class': 'form-horizontal'
} }
settings.update(override) settings.update(override)
return super().as_form(request, **settings) return super().as_form(request, **settings)

5
ordr2/schemas/helpers.py

@ -1,6 +1,5 @@
''' helper functions for schemas '''
import colander import colander
import deform
from pyramid.csrf import get_csrf_token, check_csrf_token from pyramid.csrf import get_csrf_token, check_csrf_token
@ -30,7 +29,7 @@ def deferred_unique_username_validator(node, kw):
def validate_unique_username(node, value): def validate_unique_username(node, value):
request = kw.get('request') request = kw.get('request')
user = request.dbsession.query(User).filter_by(username=value).first() user = request.dbsession.query(User).filter_by(user_name=value).first()
if user is not None: if user is not None:
raise colander.Invalid(node, 'User name already registered') raise colander.Invalid(node, 'User name already registered')
return validate_unique_username return validate_unique_username

211
ordr2/schemas/orders.py

@ -0,0 +1,211 @@
''' schemas for creating and editing orders and consumables'''
import colander
import deform
from ordr2.models import Category, OrderStatus
from . import CSRFSchema, MoneyInputSchema
# key / value pairs for select fields
CATEGORIES = [(c.name, c.value.capitalize()) for c in Category]
STATI = [(s.name, s.value.capitalize()) for s in OrderStatus]
class ConsumableSchema(CSRFSchema):
''' edit or add consumable '''
cas_description = colander.SchemaNode(
colander.String()
)
category = colander.SchemaNode(
colander.String(),
widget=deform.widget.SelectWidget(values=CATEGORIES)
)
catalog_nr = colander.SchemaNode(
colander.String()
)
vendor = colander.SchemaNode(
colander.String()
)
package_size = colander.SchemaNode(
colander.String()
)
unit_price = MoneyInputSchema(
readonly=False
)
comment = colander.SchemaNode(
colander.String(),
widget=deform.widget.TextAreaWidget(rows=5),
missing=''
)
@classmethod
def as_form(cls, request, **override):
''' returns the schema as a form '''
# define buttons separately for a new consumable and one to edit
is_new_consumable = override.pop('is_new_consumable', False)
if is_new_consumable:
settings = {
'buttons': (
deform.Button(name='save', title='Add Consumable'),
deform.Button(name='cancel', title='Cancel')
),
'css_class': 'form-horizontal',
}
else:
settings = {
'buttons': (
deform.Button(name='save', title='Save changes'),
deform.Button(
name='delete',
title='Delete Consumable',
css_class='btn-danger'
),
deform.Button(name='cancel', title='Cancel')
),
'css_class': 'form-horizontal',
}
settings.update(override)
return super().as_form(request, **settings)
class OrderInformation(colander.Schema):
''' schema for editing order status
parital schema, used in EditOrderSchema
'''
status = colander.SchemaNode(
colander.String(),
widget=deform.widget.SelectWidget(values=STATI)
)
class OrderItem(colander.Schema):
''' schema for editing item information
parital schema, used in NewOrderSchema and EditOrderSchema
'''
cas_description = colander.SchemaNode(
colander.String()
)
category = colander.SchemaNode(
colander.String(),
widget=deform.widget.SelectWidget(values=CATEGORIES)
)
catalog_nr = colander.SchemaNode(
colander.String()
)
vendor = colander.SchemaNode(
colander.String()
)
package_size = colander.SchemaNode(
colander.String()
)
class OrderPricing(colander.Schema):
''' schema for editing price information
parital schema, used in NewOrderSchema and EditOrderSchema
'''
unit_price = MoneyInputSchema(
readonly=False
)
quantity = colander.SchemaNode(
colander.Integer(),
validator=colander.Range(min=1),
widget=deform.widget.TextInputWidget(
css_class='number'
),
default=1
)
total_price = MoneyInputSchema(
readonly=True
)
class OrderOptionals(colander.Schema):
''' schema for editing optional order information
parital schema, used in NewOrderSchema and EditOrderSchema
'''
account = colander.SchemaNode(
colander.String(),
missing=''
)
comment = colander.SchemaNode(
colander.String(),
widget=deform.widget.TextAreaWidget(rows=5),
missing=''
)
class NewOrderSchema(CSRFSchema):
''' schema for a new order '''
item_information = OrderItem()
pricing = OrderPricing()
optional_information = OrderOptionals()
@classmethod
def as_form(cls, request, **override):
''' returns the schema as a form '''
settings = {
'buttons': (
deform.Button(name='save', title='Place Order'),
deform.Button(name='cancel', title='Cancel')
),
'css_class': 'form-horizontal'
}
settings.update(override)
return super().as_form(request, **settings)
class EditOrderSchema(CSRFSchema):
''' schema for editing an order '''
order_information = OrderInformation(
widget=deform.widget.MappingWidget(
template='order_info_mapping.pt'
)
)
item_information = OrderItem()
pricing = OrderPricing()
optional_information = OrderOptionals()
@classmethod
def as_form(cls, request, **override):
''' returns the schema as a form '''
settings = {
'buttons': (
deform.Button(name='save', title='Edit Order'),
deform.Button(
name='reorder',
title='Reorder',
css_class='btn-success'
),
deform.Button(
name='delete',
title='Delete Order',
css_class='btn-danger'
),
deform.Button(name='cancel', title='Cancel')
),
'css_class': 'form-horizontal'
}
settings.update(override)
form = super().as_form(request, **settings)
# disable the status field, if the current user is not a purchaser
if not 'role:purchaser' in request.user.role_principals:
form['order_information']['status'].widget = \
deform.widget.TextInputWidget(
template='textinput_disabled.pt'
)
return form

2
ordr2/scripts/__init__.py

@ -1 +1 @@
# package ''' command line scripts '''

4792
ordr2/scripts/export_consumables.yml

File diff suppressed because it is too large Load Diff

100590
ordr2/scripts/export_orders.yml

File diff suppressed because it is too large Load Diff

715
ordr2/scripts/export_users.yml

@ -0,0 +1,715 @@
%YAML 1.1
---
# imtekordr.users
-
id: 99
username: "MartinSchoenstein"
first_name: "Martin"
last_name: "Schoenstein"
password: "ea8458396a0c17954f9a9bc5b835f81148a39bcb"
email: "schoenst@imtek.de"
role: "Purchaser"
date_created: "2012-04-05 14:29:21"
-
id: 98
username: "DanielaMoessner"
first_name: "Daniela"
last_name: "Moessner"
password: "5ee566ad84396a2a26d7f6fcdf589a261f202569"
email: "moessner@imtek.de"
role: "Purchaser"
date_created: "2012-03-30 09:35:40"
-
id: 97
username: "AlexanderDietz"
first_name: "Alexander"
last_name: "Dietz"
password: "621d0004efe268724a86473649ae3ced2871e1c9"
email: "alexander.dietz@imtek.uni-freiburg.de"
role: "Purchaser"
date_created: "2012-03-29 16:39:29"
-
id: 94
username: "ASasdasdgase"
first_name: "ASasd"
last_name: "asdgase"
password: "7c4a8d09ca3762af61e59520943dc26494f8941b"
email: "axsd@sdasd.com"
role: "Inactive"
date_created: "2012-02-15 15:27:34"
-
id: 82
username: "SebastianSebald"
first_name: "Sebastian"
last_name: "Sebald"
password: "9b3e1fa230b050fb324086e2fcc94b1b9aa2ac35"
email: "sebastian.sebald@gmail.com"
role: "Admin"
date_created: "2012-01-20 13:12:53"
-
id: 89
username: "HolgerFrey"
first_name: "Holger"
last_name: "Frey"
password: "9999fc0774280169f52232de4500e0077a314d0c"
email: "holger.frey@imtek.uni-freiburg.de"
role: "Admin"
date_created: "2012-01-20 21:35:40"
-
id: 100
username: "MaxMustermann"
first_name: "Max"
last_name: "Mustermann"
password: "af0ba23d48fe7db684d9a9d13eb5ec0f5183081c"
email: "oswaldprucker@web.de"
role: "Inactive"
date_created: "2012-05-16 08:40:37"
-
id: 91
username: "NataliaSchatz"
first_name: "Natalia"
last_name: "Schatz"
password: "5f89fc9b6033aa210658489a14bf865a096dd702"
email: "schatz@imtek.de"
role: "Admin"
date_created: "2012-01-20 21:37:32"
-
id: 92
username: "OswaldPrucker"
first_name: "Oswald"
last_name: "Prucker"
password: "4aa75e8bc73f4bc072133a10acb728633d83eb20"
email: "prucker@imtek.de"
role: "Admin"
date_created: "2012-01-20 22:22:27"
-
id: 96
username: "MalwinaPajestka"
first_name: "Malwina"
last_name: "Pajestka"
password: "cf8abbfad4ea9a10200e6b0b6008ac55dcbc499e"
email: "malwina.pajestka@imtek.de"
role: "Purchaser"
date_created: "2012-03-29 14:47:44"
-
id: 155
username: "AlexandraSchneider"
first_name: "Alexandra"
last_name: "Schneider"
password: "f3d4facdde3f40ad5abaf8b8bb17f2da7b08af32"
email: "alexandra.schneider@jupiter.uni-freiburg"
role: "User"
date_created: "2015-08-04 16:45:44"
-
id: 102
username: "MichaelHenze"
first_name: "Michael"
last_name: "Henze"
password: "2dfa7ae9d549ae3e152c1621b111d92029972749"
email: "michael.henze@imtek.uni-freiburg.de"
role: "User"
date_created: "2012-05-22 17:00:41"
-
id: 154
username: "VaniaWidyaya"
first_name: "Vania"
last_name: "Widyaya"
password: "93b8e920dce9eb632b4698a77ca63a1dd6f3d14c"
email: "vania.widyaya@imtek.uni-freiburg.de"
role: "User"
date_created: "2015-05-06 09:47:09"
-
id: 104
username: "RomanErath"
first_name: "Roman"
last_name: "Erath"
password: "452f3991d26d97c62cdf6bbcb31ef2be9b42df1d"
email: "roman.erath@imtek.uni-freiburg.de"
role: "User"
date_created: "2012-05-29 13:42:51"
-
id: 106
username: "WibkeHartleb"
first_name: "Wibke"
last_name: "Hartleb"
password: "aeea4f54de35d5abe4d0fcbb8116df4842bc7304"
email: "hartleb@imtek.de"
role: "Inactive"
date_created: "2012-06-04 16:19:55"
-
id: 107
username: "FranziskaDorner"
first_name: "Franziska"
last_name: "Dorner"
password: "0320f2762d397cb4225f36bcad23a1d6ec9a5dd5"
email: "franziska.dorner@imtek.de"
role: "Inactive"
date_created: "2012-06-04 16:28:24"
-
id: 156
username: "ChinnawutPipatpanukul"
first_name: "Chinnawut"
last_name: "Pipatpanukul"
password: "fc0b55c7a97cb2b16d94844dd3b260435cb69acd"
email: "polymer_chin@hotmail.com"
role: "User"
date_created: "2015-09-07 17:03:11"
-
id: 110
username: "SimonSchuster"
first_name: "Simon"
last_name: "Schuster"
password: "5cd79755dcc701a0a72bbeacd5a45aa932c3d63f"
email: "schuster@imtek.uni-freiburg.de"
role: "Inactive"
date_created: "2012-06-18 15:27:14"
-
id: 111
username: "JonGreen"
first_name: "Jon"
last_name: "Green"
password: "871f35fb0bc758f97dcc9dc484b9002014322c1b"
email: "jon.green@imtek.uni-freiburg.de"
role: "Inactive"
date_created: "2012-06-27 15:30:31"
-
id: 113
username: "PengZou"
first_name: "Peng"
last_name: "Zou"
password: "50d1199385e3b7c39d382017e281e37782d84026"
email: "peng.zou@imtek.uni-freiburg.de"
role: "User"
date_created: "2012-07-30 10:38:40"
-
id: 114
username: "HolgerKlapproth"
first_name: "Holger"
last_name: "Klapproth"
password: "ec2ec7fad8702059c81783d7cb720d288ffb6786"
email: "holger.klapproth@imtek.de"
role: "User"
date_created: "2012-07-31 12:39:58"
-
id: 115
username: "TobiasHeitzler"
first_name: "Tobias"
last_name: "Heitzler"
password: "1d119fcf4eb869e99de044125cbe54960e84b1de"
email: "tobias.heitzler@jupiter.uni-freiburg.de"
role: "Inactive"
date_created: "2012-08-20 10:27:36"
-
id: 116
username: "VitaliyKondrashov"
first_name: "Vitaliy"
last_name: "Kondrashov"
password: "a194f7e6584fd78fc6fd87aea8244d7d28cecdfb"
email: "vitaliy.kondrashov@imtek.de"
role: "Inactive"
date_created: "2012-09-12 12:37:03"
-
id: 117
username: "MaraFlorea"
first_name: "Mara"
last_name: "Florea"
password: "2c7d26e5a650f1452596c5d6859f1de70e9dfda0"
email: "mara.florea@fmf-uni-freiburg.de"
role: "User"
date_created: "2012-09-24 09:57:37"
-
id: 118
username: "NicoleBirsner"
first_name: "Nicole"
last_name: "Birsner"
password: "205e21a7eb6a9475d252cc34ec5652a48cd40a1b"
email: "birsner@imtek.de"
role: "User"
date_created: "2012-09-26 16:11:50"
-
id: 119
username: "KarenLienkamp"
first_name: "Karen"
last_name: "Lienkamp"
password: "810616773a6895260bb6b1f06436bf5919b9ac7e"
email: "lienkamp@imtek.uni-freiburg.de"
role: "Purchaser"
date_created: "2012-10-17 13:38:47"
-
id: 120
username: "ChristophScheibelein"
first_name: "Christoph"
last_name: "Scheibelein"
password: "d52b154b64b76cb7d41c900b6dc04075568f5881"
email: "christoph.scheibelein@imtek.de"
role: "User"
date_created: "2012-10-30 17:00:57"
-
id: 151
username: "CrispinAmiriNaini"
first_name: "Crispin"
last_name: "AmiriNaini"
password: "a5e0427ef5e4b47165950f2233767158c6305d72"
email: "crispin.amiri@imtek.de"
role: "User"
date_created: "2015-01-16 15:17:00"
-
id: 121
username: "DavidBoschert"
first_name: "David"
last_name: "Boschert"
password: "219ca82924d6388be4be803104e721c28c7bd8ed"
email: "david.boschert@frias.uni-freiburg.de"
role: "User"
date_created: "2013-01-22 12:01:21"
-
id: 122
username: "NilsKorf"
first_name: "Nils"
last_name: "Korf"
password: "2785030b6e08e0c1b5ff80080382efbe11efd644"
email: "nils.korf@bcf.uni-freiburg.de"
role: "Inactive"
date_created: "2013-01-29 13:26:11"
-
id: 123
username: "FrankScherag"
first_name: "Frank"
last_name: "Scherag"
password: "acd383d906d92779723d121ac3399aa0d84dde00"
email: "Frank.Scherag@imtek.uni-freiburg.de"
role: "User"
date_created: "2013-03-07 10:49:57"
-
id: 124
username: "AnnaSchuler"
first_name: "Anna"
last_name: "Schuler"
password: "e546a402c7ee629029bad23803b14768207fd61a"
email: "anne-katrin.schuler@imtek.uni-freiburg.d"
role: "User"
date_created: "2013-03-12 13:07:07"
-
id: 157
username: "SebastianAnders"
first_name: "Sebastian"
last_name: "Anders"
password: "3d48159e1c5a08a06aa8149208791f686effaba6"
email: "sebastian.anders@imtek.de"
role: "User"
date_created: "2015-09-24 10:34:21"
-
id: 126
username: "MarcelRothfelder"
first_name: "Marcel"
last_name: "Rothfelder"
password: "cb70c818d0a3ab0d595fabbe7eadcf96d7e003f9"
email: "marcel.rothfelder@fmf.uni-freiburg.de"
role: "User"
date_created: "2013-03-28 09:42:44"
-
id: 127
username: "AnneBuderer"
first_name: "Anne"
last_name: "Buderer"
password: "574f939d78617aef36d6240e3cd5c90eb390aa73"
email: "anne.buderer@imtek.uni-freiburg.de"
role: "User"
date_created: "2013-04-02 10:20:27"
-
id: 153
username: "SureshBanda"
first_name: "Suresh"
last_name: "Banda"
password: "91b33a824a0aaac74bfd465ab0ad253885896b20"
email: "suresh.banda@imtek.de"
role: "User"
date_created: "2015-02-19 14:43:41"
-
id: 152
username: "RolandHoenes"
first_name: "Roland"
last_name: "Hoenes"
password: "ad972ff6f6c8e9c1b9fd44a1b9774877482d0974"
email: "roland.hoenes@imtek.de"
role: "User"
date_created: "2015-02-03 09:42:28"
-
id: 129
username: "AnselmHoppmann"
first_name: "Anselm"
last_name: "Hoppmann"
password: "98fe5b48a33f8618fe08f9ca4b8dfb3256fa7e00"
email: "anselm.hoppmann@gmx.de"
role: "Inactive"
date_created: "2013-06-04 10:27:08"
-
id: 130
username: "ShararehAsiaee"
first_name: "Sharareh"
last_name: "Asiaee"
password: "d01d59fb35a1fbbba731f81f28fb43baf3eeb5e5"
email: "sharareh.sahneh@imtek.de"
role: "User"
date_created: "2013-07-04 11:58:37"
-
id: 132
username: "MarcZinggeler"
first_name: "Marc"
last_name: "Zinggeler"
password: "2aead214ed9af75a0dbd8a9c50341ba2a5945451"
email: "marc.zinggeler@imtek.uni-freiburg.de"
role: "User"
date_created: "2013-07-05 12:23:34"
-
id: 133
username: "XiaoqiangHou"
first_name: "Xiaoqiang"
last_name: "Hou"
password: "f717b7dc2f620d074151d544bec5328481d7faac"
email: "xiaoqiang.hou@imtek.de"
role: "User"
date_created: "2013-07-05 16:44:39"
-
id: 134
username: "SamarKazan"
first_name: "Samar"
last_name: "Kazan"
password: "334ef431feb818a657a5d413c341bce0d28cd407"
email: "samar.kazan@imtek.uni-freiburg.de"
role: "User"
date_created: "2013-07-10 14:30:57"
-
id: 136
username: "SaschaEngel"
first_name: "Sascha"
last_name: "Engel"
password: "94299c5dc1b3e954f0d7500d2bc3770a66bbd325"
email: "sascha.engel@imtek.uni-freiburg.de"
role: "Inactive"
date_created: "2013-08-09 13:47:01"
-
id: 137
username: "MartinKoerner"
first_name: "Martin"
last_name: "Koerner"
password: "115e67def35ce67ede63c93d7d81479d828d705c"
email: "martin.koerner@imtek.de"
role: "User"
date_created: "2013-08-26 15:02:45"
-
id: 138
username: "UrmilShah"
first_name: "Urmil"
last_name: "Shah"
password: "27bf49a7ec0d428a4e65ac5fbe88bd0bd8d55643"
email: "shahurmil86@yahoo.com"
role: "User"
date_created: "2013-10-29 14:28:59"
-
id: 139
username: "DavidSchwaerzle"
first_name: "David"
last_name: "Schwaerzle"
password: "938791e4907d0673c3baf5278b574f11b45c2fbb"
email: "david.schwaerzle@gmx.de"
role: "User"
date_created: "2013-10-29 14:29:02"
-
id: 147
username: "MonikaKurowska"
first_name: "Monika"
last_name: "Kurowska"
password: "a5fcbf21e6919599279dbe9c4adfea9878686321"
email: "monikkurowska@gmail.com"
role: "User"
date_created: "2014-10-02 09:21:18"
-
id: 140
username: "PhilipKotrade"
first_name: "Philip"
last_name: "Kotrade"
password: "8200057b2e20c4e5b801336841e6849de8bf3716"
email: "Philip.Kotrade@imtek.uni-freiburg.de"
role: "User"
date_created: "2013-11-07 11:19:22"
-
id: 141
username: "NiklasSchoenberg"
first_name: "Niklas"
last_name: "Schoenberg"
password: "6a2bf1397988b6da3c2857c2466a2396365880a0"
email: "schoenberg@imtek.de"
role: "User"
date_created: "2013-11-07 15:35:13"
-
id: 142
username: "MatthiasMenzel"
first_name: "Matthias"
last_name: "Menzel"
password: "8b1a8e1c534016c16396dc2308dbb9410221df20"
email: "matthias.menzel@imtek.uni-freiburg.de"
role: "User"
date_created: "2013-12-10 12:40:26"
-
id: 144
username: "MostafaMahmoud"
first_name: "Mostafa"
last_name: "Mahmoud"
password: "1dc1feb8629b3292065654e2a50160177b6e5aab"
email: "mostafasafwat@live.com"
role: "Inactive"
date_created: "2014-02-28 15:49:50"
-
id: 145
username: "HeidiPerez"
first_name: "Heidi"
last_name: "Perez"
password: "b3223810838aee0d0d08bef11ae6ab8139ead98d"
email: "heidi.perez@frias.uni-freiburg.de"
role: "Inactive"
date_created: "2014-04-23 13:32:24"
-
id: 146
username: "EstherRiga"
first_name: "Esther"
last_name: "Riga"
password: "f58b22fe282c539d9504e4f5023f30a5e694dae4"
email: "esther.riga@imtek.uni-freiburg.de"
role: "User"
date_created: "2014-07-08 13:34:35"
-
id: 148
username: "thomasseery"
first_name: "thomas"
last_name: "seery"
password: "808b3bf707af545878b2a14fe8d29649f6d5c227"
email: "seery@mail.ims.uconn.edu"
role: "Inactive"
date_created: "2014-10-16 16:24:24"
-
id: 149
username: "VanessaWeiss"
first_name: "Vanessa"
last_name: "Weiss"
password: "cdab1dc399f2db48b9f0d7edf241ffd5163ccf97"
email: "vanessa.weiss@imtek.de"
role: "User"
date_created: "2014-11-21 13:47:35"
-
id: 150
username: "AndreasMader"
first_name: "Andreas"
last_name: "Mader"
password: "ef18eaebcdc6ec5cc07f1d60f07ff0056ff6fc9d"
email: "andreas.mader@imtek.de"
role: "Inactive"
date_created: "2014-12-02 15:34:58"
-
id: 158
username: "JuliaSaar"
first_name: "Julia"
last_name: "Saar"
password: "c931d353713d309431819e824d6b8d5ffcc91660"
email: "Julia.Saar91@googlemail.com"
role: "User"
date_created: "2015-10-26 09:35:14"
-
id: 159
username: "MariaVoehringer"
first_name: "Maria"
last_name: "Voehringer"
password: "4538f730a9e9ad282753a447376a7bb4537ab24c"
email: "maria.voehringer@gmx.de"
role: "User"
date_created: "2015-11-23 11:00:08"
-
id: 160
username: "JessicaBean"
first_name: "Jessica"
last_name: "Bean"
password: "61095da8cef256650a98ad2941ba71892f15c958"
email: "jessica.bean@fmf.uni-freiburg.de"
role: "User"
date_created: "2015-11-24 15:22:32"
-
id: 161
username: "SimonZunker"
first_name: "Simon"
last_name: "Zunker"
password: "f19814fbf8f2cbdfee3fff746553869c30d3828b"
email: "simon.zunker@imtek.uni-freiburg.de"
role: "User"
date_created: "2016-01-26 16:42:14"
-
id: 162
username: "WeiChen"
first_name: "Wei"
last_name: "Chen"
password: "cb0aed09cd8838e6a4a319d284315ff51069ad75"
email: "wei.chen@imtek.uni-freiburg.de"
role: "User"
date_created: "2016-01-27 09:53:00"
-
id: 163
username: "AndreasWalder"
first_name: "Andreas"
last_name: "Walder"
password: "19dc4b581986466ef062d3e9d4eb2ae862e88a39"
email: "andreas.walder@imtek.uni-freiburg.de"
role: "User"
date_created: "2016-02-12 14:47:11"
-
id: 164
username: "KrisdaSudprasert"
first_name: "Krisda"
last_name: "Sudprasert"
password: "8520af56684c336d8403d0436b59010ea427a602"
email: "srati_wonnuch@hotmail.com"
role: "Inactive"
date_created: "2016-03-02 14:26:40"
-
id: 165
username: "ThananthornKanokwijitsilp"
first_name: "Thananthorn"
last_name: "Kanokwijitsilp"
password: "bf7b831ec66bdba869dbed4bbf203661ab5a2a6e"
email: "kanokwijitsilp@imtek.de"
role: "User"
date_created: "2016-03-09 10:23:26"
-
id: 166
username: "AlexanderStraub"
first_name: "Alexander"
last_name: "Straub"
password: "0cabd9350fe909cedb21776957fcf72f00a3210e"
email: "alexander.straub@jupiter.uni-freiburg.de"
role: "User"
date_created: "2016-05-25 09:48:39"
-
id: 167
username: "TaisukeKojima"
first_name: "Taisuke"
last_name: "Kojima"
password: "da53b8d3a7cbee5aaa7985a6330d8e83206aba5e"
email: "taisuke.kojima@imtek.uni-freiburg.de"
role: "User"
date_created: "2016-06-03 13:09:43"
-
id: 168
username: "StefanMuellers"
first_name: "Stefan"
last_name: "Muellers"
password: "653a9b2a076040f8246a5143901b0c1628176b27"
email: "stefan.muellers@imtek.uni-freiburg.de"
role: "User"
date_created: "2016-06-20 09:00:46"
-
id: 169
username: "JonasKost"
first_name: "Jonas"
last_name: "Kost"
password: "7bfa62293f70e1d6ee017642223cdbf7ae227f2d"
email: "jonas.kost@imtek.uni-freiburg.de"
role: "User"
date_created: "2016-07-11 09:57:57"
-
id: 170
username: "SimonSchoelch"
first_name: "Simon"
last_name: "Schoelch"
password: "fb747c7e015579361c416d4a59fbffe11a21be2f"
email: "simon.schoelch@gmail.com"
role: "User"
date_created: "2016-07-11 14:44:54"
-
id: 171
username: "ZhuolingDeng"
first_name: "Zhuoling"
last_name: "Deng"
password: "9374fdfaf8bc080b30233819f7f59bdb97b7a292"
email: "zhuoling.deng@merkur.uni-freiburg.de"
role: "User"
date_created: "2016-08-03 10:33:55"
-
id: 172
username: "TaoZou"
first_name: "Tao"
last_name: "Zou"
password: "0982e0a944c95b1b8d479e9635a4d05c656dd2e1"
email: "zout1219@msn.cn"
role: "User"
date_created: "2016-08-11 10:49:50"
-
id: 173
username: "StefanBritz"
first_name: "Stefan"
last_name: "Britz"
password: "c0836a94f6b666febedda96600fc8bec2999e086"
email: "stefan.britz@imtek.uni-freiburg.de"
role: "User"
date_created: "2016-11-02 13:18:23"
-
id: 174
username: "AliceEickenscheidt"
first_name: "Alice"
last_name: "Eickenscheidt"
password: "eb1db0df34b947382e2edeab0300f34f660f2fc9"
email: "alice.eickenscheidt@imtek.uni-freiburg.d"
role: "User"
date_created: "2016-11-03 13:18:08"
-
id: 175
username: "SarahFontaine"
first_name: "Sarah"
last_name: "Fontaine"
password: "5ace8b390b394d6438d4f691f06613996f61f919"
email: "sarah.fontaine@uranus.uni-freiburg.de"
role: "User"
date_created: "2016-11-09 13:24:59"
-
id: 176
username: "BidhariPidhatika"
first_name: "Bidhari"
last_name: "Pidhatika"
password: "9a68eb1ffa40cf74e8498d5641d16de456ac37ad"
email: "bpidhatika@gmail.com"
role: "User"
date_created: "2016-12-06 10:18:04"
-
id: 177
username: "LukasMetzler"
first_name: "Lukas"
last_name: "Metzler"
password: "0778b41d0d82cda54ba3f7176c566272cac16f88"
email: "lukas.metzler@imtek.de"
role: "User"
date_created: "2016-12-22 14:19:15"
-
id: 179
username: "KatrinTuecking"
first_name: "Katrin"
last_name: "Tuecking"
password: "9fb28ff3449a1436cd964aef6d5aa695ddcc1636"
email: "katrintuecking@web.de"
role: "User"
date_created: "2017-02-07 15:01:30"
-
id: 180
username: "CarmenEger"
first_name: "Carmen"
last_name: "Eger"
password: "f3bbfcf8a5f5430d020afdaae6e8f2745366bd0e"
email: "carmen.eger@pluto.uni-freiburg.de"
role: "User"
date_created: "2017-02-20 10:32:28"
-
id: 181
username: "DeepaPantulu"
first_name: "Deepa"
last_name: "Pantulu"
password: "641c92fce59bfa5ad4d80c47d0f932f853ced64c"
email: "deepa.pantulu@imtek.uni-freiburg.de"
role: "User"
date_created: "2017-04-06 10:22:54"
...

120
ordr2/scripts/initializedb.py

@ -1,33 +1,55 @@
''' initialize the database ''' ''' initializes a new data base and migrates old data '''
import os import os
import sys import sys
import transaction import transaction
import yaml
from pyramid.paster import ( from datetime import datetime
get_appsettings, from tqdm import tqdm
setup_logging, from urllib.parse import urlparse
)
from pyramid.paster import get_appsettings, setup_logging
from pyramid.scripts.common import parse_vars from pyramid.scripts.common import parse_vars
from ..models.meta import Base from ordr2.models.meta import Base
from ..models import ( from ordr2.models import (
get_engine, get_engine,
get_session_factory, get_session_factory,
get_tm_session, get_tm_session,
) )
from ..models.account import User, Role, passlib_context from ordr2.models import Category, Consumable, Order, OrderStatus, User, Role
def usage(argv): def usage(argv):
''' display the command line help message '''
cmd = os.path.basename(argv[0]) cmd = os.path.basename(argv[0])
print('usage: %s <config_uri> [var=value]\n' print('usage: %s <config_uri> [var=value]\n'
'(example: "%s development.ini")' % (cmd, cmd)) '(example: "%s development.ini")' % (cmd, cmd))
sys.exit(1) sys.exit(1)
def read_yaml_file(*paths):
''' read and parse a yaml file '''
path = os.path.join(*paths)
with open(path, 'r') as filehandle:
items = yaml.load(filehandle)
return items
def parse_dt(value, default=False):
''' parse a datetime value or return a default
for a default value Null is explicitly allowed.
'''
if not value or value.startswith('0000'):
return datetime.utcnow() if default is False else default
return datetime.strptime(value + ' -0000', '%Y-%m-%d %H:%M:%S %z')
def main(argv=sys.argv): def main(argv=sys.argv):
''' setup the database and migrate the data '''
# load the settings from the provided config file
if len(argv) < 2: if len(argv) < 2:
usage(argv) usage(argv)
config_uri = argv[1] config_uri = argv[1]
@ -35,22 +57,88 @@ def main(argv=sys.argv):
setup_logging(config_uri) setup_logging(config_uri)
settings = get_appsettings(config_uri, options=options) settings = get_appsettings(config_uri, options=options)
# remove an existing sqlite database to issue a restart
database_url = urlparse(settings['sqlalchemy.url'])
if database_url.scheme == 'sqlite' and os.path.isfile(database_url.path):
os.remove(database_url.path)
# setup the database connection
engine = get_engine(settings) engine = get_engine(settings)
Base.metadata.create_all(engine) Base.metadata.create_all(engine)
session_factory = get_session_factory(engine) session_factory = get_session_factory(engine)
passlib_context.load_path(settings['passlib.config'])
with transaction.manager: with transaction.manager:
dbsession = get_tm_session(session_factory, transaction.manager) dbsession = get_tm_session(session_factory, transaction.manager)
base_dir = os.path.dirname(__file__)
# migrate user data
user_list = read_yaml_file(base_dir, 'export_users.yml')
for data in tqdm(user_list, desc='Users'):
user = User( user = User(
username='HolgerFrey', id=data['id'],
first_name='Holger', user_name=data['username'],
last_name='Frey', first_name=data['first_name'],
email='frey@imtek.de', last_name=data['last_name'],
role=Role.ADMIN email=data['email'],
role=Role(data['role'].lower())
) )
if user.user_name == 'HolgerFrey':
user.set_password('holgi') user.set_password('holgi')
else:
user.set_password(data['password'])
dbsession.add(user) dbsession.add(user)
dbsession.flush()
# migrate consumables
con_list = read_yaml_file(base_dir, 'export_consumables.yml')
for data in tqdm(con_list, desc='Consumables'):
category = Category[data['category'].upper()]
date_created = parse_dt(data['date_created'])
consumable = Consumable(
id=data['id'],
vendor=data['vendor'],
catalog_nr=data['catalog_number'],
cas_description=data['CAS_description'],
package_size=data['package_size'],
unit_price=data['price_unit'],
currency=data['currency'],
comment=data['comment'],
date_created=date_created,
date_modified=parse_dt(data['date_modified'], date_created),
category=category
)
dbsession.add(consumable)
dbsession.flush()
# migrate orders
order_list = read_yaml_file(base_dir, 'export_orders.yml')
for data in tqdm(order_list, desc='Orders'):
work_status = data.get('work_status', 'approval')
status = OrderStatus[work_status.upper()]
category = Category[data['category'].upper()]
date_created = parse_dt(data['date_created'])
order = Order(
id=data['id'],
vendor=data['vendor'],
catalog_nr=data['catalog_number'],
cas_description=data['CAS_description'],
package_size=data['package_size'],
unit_price=data['price_unit'],
amount=data['quantity'],
total_price=data['price_total'],
account=data['account'],
currency=data['currency'],
comment=data['comment'],
created_date=date_created,
created_by=data['username'],
approval_date=parse_dt(data['date_modified'], None),
approval_by='',
ordered_date=parse_dt(data['date_ordered'], None),
ordered_by='',
completed_date=parse_dt(data['date_completed'], None),
completed_by='',
category=category,
status=status
)
dbsession.add(order)
dbsession.flush()

21
ordr2/security.py

@ -4,7 +4,7 @@ from pyramid.authentication import AuthTktAuthenticationPolicy
from pyramid.authorization import ACLAuthorizationPolicy from pyramid.authorization import ACLAuthorizationPolicy
from pyramid.security import Authenticated, Everyone from pyramid.security import Authenticated, Everyone
from ordr2.models.account import User, passlib_context from .models import User
class AuthenticationPolicy(AuthTktAuthenticationPolicy): class AuthenticationPolicy(AuthTktAuthenticationPolicy):
@ -31,15 +31,7 @@ class AuthenticationPolicy(AuthTktAuthenticationPolicy):
def get_user(request): def get_user(request):
''' retrieves the user object by the unauthenticated user id ''' retrieves the user object by the unauthenticated user id '''
:param request:
the current request object
:type request:
pyramid.request.Request
:rtype:
:class:`ordr2.models.account.User` or None
'''
user_id = request.unauthenticated_userid user_id = request.unauthenticated_userid
if user_id is not None: if user_id is not None:
user = request.dbsession.query(User).filter_by(id=user_id).first() user = request.dbsession.query(User).filter_by(id=user_id).first()
@ -49,22 +41,15 @@ def get_user(request):
def includeme(config): def includeme(config):
''' initializing authentication, authorization and password hash settings ''' initializing authentication and authorization for the Pyramid app
Activate this setup using ``config.include('ordr2.security')``. Activate this setup using ``config.include('ordr2.security')``.
''' '''
settings = config.get_settings() settings = config.get_settings()
# configure the passlib context manager for hashing user passwords
passlib_context.load_path(settings['passlib.config'])
# config for authentication and authorization
authn_policy = AuthenticationPolicy( authn_policy = AuthenticationPolicy(
settings['auth.secret'], settings['auth.secret'],
hashalg='sha512', hashalg='sha512',
) )
config.set_authentication_policy(authn_policy) config.set_authentication_policy(authn_policy)
config.set_authorization_policy(ACLAuthorizationPolicy()) config.set_authorization_policy(ACLAuthorizationPolicy())
# attach the get_user function returned by get_user_closure()
config.add_request_method(get_user, 'user', reify=True) config.add_request_method(get_user, 'user', reify=True)

19
ordr2/session.py

@ -1,19 +0,0 @@
''' Session configuration '''
import binascii
from pyramid_nacl_session import EncryptedCookieSessionFactory
def includeme(config):
''' initializing session configuration
Activate this setup using ``config.include('ordr2.session')``.
'''
settings = config.get_settings()
hex_secret = settings['session.secret'].strip()
secret = binascii.unhexlify(hex_secret)
factory = EncryptedCookieSessionFactory(secret)
config.set_session_factory(factory)

567
ordr2/static/css/bootstrap-responsive.css vendored

@ -0,0 +1,567 @@
/*!
* Bootstrap Responsive v2.0.0
*
* Copyright 2012 Twitter, Inc
* Licensed under the Apache License v2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
* Designed and built with all the love in the world @twitter by @mdo and @fat.
*/
.hidden {
display: none;
visibility: hidden;
}
@media (max-width: 480px) {
.nav-collapse {
-webkit-transform: translate3d(0, 0, 0);
}
.page-header h1 small {
display: block;
line-height: 18px;
}
input[class*="span"],
select[class*="span"],
textarea[class*="span"],
.uneditable-input {
display: block;
width: 100%;
height: 28px;
/* Make inputs at least the height of their button counterpart */
/* Makes inputs behave like true block-level elements */
-webkit-box-sizing: border-box;
/* Older Webkit */
-moz-box-sizing: border-box;
/* Older FF */
-ms-box-sizing: border-box;
/* IE8 */
box-sizing: border-box;
/* CSS3 spec*/
}
.input-prepend input[class*="span"], .input-append input[class*="span"] {
width: auto;
}
input[type="checkbox"], input[type="radio"] {
border: 1px solid #ccc;
}
.form-horizontal .control-group > label {
float: none;
width: auto;
padding-top: 0;
text-align: left;
}
.form-horizontal .controls {
margin-left: 0;
}
.form-horizontal .control-list {
padding-top: 0;
}
.form-horizontal .form-actions {
padding-left: 10px;
padding-right: 10px;
}
.modal {
position: absolute;
top: 10px;
left: 10px;
right: 10px;
width: auto;
margin: 0;
}
.modal.fade.in {
top: auto;
}
.modal-header .close {
padding: 10px;
margin: -10px;
}
.carousel-caption {
position: static;
}
}
@media (max-width: 768px) {
.container {
width: auto;
padding: 0 20px;
}
.row-fluid {
width: 100%;
}
.row {
margin-left: 0;
}
.row > [class*="span"], .row-fluid > [class*="span"] {
float: none;
display: block;
width: auto;
margin: 0;
}
}
@media (min-width: 768px) and (max-width: 980px) {
.row {
margin-left: -20px;
*zoom: 1;
}
.row:before, .row:after {
display: table;
content: "";
}
.row:after {
clear: both;
}
[class*="span"] {
float: left;
margin-left: 20px;
}
.span1 {
width: 42px;
}
.span2 {
width: 104px;
}
.span3 {
width: 166px;
}
.span4 {
width: 228px;
}
.span5 {
width: 290px;
}
.span6 {
width: 352px;
}
.span7 {
width: 414px;
}
.span8 {
width: 476px;
}
.span9 {
width: 538px;
}
.span10 {
width: 600px;
}
.span11 {
width: 662px;
}
.span12, .container {
width: 724px;
}
.offset1 {
margin-left: 82px;
}
.offset2 {
margin-left: 144px;
}
.offset3 {
margin-left: 206px;
}
.offset4 {
margin-left: 268px;
}
.offset5 {
margin-left: 330px;
}
.offset6 {
margin-left: 392px;
}
.offset7 {
margin-left: 454px;
}
.offset8 {
margin-left: 516px;
}
.offset9 {
margin-left: 578px;
}
.offset10 {
margin-left: 640px;
}
.offset11 {
margin-left: 702px;
}
.row-fluid {
width: 100%;
*zoom: 1;
}
.row-fluid:before, .row-fluid:after {
display: table;
content: "";
}
.row-fluid:after {
clear: both;
}
.row-fluid > [class*="span"] {
float: left;
margin-left: 2.762430939%;
}
.row-fluid > [class*="span"]:first-child {
margin-left: 0;
}
.row-fluid .span1 {
width: 5.801104972%;
}
.row-fluid .span2 {
width: 14.364640883%;
}
.row-fluid .span3 {
width: 22.928176794%;
}
.row-fluid .span4 {
width: 31.491712705%;
}
.row-fluid .span5 {
width: 40.055248616%;
}
.row-fluid .span6 {
width: 48.618784527%;
}
.row-fluid .span7 {
width: 57.182320438000005%;
}
.row-fluid .span8 {
width: 65.74585634900001%;
}
.row-fluid .span9 {
width: 74.30939226%;
}
.row-fluid .span10 {
width: 82.87292817100001%;
}
.row-fluid .span11 {
width: 91.436464082%;
}
.row-fluid .span12 {
width: 99.999999993%;
}
input.span1, textarea.span1, .uneditable-input.span1 {
width: 32px;
}
input.span2, textarea.span2, .uneditable-input.span2 {
width: 94px;
}
input.span3, textarea.span3, .uneditable-input.span3 {
width: 156px;
}
input.span4, textarea.span4, .uneditable-input.span4 {
width: 218px;
}
input.span5, textarea.span5, .uneditable-input.span5 {
width: 280px;
}
input.span6, textarea.span6, .uneditable-input.span6 {
width: 342px;
}
input.span7, textarea.span7, .uneditable-input.span7 {
width: 404px;
}
input.span8, textarea.span8, .uneditable-input.span8 {
width: 466px;
}
input.span9, textarea.span9, .uneditable-input.span9 {
width: 528px;
}
input.span10, textarea.span10, .uneditable-input.span10 {
width: 590px;
}
input.span11, textarea.span11, .uneditable-input.span11 {
width: 652px;
}
input.span12, textarea.span12, .uneditable-input.span12 {
width: 714px;
}
}
@media (max-width: 980px) {
body {
padding-top: 0;
}
.navbar-fixed-top {
position: static;
margin-bottom: 18px;
}
.navbar-fixed-top .navbar-inner {
padding: 5px;
}
.navbar .container {
width: auto;
padding: 0;
}
.navbar .brand {
padding-left: 10px;
padding-right: 10px;
margin: 0 0 0 -5px;
}
.navbar .nav-collapse {
clear: left;
}
.navbar .nav {
float: none;
margin: 0 0 9px;
}
.navbar .nav > li {
float: none;
}
.navbar .nav > li > a {
margin-bottom: 2px;
}
.navbar .nav > .divider-vertical {
display: none;
}
.navbar .nav > li > a, .navbar .dropdown-menu a {
padding: 6px 15px;
font-weight: bold;
color: #999999;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}
.navbar .dropdown-menu li + li a {
margin-bottom: 2px;
}
.navbar .nav > li > a:hover, .navbar .dropdown-menu a:hover {
background-color: #222222;
}
.navbar .dropdown-menu {
position: static;
top: auto;
left: auto;
float: none;
display: block;
max-width: none;
margin: 0 15px;
padding: 0;
background-color: transparent;
border: none;
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
}
.navbar .dropdown-menu:before, .navbar .dropdown-menu:after {
display: none;
}
.navbar .dropdown-menu .divider {
display: none;
}
.navbar-form, .navbar-search {
float: none;
padding: 9px 15px;
margin: 9px 0;
border-top: 1px solid #222222;
border-bottom: 1px solid #222222;
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);
-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);
}
.navbar .nav.pull-right {
float: none;
margin-left: 0;
}
.navbar-static .navbar-inner {
padding-left: 10px;
padding-right: 10px;
}
.btn-navbar {
display: block;
}
.nav-collapse {
overflow: hidden;
height: 0;
}
}
@media (min-width: 980px) {
.nav-collapse.collapse {
height: auto !important;
}
}
@media (min-width: 1200px) {
.row {
margin-left: -30px;
*zoom: 1;
}
.row:before, .row:after {
display: table;
content: "";
}
.row:after {
clear: both;
}
[class*="span"] {
float: left;
margin-left: 30px;
}
.span1 {
width: 70px;
}
.span2 {
width: 170px;
}
.span3 {
width: 270px;
}
.span4 {
width: 370px;
}
.span5 {
width: 470px;
}
.span6 {
width: 570px;
}
.span7 {
width: 670px;
}
.span8 {
width: 770px;
}
.span9 {
width: 870px;
}
.span10 {
width: 970px;
}
.span11 {
width: 1070px;
}
.span12, .container {
width: 1170px;
}
.offset1 {
margin-left: 130px;
}
.offset2 {
margin-left: 230px;
}
.offset3 {
margin-left: 330px;
}
.offset4 {
margin-left: 430px;
}
.offset5 {
margin-left: 530px;
}
.offset6 {
margin-left: 630px;
}
.offset7 {
margin-left: 730px;
}
.offset8 {
margin-left: 830px;
}
.offset9 {
margin-left: 930px;
}
.offset10 {
margin-left: 1030px;
}
.offset11 {
margin-left: 1130px;
}
.row-fluid {
width: 100%;
*zoom: 1;
}
.row-fluid:before, .row-fluid:after {
display: table;
content: "";
}
.row-fluid:after {
clear: both;
}
.row-fluid > [class*="span"] {
float: left;
margin-left: 2.564102564%;
}
.row-fluid > [class*="span"]:first-child {
margin-left: 0;
}
.row-fluid .span1 {
width: 5.982905983%;
}
.row-fluid .span2 {
width: 14.529914530000001%;
}
.row-fluid .span3 {
width: 23.076923077%;
}
.row-fluid .span4 {
width: 31.623931624%;
}
.row-fluid .span5 {
width: 40.170940171000005%;
}
.row-fluid .span6 {
width: 48.717948718%;
}
.row-fluid .span7 {
width: 57.264957265%;
}
.row-fluid .span8 {
width: 65.81196581200001%;
}
.row-fluid .span9 {
width: 74.358974359%;
}
.row-fluid .span10 {
width: 82.905982906%;
}
.row-fluid .span11 {
width: 91.45299145300001%;
}
.row-fluid .span12 {
width: 100%;
}
input.span1, textarea.span1, .uneditable-input.span1 {
width: 60px;
}
input.span2, textarea.span2, .uneditable-input.span2 {
width: 160px;
}
input.span3, textarea.span3, .uneditable-input.span3 {
width: 260px;
}
input.span4, textarea.span4, .uneditable-input.span4 {
width: 360px;
}
input.span5, textarea.span5, .uneditable-input.span5 {
width: 460px;
}
input.span6, textarea.span6, .uneditable-input.span6 {
width: 560px;
}
input.span7, textarea.span7, .uneditable-input.span7 {
width: 660px;
}
input.span8, textarea.span8, .uneditable-input.span8 {
width: 760px;
}
input.span9, textarea.span9, .uneditable-input.span9 {
width: 860px;
}
input.span10, textarea.span10, .uneditable-input.span10 {
width: 960px;
}
input.span11, textarea.span11, .uneditable-input.span11 {
width: 1060px;
}
input.span12, textarea.span12, .uneditable-input.span12 {
width: 1160px;
}
.thumbnails {
margin-left: -30px;
}
.thumbnails > li {
margin-left: 30px;
}
}

3365
ordr2/static/css/bootstrap.css vendored

File diff suppressed because it is too large Load Diff

51
ordr2/static/css/email.css

@ -0,0 +1,51 @@
* {
margin: 0;
}
body {
background: url(../img/bg.png) repeat-x scroll 0 0 #FCFCFC;
margin: 10px 20px;
}
h1 {
font-family: 'Anton', sans-serif;
font-size: 45px;
margin-bottom: 25px;
}
p {
font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
font-size: 16px;
line-height: 24px;
margin-bottom: 9px;
}
a {
color: #0088CC;
text-decoration: none;
}
small {
color: #888888;
font-size: 10px;
}
strong {
display: block;
margin: 15px 0 35px;
font-size: 25px;
}
.signature {
margin-top: 20px;
}
.signature .brand {
font-family: 'Anton', sans-serif;
font-size: 20px;
}
.footprint {
border-top: 1px solid #E5E5E5;
margin-top: 20px;
}
.footprint .icon-dbs {
background-image: url(../img/sprite.png);
background-position: 0px -214px;
width: 174px;
display: block;
height: 26px;
opacity: 0.5;
margin: 5px 0 0 120px;;
}

753
ordr2/static/css/style.css

@ -0,0 +1,753 @@
html, body {
height: 100%;
}
body {
background-color: #FCFCFC;
}
/*Opera Fix*/
body:before {/* thanks to Maleika (Kohoutec)*/
content:"";
height:100%;
float:left;
width:0;
margin-top:-32767px;/* thank you Erik J - negate effect of float*/
}
.rounded-box {
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
background-color: #EEEEEE;
padding: 10px;
}
.brand {
font-family: 'Anton', sans-serif;
color: #049CDB;
}
.right {
float: right;
}
.left {
float: left;
}
.clear:after {
content: ".";
visibility: hidden;
display: block;
height: 0;
clear: both;
}
.bordered {
border-top: 1px solid #EEEEEE;
border-bottom: 1px solid #EEEEEE;
padding: 7px 0;
margin: 35px 0 15px;
}
/*================================ BT FIXES ================================*/
.sidebar-nav {
padding: 9px 0;
}
.tooltip {
z-index: 2000
}
/*================================= LAYOUT =================================*/
.content {
min-height: 100%;
}
.content:before {
display: table;
content: "";
height: 40px;
zoom: 1;
}
.content.controls:before {
background: none repeat scroll 0 0 #F1F1F1;
border-bottom: 1px solid #D2D2D2;
content: "";
display: table;
height: 86px;
margin-bottom: -47px;
width: 100%;
}
.content .container-fluid, .content .container {
overflow:auto;
padding-bottom: 53px;
}
footer {
position: relative;
margin: -53px 20px 0; /* negative value of footer height */
height: 53px;
clear:both;
text-align: center;
}
footer a {
display: inline-block;
height: 26px;
opacity: 0.5;
-webkit-transition: all 0.5s ease 0s;
-moz-transition: all 0.5s ease 0s;
-o-transition: all 0.5s ease 0s;
transition: all 0.5s ease 0s;
}
footer a:hover {
opacity: 1;
}
footer .copy{
border-top: 1px solid #E5E5E5;
padding-top: 15px;
}
footer .icon-html {
background-image: url(../img/sprite.png);
background-position: -174px -214px;
width: 60px;
margin-left: 114px;
}
footer .icon-dbs {
background-image: url(../img/sprite.png);
background-position: 0px -214px;
height: 26px;
width: 174px;
}
/*================================ BUTTONS ================================*/
.btn-flat {
text-decoration: none;
text-shadow: 0 1px 0 #fff;
font: bold 14px Helvetica, Arial, sans-serif;
color: #444;
line-height: 17px;
display: inline-block;
margin: 0 15px 0 0;
padding: 5px 15px;
background: #F3F3F3;
border: solid 1px #D9D9D9;
border-radius: 4px;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
-webkit-transition: border-color .20s;
-moz-transition: border-color .20s;
-o-transition: border-color .20s;
transition: border-color .20s;
}
a.btn-flat {
cursor: pointer;
height: 18px;
}
button.btn-flat {
height: 30px;
}
.btn-flat:hover {
text-decoration: none;
background: #F4F4F4;
border-color: #C0C0C0;
color: #333;
}
.btn-flat:active {
border-color: #0069D6;
color: #0069D6;
-moz-box-shadow: inset 0 0 10px #D4D4D4;
-webkit-box-shadow: inset 0 0 10px #D4D4D4;
box-shadow: inset 0 0 10px #D4D4D4;
}
.btn-flat i {
background-image: url(../img/sprite.png);
display: inline-block;
height: 18px;
width: 18px;
}
.btn-flat i.pencil {
background-position: -72px 0px;
}
.btn-flat:hover i.pencil {
background-position: -72px -18px;
}
.btn-flat i.trash {
background-position: -90px 0px;
}
.btn-flat:hover i.trash {
background-position: -90px -18px;
}
.btn-flat i.add {
background-position: -108px 0px;
}
.btn-flat:hover i.add {
background-position: -108px -18px;
}
.btn-flat i.abacus {
background-position: -126px 0px;
}
.btn-flat:hover i.abacus {
background-position: -126px -18px;
}
.btn-flat i.eye {
background-position: -144px 0px;
}
.btn-flat:hover i.eye {
background-position: -144px -18px;
}
.btn-flat i.group {
background-position: -54px 0;
}
.btn-flat:hover i.group {
background-position: -54px -18px;
}
.btn-flat i.reset {
background-position: -162px 0;
}
.btn-flat:hover i.reset {
background-position: -162px -18px;
}
.btn-flat i.clip {
background-position: -180px 0;
}
.btn-flat:hover i.clip {
background-position: -180px -18px;
}
.btn-flat i.download {
background-position: -198px 0;
}
.btn-flat:hover i.download {
background-position: -198px -18px;
}
.page-controls .btn-group, .page-controls .actions, .page-controls .btn-flat {
float: left;
display: block;
}
.page-controls .btn-group {
margin-right: 15px;
}
.btn-group + .btn-group {
margin-left: 0;
}
.btn-group .btn-flat {
position: relative;
float: left;
margin-left: -1px;
margin-right: 0px;
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
}
.btn-group .btn-flat:first-child {
margin-left: 0;
-webkit-border-top-left-radius: 4px;
-moz-border-radius-topleft: 4px;
border-top-left-radius: 4px;
-webkit-border-bottom-left-radius: 4px;
-moz-border-radius-bottomleft: 4px;
border-bottom-left-radius: 4px;
}
.btn-group .btn-flat:last-child {
-webkit-border-top-right-radius: 4px;
-moz-border-radius-topright: 4px;
border-top-right-radius: 4px;
-webkit-border-bottom-right-radius: 4px;
-moz-border-radius-bottomright: 4px;
border-bottom-right-radius: 4px;
}
.search [type="search"] {
padding: 5px 4px;
}
.search .add-on {
cursor: pointer;
padding: 5px;
}
.search [type="submit"] {
background-image: url(../img/sprite.png);
background-position: 0px -68px;
background-color: #F5F5F5;
border: none;
height: 18px;
width: 18px;
display: inline-block;
overflow: hidden;
text-indent: -9999px;
}
.search .autocomplete {
background-image: url(../img/sprite.png);
background-position: -18px -68px;
background-color: #F5F5F5;
height: 18px;
width: 18px;
display: inline-block;
overflow: hidden;
text-indent: -9999px;
}
.search .add-on:active {
border-color: #0069D6;
color: #0069D6;
-moz-box-shadow: inset 0 0 3px #D4D4D4;
-webkit-box-shadow: inset 0 0 3px #D4D4D4;
box-shadow: inset 0 0 3px #D4D4D4;
}
.typeahead.dropdown-menu {
overflow: hidden;
}
.btn-group.marking-needed, .btn-flat.marking-needed {
display: none;
}
/*================================ NAVIGATION ================================*/
.navbar .brand, .navbar .brand:hover {
color: #049CDB;
}
#user-options a {
color: #555555;
text-shadow: none;
}
#user-options .user-name {
color: #0088CC;
}
#user-options:hover .user-name {
text-decoration: underline;
}
.page-controls {
display: block;
height: 30px;
margin-bottom: 25px;
padding: 8px 0;
}
.page-controls:after {
content: ".";
visibility: hidden;
display: block;
height: 0;
clear: both;
}
.page-controls h1 {
line-height: 30px;
}
.page-controls form {
margin-bottom: 0;
}
.page-controls .input-append.search {
float: right;
}
/*================================ TABLES ================================*/
thead {
background-color: #E0F3FF;
border-bottom: 2px solid #0064CD;
}
th {
border-top: none;
}
th.sortable {
cursor: pointer;
background-color: #E0F3FF;
}
th.sortable.headerSortDown, th.sortable.headerSortUp {
background-color: #C7E9FF;
}
th, th a {
color: #0064CD;
}
th a:hover {
text-decoration: none;
color: #0064CD;
}
tbody tr:hover {
background-color: #FAFAFA;
}
td.center, th.center {
text-align: center;
vertical-align: middle;
}
table .header:hover:after {
border-width: 4px 4px 0;
}
table .action {
background-image: url(../img/sprite.png);
margin-bottom: -5px;
margin-right: 2px;
height: 16px;
width: 16px;
display: inline-block;
overflow: hidden;
text-indent: -9999px;
background-repeat: no-repeat;
-webkit-transition: background-image 0.20s linear;
-moz-transition: background-image 0.20s linear;
-o-transition: background-image 0.20s linear;
transition: background-image 0.20s linear;
zoom: 1;
filter: alpha(opacity=40);
opacity: 0.4;
}
table .action:hover {
filter: alpha(opacity=100);
opacity: 1;
}
table .action.delete {
background-position: 0px -36px;
}
table .action.delete:hover {
background-position: 0px -52px;
}
table .action.edit {
background-position: -16px -36px;
}
table .action.edit:hover {
background-position: -16px -52px;
}
table .action.eye {
background-position: -145px 0px;
}
table .action.eye:hover {
background-position: -145px -18px;
}
/*================================ MODALS ================================*/
.modal form {
margin: 0;
}
.modal-body .option {
font-size: 15px;
}
.modal-body .option a {
font-weight: bold;
}
.modal-body .checklist {
margin: 0 20px;
}
.modal-body .checklist:after {
content: ".";
visibility: hidden;
display: block;
height: 0;
clear: both;
}
.modal-body .checklist .checkbox {
margin-bottom: 10px;
}
.modal-body .checklist .left {
float: left;
width: 50%;
}
.modal-body .checklist .right {
float: right;
width: 50%;
}
.modal-body .checklist .checkbox input {
margin-left: -20px;
}
.modal-body .help-block {
margin-bottom: 15px;
}
/*============================= WELCOME PAGE =============================*/
.welcome .content {
background: url(../img/bg.png) repeat-x scroll 0 0 #FCFCFC;
}
#welcome {
margin: 90px 0 80px;
text-align: center;
}
#welcome h1 {
font-family: 'Anton',sans-serif;
font-size: 120px;
line-height: 1;
margin-bottom: 5px;
}
#welcome .brand {
text-transform: none;
}
#welcome .quote {
color: #878787;
font-size: 16px;
}
/*============================= ACCOUNT =============================*/
#register-successful, #access-denied {
margin: 90px 0 50px;
text-align: center;
}
#register-successful h1, #access-denied h1 {
font-family: 'Anton',sans-serif;
font-size: 80px;
line-height: 1;
margin-bottom: 5px;
}
#access-denied {
margin-top: 150px;
}
#access-denied h1 {
color: #B94A48;
}
hgroup .info {
color: #878787;
font-size: 16px;
line-height: 24px;
}
.account.login h1 {
border-bottom: 1px solid #EEEEEE;
font-family: 'Anton',sans-serif;
font-size: 50px;
line-height: 50px;
margin: 80px 0 20px;
padding-bottom: 5px;
}
/*============================== ADMIN AREA ==============================*/
.admin-options a:hover [class*="span"] {
background-color: #EEEEEE;
-webkit-transition: background-color 0.50s linear;
-moz-transition: background-color 0.50s linear;
-o-transition: background-color 0.50s linear;
transition: background-color 0.50s linear;
}
.admin-options .option {
background-image: url(../img/sprite.png);
background-position: 0px -86px;
margin: 0 auto;
width: 128px;
height: 128px;
}
.admin-options .option.shop {
background-position: -128px -86px;
}
.admin-options h2 {
margin-top: 5px;
text-align: center;
}
.admin-options [class*="span"] {
padding: 20px 0;
background-color: #F7F7F7;
}
/*============================== FAQ ==============================*/
.faq h1 {
font-family: 'Anton',sans-serif;
font-size: 60px;
line-height: 1;
margin: 30px 0;
text-align: center;
}
.faq h2 {
color: #FCFCFC;
font-size: 28px;
line-height: 1;
background-color: #049CDB;
padding: 10px;
margin-bottom: 5px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
}
.faq section {
margin-bottom: 35px;
}
/*============================= ACTIONS =============================*/
.action-header {
margin-bottom: 15px;
}
/*============================== FORMS ==============================*/
.control-group.information {
margin: 0;
}
.control-group.information p {
padding: 5px 0;
color: #AAAAAA;
}
/*=========================== ORDER SPLASH ===========================*/
.accordion {
margin-top: 5px;
}
.accordion li {
background-color: #EAEAEA;
cursor: pointer;
font-size: 16px;
margin: 5px 0;
padding: 12px 10px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
-webkit-transition: background-color 0.1s ease 0s;
-moz-transition: background-color 0.1s ease 0s;
-o-transition: background-color 0.1s ease 0s;
transition: background-color 0.1s ease 0s;
}
.accordion li:hover {
background-color: #DDDDDD;
}
.accordion li span {
font-size: 13px;
color: #A0A0A0;
}
.accordion-heading {
background-color: #333333;
padding: 0;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
-webkit-transition: background-color 0.1s ease 0s;
-moz-transition: background-color 0.1s ease 0s;
-o-transition: background-color 0.1s ease 0s;
transition: background-color 0.1s ease 0s;
}
.accordion-heading a {
color: #EEEEEE;
display: block;
font-size: 18px;
font-weight: bold;
line-height: 27px;
padding: 8px 15px;
text-decoration: none;
outline: none;
-webkit-transition: color 0.1s ease 0s;
-moz-transition: color 0.1s ease 0s;
-o-transition: color 0.1s ease 0s;
transition: color 0.1s ease 0s;
}
.accordion-heading a:hover {
color: #049CDB;
}
/*========================= RESPONSIVE =========================*/
@media (max-width: 1200px) {
.page-controls h1 { font-size: 25px; }
}
/*================ STYLES FOR php2python BRANCH ================*/
input[value="password:mapping"] + div { margin-bottom:10px; }
input[value="new_password:mapping"] + div { margin-bottom:10px; }
.form-horizontal.user-settings fieldset > .controls { margin-left:0; }
.user-settings .panel-heading,
.edit-order .panel-heading {
font-size:150%;
padding-top: 20px;
padding-bottom: 20px;
margin-bottom: 20px;
border-bottom: 1px solid #aaa;}
div.alert a { color:inherit; text-decoration:underline; }
td.column-pkg, td.column-price, td.column-total, td.column-amount {
text-align:right;}
input.number { text-align:right; }
.moneyinput .amount { width:167px; text-align:right;}
.moneyinput .currency { width:30px; text-align:center;}
.controls .form-control-static { padding-top:5px; }
.form-like-display.form-horizontal .control-group { margin-bottom:0px; }

952
ordr2/static/font/css/open-iconic-bootstrap.css vendored

@ -1,952 +0,0 @@
/* Bootstrap */
@font-face {
font-family: 'Icons';
src: url('../fonts/open-iconic.eot');
src: url('../fonts/open-iconic.eot?#iconic-sm') format('embedded-opentype'), url('../fonts/open-iconic.woff') format('woff'), url('../fonts/open-iconic.ttf') format('truetype'), url('../fonts/open-iconic.otf') format('opentype'), url('../fonts/open-iconic.svg#iconic-sm') format('svg');
font-weight: normal;
font-style: normal;
}
.oi {
position: relative;
top: 1px;
display: inline-block;
speak:none;
font-family: 'Icons';
font-style: normal;
font-weight: normal;
line-height: 1;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.oi:empty:before {
width: 1em;
text-align: center;
box-sizing: content-box;
}
.oi.oi-align-center:before {
text-align: center;
}
.oi.oi-align-left:before {
text-align: left;
}
.oi.oi-align-right:before {
text-align: right;
}
.oi.oi-flip-horizontal:before {
-webkit-transform: scale(-1, 1);
-ms-transform: scale(-1, 1);
transform: scale(-1, 1);
}
.oi.oi-flip-vertical:before {
-webkit-transform: scale(1, -1);
-ms-transform: scale(-1, 1);
transform: scale(1, -1);
}
.oi.oi-flip-horizontal-vertical:before {
-webkit-transform: scale(-1, -1);
-ms-transform: scale(-1, 1);
transform: scale(-1, -1);
}
.oi-account-login:before {
content:'\e000';
}
.oi-account-logout:before {
content:'\e001';
}
.oi-action-redo:before {
content:'\e002';
}
.oi-action-undo:before {
content:'\e003';
}
.oi-align-center:before {
content:'\e004';
}
.oi-align-left:before {
content:'\e005';
}
.oi-align-right:before {
content:'\e006';
}
.oi-aperture:before {
content:'\e007';
}
.oi-arrow-bottom:before {
content:'\e008';
}
.oi-arrow-circle-bottom:before {
content:'\e009';
}
.oi-arrow-circle-left:before {
content:'\e00a';
}
.oi-arrow-circle-right:before {
content:'\e00b';
}
.oi-arrow-circle-top:before {
content:'\e00c';
}
.oi-arrow-left:before {
content:'\e00d';
}
.oi-arrow-right:before {
content:'\e00e';
}
.oi-arrow-thick-bottom:before {
content:'\e00f';
}
.oi-arrow-thick-left:before {
content:'\e010';
}
.oi-arrow-thick-right:before {
content:'\e011';
}
.oi-arrow-thick-top:before {
content:'\e012';
}
.oi-arrow-top:before {
content:'\e013';
}
.oi-audio-spectrum:before {
content:'\e014';
}
.oi-audio:before {
content:'\e015';
}
.oi-badge:before {
content:'\e016';
}
.oi-ban:before {
content:'\e017';
}
.oi-bar-chart:before {
content:'\e018';
}
.oi-basket:before {
content:'\e019';
}
.oi-battery-empty:before {
content:'\e01a';
}
.oi-battery-full:before {
content:'\e01b';
}
.oi-beaker:before {
content:'\e01c';
}
.oi-bell:before {
content:'\e01d';
}
.oi-bluetooth:before {
content:'\e01e';
}
.oi-bold:before {
content:'\e01f';
}
.oi-bolt:before {
content:'\e020';
}
.oi-book:before {
content:'\e021';
}
.oi-bookmark:before {
content:'\e022';
}
.oi-box:before {
content:'\e023';
}
.oi-briefcase:before {
content:'\e024';
}
.oi-british-pound:before {
content:'\e025';
}
.oi-browser:before {
content:'\e026';
}
.oi-brush:before {
content:'\e027';
}
.oi-bug:before {
content:'\e028';
}
.oi-bullhorn:before {
content:'\e029';
}
.oi-calculator:before {
content:'\e02a';
}
.oi-calendar:before {
content:'\e02b';
}
.oi-camera-slr:before {
content:'\e02c';
}
.oi-caret-bottom:before {
content:'\e02d';
}
.oi-caret-left:before {
content:'\e02e';
}
.oi-caret-right:before {
content:'\e02f';
}
.oi-caret-top:before {
content:'\e030';
}
.oi-cart:before {
content:'\e031';
}
.oi-chat:before {
content:'\e032';
}
.oi-check:before {
content:'\e033';
}
.oi-chevron-bottom:before {
content:'\e034';
}
.oi-chevron-left:before {
content:'\e035';
}
.oi-chevron-right:before {
content:'\e036';
}
.oi-chevron-top:before {
content:'\e037';
}
.oi-circle-check:before {
content:'\e038';
}
.oi-circle-x:before {
content:'\e039';
}
.oi-clipboard:before {
content:'\e03a';
}
.oi-clock:before {
content:'\e03b';
}
.oi-cloud-download:before {
content:'\e03c';
}
.oi-cloud-upload:before {
content:'\e03d';
}
.oi-cloud:before {
content:'\e03e';
}
.oi-cloudy:before {
content:'\e03f';
}
.oi-code:before {
content:'\e040';
}
.oi-cog:before {
content:'\e041';
}
.oi-collapse-down:before {
content:'\e042';
}
.oi-collapse-left:before {
content:'\e043';
}
.oi-collapse-right:before {
content:'\e044';
}
.oi-collapse-up:before {
content:'\e045';
}
.oi-command:before {
content:'\e046';
}
.oi-comment-square:before {
content:'\e047';
}
.oi-compass:before {
content:'\e048';
}
.oi-contrast:before {
content:'\e049';
}
.oi-copywriting:before {
content:'\e04a';
}
.oi-credit-card:before {
content:'\e04b';
}
.oi-crop:before {
content:'\e04c';
}
.oi-dashboard:before {
content:'\e04d';
}
.oi-data-transfer-download:before {
content:'\e04e';
}
.oi-data-transfer-upload:before {
content:'\e04f';
}
.oi-delete:before {
content:'\e050';
}
.oi-dial:before {
content:'\e051';
}
.oi-document:before {
content:'\e052';
}
.oi-dollar:before {
content:'\e053';
}
.oi-double-quote-sans-left:before {
content:'\e054';
}
.oi-double-quote-sans-right:before {
content:'\e055';
}
.oi-double-quote-serif-left:before {
content:'\e056';
}
.oi-double-quote-serif-right:before {
content:'\e057';
}
.oi-droplet:before {
content:'\e058';
}
.oi-eject:before {
content:'\e059';
}
.oi-elevator:before {
content:'\e05a';
}
.oi-ellipses:before {
content:'\e05b';
}
.oi-envelope-closed:before {
content:'\e05c';
}
.oi-envelope-open:before {
content:'\e05d';
}
.oi-euro:before {
content:'\e05e';
}
.oi-excerpt:before {
content:'\e05f';
}
.oi-expand-down:before {
content:'\e060';
}
.oi-expand-left:before {
content:'\e061';
}
.oi-expand-right:before {
content:'\e062';
}
.oi-expand-up:before {
content:'\e063';
}
.oi-external-link:before {
content:'\e064';
}
.oi-eye:before {
content:'\e065';
}
.oi-eyedropper:before {
content:'\e066';
}
.oi-file:before {
content:'\e067';
}
.oi-fire:before {
content:'\e068';
}
.oi-flag:before {
content:'\e069';
}
.oi-flash:before {
content:'\e06a';
}
.oi-folder:before {
content:'\e06b';
}
.oi-fork:before {
content:'\e06c';
}
.oi-fullscreen-enter:before {
content:'\e06d';
}
.oi-fullscreen-exit:before {
content:'\e06e';
}
.oi-globe:before {
content:'\e06f';
}
.oi-graph:before {
content:'\e070';
}
.oi-grid-four-up:before {
content:'\e071';
}
.oi-grid-three-up:before {
content:'\e072';
}
.oi-grid-two-up:before {
content:'\e073';
}
.oi-hard-drive:before {
content:'\e074';
}
.oi-header:before {
content:'\e075';
}
.oi-headphones:before {
content:'\e076';
}
.oi-heart:before {
content:'\e077';
}
.oi-home:before {
content:'\e078';
}
.oi-image:before {
content:'\e079';
}
.oi-inbox:before {
content:'\e07a';
}
.oi-infinity:before {
content:'\e07b';
}
.oi-info:before {
content:'\e07c';
}
.oi-italic:before {
content:'\e07d';
}
.oi-justify-center:before {
content:'\e07e';
}
.oi-justify-left:before {
content:'\e07f';
}
.oi-justify-right:before {
content:'\e080';
}
.oi-key:before {
content:'\e081';
}
.oi-laptop:before {
content:'\e082';
}
.oi-layers:before {
content:'\e083';
}
.oi-lightbulb:before {
content:'\e084';
}
.oi-link-broken:before {
content:'\e085';
}
.oi-link-intact:before {
content:'\e086';
}
.oi-list-rich:before {
content:'\e087';
}
.oi-list:before {
content:'\e088';
}
.oi-location:before {
content:'\e089';
}
.oi-lock-locked:before {
content:'\e08a';
}
.oi-lock-unlocked:before {
content:'\e08b';
}
.oi-loop-circular:before {
content:'\e08c';
}
.oi-loop-square:before {
content:'\e08d';
}
.oi-loop:before {
content:'\e08e';
}
.oi-magnifying-glass:before {
content:'\e08f';
}
.oi-map-marker:before {
content:'\e090';
}
.oi-map:before {
content:'\e091';
}
.oi-media-pause:before {
content:'\e092';
}
.oi-media-play:before {
content:'\e093';
}
.oi-media-record:before {
content:'\e094';
}
.oi-media-skip-backward:before {
content:'\e095';
}
.oi-media-skip-forward:before {
content:'\e096';
}
.oi-media-step-backward:before {
content:'\e097';
}
.oi-media-step-forward:before {
content:'\e098';
}
.oi-media-stop:before {
content:'\e099';
}
.oi-medical-cross:before {
content:'\e09a';
}
.oi-menu:before {
content:'\e09b';
}
.oi-microphone:before {
content:'\e09c';
}
.oi-minus:before {
content:'\e09d';
}
.oi-monitor:before {
content:'\e09e';
}
.oi-moon:before {
content:'\e09f';
}
.oi-move:before {
content:'\e0a0';
}
.oi-musical-note:before {
content:'\e0a1';
}
.oi-paperclip:before {
content:'\e0a2';
}
.oi-pencil:before {
content:'\e0a3';
}
.oi-people:before {
content:'\e0a4';
}
.oi-person:before {
content:'\e0a5';
}
.oi-phone:before {
content:'\e0a6';
}
.oi-pie-chart:before {
content:'\e0a7';
}
.oi-pin:before {
content:'\e0a8';
}
.oi-play-circle:before {
content:'\e0a9';
}
.oi-plus:before {
content:'\e0aa';
}
.oi-power-standby:before {
content:'\e0ab';
}
.oi-print:before {
content:'\e0ac';
}
.oi-project:before {
content:'\e0ad';
}
.oi-pulse:before {
content:'\e0ae';
}
.oi-puzzle-piece:before {
content:'\e0af';
}
.oi-question-mark:before {
content:'\e0b0';
}
.oi-rain:before {
content:'\e0b1';
}
.oi-random:before {
content:'\e0b2';
}
.oi-reload:before {
content:'\e0b3';
}
.oi-resize-both:before {
content:'\e0b4';
}
.oi-resize-height:before {
content:'\e0b5';
}
.oi-resize-width:before {
content:'\e0b6';
}
.oi-rss-alt:before {
content:'\e0b7';
}
.oi-rss:before {
content:'\e0b8';
}
.oi-script:before {
content:'\e0b9';
}
.oi-share-boxed:before {
content:'\e0ba';
}
.oi-share:before {
content:'\e0bb';
}
.oi-shield:before {
content:'\e0bc';
}
.oi-signal:before {
content:'\e0bd';
}
.oi-signpost:before {
content:'\e0be';
}
.oi-sort-ascending:before {
content:'\e0bf';
}
.oi-sort-descending:before {
content:'\e0c0';
}
.oi-spreadsheet:before {
content:'\e0c1';
}
.oi-star:before {
content:'\e0c2';
}
.oi-sun:before {
content:'\e0c3';
}
.oi-tablet:before {
content:'\e0c4';
}
.oi-tag:before {
content:'\e0c5';
}
.oi-tags:before {
content:'\e0c6';
}
.oi-target:before {
content:'\e0c7';
}
.oi-task:before {
content:'\e0c8';
}
.oi-terminal:before {
content:'\e0c9';
}
.oi-text:before {
content:'\e0ca';
}
.oi-thumb-down:before {
content:'\e0cb';
}
.oi-thumb-up:before {
content:'\e0cc';
}
.oi-timer:before {
content:'\e0cd';
}
.oi-transfer:before {
content:'\e0ce';
}
.oi-trash:before {
content:'\e0cf';
}
.oi-underline:before {
content:'\e0d0';
}
.oi-vertical-align-bottom:before {
content:'\e0d1';
}
.oi-vertical-align-center:before {
content:'\e0d2';
}
.oi-vertical-align-top:before {
content:'\e0d3';
}
.oi-video:before {
content:'\e0d4';
}
.oi-volume-high:before {
content:'\e0d5';
}
.oi-volume-low:before {
content:'\e0d6';
}
.oi-volume-off:before {
content:'\e0d7';
}
.oi-warning:before {
content:'\e0d8';
}
.oi-wifi:before {
content:'\e0d9';
}
.oi-wrench:before {
content:'\e0da';
}
.oi-x:before {
content:'\e0db';
}
.oi-yen:before {
content:'\e0dc';
}
.oi-zoom-in:before {
content:'\e0dd';
}
.oi-zoom-out:before {
content:'\e0de';
}

960
ordr2/static/font/css/open-iconic-bootstrap.less vendored

@ -1,960 +0,0 @@
/* Bootstrap */
/* Override Bootstrap default variable */
//@icon-font-path: "../fonts/";
@font-face {
font-family: 'Icons';
src: ~"url('@{icon-font-path}open-iconic.eot')";
src: ~"url('@{icon-font-path}open-iconic.eot?#iconic-sm') format('embedded-opentype')",
~"url('@{icon-font-path}open-iconic.woff') format('woff')",
~"url('@{icon-font-path}open-iconic.ttf') format('truetype')",
~"url('@{icon-font-path}open-iconic.svg#iconic-sm') format('svg')";
font-weight: normal;
font-style: normal;
}
// Catchall baseclass
.oi {
position: relative;
top: 1px;
display: inline-block;
font-family: 'Icons';
font-style: normal;
font-weight: normal;
line-height: 1;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
&:empty:before {
width: 1em;
text-align: center;
box-sizing: content-box;
}
&.oi-align-center:before {
text-align: center;
}
&.oi-align-left:before {
text-align: left;
}
&.oi-align-right:before {
text-align: right;
}
&.oi-flip-horizontal:before {
-webkit-transform: scale(-1, 1);
-ms-transform: scale(-1, 1);
transform: scale(-1, 1);
}
&.oi-flip-vertical:before {
-webkit-transform: scale(1, -1);
-ms-transform: scale(-1, 1);
transform: scale(1, -1);
}
&.oi-flip-horizontal-vertical:before {
-webkit-transform: scale(-1, -1);
-ms-transform: scale(-1, 1);
transform: scale(-1, -1);
}
}
.oi-account-login:before {
content:"\e000";
}
.oi-account-logout:before {
content:"\e001";
}
.oi-action-redo:before {
content:"\e002";
}
.oi-action-undo:before {
content:"\e003";
}
.oi-align-center:before {
content:"\e004";
}
.oi-align-left:before {
content:"\e005";
}
.oi-align-right:before {
content:"\e006";
}
.oi-aperture:before {
content:"\e007";
}
.oi-arrow-bottom:before {
content:"\e008";
}
.oi-arrow-circle-bottom:before {
content:"\e009";
}
.oi-arrow-circle-left:before {
content:"\e00a";
}
.oi-arrow-circle-right:before {
content:"\e00b";
}
.oi-arrow-circle-top:before {
content:"\e00c";
}
.oi-arrow-left:before {
content:"\e00d";
}
.oi-arrow-right:before {
content:"\e00e";
}
.oi-arrow-thick-bottom:before {
content:"\e00f";
}
.oi-arrow-thick-left:before {
content:"\e010";
}
.oi-arrow-thick-right:before {
content:"\e011";
}
.oi-arrow-thick-top:before {
content:"\e012";
}
.oi-arrow-top:before {
content:"\e013";
}
.oi-audio-spectrum:before {
content:"\e014";
}
.oi-audio:before {
content:"\e015";
}
.oi-badge:before {
content:"\e016";
}
.oi-ban:before {
content:"\e017";
}
.oi-bar-chart:before {
content:"\e018";
}
.oi-basket:before {
content:"\e019";
}
.oi-battery-empty:before {
content:"\e01a";
}
.oi-battery-full:before {
content:"\e01b";
}
.oi-beaker:before {
content:"\e01c";
}
.oi-bell:before {
content:"\e01d";
}
.oi-bluetooth:before {
content:"\e01e";
}
.oi-bold:before {
content:"\e01f";
}
.oi-bolt:before {
content:"\e020";
}
.oi-book:before {
content:"\e021";
}
.oi-bookmark:before {
content:"\e022";
}
.oi-box:before {
content:"\e023";
}
.oi-briefcase:before {
content:"\e024";
}
.oi-british-pound:before {
content:"\e025";
}
.oi-browser:before {
content:"\e026";
}
.oi-brush:before {
content:"\e027";
}
.oi-bug:before {
content:"\e028";
}
.oi-bullhorn:before {
content:"\e029";
}
.oi-calculator:before {
content:"\e02a";
}
.oi-calendar:before {
content:"\e02b";
}
.oi-camera-slr:before {
content:"\e02c";
}
.oi-caret-bottom:before {
content:"\e02d";
}
.oi-caret-left:before {
content:"\e02e";
}
.oi-caret-right:before {
content:"\e02f";
}
.oi-caret-top:before {
content:"\e030";
}
.oi-cart:before {
content:"\e031";
}
.oi-chat:before {
content:"\e032";
}
.oi-check:before {
content:"\e033";
}
.oi-chevron-bottom:before {
content:"\e034";
}
.oi-chevron-left:before {
content:"\e035";
}
.oi-chevron-right:before {
content:"\e036";
}
.oi-chevron-top:before {
content:"\e037";
}
.oi-circle-check:before {
content:"\e038";
}
.oi-circle-x:before {
content:"\e039";
}
.oi-clipboard:before {
content:"\e03a";
}
.oi-clock:before {
content:"\e03b";
}
.oi-cloud-download:before {
content:"\e03c";
}
.oi-cloud-upload:before {
content:"\e03d";
}
.oi-cloud:before {
content:"\e03e";
}
.oi-cloudy:before {
content:"\e03f";
}
.oi-code:before {
content:"\e040";
}
.oi-cog:before {
content:"\e041";
}
.oi-collapse-down:before {
content:"\e042";
}
.oi-collapse-left:before {
content:"\e043";
}
.oi-collapse-right:before {
content:"\e044";
}
.oi-collapse-up:before {
content:"\e045";
}
.oi-command:before {
content:"\e046";
}
.oi-comment-square:before {
content:"\e047";
}
.oi-compass:before {
content:"\e048";
}
.oi-contrast:before {
content:"\e049";
}
.oi-copywriting:before {
content:"\e04a";
}
.oi-credit-card:before {
content:"\e04b";
}
.oi-crop:before {
content:"\e04c";
}
.oi-dashboard:before {
content:"\e04d";
}
.oi-data-transfer-download:before {
content:"\e04e";
}
.oi-data-transfer-upload:before {
content:"\e04f";
}
.oi-delete:before {
content:"\e050";
}
.oi-dial:before {
content:"\e051";
}
.oi-document:before {
content:"\e052";
}
.oi-dollar:before {
content:"\e053";
}
.oi-double-quote-sans-left:before {
content:"\e054";
}
.oi-double-quote-sans-right:before {
content:"\e055";
}
.oi-double-quote-serif-left:before {
content:"\e056";
}
.oi-double-quote-serif-right:before {
content:"\e057";
}
.oi-droplet:before {
content:"\e058";
}
.oi-eject:before {
content:"\e059";
}
.oi-elevator:before {
content:"\e05a";
}
.oi-ellipses:before {
content:"\e05b";
}
.oi-envelope-closed:before {
content:"\e05c";
}
.oi-envelope-open:before {
content:"\e05d";
}
.oi-euro:before {
content:"\e05e";
}
.oi-excerpt:before {
content:"\e05f";
}
.oi-expand-down:before {
content:"\e060";
}
.oi-expand-left:before {
content:"\e061";
}
.oi-expand-right:before {
content:"\e062";
}
.oi-expand-up:before {
content:"\e063";
}
.oi-external-link:before {
content:"\e064";
}
.oi-eye:before {
content:"\e065";
}
.oi-eyedropper:before {
content:"\e066";
}
.oi-file:before {
content:"\e067";
}
.oi-fire:before {
content:"\e068";
}
.oi-flag:before {
content:"\e069";
}
.oi-flash:before {
content:"\e06a";
}
.oi-folder:before {
content:"\e06b";
}
.oi-fork:before {
content:"\e06c";
}
.oi-fullscreen-enter:before {
content:"\e06d";
}
.oi-fullscreen-exit:before {
content:"\e06e";
}
.oi-globe:before {
content:"\e06f";
}
.oi-graph:before {
content:"\e070";
}
.oi-grid-four-up:before {
content:"\e071";
}
.oi-grid-three-up:before {
content:"\e072";
}
.oi-grid-two-up:before {
content:"\e073";
}
.oi-hard-drive:before {
content:"\e074";
}
.oi-header:before {
content:"\e075";
}
.oi-headphones:before {
content:"\e076";
}
.oi-heart:before {
content:"\e077";
}
.oi-home:before {
content:"\e078";
}
.oi-image:before {
content:"\e079";
}
.oi-inbox:before {
content:"\e07a";
}
.oi-infinity:before {
content:"\e07b";
}
.oi-info:before {
content:"\e07c";
}
.oi-italic:before {
content:"\e07d";
}
.oi-justify-center:before {
content:"\e07e";
}
.oi-justify-left:before {
content:"\e07f";
}
.oi-justify-right:before {
content:"\e080";
}
.oi-key:before {
content:"\e081";
}
.oi-laptop:before {
content:"\e082";
}
.oi-layers:before {
content:"\e083";
}
.oi-lightbulb:before {
content:"\e084";
}
.oi-link-broken:before {
content:"\e085";
}
.oi-link-intact:before {
content:"\e086";
}
.oi-list-rich:before {
content:"\e087";
}
.oi-list:before {
content:"\e088";
}
.oi-location:before {
content:"\e089";
}
.oi-lock-locked:before {
content:"\e08a";
}
.oi-lock-unlocked:before {
content:"\e08b";
}
.oi-loop-circular:before {
content:"\e08c";
}
.oi-loop-square:before {
content:"\e08d";
}
.oi-loop:before {
content:"\e08e";
}
.oi-magnifying-glass:before {
content:"\e08f";
}
.oi-map-marker:before {
content:"\e090";
}
.oi-map:before {
content:"\e091";
}
.oi-media-pause:before {
content:"\e092";
}
.oi-media-play:before {
content:"\e093";
}
.oi-media-record:before {
content:"\e094";
}
.oi-media-skip-backward:before {
content:"\e095";
}
.oi-media-skip-forward:before {
content:"\e096";
}
.oi-media-step-backward:before {
content:"\e097";
}
.oi-media-step-forward:before {
content:"\e098";
}
.oi-media-stop:before {
content:"\e099";
}
.oi-medical-cross:before {
content:"\e09a";
}
.oi-menu:before {
content:"\e09b";
}
.oi-microphone:before {
content:"\e09c";
}
.oi-minus:before {
content:"\e09d";
}
.oi-monitor:before {
content:"\e09e";
}
.oi-moon:before {
content:"\e09f";
}
.oi-move:before {
content:"\e0a0";
}
.oi-musical-note:before {
content:"\e0a1";
}
.oi-paperclip:before {
content:"\e0a2";
}
.oi-pencil:before {
content:"\e0a3";
}
.oi-people:before {
content:"\e0a4";
}
.oi-person:before {
content:"\e0a5";
}
.oi-phone:before {
content:"\e0a6";
}
.oi-pie-chart:before {
content:"\e0a7";
}
.oi-pin:before {
content:"\e0a8";
}
.oi-play-circle:before {
content:"\e0a9";
}
.oi-plus:before {
content:"\e0aa";
}
.oi-power-standby:before {
content:"\e0ab";
}
.oi-print:before {
content:"\e0ac";
}
.oi-project:before {
content:"\e0ad";
}
.oi-pulse:before {
content:"\e0ae";
}
.oi-puzzle-piece:before {
content:"\e0af";
}
.oi-question-mark:before {
content:"\e0b0";
}
.oi-rain:before {
content:"\e0b1";
}
.oi-random:before {
content:"\e0b2";
}
.oi-reload:before {
content:"\e0b3";
}
.oi-resize-both:before {
content:"\e0b4";
}
.oi-resize-height:before {
content:"\e0b5";
}
.oi-resize-width:before {
content:"\e0b6";
}
.oi-rss-alt:before {
content:"\e0b7";
}
.oi-rss:before {
content:"\e0b8";
}
.oi-script:before {
content:"\e0b9";
}
.oi-share-boxed:before {
content:"\e0ba";
}
.oi-share:before {
content:"\e0bb";
}
.oi-shield:before {
content:"\e0bc";
}
.oi-signal:before {
content:"\e0bd";
}
.oi-signpost:before {
content:"\e0be";
}
.oi-sort-ascending:before {
content:"\e0bf";
}
.oi-sort-descending:before {
content:"\e0c0";
}
.oi-spreadsheet:before {
content:"\e0c1";
}
.oi-star:before {
content:"\e0c2";
}
.oi-sun:before {
content:"\e0c3";
}
.oi-tablet:before {
content:"\e0c4";
}
.oi-tag:before {
content:"\e0c5";
}
.oi-tags:before {
content:"\e0c6";
}
.oi-target:before {
content:"\e0c7";
}
.oi-task:before {
content:"\e0c8";
}
.oi-terminal:before {
content:"\e0c9";
}
.oi-text:before {
content:"\e0ca";
}
.oi-thumb-down:before {
content:"\e0cb";
}
.oi-thumb-up:before {
content:"\e0cc";
}
.oi-timer:before {
content:"\e0cd";
}
.oi-transfer:before {
content:"\e0ce";
}
.oi-trash:before {
content:"\e0cf";
}
.oi-underline:before {
content:"\e0d0";
}
.oi-vertical-align-bottom:before {
content:"\e0d1";
}
.oi-vertical-align-center:before {
content:"\e0d2";
}
.oi-vertical-align-top:before {
content:"\e0d3";
}
.oi-video:before {
content:"\e0d4";
}
.oi-volume-high:before {
content:"\e0d5";
}
.oi-volume-low:before {
content:"\e0d6";
}
.oi-volume-off:before {
content:"\e0d7";
}
.oi-warning:before {
content:"\e0d8";
}
.oi-wifi:before {
content:"\e0d9";
}
.oi-wrench:before {
content:"\e0da";
}
.oi-x:before {
content:"\e0db";
}
.oi-yen:before {
content:"\e0dc";
}
.oi-zoom-in:before {
content:"\e0dd";
}
.oi-zoom-out:before {
content:"\e0de";
}

1
ordr2/static/font/css/open-iconic-bootstrap.min.css vendored

File diff suppressed because one or more lines are too long

958
ordr2/static/font/css/open-iconic-bootstrap.scss vendored

@ -1,958 +0,0 @@
/* Bootstrap */
/* Override Bootstrap default variable */
$icon-font-path: '../fonts/' !default;
@font-face {
font-family: 'Icons';
src: url('#{$icon-font-path}open-iconic.eot');
src: url('#{$icon-font-path}open-iconic.eot?#iconic-sm') format('embedded-opentype'), url('#{$icon-font-path}open-iconic.woff') format('woff'), url('#{$icon-font-path}open-iconic.ttf') format('truetype'), url('#{$icon-font-path}open-iconic.svg#iconic-sm') format('svg');
font-weight: normal;
font-style: normal;
}
// Catchall baseclass
.oi {
position: relative;
top: 1px;
display: inline-block;
font-family: 'Icons';
font-style: normal;
font-weight: normal;
line-height: 1;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
&:empty:before {
width: 1em;
text-align: center;
box-sizing: content-box;
}
&.oi-align-center:before {
text-align: center;
}
&.oi-align-left:before {
text-align: left;
}
&.oi-align-right:before {
text-align: right;
}
&.oi-flip-horizontal:before {
-webkit-transform: scale(-1, 1);
-ms-transform: scale(-1, 1);
transform: scale(-1, 1);
}
&.oi-flip-vertical:before {
-webkit-transform: scale(1, -1);
-ms-transform: scale(-1, 1);
transform: scale(1, -1);
}
&.oi-flip-horizontal-vertical:before {
-webkit-transform: scale(-1, -1);
-ms-transform: scale(-1, 1);
transform: scale(-1, -1);
}
}
.oi-account-login:before {
content:'\e000';
}
.oi-account-logout:before {
content:'\e001';
}
.oi-action-redo:before {
content:'\e002';
}
.oi-action-undo:before {
content:'\e003';
}
.oi-align-center:before {
content:'\e004';
}
.oi-align-left:before {
content:'\e005';
}
.oi-align-right:before {
content:'\e006';
}
.oi-aperture:before {
content:'\e007';
}
.oi-arrow-bottom:before {
content:'\e008';
}
.oi-arrow-circle-bottom:before {
content:'\e009';
}
.oi-arrow-circle-left:before {
content:'\e00a';
}
.oi-arrow-circle-right:before {
content:'\e00b';
}
.oi-arrow-circle-top:before {
content:'\e00c';
}
.oi-arrow-left:before {
content:'\e00d';
}
.oi-arrow-right:before {
content:'\e00e';
}
.oi-arrow-thick-bottom:before {
content:'\e00f';
}
.oi-arrow-thick-left:before {
content:'\e010';
}
.oi-arrow-thick-right:before {
content:'\e011';
}
.oi-arrow-thick-top:before {
content:'\e012';
}
.oi-arrow-top:before {
content:'\e013';
}
.oi-audio-spectrum:before {
content:'\e014';
}
.oi-audio:before {
content:'\e015';
}
.oi-badge:before {
content:'\e016';
}
.oi-ban:before {
content:'\e017';
}
.oi-bar-chart:before {
content:'\e018';
}
.oi-basket:before {
content:'\e019';
}
.oi-battery-empty:before {
content:'\e01a';
}
.oi-battery-full:before {
content:'\e01b';
}
.oi-beaker:before {
content:'\e01c';
}
.oi-bell:before {
content:'\e01d';
}
.oi-bluetooth:before {
content:'\e01e';
}
.oi-bold:before {
content:'\e01f';
}
.oi-bolt:before {
content:'\e020';
}
.oi-book:before {
content:'\e021';
}
.oi-bookmark:before {
content:'\e022';
}
.oi-box:before {
content:'\e023';
}
.oi-briefcase:before {
content:'\e024';
}
.oi-british-pound:before {
content:'\e025';
}
.oi-browser:before {
content:'\e026';
}
.oi-brush:before {
content:'\e027';
}
.oi-bug:before {
content:'\e028';
}
.oi-bullhorn:before {
content:'\e029';
}
.oi-calculator:before {
content:'\e02a';
}
.oi-calendar:before {
content:'\e02b';
}
.oi-camera-slr:before {
content:'\e02c';
}
.oi-caret-bottom:before {
content:'\e02d';
}
.oi-caret-left:before {
content:'\e02e';
}
.oi-caret-right:before {
content:'\e02f';
}
.oi-caret-top:before {
content:'\e030';
}
.oi-cart:before {
content:'\e031';
}
.oi-chat:before {
content:'\e032';
}
.oi-check:before {
content:'\e033';
}
.oi-chevron-bottom:before {
content:'\e034';
}
.oi-chevron-left:before {
content:'\e035';
}
.oi-chevron-right:before {
content:'\e036';
}
.oi-chevron-top:before {
content:'\e037';
}
.oi-circle-check:before {
content:'\e038';
}
.oi-circle-x:before {
content:'\e039';
}
.oi-clipboard:before {
content:'\e03a';
}
.oi-clock:before {
content:'\e03b';
}
.oi-cloud-download:before {
content:'\e03c';
}
.oi-cloud-upload:before {
content:'\e03d';
}
.oi-cloud:before {
content:'\e03e';
}
.oi-cloudy:before {
content:'\e03f';
}
.oi-code:before {
content:'\e040';
}
.oi-cog:before {
content:'\e041';
}
.oi-collapse-down:before {
content:'\e042';
}
.oi-collapse-left:before {
content:'\e043';
}
.oi-collapse-right:before {
content:'\e044';
}
.oi-collapse-up:before {
content:'\e045';
}
.oi-command:before {
content:'\e046';
}
.oi-comment-square:before {
content:'\e047';
}
.oi-compass:before {
content:'\e048';
}
.oi-contrast:before {
content:'\e049';
}
.oi-copywriting:before {
content:'\e04a';
}
.oi-credit-card:before {
content:'\e04b';
}
.oi-crop:before {
content:'\e04c';
}
.oi-dashboard:before {
content:'\e04d';
}
.oi-data-transfer-download:before {
content:'\e04e';
}
.oi-data-transfer-upload:before {
content:'\e04f';
}
.oi-delete:before {
content:'\e050';
}
.oi-dial:before {
content:'\e051';
}
.oi-document:before {
content:'\e052';
}
.oi-dollar:before {
content:'\e053';
}
.oi-double-quote-sans-left:before {
content:'\e054';
}
.oi-double-quote-sans-right:before {
content:'\e055';
}
.oi-double-quote-serif-left:before {
content:'\e056';
}
.oi-double-quote-serif-right:before {
content:'\e057';
}
.oi-droplet:before {
content:'\e058';
}
.oi-eject:before {
content:'\e059';
}
.oi-elevator:before {
content:'\e05a';
}
.oi-ellipses:before {
content:'\e05b';
}
.oi-envelope-closed:before {
content:'\e05c';
}
.oi-envelope-open:before {
content:'\e05d';
}
.oi-euro:before {
content:'\e05e';
}
.oi-excerpt:before {
content:'\e05f';
}
.oi-expand-down:before {
content:'\e060';
}
.oi-expand-left:before {
content:'\e061';
}
.oi-expand-right:before {
content:'\e062';
}
.oi-expand-up:before {
content:'\e063';
}
.oi-external-link:before {
content:'\e064';
}
.oi-eye:before {
content:'\e065';
}
.oi-eyedropper:before {
content:'\e066';
}
.oi-file:before {
content:'\e067';
}
.oi-fire:before {
content:'\e068';
}
.oi-flag:before {
content:'\e069';
}
.oi-flash:before {
content:'\e06a';
}
.oi-folder:before {
content:'\e06b';
}
.oi-fork:before {
content:'\e06c';
}
.oi-fullscreen-enter:before {
content:'\e06d';
}
.oi-fullscreen-exit:before {
content:'\e06e';
}
.oi-globe:before {
content:'\e06f';
}
.oi-graph:before {
content:'\e070';
}
.oi-grid-four-up:before {
content:'\e071';
}
.oi-grid-three-up:before {
content:'\e072';
}
.oi-grid-two-up:before {
content:'\e073';
}
.oi-hard-drive:before {
content:'\e074';
}
.oi-header:before {
content:'\e075';
}
.oi-headphones:before {
content:'\e076';
}
.oi-heart:before {
content:'\e077';
}
.oi-home:before {
content:'\e078';
}
.oi-image:before {
content:'\e079';
}
.oi-inbox:before {
content:'\e07a';
}
.oi-infinity:before {
content:'\e07b';
}
.oi-info:before {
content:'\e07c';
}
.oi-italic:before {
content:'\e07d';
}
.oi-justify-center:before {
content:'\e07e';
}
.oi-justify-left:before {
content:'\e07f';
}
.oi-justify-right:before {
content:'\e080';
}
.oi-key:before {
content:'\e081';
}
.oi-laptop:before {
content:'\e082';
}
.oi-layers:before {
content:'\e083';
}
.oi-lightbulb:before {
content:'\e084';
}
.oi-link-broken:before {
content:'\e085';
}
.oi-link-intact:before {
content:'\e086';
}
.oi-list-rich:before {
content:'\e087';
}
.oi-list:before {
content:'\e088';
}
.oi-location:before {
content:'\e089';
}
.oi-lock-locked:before {
content:'\e08a';
}
.oi-lock-unlocked:before {
content:'\e08b';
}
.oi-loop-circular:before {
content:'\e08c';
}
.oi-loop-square:before {
content:'\e08d';
}
.oi-loop:before {
content:'\e08e';
}
.oi-magnifying-glass:before {
content:'\e08f';
}
.oi-map-marker:before {
content:'\e090';
}
.oi-map:before {
content:'\e091';
}
.oi-media-pause:before {
content:'\e092';
}
.oi-media-play:before {
content:'\e093';
}
.oi-media-record:before {
content:'\e094';
}
.oi-media-skip-backward:before {
content:'\e095';
}
.oi-media-skip-forward:before {
content:'\e096';
}
.oi-media-step-backward:before {
content:'\e097';
}
.oi-media-step-forward:before {
content:'\e098';
}
.oi-media-stop:before {
content:'\e099';
}
.oi-medical-cross:before {
content:'\e09a';
}
.oi-menu:before {
content:'\e09b';
}
.oi-microphone:before {
content:'\e09c';
}
.oi-minus:before {
content:'\e09d';
}
.oi-monitor:before {
content:'\e09e';
}
.oi-moon:before {
content:'\e09f';
}
.oi-move:before {
content:'\e0a0';
}
.oi-musical-note:before {
content:'\e0a1';
}
.oi-paperclip:before {
content:'\e0a2';
}
.oi-pencil:before {
content:'\e0a3';
}
.oi-people:before {
content:'\e0a4';
}
.oi-person:before {
content:'\e0a5';
}
.oi-phone:before {
content:'\e0a6';
}
.oi-pie-chart:before {
content:'\e0a7';
}
.oi-pin:before {
content:'\e0a8';
}
.oi-play-circle:before {
content:'\e0a9';
}
.oi-plus:before {
content:'\e0aa';
}
.oi-power-standby:before {
content:'\e0ab';
}
.oi-print:before {
content:'\e0ac';
}
.oi-project:before {
content:'\e0ad';
}
.oi-pulse:before {
content:'\e0ae';
}
.oi-puzzle-piece:before {
content:'\e0af';
}
.oi-question-mark:before {
content:'\e0b0';
}
.oi-rain:before {
content:'\e0b1';
}
.oi-random:before {
content:'\e0b2';
}
.oi-reload:before {
content:'\e0b3';
}
.oi-resize-both:before {
content:'\e0b4';
}
.oi-resize-height:before {
content:'\e0b5';
}
.oi-resize-width:before {
content:'\e0b6';
}
.oi-rss-alt:before {
content:'\e0b7';
}
.oi-rss:before {
content:'\e0b8';
}
.oi-script:before {
content:'\e0b9';
}
.oi-share-boxed:before {
content:'\e0ba';
}
.oi-share:before {
content:'\e0bb';
}
.oi-shield:before {
content:'\e0bc';
}
.oi-signal:before {
content:'\e0bd';
}
.oi-signpost:before {
content:'\e0be';
}
.oi-sort-ascending:before {
content:'\e0bf';
}
.oi-sort-descending:before {
content:'\e0c0';
}
.oi-spreadsheet:before {
content:'\e0c1';
}
.oi-star:before {
content:'\e0c2';
}
.oi-sun:before {
content:'\e0c3';
}
.oi-tablet:before {
content:'\e0c4';
}
.oi-tag:before {
content:'\e0c5';
}
.oi-tags:before {
content:'\e0c6';
}
.oi-target:before {
content:'\e0c7';
}
.oi-task:before {
content:'\e0c8';
}
.oi-terminal:before {
content:'\e0c9';
}
.oi-text:before {
content:'\e0ca';
}
.oi-thumb-down:before {
content:'\e0cb';
}
.oi-thumb-up:before {
content:'\e0cc';
}
.oi-timer:before {
content:'\e0cd';
}
.oi-transfer:before {
content:'\e0ce';
}
.oi-trash:before {
content:'\e0cf';
}
.oi-underline:before {
content:'\e0d0';
}
.oi-vertical-align-bottom:before {
content:'\e0d1';
}
.oi-vertical-align-center:before {
content:'\e0d2';
}
.oi-vertical-align-top:before {
content:'\e0d3';
}
.oi-video:before {
content:'\e0d4';
}
.oi-volume-high:before {
content:'\e0d5';
}
.oi-volume-low:before {
content:'\e0d6';
}
.oi-volume-off:before {
content:'\e0d7';
}
.oi-warning:before {
content:'\e0d8';
}
.oi-wifi:before {
content:'\e0d9';
}
.oi-wrench:before {
content:'\e0da';
}
.oi-x:before {
content:'\e0db';
}
.oi-yen:before {
content:'\e0dc';
}
.oi-zoom-in:before {
content:'\e0dd';
}
.oi-zoom-out:before {
content:'\e0de';
}

954
ordr2/static/font/css/open-iconic-bootstrap.styl vendored

@ -1,954 +0,0 @@
/* Bootstrap */
@font-face
font-family 'Icons'
src url('../fonts/open-iconic.eot')
src url('../fonts/open-iconic.eot?#iconic-sm') format('embedded-opentype'), url('../fonts/open-iconic.woff') format('woff'), url('../fonts/open-iconic.ttf') format('truetype'), url('../fonts/open-iconic.svg#iconic-sm') format('svg')
font-weight normal
font-style normal
// Catchall baseclass
.oi
position relative
top 1px
display inline-block
font-family 'Icons'
font-style normal
font-weight normal
line-height 1
-webkit-font-smoothing antialiased
-moz-osx-font-smoothing grayscale
&:empty:before
width 1em
text-align center
box-sizing content-box
&.oi-align-center:before
text-align center
&.oi-align-left:before
text-align left
&.oi-align-right:before
text-align right
&.oi-flip-horizontal:before
-webkit-transform scale(-1, 1)
-ms-transform scale(-1, 1)
transform scale(-1, 1)
&.oi-flip-vertical:before
-webkit-transform scale(1, -1)
-ms-transform scale(-1, 1)
transform scale(1, -1)
&.oi-flip-horizontal-vertical:before
-webkit-transform scale(-1, -1)
-ms-transform scale(-1, 1)
transform scale(-1, -1)
.oi-account-login:before {
content'\e000'
}
.oi-account-logout:before {
content'\e001'
}
.oi-action-redo:before {
content'\e002'
}
.oi-action-undo:before {
content'\e003'
}
.oi-align-center:before {
content'\e004'
}
.oi-align-left:before {
content'\e005'
}
.oi-align-right:before {
content'\e006'
}
.oi-aperture:before {
content'\e007'
}
.oi-arrow-bottom:before {
content'\e008'
}
.oi-arrow-circle-bottom:before {
content'\e009'
}
.oi-arrow-circle-left:before {
content'\e00a'
}
.oi-arrow-circle-right:before {
content'\e00b'
}
.oi-arrow-circle-top:before {
content'\e00c'
}
.oi-arrow-left:before {
content'\e00d'
}
.oi-arrow-right:before {
content'\e00e'
}
.oi-arrow-thick-bottom:before {
content'\e00f'
}
.oi-arrow-thick-left:before {
content'\e010'
}
.oi-arrow-thick-right:before {
content'\e011'
}
.oi-arrow-thick-top:before {
content'\e012'
}
.oi-arrow-top:before {
content'\e013'
}
.oi-audio-spectrum:before {
content'\e014'
}
.oi-audio:before {
content'\e015'
}
.oi-badge:before {
content'\e016'
}
.oi-ban:before {
content'\e017'
}
.oi-bar-chart:before {
content'\e018'
}
.oi-basket:before {
content'\e019'
}
.oi-battery-empty:before {
content'\e01a'
}
.oi-battery-full:before {
content'\e01b'
}
.oi-beaker:before {
content'\e01c'
}
.oi-bell:before {
content'\e01d'
}
.oi-bluetooth:before {
content'\e01e'
}
.oi-bold:before {
content'\e01f'
}
.oi-bolt:before {
content'\e020'
}
.oi-book:before {
content'\e021'
}
.oi-bookmark:before {
content'\e022'
}
.oi-box:before {
content'\e023'
}
.oi-briefcase:before {
content'\e024'
}
.oi-british-pound:before {
content'\e025'
}
.oi-browser:before {
content'\e026'
}
.oi-brush:before {
content'\e027'
}
.oi-bug:before {
content'\e028'
}
.oi-bullhorn:before {
content'\e029'
}
.oi-calculator:before {
content'\e02a'
}
.oi-calendar:before {
content'\e02b'
}
.oi-camera-slr:before {
content'\e02c'
}
.oi-caret-bottom:before {
content'\e02d'
}
.oi-caret-left:before {
content'\e02e'
}
.oi-caret-right:before {
content'\e02f'
}
.oi-caret-top:before {
content'\e030'
}
.oi-cart:before {
content'\e031'
}
.oi-chat:before {
content'\e032'
}
.oi-check:before {
content'\e033'
}
.oi-chevron-bottom:before {
content'\e034'
}
.oi-chevron-left:before {
content'\e035'
}
.oi-chevron-right:before {
content'\e036'
}
.oi-chevron-top:before {
content'\e037'
}
.oi-circle-check:before {
content'\e038'
}
.oi-circle-x:before {
content'\e039'
}
.oi-clipboard:before {
content'\e03a'
}
.oi-clock:before {
content'\e03b'
}
.oi-cloud-download:before {
content'\e03c'
}
.oi-cloud-upload:before {
content'\e03d'
}
.oi-cloud:before {
content'\e03e'
}
.oi-cloudy:before {
content'\e03f'
}
.oi-code:before {
content'\e040'
}
.oi-cog:before {
content'\e041'
}
.oi-collapse-down:before {
content'\e042'
}
.oi-collapse-left:before {
content'\e043'
}
.oi-collapse-right:before {
content'\e044'
}
.oi-collapse-up:before {
content'\e045'
}
.oi-command:before {
content'\e046'
}
.oi-comment-square:before {
content'\e047'
}
.oi-compass:before {
content'\e048'
}
.oi-contrast:before {
content'\e049'
}
.oi-copywriting:before {
content'\e04a'
}
.oi-credit-card:before {
content'\e04b'
}
.oi-crop:before {
content'\e04c'
}
.oi-dashboard:before {
content'\e04d'
}
.oi-data-transfer-download:before {
content'\e04e'
}
.oi-data-transfer-upload:before {
content'\e04f'
}
.oi-delete:before {
content'\e050'
}
.oi-dial:before {
content'\e051'
}
.oi-document:before {
content'\e052'
}
.oi-dollar:before {
content'\e053'
}
.oi-double-quote-sans-left:before {
content'\e054'
}
.oi-double-quote-sans-right:before {
content'\e055'
}
.oi-double-quote-serif-left:before {
content'\e056'
}
.oi-double-quote-serif-right:before {
content'\e057'
}
.oi-droplet:before {
content'\e058'
}
.oi-eject:before {
content'\e059'
}
.oi-elevator:before {
content'\e05a'
}
.oi-ellipses:before {
content'\e05b'
}
.oi-envelope-closed:before {
content'\e05c'
}
.oi-envelope-open:before {
content'\e05d'
}
.oi-euro:before {
content'\e05e'
}
.oi-excerpt:before {
content'\e05f'
}
.oi-expand-down:before {
content'\e060'
}
.oi-expand-left:before {
content'\e061'
}
.oi-expand-right:before {
content'\e062'
}
.oi-expand-up:before {
content'\e063'
}
.oi-external-link:before {
content'\e064'
}
.oi-eye:before {
content'\e065'
}
.oi-eyedropper:before {
content'\e066'
}
.oi-file:before {
content'\e067'
}
.oi-fire:before {
content'\e068'
}
.oi-flag:before {
content'\e069'
}
.oi-flash:before {
content'\e06a'
}
.oi-folder:before {
content'\e06b'
}
.oi-fork:before {
content'\e06c'
}
.oi-fullscreen-enter:before {
content'\e06d'
}
.oi-fullscreen-exit:before {
content'\e06e'
}
.oi-globe:before {
content'\e06f'
}
.oi-graph:before {
content'\e070'
}
.oi-grid-four-up:before {
content'\e071'
}
.oi-grid-three-up:before {
content'\e072'
}
.oi-grid-two-up:before {
content'\e073'
}
.oi-hard-drive:before {
content'\e074'
}
.oi-header:before {
content'\e075'
}
.oi-headphones:before {
content'\e076'
}
.oi-heart:before {
content'\e077'
}
.oi-home:before {
content'\e078'
}
.oi-image:before {
content'\e079'
}
.oi-inbox:before {
content'\e07a'
}
.oi-infinity:before {
content'\e07b'
}
.oi-info:before {
content'\e07c'
}
.oi-italic:before {
content'\e07d'
}
.oi-justify-center:before {
content'\e07e'
}
.oi-justify-left:before {
content'\e07f'
}
.oi-justify-right:before {
content'\e080'
}
.oi-key:before {
content'\e081'
}
.oi-laptop:before {
content'\e082'
}
.oi-layers:before {
content'\e083'
}
.oi-lightbulb:before {
content'\e084'
}
.oi-link-broken:before {
content'\e085'
}
.oi-link-intact:before {
content'\e086'
}
.oi-list-rich:before {
content'\e087'
}
.oi-list:before {
content'\e088'
}
.oi-location:before {
content'\e089'
}
.oi-lock-locked:before {
content'\e08a'
}
.oi-lock-unlocked:before {
content'\e08b'
}
.oi-loop-circular:before {
content'\e08c'
}
.oi-loop-square:before {
content'\e08d'
}
.oi-loop:before {
content'\e08e'
}
.oi-magnifying-glass:before {
content'\e08f'
}
.oi-map-marker:before {
content'\e090'
}
.oi-map:before {
content'\e091'
}
.oi-media-pause:before {
content'\e092'
}
.oi-media-play:before {
content'\e093'
}
.oi-media-record:before {
content'\e094'
}
.oi-media-skip-backward:before {
content'\e095'
}
.oi-media-skip-forward:before {
content'\e096'
}
.oi-media-step-backward:before {
content'\e097'
}
.oi-media-step-forward:before {
content'\e098'
}
.oi-media-stop:before {
content'\e099'
}
.oi-medical-cross:before {
content'\e09a'
}
.oi-menu:before {
content'\e09b'
}
.oi-microphone:before {
content'\e09c'
}
.oi-minus:before {
content'\e09d'
}
.oi-monitor:before {
content'\e09e'
}
.oi-moon:before {
content'\e09f'
}
.oi-move:before {
content'\e0a0'
}
.oi-musical-note:before {
content'\e0a1'
}
.oi-paperclip:before {
content'\e0a2'
}
.oi-pencil:before {
content'\e0a3'
}
.oi-people:before {
content'\e0a4'
}
.oi-person:before {
content'\e0a5'
}
.oi-phone:before {
content'\e0a6'
}
.oi-pie-chart:before {
content'\e0a7'
}
.oi-pin:before {
content'\e0a8'
}
.oi-play-circle:before {
content'\e0a9'
}
.oi-plus:before {
content'\e0aa'
}
.oi-power-standby:before {
content'\e0ab'
}
.oi-print:before {
content'\e0ac'
}
.oi-project:before {
content'\e0ad'
}
.oi-pulse:before {
content'\e0ae'
}
.oi-puzzle-piece:before {
content'\e0af'
}
.oi-question-mark:before {
content'\e0b0'
}
.oi-rain:before {
content'\e0b1'
}
.oi-random:before {
content'\e0b2'
}
.oi-reload:before {
content'\e0b3'
}
.oi-resize-both:before {
content'\e0b4'
}
.oi-resize-height:before {
content'\e0b5'
}
.oi-resize-width:before {
content'\e0b6'
}
.oi-rss-alt:before {
content'\e0b7'
}
.oi-rss:before {
content'\e0b8'
}
.oi-script:before {
content'\e0b9'
}
.oi-share-boxed:before {
content'\e0ba'
}
.oi-share:before {
content'\e0bb'
}
.oi-shield:before {
content'\e0bc'
}
.oi-signal:before {
content'\e0bd'
}
.oi-signpost:before {
content'\e0be'
}
.oi-sort-ascending:before {
content'\e0bf'
}
.oi-sort-descending:before {
content'\e0c0'
}
.oi-spreadsheet:before {
content'\e0c1'
}
.oi-star:before {
content'\e0c2'
}
.oi-sun:before {
content'\e0c3'
}
.oi-tablet:before {
content'\e0c4'
}
.oi-tag:before {
content'\e0c5'
}
.oi-tags:before {
content'\e0c6'
}
.oi-target:before {
content'\e0c7'
}
.oi-task:before {
content'\e0c8'
}
.oi-terminal:before {
content'\e0c9'
}
.oi-text:before {
content'\e0ca'
}
.oi-thumb-down:before {
content'\e0cb'
}
.oi-thumb-up:before {
content'\e0cc'
}
.oi-timer:before {
content'\e0cd'
}
.oi-transfer:before {
content'\e0ce'
}
.oi-trash:before {
content'\e0cf'
}
.oi-underline:before {
content'\e0d0'
}
.oi-vertical-align-bottom:before {
content'\e0d1'
}
.oi-vertical-align-center:before {
content'\e0d2'
}
.oi-vertical-align-top:before {
content'\e0d3'
}
.oi-video:before {
content'\e0d4'
}
.oi-volume-high:before {
content'\e0d5'
}
.oi-volume-low:before {
content'\e0d6'
}
.oi-volume-off:before {
content'\e0d7'
}
.oi-warning:before {
content'\e0d8'
}
.oi-wifi:before {
content'\e0d9'
}
.oi-wrench:before {
content'\e0da'
}
.oi-x:before {
content'\e0db'
}
.oi-yen:before {
content'\e0dc'
}
.oi-zoom-in:before {
content'\e0dd'
}
.oi-zoom-out:before {
content'\e0de'
}

1395
ordr2/static/font/css/open-iconic-foundation.css vendored

File diff suppressed because it is too large Load Diff

1397
ordr2/static/font/css/open-iconic-foundation.less vendored

File diff suppressed because it is too large Load Diff

1
ordr2/static/font/css/open-iconic-foundation.min.css vendored

File diff suppressed because one or more lines are too long

1398
ordr2/static/font/css/open-iconic-foundation.scss vendored

File diff suppressed because it is too large Load Diff

1392
ordr2/static/font/css/open-iconic-foundation.styl vendored

File diff suppressed because it is too large Load Diff

511
ordr2/static/font/css/open-iconic.css

@ -1,511 +0,0 @@
@font-face {
font-family: 'Icons';
src: url('../fonts/open-iconic.eot');
src: url('../fonts/open-iconic.eot?#iconic-sm') format('embedded-opentype'), url('../fonts/open-iconic.woff') format('woff'), url('../fonts/open-iconic.ttf') format('truetype'), url('../fonts/open-iconic.otf') format('opentype'), url('../fonts/open-iconic.svg#iconic-sm') format('svg');
font-weight: normal;
font-style: normal;
}
.oi[data-glyph].oi-text-replace {
font-size: 0;
line-height: 0;
}
.oi[data-glyph].oi-text-replace:before {
width: 1em;
text-align: center;
}
.oi[data-glyph]:before {
font-family: 'Icons';
display: inline-block;
speak: none;
line-height: 1;
vertical-align: baseline;
font-weight: normal;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.oi[data-glyph]:empty:before {
width: 1em;
text-align: center;
box-sizing: content-box;
}
.oi[data-glyph].oi-align-left:before {
text-align: left;
}
.oi[data-glyph].oi-align-right:before {
text-align: right;
}
.oi[data-glyph].oi-align-center:before {
text-align: center;
}
.oi[data-glyph].oi-flip-horizontal:before {
-webkit-transform: scale(-1, 1);
-ms-transform: scale(-1, 1);
transform: scale(-1, 1);
}
.oi[data-glyph].oi-flip-vertical:before {
-webkit-transform: scale(1, -1);
-ms-transform: scale(-1, 1);
transform: scale(1, -1);
}
.oi[data-glyph].oi-flip-horizontal-vertical:before {
-webkit-transform: scale(-1, -1);
-ms-transform: scale(-1, 1);
transform: scale(-1, -1);
}
.oi[data-glyph=account-login]:before { content:'\e000'; }
.oi[data-glyph=account-logout]:before { content:'\e001'; }
.oi[data-glyph=action-redo]:before { content:'\e002'; }
.oi[data-glyph=action-undo]:before { content:'\e003'; }
.oi[data-glyph=align-center]:before { content:'\e004'; }
.oi[data-glyph=align-left]:before { content:'\e005'; }
.oi[data-glyph=align-right]:before { content:'\e006'; }
.oi[data-glyph=aperture]:before { content:'\e007'; }
.oi[data-glyph=arrow-bottom]:before { content:'\e008'; }
.oi[data-glyph=arrow-circle-bottom]:before { content:'\e009'; }
.oi[data-glyph=arrow-circle-left]:before { content:'\e00a'; }
.oi[data-glyph=arrow-circle-right]:before { content:'\e00b'; }
.oi[data-glyph=arrow-circle-top]:before { content:'\e00c'; }
.oi[data-glyph=arrow-left]:before { content:'\e00d'; }
.oi[data-glyph=arrow-right]:before { content:'\e00e'; }
.oi[data-glyph=arrow-thick-bottom]:before { content:'\e00f'; }
.oi[data-glyph=arrow-thick-left]:before { content:'\e010'; }
.oi[data-glyph=arrow-thick-right]:before { content:'\e011'; }
.oi[data-glyph=arrow-thick-top]:before { content:'\e012'; }
.oi[data-glyph=arrow-top]:before { content:'\e013'; }
.oi[data-glyph=audio-spectrum]:before { content:'\e014'; }
.oi[data-glyph=audio]:before { content:'\e015'; }
.oi[data-glyph=badge]:before { content:'\e016'; }
.oi[data-glyph=ban]:before { content:'\e017'; }
.oi[data-glyph=bar-chart]:before { content:'\e018'; }
.oi[data-glyph=basket]:before { content:'\e019'; }
.oi[data-glyph=battery-empty]:before { content:'\e01a'; }
.oi[data-glyph=battery-full]:before { content:'\e01b'; }
.oi[data-glyph=beaker]:before { content:'\e01c'; }
.oi[data-glyph=bell]:before { content:'\e01d'; }
.oi[data-glyph=bluetooth]:before { content:'\e01e'; }
.oi[data-glyph=bold]:before { content:'\e01f'; }
.oi[data-glyph=bolt]:before { content:'\e020'; }
.oi[data-glyph=book]:before { content:'\e021'; }
.oi[data-glyph=bookmark]:before { content:'\e022'; }
.oi[data-glyph=box]:before { content:'\e023'; }
.oi[data-glyph=briefcase]:before { content:'\e024'; }
.oi[data-glyph=british-pound]:before { content:'\e025'; }
.oi[data-glyph=browser]:before { content:'\e026'; }
.oi[data-glyph=brush]:before { content:'\e027'; }
.oi[data-glyph=bug]:before { content:'\e028'; }
.oi[data-glyph=bullhorn]:before { content:'\e029'; }
.oi[data-glyph=calculator]:before { content:'\e02a'; }
.oi[data-glyph=calendar]:before { content:'\e02b'; }
.oi[data-glyph=camera-slr]:before { content:'\e02c'; }
.oi[data-glyph=caret-bottom]:before { content:'\e02d'; }
.oi[data-glyph=caret-left]:before { content:'\e02e'; }
.oi[data-glyph=caret-right]:before { content:'\e02f'; }
.oi[data-glyph=caret-top]:before { content:'\e030'; }
.oi[data-glyph=cart]:before { content:'\e031'; }
.oi[data-glyph=chat]:before { content:'\e032'; }
.oi[data-glyph=check]:before { content:'\e033'; }
.oi[data-glyph=chevron-bottom]:before { content:'\e034'; }
.oi[data-glyph=chevron-left]:before { content:'\e035'; }
.oi[data-glyph=chevron-right]:before { content:'\e036'; }
.oi[data-glyph=chevron-top]:before { content:'\e037'; }
.oi[data-glyph=circle-check]:before { content:'\e038'; }
.oi[data-glyph=circle-x]:before { content:'\e039'; }
.oi[data-glyph=clipboard]:before { content:'\e03a'; }
.oi[data-glyph=clock]:before { content:'\e03b'; }
.oi[data-glyph=cloud-download]:before { content:'\e03c'; }
.oi[data-glyph=cloud-upload]:before { content:'\e03d'; }
.oi[data-glyph=cloud]:before { content:'\e03e'; }
.oi[data-glyph=cloudy]:before { content:'\e03f'; }
.oi[data-glyph=code]:before { content:'\e040'; }
.oi[data-glyph=cog]:before { content:'\e041'; }
.oi[data-glyph=collapse-down]:before { content:'\e042'; }
.oi[data-glyph=collapse-left]:before { content:'\e043'; }
.oi[data-glyph=collapse-right]:before { content:'\e044'; }
.oi[data-glyph=collapse-up]:before { content:'\e045'; }
.oi[data-glyph=command]:before { content:'\e046'; }
.oi[data-glyph=comment-square]:before { content:'\e047'; }
.oi[data-glyph=compass]:before { content:'\e048'; }
.oi[data-glyph=contrast]:before { content:'\e049'; }
.oi[data-glyph=copywriting]:before { content:'\e04a'; }
.oi[data-glyph=credit-card]:before { content:'\e04b'; }
.oi[data-glyph=crop]:before { content:'\e04c'; }
.oi[data-glyph=dashboard]:before { content:'\e04d'; }
.oi[data-glyph=data-transfer-download]:before { content:'\e04e'; }
.oi[data-glyph=data-transfer-upload]:before { content:'\e04f'; }
.oi[data-glyph=delete]:before { content:'\e050'; }
.oi[data-glyph=dial]:before { content:'\e051'; }
.oi[data-glyph=document]:before { content:'\e052'; }
.oi[data-glyph=dollar]:before { content:'\e053'; }
.oi[data-glyph=double-quote-sans-left]:before { content:'\e054'; }
.oi[data-glyph=double-quote-sans-right]:before { content:'\e055'; }
.oi[data-glyph=double-quote-serif-left]:before { content:'\e056'; }
.oi[data-glyph=double-quote-serif-right]:before { content:'\e057'; }
.oi[data-glyph=droplet]:before { content:'\e058'; }
.oi[data-glyph=eject]:before { content:'\e059'; }
.oi[data-glyph=elevator]:before { content:'\e05a'; }
.oi[data-glyph=ellipses]:before { content:'\e05b'; }
.oi[data-glyph=envelope-closed]:before { content:'\e05c'; }
.oi[data-glyph=envelope-open]:before { content:'\e05d'; }
.oi[data-glyph=euro]:before { content:'\e05e'; }
.oi[data-glyph=excerpt]:before { content:'\e05f'; }
.oi[data-glyph=expand-down]:before { content:'\e060'; }
.oi[data-glyph=expand-left]:before { content:'\e061'; }
.oi[data-glyph=expand-right]:before { content:'\e062'; }
.oi[data-glyph=expand-up]:before { content:'\e063'; }
.oi[data-glyph=external-link]:before { content:'\e064'; }
.oi[data-glyph=eye]:before { content:'\e065'; }
.oi[data-glyph=eyedropper]:before { content:'\e066'; }
.oi[data-glyph=file]:before { content:'\e067'; }
.oi[data-glyph=fire]:before { content:'\e068'; }
.oi[data-glyph=flag]:before { content:'\e069'; }
.oi[data-glyph=flash]:before { content:'\e06a'; }
.oi[data-glyph=folder]:before { content:'\e06b'; }
.oi[data-glyph=fork]:before { content:'\e06c'; }
.oi[data-glyph=fullscreen-enter]:before { content:'\e06d'; }
.oi[data-glyph=fullscreen-exit]:before { content:'\e06e'; }
.oi[data-glyph=globe]:before { content:'\e06f'; }
.oi[data-glyph=graph]:before { content:'\e070'; }
.oi[data-glyph=grid-four-up]:before { content:'\e071'; }
.oi[data-glyph=grid-three-up]:before { content:'\e072'; }
.oi[data-glyph=grid-two-up]:before { content:'\e073'; }
.oi[data-glyph=hard-drive]:before { content:'\e074'; }
.oi[data-glyph=header]:before { content:'\e075'; }
.oi[data-glyph=headphones]:before { content:'\e076'; }
.oi[data-glyph=heart]:before { content:'\e077'; }
.oi[data-glyph=home]:before { content:'\e078'; }
.oi[data-glyph=image]:before { content:'\e079'; }
.oi[data-glyph=inbox]:before { content:'\e07a'; }
.oi[data-glyph=infinity]:before { content:'\e07b'; }
.oi[data-glyph=info]:before { content:'\e07c'; }
.oi[data-glyph=italic]:before { content:'\e07d'; }
.oi[data-glyph=justify-center]:before { content:'\e07e'; }
.oi[data-glyph=justify-left]:before { content:'\e07f'; }
.oi[data-glyph=justify-right]:before { content:'\e080'; }
.oi[data-glyph=key]:before { content:'\e081'; }
.oi[data-glyph=laptop]:before { content:'\e082'; }
.oi[data-glyph=layers]:before { content:'\e083'; }
.oi[data-glyph=lightbulb]:before { content:'\e084'; }
.oi[data-glyph=link-broken]:before { content:'\e085'; }
.oi[data-glyph=link-intact]:before { content:'\e086'; }
.oi[data-glyph=list-rich]:before { content:'\e087'; }
.oi[data-glyph=list]:before { content:'\e088'; }
.oi[data-glyph=location]:before { content:'\e089'; }
.oi[data-glyph=lock-locked]:before { content:'\e08a'; }
.oi[data-glyph=lock-unlocked]:before { content:'\e08b'; }
.oi[data-glyph=loop-circular]:before { content:'\e08c'; }
.oi[data-glyph=loop-square]:before { content:'\e08d'; }
.oi[data-glyph=loop]:before { content:'\e08e'; }
.oi[data-glyph=magnifying-glass]:before { content:'\e08f'; }
.oi[data-glyph=map-marker]:before { content:'\e090'; }
.oi[data-glyph=map]:before { content:'\e091'; }
.oi[data-glyph=media-pause]:before { content:'\e092'; }
.oi[data-glyph=media-play]:before { content:'\e093'; }
.oi[data-glyph=media-record]:before { content:'\e094'; }
.oi[data-glyph=media-skip-backward]:before { content:'\e095'; }
.oi[data-glyph=media-skip-forward]:before { content:'\e096'; }
.oi[data-glyph=media-step-backward]:before { content:'\e097'; }
.oi[data-glyph=media-step-forward]:before { content:'\e098'; }
.oi[data-glyph=media-stop]:before { content:'\e099'; }
.oi[data-glyph=medical-cross]:before { content:'\e09a'; }
.oi[data-glyph=menu]:before { content:'\e09b'; }
.oi[data-glyph=microphone]:before { content:'\e09c'; }
.oi[data-glyph=minus]:before { content:'\e09d'; }
.oi[data-glyph=monitor]:before { content:'\e09e'; }
.oi[data-glyph=moon]:before { content:'\e09f'; }
.oi[data-glyph=move]:before { content:'\e0a0'; }
.oi[data-glyph=musical-note]:before { content:'\e0a1'; }
.oi[data-glyph=paperclip]:before { content:'\e0a2'; }
.oi[data-glyph=pencil]:before { content:'\e0a3'; }
.oi[data-glyph=people]:before { content:'\e0a4'; }
.oi[data-glyph=person]:before { content:'\e0a5'; }
.oi[data-glyph=phone]:before { content:'\e0a6'; }
.oi[data-glyph=pie-chart]:before { content:'\e0a7'; }
.oi[data-glyph=pin]:before { content:'\e0a8'; }
.oi[data-glyph=play-circle]:before { content:'\e0a9'; }
.oi[data-glyph=plus]:before { content:'\e0aa'; }
.oi[data-glyph=power-standby]:before { content:'\e0ab'; }
.oi[data-glyph=print]:before { content:'\e0ac'; }
.oi[data-glyph=project]:before { content:'\e0ad'; }
.oi[data-glyph=pulse]:before { content:'\e0ae'; }
.oi[data-glyph=puzzle-piece]:before { content:'\e0af'; }
.oi[data-glyph=question-mark]:before { content:'\e0b0'; }
.oi[data-glyph=rain]:before { content:'\e0b1'; }
.oi[data-glyph=random]:before { content:'\e0b2'; }
.oi[data-glyph=reload]:before { content:'\e0b3'; }
.oi[data-glyph=resize-both]:before { content:'\e0b4'; }
.oi[data-glyph=resize-height]:before { content:'\e0b5'; }
.oi[data-glyph=resize-width]:before { content:'\e0b6'; }
.oi[data-glyph=rss-alt]:before { content:'\e0b7'; }
.oi[data-glyph=rss]:before { content:'\e0b8'; }
.oi[data-glyph=script]:before { content:'\e0b9'; }
.oi[data-glyph=share-boxed]:before { content:'\e0ba'; }
.oi[data-glyph=share]:before { content:'\e0bb'; }
.oi[data-glyph=shield]:before { content:'\e0bc'; }
.oi[data-glyph=signal]:before { content:'\e0bd'; }
.oi[data-glyph=signpost]:before { content:'\e0be'; }
.oi[data-glyph=sort-ascending]:before { content:'\e0bf'; }
.oi[data-glyph=sort-descending]:before { content:'\e0c0'; }
.oi[data-glyph=spreadsheet]:before { content:'\e0c1'; }
.oi[data-glyph=star]:before { content:'\e0c2'; }
.oi[data-glyph=sun]:before { content:'\e0c3'; }
.oi[data-glyph=tablet]:before { content:'\e0c4'; }
.oi[data-glyph=tag]:before { content:'\e0c5'; }
.oi[data-glyph=tags]:before { content:'\e0c6'; }
.oi[data-glyph=target]:before { content:'\e0c7'; }
.oi[data-glyph=task]:before { content:'\e0c8'; }
.oi[data-glyph=terminal]:before { content:'\e0c9'; }
.oi[data-glyph=text]:before { content:'\e0ca'; }
.oi[data-glyph=thumb-down]:before { content:'\e0cb'; }
.oi[data-glyph=thumb-up]:before { content:'\e0cc'; }
.oi[data-glyph=timer]:before { content:'\e0cd'; }
.oi[data-glyph=transfer]:before { content:'\e0ce'; }
.oi[data-glyph=trash]:before { content:'\e0cf'; }
.oi[data-glyph=underline]:before { content:'\e0d0'; }
.oi[data-glyph=vertical-align-bottom]:before { content:'\e0d1'; }
.oi[data-glyph=vertical-align-center]:before { content:'\e0d2'; }
.oi[data-glyph=vertical-align-top]:before { content:'\e0d3'; }
.oi[data-glyph=video]:before { content:'\e0d4'; }
.oi[data-glyph=volume-high]:before { content:'\e0d5'; }
.oi[data-glyph=volume-low]:before { content:'\e0d6'; }
.oi[data-glyph=volume-off]:before { content:'\e0d7'; }
.oi[data-glyph=warning]:before { content:'\e0d8'; }
.oi[data-glyph=wifi]:before { content:'\e0d9'; }
.oi[data-glyph=wrench]:before { content:'\e0da'; }
.oi[data-glyph=x]:before { content:'\e0db'; }
.oi[data-glyph=yen]:before { content:'\e0dc'; }
.oi[data-glyph=zoom-in]:before { content:'\e0dd'; }
.oi[data-glyph=zoom-out]:before { content:'\e0de'; }

962
ordr2/static/font/css/open-iconic.less

@ -1,962 +0,0 @@
@iconic-font-path: '../fonts/';
@font-face {
font-family: 'Icons';
src: url('@{iconic-font-path}open-iconic.eot');
src: url('@{iconic-font-path}open-iconic.eot?#iconic-sm') format('embedded-opentype'), url('@{iconic-font-path}open-iconic.woff') format('woff'), url('@{iconic-font-path}open-iconic.ttf') format('truetype'), url('@{iconic-font-path}open-iconic.otf') format('opentype'), url('@{iconic-font-path}open-iconic.svg#iconic-sm') format('svg');
font-weight: normal;
font-style: normal;
}
.oi[data-glyph].oi-text-replace {
font-size: 0;
line-height: 0;
}
.oi[data-glyph].oi-text-replace:before {
width: 1em;
text-align: center;
}
.oi[data-glyph] {
&:before {
position: relative;
top: 1px;
font-family: 'Icons';
display: inline-block;
speak: none;
line-height: 1;
vertical-align: baseline;
font-weight: normal;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
&:empty:before {
width: 1em;
text-align: center;
box-sizing: content-box;
}
&.oi-align-left:before {
text-align: left;
}
&.oi-align-right:before {
text-align: right;
}
&.oi-align-center:before {
text-align: center;
}
&.oi-flip-horizontal:before {
-webkit-transform: scale(-1, 1);
-ms-transform: scale(-1, 1);
transform: scale(-1, 1);
}
&.oi-flip-vertical:before {
-webkit-transform: scale(1, -1);
-ms-transform: scale(-1, 1);
transform: scale(1, -1);
}
&.oi-flip-horizontal-vertical:before {
-webkit-transform: scale(-1, -1);
-ms-transform: scale(-1, 1);
transform: scale(-1, -1);
}
}
.oi[data-glyph=account-login]:before {
content: '\e000';
}
.oi[data-glyph=account-logout]:before {
content: '\e001';
}
.oi[data-glyph=action-redo]:before {
content: '\e002';
}
.oi[data-glyph=action-undo]:before {
content: '\e003';
}
.oi[data-glyph=align-center]:before {
content: '\e004';
}
.oi[data-glyph=align-left]:before {
content: '\e005';
}
.oi[data-glyph=align-right]:before {
content: '\e006';
}
.oi[data-glyph=aperture]:before {
content: '\e007';
}
.oi[data-glyph=arrow-bottom]:before {
content: '\e008';
}
.oi[data-glyph=arrow-circle-bottom]:before {
content: '\e009';
}
.oi[data-glyph=arrow-circle-left]:before {
content: '\e00a';
}
.oi[data-glyph=arrow-circle-right]:before {
content: '\e00b';
}
.oi[data-glyph=arrow-circle-top]:before {
content: '\e00c';
}
.oi[data-glyph=arrow-left]:before {
content: '\e00d';
}
.oi[data-glyph=arrow-right]:before {
content: '\e00e';
}
.oi[data-glyph=arrow-thick-bottom]:before {
content: '\e00f';
}
.oi[data-glyph=arrow-thick-left]:before {
content: '\e010';
}
.oi[data-glyph=arrow-thick-right]:before {
content: '\e011';
}
.oi[data-glyph=arrow-thick-top]:before {
content: '\e012';
}
.oi[data-glyph=arrow-top]:before {
content: '\e013';
}
.oi[data-glyph=audio-spectrum]:before {
content: '\e014';
}
.oi[data-glyph=audio]:before {
content: '\e015';
}
.oi[data-glyph=badge]:before {
content: '\e016';
}
.oi[data-glyph=ban]:before {
content: '\e017';
}
.oi[data-glyph=bar-chart]:before {
content: '\e018';
}
.oi[data-glyph=basket]:before {
content: '\e019';
}
.oi[data-glyph=battery-empty]:before {
content: '\e01a';
}
.oi[data-glyph=battery-full]:before {
content: '\e01b';
}
.oi[data-glyph=beaker]:before {
content: '\e01c';
}
.oi[data-glyph=bell]:before {
content: '\e01d';
}
.oi[data-glyph=bluetooth]:before {
content: '\e01e';
}
.oi[data-glyph=bold]:before {
content: '\e01f';
}
.oi[data-glyph=bolt]:before {
content: '\e020';
}
.oi[data-glyph=book]:before {
content: '\e021';
}
.oi[data-glyph=bookmark]:before {
content: '\e022';
}
.oi[data-glyph=box]:before {
content: '\e023';
}
.oi[data-glyph=briefcase]:before {
content: '\e024';
}
.oi[data-glyph=british-pound]:before {
content: '\e025';
}
.oi[data-glyph=browser]:before {
content: '\e026';
}
.oi[data-glyph=brush]:before {
content: '\e027';
}
.oi[data-glyph=bug]:before {
content: '\e028';
}
.oi[data-glyph=bullhorn]:before {
content: '\e029';
}
.oi[data-glyph=calculator]:before {
content: '\e02a';
}
.oi[data-glyph=calendar]:before {
content: '\e02b';
}
.oi[data-glyph=camera-slr]:before {
content: '\e02c';
}
.oi[data-glyph=caret-bottom]:before {
content: '\e02d';
}
.oi[data-glyph=caret-left]:before {
content: '\e02e';
}
.oi[data-glyph=caret-right]:before {
content: '\e02f';
}
.oi[data-glyph=caret-top]:before {
content: '\e030';
}
.oi[data-glyph=cart]:before {
content: '\e031';
}
.oi[data-glyph=chat]:before {
content: '\e032';
}
.oi[data-glyph=check]:before {
content: '\e033';
}
.oi[data-glyph=chevron-bottom]:before {
content: '\e034';
}
.oi[data-glyph=chevron-left]:before {
content: '\e035';
}
.oi[data-glyph=chevron-right]:before {
content: '\e036';
}
.oi[data-glyph=chevron-top]:before {
content: '\e037';
}
.oi[data-glyph=circle-check]:before {
content: '\e038';
}
.oi[data-glyph=circle-x]:before {
content: '\e039';
}
.oi[data-glyph=clipboard]:before {
content: '\e03a';
}
.oi[data-glyph=clock]:before {
content: '\e03b';
}
.oi[data-glyph=cloud-download]:before {
content: '\e03c';
}
.oi[data-glyph=cloud-upload]:before {
content: '\e03d';
}
.oi[data-glyph=cloud]:before {
content: '\e03e';
}
.oi[data-glyph=cloudy]:before {
content: '\e03f';
}
.oi[data-glyph=code]:before {
content: '\e040';
}
.oi[data-glyph=cog]:before {
content: '\e041';
}
.oi[data-glyph=collapse-down]:before {
content: '\e042';
}
.oi[data-glyph=collapse-left]:before {
content: '\e043';
}
.oi[data-glyph=collapse-right]:before {
content: '\e044';
}
.oi[data-glyph=collapse-up]:before {
content: '\e045';
}
.oi[data-glyph=command]:before {
content: '\e046';
}
.oi[data-glyph=comment-square]:before {
content: '\e047';
}
.oi[data-glyph=compass]:before {
content: '\e048';
}
.oi[data-glyph=contrast]:before {
content: '\e049';
}
.oi[data-glyph=copywriting]:before {
content: '\e04a';
}
.oi[data-glyph=credit-card]:before {
content: '\e04b';
}
.oi[data-glyph=crop]:before {
content: '\e04c';
}
.oi[data-glyph=dashboard]:before {
content: '\e04d';
}
.oi[data-glyph=data-transfer-download]:before {
content: '\e04e';
}
.oi[data-glyph=data-transfer-upload]:before {
content: '\e04f';
}
.oi[data-glyph=delete]:before {
content: '\e050';
}
.oi[data-glyph=dial]:before {
content: '\e051';
}
.oi[data-glyph=document]:before {
content: '\e052';
}
.oi[data-glyph=dollar]:before {
content: '\e053';
}
.oi[data-glyph=double-quote-sans-left]:before {
content: '\e054';
}
.oi[data-glyph=double-quote-sans-right]:before {
content: '\e055';
}
.oi[data-glyph=double-quote-serif-left]:before {
content: '\e056';
}
.oi[data-glyph=double-quote-serif-right]:before {
content: '\e057';
}
.oi[data-glyph=droplet]:before {
content: '\e058';
}
.oi[data-glyph=eject]:before {
content: '\e059';
}
.oi[data-glyph=elevator]:before {
content: '\e05a';
}
.oi[data-glyph=ellipses]:before {
content: '\e05b';
}
.oi[data-glyph=envelope-closed]:before {
content: '\e05c';
}
.oi[data-glyph=envelope-open]:before {
content: '\e05d';
}
.oi[data-glyph=euro]:before {
content: '\e05e';
}
.oi[data-glyph=excerpt]:before {
content: '\e05f';
}
.oi[data-glyph=expand-down]:before {
content: '\e060';
}
.oi[data-glyph=expand-left]:before {
content: '\e061';
}
.oi[data-glyph=expand-right]:before {
content: '\e062';
}
.oi[data-glyph=expand-up]:before {
content: '\e063';
}
.oi[data-glyph=external-link]:before {
content: '\e064';
}
.oi[data-glyph=eye]:before {
content: '\e065';
}
.oi[data-glyph=eyedropper]:before {
content: '\e066';
}
.oi[data-glyph=file]:before {
content: '\e067';
}
.oi[data-glyph=fire]:before {
content: '\e068';
}
.oi[data-glyph=flag]:before {
content: '\e069';
}
.oi[data-glyph=flash]:before {
content: '\e06a';
}
.oi[data-glyph=folder]:before {
content: '\e06b';
}
.oi[data-glyph=fork]:before {
content: '\e06c';
}
.oi[data-glyph=fullscreen-enter]:before {
content: '\e06d';
}
.oi[data-glyph=fullscreen-exit]:before {
content: '\e06e';
}
.oi[data-glyph=globe]:before {
content: '\e06f';
}
.oi[data-glyph=graph]:before {
content: '\e070';
}
.oi[data-glyph=grid-four-up]:before {
content: '\e071';
}
.oi[data-glyph=grid-three-up]:before {
content: '\e072';
}
.oi[data-glyph=grid-two-up]:before {
content: '\e073';
}
.oi[data-glyph=hard-drive]:before {
content: '\e074';
}
.oi[data-glyph=header]:before {
content: '\e075';
}
.oi[data-glyph=headphones]:before {
content: '\e076';
}
.oi[data-glyph=heart]:before {
content: '\e077';
}
.oi[data-glyph=home]:before {
content: '\e078';
}
.oi[data-glyph=image]:before {
content: '\e079';
}
.oi[data-glyph=inbox]:before {
content: '\e07a';
}
.oi[data-glyph=infinity]:before {
content: '\e07b';
}
.oi[data-glyph=info]:before {
content: '\e07c';
}
.oi[data-glyph=italic]:before {
content: '\e07d';
}
.oi[data-glyph=justify-center]:before {
content: '\e07e';
}
.oi[data-glyph=justify-left]:before {
content: '\e07f';
}
.oi[data-glyph=justify-right]:before {
content: '\e080';
}
.oi[data-glyph=key]:before {
content: '\e081';
}
.oi[data-glyph=laptop]:before {
content: '\e082';
}
.oi[data-glyph=layers]:before {
content: '\e083';
}
.oi[data-glyph=lightbulb]:before {
content: '\e084';
}
.oi[data-glyph=link-broken]:before {
content: '\e085';
}
.oi[data-glyph=link-intact]:before {
content: '\e086';
}
.oi[data-glyph=list-rich]:before {
content: '\e087';
}
.oi[data-glyph=list]:before {
content: '\e088';
}
.oi[data-glyph=location]:before {
content: '\e089';
}
.oi[data-glyph=lock-locked]:before {
content: '\e08a';
}
.oi[data-glyph=lock-unlocked]:before {
content: '\e08b';
}
.oi[data-glyph=loop-circular]:before {
content: '\e08c';
}
.oi[data-glyph=loop-square]:before {
content: '\e08d';
}
.oi[data-glyph=loop]:before {
content: '\e08e';
}
.oi[data-glyph=magnifying-glass]:before {
content: '\e08f';
}
.oi[data-glyph=map-marker]:before {
content: '\e090';
}
.oi[data-glyph=map]:before {
content: '\e091';
}
.oi[data-glyph=media-pause]:before {
content: '\e092';
}
.oi[data-glyph=media-play]:before {
content: '\e093';
}
.oi[data-glyph=media-record]:before {
content: '\e094';
}
.oi[data-glyph=media-skip-backward]:before {
content: '\e095';
}
.oi[data-glyph=media-skip-forward]:before {
content: '\e096';
}
.oi[data-glyph=media-step-backward]:before {
content: '\e097';
}
.oi[data-glyph=media-step-forward]:before {
content: '\e098';
}
.oi[data-glyph=media-stop]:before {
content: '\e099';
}
.oi[data-glyph=medical-cross]:before {
content: '\e09a';
}
.oi[data-glyph=menu]:before {
content: '\e09b';
}
.oi[data-glyph=microphone]:before {
content: '\e09c';
}
.oi[data-glyph=minus]:before {
content: '\e09d';
}
.oi[data-glyph=monitor]:before {
content: '\e09e';
}
.oi[data-glyph=moon]:before {
content: '\e09f';
}
.oi[data-glyph=move]:before {
content: '\e0a0';
}
.oi[data-glyph=musical-note]:before {
content: '\e0a1';
}
.oi[data-glyph=paperclip]:before {
content: '\e0a2';
}
.oi[data-glyph=pencil]:before {
content: '\e0a3';
}
.oi[data-glyph=people]:before {
content: '\e0a4';
}
.oi[data-glyph=person]:before {
content: '\e0a5';
}
.oi[data-glyph=phone]:before {
content: '\e0a6';
}
.oi[data-glyph=pie-chart]:before {
content: '\e0a7';
}
.oi[data-glyph=pin]:before {
content: '\e0a8';
}
.oi[data-glyph=play-circle]:before {
content: '\e0a9';
}
.oi[data-glyph=plus]:before {
content: '\e0aa';
}
.oi[data-glyph=power-standby]:before {
content: '\e0ab';
}
.oi[data-glyph=print]:before {
content: '\e0ac';
}
.oi[data-glyph=project]:before {
content: '\e0ad';
}
.oi[data-glyph=pulse]:before {
content: '\e0ae';
}
.oi[data-glyph=puzzle-piece]:before {
content: '\e0af';
}
.oi[data-glyph=question-mark]:before {
content: '\e0b0';
}
.oi[data-glyph=rain]:before {
content: '\e0b1';
}
.oi[data-glyph=random]:before {
content: '\e0b2';
}
.oi[data-glyph=reload]:before {
content: '\e0b3';
}
.oi[data-glyph=resize-both]:before {
content: '\e0b4';
}
.oi[data-glyph=resize-height]:before {
content: '\e0b5';
}
.oi[data-glyph=resize-width]:before {
content: '\e0b6';
}
.oi[data-glyph=rss-alt]:before {
content: '\e0b7';
}
.oi[data-glyph=rss]:before {
content: '\e0b8';
}
.oi[data-glyph=script]:before {
content: '\e0b9';
}
.oi[data-glyph=share-boxed]:before {
content: '\e0ba';
}
.oi[data-glyph=share]:before {
content: '\e0bb';
}
.oi[data-glyph=shield]:before {
content: '\e0bc';
}
.oi[data-glyph=signal]:before {
content: '\e0bd';
}
.oi[data-glyph=signpost]:before {
content: '\e0be';
}
.oi[data-glyph=sort-ascending]:before {
content: '\e0bf';
}
.oi[data-glyph=sort-descending]:before {
content: '\e0c0';
}
.oi[data-glyph=spreadsheet]:before {
content: '\e0c1';
}
.oi[data-glyph=star]:before {
content: '\e0c2';
}
.oi[data-glyph=sun]:before {
content: '\e0c3';
}
.oi[data-glyph=tablet]:before {
content: '\e0c4';
}
.oi[data-glyph=tag]:before {
content: '\e0c5';
}
.oi[data-glyph=tags]:before {
content: '\e0c6';
}
.oi[data-glyph=target]:before {
content: '\e0c7';
}
.oi[data-glyph=task]:before {
content: '\e0c8';
}
.oi[data-glyph=terminal]:before {
content: '\e0c9';
}
.oi[data-glyph=text]:before {
content: '\e0ca';
}
.oi[data-glyph=thumb-down]:before {
content: '\e0cb';
}
.oi[data-glyph=thumb-up]:before {
content: '\e0cc';
}
.oi[data-glyph=timer]:before {
content: '\e0cd';
}
.oi[data-glyph=transfer]:before {
content: '\e0ce';
}
.oi[data-glyph=trash]:before {
content: '\e0cf';
}
.oi[data-glyph=underline]:before {
content: '\e0d0';
}
.oi[data-glyph=vertical-align-bottom]:before {
content: '\e0d1';
}
.oi[data-glyph=vertical-align-center]:before {
content: '\e0d2';
}
.oi[data-glyph=vertical-align-top]:before {
content: '\e0d3';
}
.oi[data-glyph=video]:before {
content: '\e0d4';
}
.oi[data-glyph=volume-high]:before {
content: '\e0d5';
}
.oi[data-glyph=volume-low]:before {
content: '\e0d6';
}
.oi[data-glyph=volume-off]:before {
content: '\e0d7';
}
.oi[data-glyph=warning]:before {
content: '\e0d8';
}
.oi[data-glyph=wifi]:before {
content: '\e0d9';
}
.oi[data-glyph=wrench]:before {
content: '\e0da';
}
.oi[data-glyph=x]:before {
content: '\e0db';
}
.oi[data-glyph=yen]:before {
content: '\e0dc';
}
.oi[data-glyph=zoom-in]:before {
content: '\e0dd';
}
.oi[data-glyph=zoom-out]:before {
content: '\e0de';
}

1
ordr2/static/font/css/open-iconic.min.css vendored

File diff suppressed because one or more lines are too long

963
ordr2/static/font/css/open-iconic.scss

@ -1,963 +0,0 @@
$iconic-font-path: '../fonts/' !default;
@font-face {
font-family: 'Icons';
src: url('#{$iconic-font-path}open-iconic.eot');
src: url('#{$iconic-font-path}open-iconic.eot?#iconic-sm') format('embedded-opentype'), url('#{$iconic-font-path}open-iconic.woff') format('woff'), url('#{$iconic-font-path}open-iconic.ttf') format('truetype'), url('#{$iconic-font-path}open-iconic.otf') format('opentype'), url('#{$iconic-font-path}open-iconic.svg#iconic-sm') format('svg');
font-weight: normal;
font-style: normal;
}
.oi[data-glyph].oi-text-replace {
font-size: 0;
line-height: 0;
}
.oi[data-glyph].oi-text-replace:before {
width: 1em;
text-align: center;
}
.oi[data-glyph] {
&:before {
position: relative;
top: 1px;
font-family: 'Icons';
display: inline-block;
speak: none;
line-height: 1;
vertical-align: baseline;
font-weight: normal;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
&:empty:before {
width: 1em;
text-align: center;
box-sizing: content-box;
}
&.oi-align-left:before {
text-align: left;
}
&.oi-align-right:before {
text-align: right;
}
&.oi-align-center:before {
text-align: center;
}
&.oi-flip-horizontal:before {
-webkit-transform: scale(-1, 1);
-ms-transform: scale(-1, 1);
transform: scale(-1, 1);
}
&.oi-flip-vertical:before {
-webkit-transform: scale(1, -1);
-ms-transform: scale(-1, 1);
transform: scale(1, -1);
}
&.oi-flip-horizontal-vertical:before {
-webkit-transform: scale(-1, -1);
-ms-transform: scale(-1, 1);
transform: scale(-1, -1);
}
}
.oi[data-glyph=account-login]:before {
content: '\e000';
}
.oi[data-glyph=account-logout]:before {
content: '\e001';
}
.oi[data-glyph=action-redo]:before {
content: '\e002';
}
.oi[data-glyph=action-undo]:before {
content: '\e003';
}
.oi[data-glyph=align-center]:before {
content: '\e004';
}
.oi[data-glyph=align-left]:before {
content: '\e005';
}
.oi[data-glyph=align-right]:before {
content: '\e006';
}
.oi[data-glyph=aperture]:before {
content: '\e007';
}
.oi[data-glyph=arrow-bottom]:before {
content: '\e008';
}
.oi[data-glyph=arrow-circle-bottom]:before {
content: '\e009';
}
.oi[data-glyph=arrow-circle-left]:before {
content: '\e00a';
}
.oi[data-glyph=arrow-circle-right]:before {
content: '\e00b';
}
.oi[data-glyph=arrow-circle-top]:before {
content: '\e00c';
}
.oi[data-glyph=arrow-left]:before {
content: '\e00d';
}
.oi[data-glyph=arrow-right]:before {
content: '\e00e';
}
.oi[data-glyph=arrow-thick-bottom]:before {
content: '\e00f';
}
.oi[data-glyph=arrow-thick-left]:before {
content: '\e010';
}
.oi[data-glyph=arrow-thick-right]:before {
content: '\e011';
}
.oi[data-glyph=arrow-thick-top]:before {
content: '\e012';
}
.oi[data-glyph=arrow-top]:before {
content: '\e013';
}
.oi[data-glyph=audio-spectrum]:before {
content: '\e014';
}
.oi[data-glyph=audio]:before {
content: '\e015';
}
.oi[data-glyph=badge]:before {
content: '\e016';
}
.oi[data-glyph=ban]:before {
content: '\e017';
}
.oi[data-glyph=bar-chart]:before {
content: '\e018';
}
.oi[data-glyph=basket]:before {
content: '\e019';
}
.oi[data-glyph=battery-empty]:before {
content: '\e01a';
}
.oi[data-glyph=battery-full]:before {
content: '\e01b';
}
.oi[data-glyph=beaker]:before {
content: '\e01c';
}
.oi[data-glyph=bell]:before {
content: '\e01d';
}
.oi[data-glyph=bluetooth]:before {
content: '\e01e';
}
.oi[data-glyph=bold]:before {
content: '\e01f';
}
.oi[data-glyph=bolt]:before {
content: '\e020';
}
.oi[data-glyph=book]:before {
content: '\e021';
}
.oi[data-glyph=bookmark]:before {
content: '\e022';
}
.oi[data-glyph=box]:before {
content: '\e023';
}
.oi[data-glyph=briefcase]:before {
content: '\e024';
}
.oi[data-glyph=british-pound]:before {
content: '\e025';
}
.oi[data-glyph=browser]:before {
content: '\e026';
}
.oi[data-glyph=brush]:before {
content: '\e027';
}
.oi[data-glyph=bug]:before {
content: '\e028';
}
.oi[data-glyph=bullhorn]:before {
content: '\e029';
}
.oi[data-glyph=calculator]:before {
content: '\e02a';
}
.oi[data-glyph=calendar]:before {
content: '\e02b';
}
.oi[data-glyph=camera-slr]:before {
content: '\e02c';
}
.oi[data-glyph=caret-bottom]:before {
content: '\e02d';
}
.oi[data-glyph=caret-left]:before {
content: '\e02e';
}
.oi[data-glyph=caret-right]:before {
content: '\e02f';
}
.oi[data-glyph=caret-top]:before {
content: '\e030';
}
.oi[data-glyph=cart]:before {
content: '\e031';
}
.oi[data-glyph=chat]:before {
content: '\e032';
}
.oi[data-glyph=check]:before {
content: '\e033';
}
.oi[data-glyph=chevron-bottom]:before {
content: '\e034';
}
.oi[data-glyph=chevron-left]:before {
content: '\e035';
}
.oi[data-glyph=chevron-right]:before {
content: '\e036';
}
.oi[data-glyph=chevron-top]:before {
content: '\e037';
}
.oi[data-glyph=circle-check]:before {
content: '\e038';
}
.oi[data-glyph=circle-x]:before {
content: '\e039';
}
.oi[data-glyph=clipboard]:before {
content: '\e03a';
}
.oi[data-glyph=clock]:before {
content: '\e03b';
}
.oi[data-glyph=cloud-download]:before {
content: '\e03c';
}
.oi[data-glyph=cloud-upload]:before {
content: '\e03d';
}
.oi[data-glyph=cloud]:before {
content: '\e03e';
}
.oi[data-glyph=cloudy]:before {
content: '\e03f';
}
.oi[data-glyph=code]:before {
content: '\e040';
}
.oi[data-glyph=cog]:before {
content: '\e041';
}
.oi[data-glyph=collapse-down]:before {
content: '\e042';
}
.oi[data-glyph=collapse-left]:before {
content: '\e043';
}
.oi[data-glyph=collapse-right]:before {
content: '\e044';
}
.oi[data-glyph=collapse-up]:before {
content: '\e045';
}
.oi[data-glyph=command]:before {
content: '\e046';
}
.oi[data-glyph=comment-square]:before {
content: '\e047';
}
.oi[data-glyph=compass]:before {
content: '\e048';
}
.oi[data-glyph=contrast]:before {
content: '\e049';
}
.oi[data-glyph=copywriting]:before {
content: '\e04a';
}
.oi[data-glyph=credit-card]:before {
content: '\e04b';
}
.oi[data-glyph=crop]:before {
content: '\e04c';
}
.oi[data-glyph=dashboard]:before {
content: '\e04d';
}
.oi[data-glyph=data-transfer-download]:before {
content: '\e04e';
}
.oi[data-glyph=data-transfer-upload]:before {
content: '\e04f';
}
.oi[data-glyph=delete]:before {
content: '\e050';
}
.oi[data-glyph=dial]:before {
content: '\e051';
}
.oi[data-glyph=document]:before {
content: '\e052';
}
.oi[data-glyph=dollar]:before {
content: '\e053';
}
.oi[data-glyph=double-quote-sans-left]:before {
content: '\e054';
}
.oi[data-glyph=double-quote-sans-right]:before {
content: '\e055';
}
.oi[data-glyph=double-quote-serif-left]:before {
content: '\e056';
}
.oi[data-glyph=double-quote-serif-right]:before {
content: '\e057';
}
.oi[data-glyph=droplet]:before {
content: '\e058';
}
.oi[data-glyph=eject]:before {
content: '\e059';
}
.oi[data-glyph=elevator]:before {
content: '\e05a';
}
.oi[data-glyph=ellipses]:before {
content: '\e05b';
}
.oi[data-glyph=envelope-closed]:before {
content: '\e05c';
}
.oi[data-glyph=envelope-open]:before {
content: '\e05d';
}
.oi[data-glyph=euro]:before {
content: '\e05e';
}
.oi[data-glyph=excerpt]:before {
content: '\e05f';
}
.oi[data-glyph=expand-down]:before {
content: '\e060';
}
.oi[data-glyph=expand-left]:before {
content: '\e061';
}
.oi[data-glyph=expand-right]:before {
content: '\e062';
}
.oi[data-glyph=expand-up]:before {
content: '\e063';
}
.oi[data-glyph=external-link]:before {
content: '\e064';
}
.oi[data-glyph=eye]:before {
content: '\e065';
}
.oi[data-glyph=eyedropper]:before {
content: '\e066';
}
.oi[data-glyph=file]:before {
content: '\e067';
}
.oi[data-glyph=fire]:before {
content: '\e068';
}
.oi[data-glyph=flag]:before {
content: '\e069';
}
.oi[data-glyph=flash]:before {
content: '\e06a';
}
.oi[data-glyph=folder]:before {
content: '\e06b';
}
.oi[data-glyph=fork]:before {
content: '\e06c';
}
.oi[data-glyph=fullscreen-enter]:before {
content: '\e06d';
}
.oi[data-glyph=fullscreen-exit]:before {
content: '\e06e';
}
.oi[data-glyph=globe]:before {
content: '\e06f';
}
.oi[data-glyph=graph]:before {
content: '\e070';
}
.oi[data-glyph=grid-four-up]:before {
content: '\e071';
}
.oi[data-glyph=grid-three-up]:before {
content: '\e072';
}
.oi[data-glyph=grid-two-up]:before {
content: '\e073';
}
.oi[data-glyph=hard-drive]:before {
content: '\e074';
}
.oi[data-glyph=header]:before {
content: '\e075';
}
.oi[data-glyph=headphones]:before {
content: '\e076';
}
.oi[data-glyph=heart]:before {
content: '\e077';
}
.oi[data-glyph=home]:before {
content: '\e078';
}
.oi[data-glyph=image]:before {
content: '\e079';
}
.oi[data-glyph=inbox]:before {
content: '\e07a';
}
.oi[data-glyph=infinity]:before {
content: '\e07b';
}
.oi[data-glyph=info]:before {
content: '\e07c';
}
.oi[data-glyph=italic]:before {
content: '\e07d';
}
.oi[data-glyph=justify-center]:before {
content: '\e07e';
}
.oi[data-glyph=justify-left]:before {
content: '\e07f';
}
.oi[data-glyph=justify-right]:before {
content: '\e080';
}
.oi[data-glyph=key]:before {
content: '\e081';
}
.oi[data-glyph=laptop]:before {
content: '\e082';
}
.oi[data-glyph=layers]:before {
content: '\e083';
}
.oi[data-glyph=lightbulb]:before {
content: '\e084';
}
.oi[data-glyph=link-broken]:before {
content: '\e085';
}
.oi[data-glyph=link-intact]:before {
content: '\e086';
}
.oi[data-glyph=list-rich]:before {
content: '\e087';
}
.oi[data-glyph=list]:before {
content: '\e088';
}
.oi[data-glyph=location]:before {
content: '\e089';
}
.oi[data-glyph=lock-locked]:before {
content: '\e08a';
}
.oi[data-glyph=lock-unlocked]:before {
content: '\e08b';
}
.oi[data-glyph=loop-circular]:before {
content: '\e08c';
}
.oi[data-glyph=loop-square]:before {
content: '\e08d';
}
.oi[data-glyph=loop]:before {
content: '\e08e';
}
.oi[data-glyph=magnifying-glass]:before {
content: '\e08f';
}
.oi[data-glyph=map-marker]:before {
content: '\e090';
}
.oi[data-glyph=map]:before {
content: '\e091';
}
.oi[data-glyph=media-pause]:before {
content: '\e092';
}
.oi[data-glyph=media-play]:before {
content: '\e093';
}
.oi[data-glyph=media-record]:before {
content: '\e094';
}
.oi[data-glyph=media-skip-backward]:before {
content: '\e095';
}
.oi[data-glyph=media-skip-forward]:before {
content: '\e096';
}
.oi[data-glyph=media-step-backward]:before {
content: '\e097';
}
.oi[data-glyph=media-step-forward]:before {
content: '\e098';
}
.oi[data-glyph=media-stop]:before {
content: '\e099';
}
.oi[data-glyph=medical-cross]:before {
content: '\e09a';
}
.oi[data-glyph=menu]:before {
content: '\e09b';
}
.oi[data-glyph=microphone]:before {
content: '\e09c';
}
.oi[data-glyph=minus]:before {
content: '\e09d';
}
.oi[data-glyph=monitor]:before {
content: '\e09e';
}
.oi[data-glyph=moon]:before {
content: '\e09f';
}
.oi[data-glyph=move]:before {
content: '\e0a0';
}
.oi[data-glyph=musical-note]:before {
content: '\e0a1';
}
.oi[data-glyph=paperclip]:before {
content: '\e0a2';
}
.oi[data-glyph=pencil]:before {
content: '\e0a3';
}
.oi[data-glyph=people]:before {
content: '\e0a4';
}
.oi[data-glyph=person]:before {
content: '\e0a5';
}
.oi[data-glyph=phone]:before {
content: '\e0a6';
}
.oi[data-glyph=pie-chart]:before {
content: '\e0a7';
}
.oi[data-glyph=pin]:before {
content: '\e0a8';
}
.oi[data-glyph=play-circle]:before {
content: '\e0a9';
}
.oi[data-glyph=plus]:before {
content: '\e0aa';
}
.oi[data-glyph=power-standby]:before {
content: '\e0ab';
}
.oi[data-glyph=print]:before {
content: '\e0ac';
}
.oi[data-glyph=project]:before {
content: '\e0ad';
}
.oi[data-glyph=pulse]:before {
content: '\e0ae';
}
.oi[data-glyph=puzzle-piece]:before {
content: '\e0af';
}
.oi[data-glyph=question-mark]:before {
content: '\e0b0';
}
.oi[data-glyph=rain]:before {
content: '\e0b1';
}
.oi[data-glyph=random]:before {
content: '\e0b2';
}
.oi[data-glyph=reload]:before {
content: '\e0b3';
}
.oi[data-glyph=resize-both]:before {
content: '\e0b4';
}
.oi[data-glyph=resize-height]:before {
content: '\e0b5';
}
.oi[data-glyph=resize-width]:before {
content: '\e0b6';
}
.oi[data-glyph=rss-alt]:before {
content: '\e0b7';
}
.oi[data-glyph=rss]:before {
content: '\e0b8';
}
.oi[data-glyph=script]:before {
content: '\e0b9';
}
.oi[data-glyph=share-boxed]:before {
content: '\e0ba';
}
.oi[data-glyph=share]:before {
content: '\e0bb';
}
.oi[data-glyph=shield]:before {
content: '\e0bc';
}
.oi[data-glyph=signal]:before {
content: '\e0bd';
}
.oi[data-glyph=signpost]:before {
content: '\e0be';
}
.oi[data-glyph=sort-ascending]:before {
content: '\e0bf';
}
.oi[data-glyph=sort-descending]:before {
content: '\e0c0';
}
.oi[data-glyph=spreadsheet]:before {
content: '\e0c1';
}
.oi[data-glyph=star]:before {
content: '\e0c2';
}
.oi[data-glyph=sun]:before {
content: '\e0c3';
}
.oi[data-glyph=tablet]:before {
content: '\e0c4';
}
.oi[data-glyph=tag]:before {
content: '\e0c5';
}
.oi[data-glyph=tags]:before {
content: '\e0c6';
}
.oi[data-glyph=target]:before {
content: '\e0c7';
}
.oi[data-glyph=task]:before {
content: '\e0c8';
}
.oi[data-glyph=terminal]:before {
content: '\e0c9';
}
.oi[data-glyph=text]:before {
content: '\e0ca';
}
.oi[data-glyph=thumb-down]:before {
content: '\e0cb';
}
.oi[data-glyph=thumb-up]:before {
content: '\e0cc';
}
.oi[data-glyph=timer]:before {
content: '\e0cd';
}
.oi[data-glyph=transfer]:before {
content: '\e0ce';
}
.oi[data-glyph=trash]:before {
content: '\e0cf';
}
.oi[data-glyph=underline]:before {
content: '\e0d0';
}
.oi[data-glyph=vertical-align-bottom]:before {
content: '\e0d1';
}
.oi[data-glyph=vertical-align-center]:before {
content: '\e0d2';
}
.oi[data-glyph=vertical-align-top]:before {
content: '\e0d3';
}
.oi[data-glyph=video]:before {
content: '\e0d4';
}
.oi[data-glyph=volume-high]:before {
content: '\e0d5';
}
.oi[data-glyph=volume-low]:before {
content: '\e0d6';
}
.oi[data-glyph=volume-off]:before {
content: '\e0d7';
}
.oi[data-glyph=warning]:before {
content: '\e0d8';
}
.oi[data-glyph=wifi]:before {
content: '\e0d9';
}
.oi[data-glyph=wrench]:before {
content: '\e0da';
}
.oi[data-glyph=x]:before {
content: '\e0db';
}
.oi[data-glyph=yen]:before {
content: '\e0dc';
}
.oi[data-glyph=zoom-in]:before {
content: '\e0dd';
}
.oi[data-glyph=zoom-out]:before {
content: '\e0de';
}

733
ordr2/static/font/css/open-iconic.styl

@ -1,733 +0,0 @@
@font-face
font-family 'Icons'
src url('../fonts/open-iconic.eot')
src url('../fonts/open-iconic.eot?#iconic-sm') format('embedded-opentype'), url('../fonts/open-iconic.woff') format('woff'), url('../fonts/open-iconic.ttf') format('truetype'), url('../fonts/open-iconic.otf') format('opentype'), url('../fonts/open-iconic.svg#iconic-sm') format('svg')
font-weight normal
font-style normal
.oi[data-glyph].oi-text-replace
font-size 0
line-height 0
.oi[data-glyph].oi-text-replace:before
width 1em
text-align center
.oi[data-glyph]
&:before
position relative
top 1px
font-family 'Icons'
display inline-block
speak none
line-height 1
vertical-align baseline
font-weight normal
font-style normal
-webkit-font-smoothing antialiased
-moz-osx-font-smoothing grayscale
&:empty:before
width 1em
text-align center
box-sizing content-box
&.oi-align-left:before
text-align left
&.oi-align-right:before
text-align right
&.oi-align-center:before
text-align center
&.oi-flip-horizontal:before
-webkit-transform scale(-1, 1)
-ms-transform scale(-1, 1)
transform scale(-1, 1)
&.oi-flip-vertical:before
-webkit-transform scale(1, -1)
-ms-transform scale(-1, 1)
transform scale(1, -1)
&.oi-flip-horizontal-vertical:before
-webkit-transform scale(-1, -1)
-ms-transform scale(-1, 1)
transform scale(-1, -1)
.oi[data-glyph=account-login]:before
content '\e000'
.oi[data-glyph=account-logout]:before
content '\e001'
.oi[data-glyph=action-redo]:before
content '\e002'
.oi[data-glyph=action-undo]:before
content '\e003'
.oi[data-glyph=align-center]:before
content '\e004'
.oi[data-glyph=align-left]:before
content '\e005'
.oi[data-glyph=align-right]:before
content '\e006'
.oi[data-glyph=aperture]:before
content '\e007'
.oi[data-glyph=arrow-bottom]:before
content '\e008'
.oi[data-glyph=arrow-circle-bottom]:before
content '\e009'
.oi[data-glyph=arrow-circle-left]:before
content '\e00a'
.oi[data-glyph=arrow-circle-right]:before
content '\e00b'
.oi[data-glyph=arrow-circle-top]:before
content '\e00c'
.oi[data-glyph=arrow-left]:before
content '\e00d'
.oi[data-glyph=arrow-right]:before
content '\e00e'
.oi[data-glyph=arrow-thick-bottom]:before
content '\e00f'
.oi[data-glyph=arrow-thick-left]:before
content '\e010'
.oi[data-glyph=arrow-thick-right]:before
content '\e011'
.oi[data-glyph=arrow-thick-top]:before
content '\e012'
.oi[data-glyph=arrow-top]:before
content '\e013'
.oi[data-glyph=audio-spectrum]:before
content '\e014'
.oi[data-glyph=audio]:before
content '\e015'
.oi[data-glyph=badge]:before
content '\e016'
.oi[data-glyph=ban]:before
content '\e017'
.oi[data-glyph=bar-chart]:before
content '\e018'
.oi[data-glyph=basket]:before
content '\e019'
.oi[data-glyph=battery-empty]:before
content '\e01a'
.oi[data-glyph=battery-full]:before
content '\e01b'
.oi[data-glyph=beaker]:before
content '\e01c'
.oi[data-glyph=bell]:before
content '\e01d'
.oi[data-glyph=bluetooth]:before
content '\e01e'
.oi[data-glyph=bold]:before
content '\e01f'
.oi[data-glyph=bolt]:before
content '\e020'
.oi[data-glyph=book]:before
content '\e021'
.oi[data-glyph=bookmark]:before
content '\e022'
.oi[data-glyph=box]:before
content '\e023'
.oi[data-glyph=briefcase]:before
content '\e024'
.oi[data-glyph=british-pound]:before
content '\e025'
.oi[data-glyph=browser]:before
content '\e026'
.oi[data-glyph=brush]:before
content '\e027'
.oi[data-glyph=bug]:before
content '\e028'
.oi[data-glyph=bullhorn]:before
content '\e029'
.oi[data-glyph=calculator]:before
content '\e02a'
.oi[data-glyph=calendar]:before
content '\e02b'
.oi[data-glyph=camera-slr]:before
content '\e02c'
.oi[data-glyph=caret-bottom]:before
content '\e02d'
.oi[data-glyph=caret-left]:before
content '\e02e'
.oi[data-glyph=caret-right]:before
content '\e02f'
.oi[data-glyph=caret-top]:before
content '\e030'
.oi[data-glyph=cart]:before
content '\e031'
.oi[data-glyph=chat]:before
content '\e032'
.oi[data-glyph=check]:before
content '\e033'
.oi[data-glyph=chevron-bottom]:before
content '\e034'
.oi[data-glyph=chevron-left]:before
content '\e035'
.oi[data-glyph=chevron-right]:before
content '\e036'
.oi[data-glyph=chevron-top]:before
content '\e037'
.oi[data-glyph=circle-check]:before
content '\e038'
.oi[data-glyph=circle-x]:before
content '\e039'
.oi[data-glyph=clipboard]:before
content '\e03a'
.oi[data-glyph=clock]:before
content '\e03b'
.oi[data-glyph=cloud-download]:before
content '\e03c'
.oi[data-glyph=cloud-upload]:before
content '\e03d'
.oi[data-glyph=cloud]:before
content '\e03e'
.oi[data-glyph=cloudy]:before
content '\e03f'
.oi[data-glyph=code]:before
content '\e040'
.oi[data-glyph=cog]:before
content '\e041'
.oi[data-glyph=collapse-down]:before
content '\e042'
.oi[data-glyph=collapse-left]:before
content '\e043'
.oi[data-glyph=collapse-right]:before
content '\e044'
.oi[data-glyph=collapse-up]:before
content '\e045'
.oi[data-glyph=command]:before
content '\e046'
.oi[data-glyph=comment-square]:before
content '\e047'
.oi[data-glyph=compass]:before
content '\e048'
.oi[data-glyph=contrast]:before
content '\e049'
.oi[data-glyph=copywriting]:before
content '\e04a'
.oi[data-glyph=credit-card]:before
content '\e04b'
.oi[data-glyph=crop]:before
content '\e04c'
.oi[data-glyph=dashboard]:before
content '\e04d'
.oi[data-glyph=data-transfer-download]:before
content '\e04e'
.oi[data-glyph=data-transfer-upload]:before
content '\e04f'
.oi[data-glyph=delete]:before
content '\e050'
.oi[data-glyph=dial]:before
content '\e051'
.oi[data-glyph=document]:before
content '\e052'
.oi[data-glyph=dollar]:before
content '\e053'
.oi[data-glyph=double-quote-sans-left]:before
content '\e054'
.oi[data-glyph=double-quote-sans-right]:before
content '\e055'
.oi[data-glyph=double-quote-serif-left]:before
content '\e056'
.oi[data-glyph=double-quote-serif-right]:before
content '\e057'
.oi[data-glyph=droplet]:before
content '\e058'
.oi[data-glyph=eject]:before
content '\e059'
.oi[data-glyph=elevator]:before
content '\e05a'
.oi[data-glyph=ellipses]:before
content '\e05b'
.oi[data-glyph=envelope-closed]:before
content '\e05c'
.oi[data-glyph=envelope-open]:before
content '\e05d'
.oi[data-glyph=euro]:before
content '\e05e'
.oi[data-glyph=excerpt]:before
content '\e05f'
.oi[data-glyph=expand-down]:before
content '\e060'
.oi[data-glyph=expand-left]:before
content '\e061'
.oi[data-glyph=expand-right]:before
content '\e062'
.oi[data-glyph=expand-up]:before
content '\e063'
.oi[data-glyph=external-link]:before
content '\e064'
.oi[data-glyph=eye]:before
content '\e065'
.oi[data-glyph=eyedropper]:before
content '\e066'
.oi[data-glyph=file]:before
content '\e067'
.oi[data-glyph=fire]:before
content '\e068'
.oi[data-glyph=flag]:before
content '\e069'
.oi[data-glyph=flash]:before
content '\e06a'
.oi[data-glyph=folder]:before
content '\e06b'
.oi[data-glyph=fork]:before
content '\e06c'
.oi[data-glyph=fullscreen-enter]:before
content '\e06d'
.oi[data-glyph=fullscreen-exit]:before
content '\e06e'
.oi[data-glyph=globe]:before
content '\e06f'
.oi[data-glyph=graph]:before
content '\e070'
.oi[data-glyph=grid-four-up]:before
content '\e071'
.oi[data-glyph=grid-three-up]:before
content '\e072'
.oi[data-glyph=grid-two-up]:before
content '\e073'
.oi[data-glyph=hard-drive]:before
content '\e074'
.oi[data-glyph=header]:before
content '\e075'
.oi[data-glyph=headphones]:before
content '\e076'
.oi[data-glyph=heart]:before
content '\e077'
.oi[data-glyph=home]:before
content '\e078'
.oi[data-glyph=image]:before
content '\e079'
.oi[data-glyph=inbox]:before
content '\e07a'
.oi[data-glyph=infinity]:before
content '\e07b'
.oi[data-glyph=info]:before
content '\e07c'
.oi[data-glyph=italic]:before
content '\e07d'
.oi[data-glyph=justify-center]:before
content '\e07e'
.oi[data-glyph=justify-left]:before
content '\e07f'
.oi[data-glyph=justify-right]:before
content '\e080'
.oi[data-glyph=key]:before
content '\e081'
.oi[data-glyph=laptop]:before
content '\e082'
.oi[data-glyph=layers]:before
content '\e083'
.oi[data-glyph=lightbulb]:before
content '\e084'
.oi[data-glyph=link-broken]:before
content '\e085'
.oi[data-glyph=link-intact]:before
content '\e086'
.oi[data-glyph=list-rich]:before
content '\e087'
.oi[data-glyph=list]:before
content '\e088'
.oi[data-glyph=location]:before
content '\e089'
.oi[data-glyph=lock-locked]:before
content '\e08a'
.oi[data-glyph=lock-unlocked]:before
content '\e08b'
.oi[data-glyph=loop-circular]:before
content '\e08c'
.oi[data-glyph=loop-square]:before
content '\e08d'
.oi[data-glyph=loop]:before
content '\e08e'
.oi[data-glyph=magnifying-glass]:before
content '\e08f'
.oi[data-glyph=map-marker]:before
content '\e090'
.oi[data-glyph=map]:before
content '\e091'
.oi[data-glyph=media-pause]:before
content '\e092'
.oi[data-glyph=media-play]:before
content '\e093'
.oi[data-glyph=media-record]:before
content '\e094'
.oi[data-glyph=media-skip-backward]:before
content '\e095'
.oi[data-glyph=media-skip-forward]:before
content '\e096'
.oi[data-glyph=media-step-backward]:before
content '\e097'
.oi[data-glyph=media-step-forward]:before
content '\e098'
.oi[data-glyph=media-stop]:before
content '\e099'
.oi[data-glyph=medical-cross]:before
content '\e09a'
.oi[data-glyph=menu]:before
content '\e09b'
.oi[data-glyph=microphone]:before
content '\e09c'
.oi[data-glyph=minus]:before
content '\e09d'
.oi[data-glyph=monitor]:before
content '\e09e'
.oi[data-glyph=moon]:before
content '\e09f'
.oi[data-glyph=move]:before
content '\e0a0'
.oi[data-glyph=musical-note]:before
content '\e0a1'
.oi[data-glyph=paperclip]:before
content '\e0a2'
.oi[data-glyph=pencil]:before
content '\e0a3'
.oi[data-glyph=people]:before
content '\e0a4'
.oi[data-glyph=person]:before
content '\e0a5'
.oi[data-glyph=phone]:before
content '\e0a6'
.oi[data-glyph=pie-chart]:before
content '\e0a7'
.oi[data-glyph=pin]:before
content '\e0a8'
.oi[data-glyph=play-circle]:before
content '\e0a9'
.oi[data-glyph=plus]:before
content '\e0aa'
.oi[data-glyph=power-standby]:before
content '\e0ab'
.oi[data-glyph=print]:before
content '\e0ac'
.oi[data-glyph=project]:before
content '\e0ad'
.oi[data-glyph=pulse]:before
content '\e0ae'
.oi[data-glyph=puzzle-piece]:before
content '\e0af'
.oi[data-glyph=question-mark]:before
content '\e0b0'
.oi[data-glyph=rain]:before
content '\e0b1'
.oi[data-glyph=random]:before
content '\e0b2'
.oi[data-glyph=reload]:before
content '\e0b3'
.oi[data-glyph=resize-both]:before
content '\e0b4'
.oi[data-glyph=resize-height]:before
content '\e0b5'
.oi[data-glyph=resize-width]:before
content '\e0b6'
.oi[data-glyph=rss-alt]:before
content '\e0b7'
.oi[data-glyph=rss]:before
content '\e0b8'
.oi[data-glyph=script]:before
content '\e0b9'
.oi[data-glyph=share-boxed]:before
content '\e0ba'
.oi[data-glyph=share]:before
content '\e0bb'
.oi[data-glyph=shield]:before
content '\e0bc'
.oi[data-glyph=signal]:before
content '\e0bd'
.oi[data-glyph=signpost]:before
content '\e0be'
.oi[data-glyph=sort-ascending]:before
content '\e0bf'
.oi[data-glyph=sort-descending]:before
content '\e0c0'
.oi[data-glyph=spreadsheet]:before
content '\e0c1'
.oi[data-glyph=star]:before
content '\e0c2'
.oi[data-glyph=sun]:before
content '\e0c3'
.oi[data-glyph=tablet]:before
content '\e0c4'
.oi[data-glyph=tag]:before
content '\e0c5'
.oi[data-glyph=tags]:before
content '\e0c6'
.oi[data-glyph=target]:before
content '\e0c7'
.oi[data-glyph=task]:before
content '\e0c8'
.oi[data-glyph=terminal]:before
content '\e0c9'
.oi[data-glyph=text]:before
content '\e0ca'
.oi[data-glyph=thumb-down]:before
content '\e0cb'
.oi[data-glyph=thumb-up]:before
content '\e0cc'
.oi[data-glyph=timer]:before
content '\e0cd'
.oi[data-glyph=transfer]:before
content '\e0ce'
.oi[data-glyph=trash]:before
content '\e0cf'
.oi[data-glyph=underline]:before
content '\e0d0'
.oi[data-glyph=vertical-align-bottom]:before
content '\e0d1'
.oi[data-glyph=vertical-align-center]:before
content '\e0d2'
.oi[data-glyph=vertical-align-top]:before
content '\e0d3'
.oi[data-glyph=video]:before
content '\e0d4'
.oi[data-glyph=volume-high]:before
content '\e0d5'
.oi[data-glyph=volume-low]:before
content '\e0d6'
.oi[data-glyph=volume-off]:before
content '\e0d7'
.oi[data-glyph=warning]:before
content '\e0d8'
.oi[data-glyph=wifi]:before
content '\e0d9'
.oi[data-glyph=wrench]:before
content '\e0da'
.oi[data-glyph=x]:before
content '\e0db'
.oi[data-glyph=yen]:before
content '\e0dc'
.oi[data-glyph=zoom-in]:before
content '\e0dd'
.oi[data-glyph=zoom-out]:before
content '\e0de'

BIN
ordr2/static/font/fonts/open-iconic.eot

Binary file not shown.

BIN
ordr2/static/font/fonts/open-iconic.otf

Binary file not shown.

543
ordr2/static/font/fonts/open-iconic.svg

@ -1,543 +0,0 @@
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
<!--
2014-7-1: Created.
-->
<svg xmlns="http://www.w3.org/2000/svg">
<metadata>
Created by FontForge 20120731 at Tue Jul 1 20:39:22 2014
By P.J. Onori
Created by P.J. Onori with FontForge 2.0 (http://fontforge.sf.net)
</metadata>
<defs>
<font id="open-iconic" horiz-adv-x="800" >
<font-face
font-family="Icons"
font-weight="400"
font-stretch="normal"
units-per-em="800"
panose-1="2 0 5 3 0 0 0 0 0 0"
ascent="800"
descent="0"
bbox="-0.5 -101 802 800.126"
underline-thickness="50"
underline-position="-100"
unicode-range="U+E000-E0DE"
/>
<missing-glyph />
<glyph glyph-name="" unicode="&#xe000;"
d="M300 700h500v-700h-500v100h400v500h-400v100zM400 500l200 -150l-200 -150v100h-400v100h400v100z" />
<glyph glyph-name="1" unicode="&#xe001;"
d="M300 700h500v-700h-500v100h400v500h-400v100zM200 500v-100h400v-100h-400v-100l-200 150z" />
<glyph glyph-name="2" unicode="&#xe002;"
d="M350 700c193 0 350 -157 350 -350v-50h100l-200 -200l-200 200h100v50c0 138 -112 250 -250 250s-250 -112 -250 -250c0 193 157 350 350 350z" />
<glyph glyph-name="3" unicode="&#xe003;"
d="M450 700c193 0 350 -157 350 -350c0 138 -112 250 -250 250s-250 -112 -250 -250v-50h100l-200 -200l-200 200h100v50c0 193 157 350 350 350z" />
<glyph glyph-name="4" unicode="&#xe004;"
d="M0 700h800v-100h-800v100zM100 500h600v-100h-600v100zM0 300h800v-100h-800v100zM100 100h600v-100h-600v100z" />
<glyph glyph-name="5" unicode="&#xe005;"
d="M0 700h800v-100h-800v100zM0 500h600v-100h-600v100zM0 300h800v-100h-800v100zM0 100h600v-100h-600v100z" />
<glyph glyph-name="6" unicode="&#xe006;"
d="M0 700h800v-100h-800v100zM200 500h600v-100h-600v100zM0 300h800v-100h-800v100zM200 100h600v-100h-600v100z" />
<glyph glyph-name="7" unicode="&#xe007;"
d="M400 700c75 0 146 -23 206 -59l-75 -225l-322 234c57 31 122 50 191 50zM125 588l191 -138l-310 -222c-4 24 -6 47 -6 72c0 114 49 215 125 288zM688 575c69 -72 112 -168 112 -275c0 -35 -8 -68 -16 -100h-218zM216 253l112 -347c-128 23 -232 109 -287 222zM372 100
h372c-64 -109 -177 -185 -310 -197z" />
<glyph glyph-name="8" unicode="&#xe008;" horiz-adv-x="600"
d="M200 800h100v-500h200l-247 -300l-253 300h200v500z" />
<glyph glyph-name="9" unicode="&#xe009;"
d="M400 800c221 0 400 -179 400 -400s-179 -400 -400 -400s-400 179 -400 400s179 400 400 400zM300 700v-300h-200l300 -300l300 300h-200v300h-200z" />
<glyph glyph-name="a" unicode="&#xe00a;"
d="M400 800c221 0 400 -179 400 -400s-179 -400 -400 -400s-400 179 -400 400s179 400 400 400zM400 700l-300 -300l300 -300v200h300v200h-300v200z" />
<glyph glyph-name="b" unicode="&#xe00b;"
d="M400 800c221 0 400 -179 400 -400s-179 -400 -400 -400s-400 179 -400 400s179 400 400 400zM400 700v-200h-300v-200h300v-200l300 300z" />
<glyph glyph-name="c" unicode="&#xe00c;"
d="M400 800c221 0 400 -179 400 -400s-179 -400 -400 -400s-400 179 -400 400s179 400 400 400zM400 700l-300 -300h200v-300h200v300h200z" />
<glyph glyph-name="d" unicode="&#xe00d;"
d="M300 600v-200h500v-100h-500v-200l-300 247z" />
<glyph glyph-name="e" unicode="&#xe00e;"
d="M500 600l300 -247l-300 -253v200h-500v100h500v200z" />
<glyph glyph-name="f" unicode="&#xe00f;" horiz-adv-x="600"
d="M200 800h200v-500h200l-297 -300l-303 300h200v500z" />
<glyph glyph-name="10" unicode="&#xe010;"
d="M300 700v-200h500v-200h-500v-200l-300 297z" />
<glyph glyph-name="11" unicode="&#xe011;"
d="M500 700l300 -297l-300 -303v200h-500v200h500v200z" />
<glyph glyph-name="12" unicode="&#xe012;" horiz-adv-x="600"
d="M297 800l303 -300h-200v-500h-200v500h-200z" />
<glyph glyph-name="13" unicode="&#xe013;" horiz-adv-x="600"
d="M247 800l253 -300h-200v-500h-100v500h-200z" />
<glyph glyph-name="14" unicode="&#xe014;"
d="M400 800h100v-800h-100v800zM200 700h100v-600h-100v600zM600 600h100v-400h-100v400zM0 500h100v-200h-100v200z" />
<glyph glyph-name="15" unicode="&#xe015;"
d="M116 600l72 -72c-54 -54 -88 -126 -88 -209s34 -159 88 -213l-72 -72c-72 72 -116 175 -116 285s44 209 116 281zM684 600c72 -72 116 -171 116 -281s-44 -213 -116 -285l-72 72c54 54 88 130 88 213s-34 155 -88 209zM259 460l69 -72c-18 -18 -28 -41 -28 -69
s10 -54 28 -72l-69 -72c-36 36 -59 89 -59 144s23 105 59 141zM541 459c36 -36 59 -85 59 -140s-23 -108 -59 -144l-69 72c18 18 28 44 28 72s-10 51 -28 69z" />
<glyph glyph-name="16" unicode="&#xe016;" horiz-adv-x="400"
d="M200 800c110 0 200 -90 200 -200s-90 -200 -200 -200s-200 90 -200 200s90 200 200 200zM100 319c31 -11 65 -19 100 -19s68 8 100 19v-319l-100 100l-100 -100v319z" />
<glyph glyph-name="17" unicode="&#xe017;"
d="M400 800c220 0 400 -180 400 -400s-180 -400 -400 -400s-400 180 -400 400s180 400 400 400zM400 700c-166 0 -300 -134 -300 -300c0 -66 21 -126 56 -175l419 419c-49 35 -109 56 -175 56zM644 575l-419 -419c49 -35 109 -56 175 -56c166 0 300 134 300 300
c0 66 -21 126 -56 175z" />
<glyph glyph-name="18" unicode="&#xe018;"
d="M0 700h100v-600h700v-100h-800v700zM500 700h200v-500h-200v500zM200 500h200v-300h-200v300z" />
<glyph glyph-name="19" unicode="&#xe019;"
d="M397 800c13 1 23 -4 34 -13c2 -2 214 -254 241 -287h128v-100h-100v-366c0 -18 -16 -34 -34 -34h-532c-18 0 -34 16 -34 34v366h-100v100h128l234 281c9 11 22 18 35 19zM400 672l-144 -172h288zM250 300c-28 0 -50 -22 -50 -50v-100c0 -28 22 -50 50 -50s50 22 50 50
v100c0 28 -22 50 -50 50zM550 300c-28 0 -50 -22 -50 -50v-100c0 -28 22 -50 50 -50s50 22 50 50v100c0 28 -22 50 -50 50z" />
<glyph glyph-name="1a" unicode="&#xe01a;"
d="M9 700h682c6 0 9 -4 9 -10v-190h100v-200h-100v-191c0 -6 -3 -9 -9 -9h-682c-6 0 -9 3 -9 9v582c0 6 3 9 9 9zM100 600v-400h500v400h-500z" />
<glyph glyph-name="1b" unicode="&#xe01b;"
d="M9 700h682c6 0 9 -4 9 -10v-190h100v-200h-100v-191c0 -6 -3 -9 -9 -9h-682c-6 0 -9 3 -9 9v582c0 6 3 9 9 9z" />
<glyph glyph-name="1c" unicode="&#xe01c;"
d="M92 650c0 23 19 50 45 50h3h5h5h500c28 0 50 -22 50 -50s-22 -50 -50 -50h-50v-141c9 -17 120 -231 166 -309c16 -26 34 -61 34 -106c0 -39 -15 -77 -41 -103h-3c-26 -25 -62 -41 -100 -41h-512c-39 0 -77 15 -103 41s-41 64 -41 103c0 46 18 80 34 106
c46 78 157 292 166 309v141h-50c-2 0 -6 -1 -8 -1c-28 0 -50 23 -50 51zM500 600h-200v-162l-6 -10s-63 -123 -119 -228h450c-56 105 -119 228 -119 228l-6 10v162z" />
<glyph glyph-name="1d" unicode="&#xe01d;"
d="M400 800c110 0 200 -90 200 -200c0 -104 52 -198 134 -266c41 -34 66 -82 66 -134h-800c0 52 25 100 66 134c82 68 134 162 134 266c0 110 90 200 200 200zM300 100h200c0 -55 -45 -100 -100 -100s-100 45 -100 100z" />
<glyph glyph-name="1e" unicode="&#xe01e;" horiz-adv-x="600"
d="M150 800h50l350 -250l-225 -147l225 -153l-350 -250h-50v250l-75 -75l-75 75l150 150l-150 150l75 75l75 -75v250zM250 650v-200l150 100zM250 350v-200l150 100z" />
<glyph glyph-name="1f" unicode="&#xe01f;"
d="M0 800h500c110 0 200 -90 200 -200c0 -47 -17 -91 -44 -125c85 -40 144 -125 144 -225c0 -138 -112 -250 -250 -250h-550v100c55 0 100 45 100 100v400c0 55 -45 100 -100 100v100zM300 700v-200h100c55 0 100 45 100 100s-45 100 -100 100h-100zM300 400v-300h150
c83 0 150 67 150 150s-67 150 -150 150h-150z" />
<glyph glyph-name="20" unicode="&#xe020;" horiz-adv-x="600"
d="M300 800v-300h200l-300 -500v300h-200z" />
<glyph glyph-name="21" unicode="&#xe021;"
d="M100 800h300v-300l100 100l100 -100v300h50c28 0 50 -22 50 -50v-550h-550c-28 0 -50 -22 -50 -50s22 -50 50 -50h550v-100h-550c-83 0 -150 67 -150 150v550l3 19c8 39 39 70 78 78z" />
<glyph glyph-name="22" unicode="&#xe022;" horiz-adv-x="400"
d="M0 800h400v-800l-200 200l-200 -200v800z" />
<glyph glyph-name="23" unicode="&#xe023;"
d="M0 800h800v-100h-800v100zM0 600h300v-103h203v103h297v-591c0 -6 -3 -9 -9 -9h-782c-6 0 -9 3 -9 9v591z" />
<glyph glyph-name="24" unicode="&#xe024;"
d="M300 800h200c55 0 100 -45 100 -100v-100h191c6 0 9 -3 9 -9v-241c0 -28 -22 -50 -50 -50h-700c-28 0 -50 22 -50 50v241c0 6 3 9 9 9h191v100c0 55 45 100 100 100zM300 700v-100h200v100h-200zM0 209c16 -6 32 -9 50 -9h700c18 0 34 3 50 9v-200c0 -6 -3 -9 -9 -9h-782
c-6 0 -9 3 -9 9v200z" />
<glyph glyph-name="25" unicode="&#xe025;" horiz-adv-x="600"
d="M300 800c58 0 110 -16 147 -53s53 -89 53 -147h-100c0 39 -11 61 -25 75s-36 25 -75 25c-35 0 -55 -10 -72 -31s-28 -55 -28 -94c0 -51 20 -107 28 -175h172v-100h-178c-14 -60 -49 -127 -113 -200h491v-100h-600v122l16 12c69 69 95 121 106 166h-122v100h125
c-8 50 -25 106 -25 175c0 58 16 114 50 156c34 43 88 69 150 69z" />
<glyph glyph-name="26" unicode="&#xe026;"
d="M34 700h4h3h4h5h700c28 0 50 -22 50 -50v-700c0 -28 -22 -50 -50 -50h-700c-28 0 -50 22 -50 50v700v2c0 20 15 42 34 48zM150 600c-28 0 -50 -22 -50 -50s22 -50 50 -50s50 22 50 50s-22 50 -50 50zM350 600c-28 0 -50 -22 -50 -50s22 -50 50 -50h300c28 0 50 22 50 50
s-22 50 -50 50h-300zM100 400v-400h600v400h-600z" />
<glyph glyph-name="27" unicode="&#xe027;"
d="M744 797l6 -3l44 -44c4 -4 3 -8 0 -12l-266 -375l-15 -13l-25 -12c-23 72 -78 127 -150 150l12 25l13 15l375 266zM266 400c74 0 134 -60 134 -134c0 -147 -119 -266 -266 -266c-48 0 -95 12 -134 34c80 46 134 133 134 232c0 74 58 134 132 134z" />
<glyph glyph-name="28" unicode="&#xe028;"
d="M9 451c0 23 19 50 46 50c8 0 19 -3 26 -7l131 -66l29 22c-79 81 -1 250 118 250s197 -167 119 -250l28 -22l131 66c6 4 12 7 21 7c28 0 50 -22 50 -50c0 -17 -12 -37 -27 -45l-115 -56c9 -16 19 -33 25 -50h68c28 0 50 -22 50 -50s-22 -50 -50 -50h-50
c0 -23 -2 -45 -6 -66l78 -40c21 -5 37 -28 37 -49c0 -28 -22 -50 -50 -50c-10 0 -23 5 -31 11l-65 35c-24 -46 -62 -86 -103 -110c-35 19 -60 45 -60 72v135v4v5v6v5v5v87c0 28 -22 50 -50 50c-24 0 -45 -17 -50 -40c1 -3 1 -8 1 -11s0 -8 -1 -11v-82v-4v-5v-144
c0 -28 -24 -53 -59 -72c-41 25 -79 64 -103 110l-66 -35c-8 -6 -21 -11 -31 -11c-28 0 -50 22 -50 50c0 21 16 44 37 49l78 40c-4 21 -6 43 -6 66h-50h-5c-28 0 -50 22 -50 50c0 26 22 50 50 50h5h69c6 17 16 34 25 50l-116 56c-16 7 -28 27 -28 45z" />
<glyph glyph-name="29" unicode="&#xe029;"
d="M600 700h91c6 0 9 -3 9 -9v-582c0 -6 -3 -9 -9 -9h-91v600zM210 503l290 147v-500l-250 125v-3c-15 0 -25 -8 -28 -22l75 -178c11 -25 0 -58 -25 -69s-58 0 -69 25l-103 272h-91c-6 0 -9 3 -9 9v182c0 6 3 9 9 9h182z" />
<glyph glyph-name="2a" unicode="&#xe02a;"
d="M9 800h682c6 0 9 -3 9 -9v-782c0 -6 -3 -9 -9 -9h-682c-6 0 -9 3 -9 9v782c0 6 3 9 9 9zM100 700v-200h500v200h-500zM100 400v-100h100v100h-100zM300 400v-100h100v100h-100zM500 400v-300h100v300h-100zM100 200v-100h100v100h-100zM300 200v-100h100v100h-100z" />
<glyph glyph-name="2b" unicode="&#xe02b;"
d="M0 800h700v-200h-700v200zM0 500h700v-491c0 -6 -3 -9 -9 -9h-682c-6 0 -9 3 -9 9v491zM100 400v-100h100v100h-100zM300 400v-100h100v100h-100zM500 400v-100h100v100h-100zM100 200v-100h100v100h-100zM300 200v-100h100v100h-100z" />
<glyph glyph-name="2c" unicode="&#xe02c;"
d="M409 800h182c6 0 10 -4 12 -9l94 -182c2 -5 6 -9 12 -9h82c6 0 9 -3 9 -9v-582c0 -6 -3 -9 -9 -9h-782c-6 0 -9 3 -9 9v441c0 83 67 150 150 150h141c6 0 10 4 12 9l94 182c2 5 6 9 12 9zM150 500c-28 0 -50 -22 -50 -50s22 -50 50 -50s50 22 50 50s-22 50 -50 50z
M500 500c-110 0 -200 -90 -200 -200s90 -200 200 -200s200 90 200 200s-90 200 -200 200zM500 400c55 0 100 -45 100 -100s-45 -100 -100 -100s-100 45 -100 100s45 100 100 100z" />
<glyph glyph-name="2d" unicode="&#xe02d;"
d="M0 600h800l-400 -400z" />
<glyph glyph-name="2e" unicode="&#xe02e;" horiz-adv-x="400"
d="M400 800v-800l-400 400z" />
<glyph glyph-name="2f" unicode="&#xe02f;" horiz-adv-x="400"
d="M0 800l400 -400l-400 -400v800z" />
<glyph glyph-name="30" unicode="&#xe030;"
d="M400 600l400 -400h-800z" />
<glyph glyph-name="31" unicode="&#xe031;"
d="M0 550c0 23 20 50 46 50h3h5h4h200c17 0 37 -13 44 -28l38 -72h444c14 0 19 -12 15 -25l-81 -250c-4 -13 -21 -25 -35 -25h-350c-14 0 -30 12 -34 25c-27 83 -54 167 -81 250l-10 25h-150c-2 0 -5 -1 -7 -1c-28 0 -51 23 -51 51zM358 100c28 0 50 -22 50 -50
s-22 -50 -50 -50s-50 22 -50 50s22 50 50 50zM658 100c28 0 50 -22 50 -50s-22 -50 -50 -50s-50 22 -50 50s22 50 50 50z" />
<glyph glyph-name="32" unicode="&#xe032;"
d="M0 700h500v-100h-300v-300h-100l-100 -100v500zM300 500h500v-500l-100 100h-400v400z" />
<glyph glyph-name="33" unicode="&#xe033;"
d="M641 700l143 -141l-493 -493c-71 76 -146 148 -219 222l-72 71l141 141c50 -51 101 -101 153 -150c116 117 234 231 347 350z" />
<glyph glyph-name="34" unicode="&#xe034;"
d="M150 600l250 -250l250 250l150 -150l-400 -400l-400 400z" />
<glyph glyph-name="35" unicode="&#xe035;" horiz-adv-x="600"
d="M400 800l150 -150l-250 -250l250 -250l-150 -150l-400 400z" />
<glyph glyph-name="36" unicode="&#xe036;" horiz-adv-x="600"
d="M150 800l400 -400l-400 -400l-150 150l250 250l-250 250z" />
<glyph glyph-name="37" unicode="&#xe037;"
d="M400 600l400 -400l-150 -150l-250 250l-250 -250l-150 150z" />
<glyph glyph-name="38" unicode="&#xe038;"
d="M400 800c221 0 400 -179 400 -400s-179 -400 -400 -400s-400 179 -400 400s179 400 400 400zM600 622l-250 -250l-100 100l-72 -72l172 -172l322 322z" />
<glyph glyph-name="39" unicode="&#xe039;"
d="M400 800c221 0 400 -179 400 -400s-179 -400 -400 -400s-400 179 -400 400s179 400 400 400zM250 622l-72 -72l150 -150l-150 -150l72 -72l150 150l150 -150l72 72l-150 150l150 150l-72 72l-150 -150z" />
<glyph glyph-name="3a" unicode="&#xe03a;"
d="M350 800c28 0 50 -22 50 -50v-50h75c14 0 25 -11 25 -25v-75h-300v75c0 14 11 25 25 25h75v50c0 28 22 50 50 50zM25 700h75v-200h500v200h75c14 0 25 -11 25 -25v-650c0 -14 -11 -25 -25 -25h-650c-14 0 -25 11 -25 25v650c0 14 11 25 25 25z" />
<glyph glyph-name="3b" unicode="&#xe03b;"
d="M400 800c220 0 400 -180 400 -400s-180 -400 -400 -400s-400 180 -400 400s180 400 400 400zM400 700c-166 0 -300 -134 -300 -300s134 -300 300 -300s300 134 300 300s-134 300 -300 300zM350 600h100v-181c23 -24 47 -47 72 -69l-72 -72c-27 30 -55 59 -84 88l-16 12
v222z" />
<glyph glyph-name="3c" unicode="&#xe03c;"
d="M450 800c138 0 250 -112 250 -250v-50c58 -21 100 -85 100 -150c0 -18 -3 -34 -9 -50h-191v50c0 83 -67 150 -150 150s-150 -67 -150 -150v-50h-272c-17 30 -28 63 -28 100c0 110 90 200 200 200c23 114 129 200 250 200zM434 400h3h4c3 0 6 1 9 1c28 0 50 -22 50 -50v-1
v-150h150l-200 -200l-200 200h150v150v2c0 20 15 42 34 48z" />
<glyph glyph-name="3d" unicode="&#xe03d;"
d="M450 800c138 0 250 -112 250 -250v-50c58 -21 100 -85 100 -150c0 -18 -3 -34 -9 -50h-141l-200 200l-200 -200h-222c-17 30 -28 63 -28 100c0 110 90 200 200 200c23 114 129 200 250 200zM450 350l250 -250h-200v-50c0 -28 -22 -50 -50 -50s-50 22 -50 50v50h-200z" />
<glyph glyph-name="3e" unicode="&#xe03e;"
d="M450 700c138 0 250 -112 250 -250v-50c58 -21 100 -85 100 -150c0 -83 -67 -150 -150 -150h-450c-110 0 -200 90 -200 200s90 200 200 200c23 114 129 200 250 200z" />
<glyph glyph-name="3f" unicode="&#xe03f;"
d="M250 800c82 0 154 -40 200 -100c-143 0 -270 -85 -325 -209c-36 -10 -70 -25 -100 -47c-16 33 -25 67 -25 106c0 138 112 250 250 250zM450 600c138 0 250 -112 250 -250v-50c58 -21 100 -85 100 -150c0 -83 -67 -150 -150 -150h-450c-110 0 -200 90 -200 200
s90 200 200 200c23 114 129 200 250 200z" />
<glyph glyph-name="40" unicode="&#xe040;"
d="M500 700h100l-300 -600h-100zM100 600h100l-100 -200l100 -200h-100l-100 200zM600 600h100l100 -200l-100 -200h-100l100 200z" />
<glyph glyph-name="41" unicode="&#xe041;"
d="M350 800h100l50 -119l28 -12l119 50l72 -72l-50 -119l12 -28l119 -50v-100l-119 -50l-12 -28l50 -119l-72 -72l-119 50l-28 -12l-50 -119h-100l-50 119l-28 12l-119 -50l-72 72l50 119l-12 28l-119 50v100l119 50l12 28l-50 119l72 72l119 -50l28 12zM400 550
c-83 0 -150 -67 -150 -150s67 -150 150 -150s150 67 150 150s-67 150 -150 150z" />
<glyph glyph-name="42" unicode="&#xe042;"
d="M0 800h800v-200h-800v200zM200 500h400l-200 -200zM0 100h800v-100h-800v100z" />
<glyph glyph-name="43" unicode="&#xe043;"
d="M0 800h100v-800h-100v800zM600 800h200v-800h-200v800zM500 600v-400l-200 200z" />
<glyph glyph-name="44" unicode="&#xe044;"
d="M0 800h200v-800h-200v800zM700 800h100v-800h-100v800zM300 600l200 -200l-200 -200v400z" />
<glyph glyph-name="45" unicode="&#xe045;"
d="M0 800h800v-100h-800v100zM400 500l200 -200h-400zM0 200h800v-200h-800v200z" />
<glyph glyph-name="46" unicode="&#xe046;"
d="M150 700c83 0 150 -67 150 -150v-50h100v50c0 83 67 150 150 150s150 -67 150 -150s-67 -150 -150 -150h-50v-100h50c83 0 150 -67 150 -150s-67 -150 -150 -150s-150 67 -150 150v50h-100v-50c0 -83 -67 -150 -150 -150s-150 67 -150 150s67 150 150 150h50v100h-50
c-83 0 -150 67 -150 150s67 150 150 150zM150 600c-28 0 -50 -22 -50 -50s22 -50 50 -50h50v50c0 28 -22 50 -50 50zM550 600c-28 0 -50 -22 -50 -50v-50h50c28 0 50 22 50 50s-22 50 -50 50zM300 400v-100h100v100h-100zM150 200c-28 0 -50 -22 -50 -50s22 -50 50 -50
s50 22 50 50v50h-50zM500 200v-50c0 -28 22 -50 50 -50s50 22 50 50s-22 50 -50 50h-50z" />
<glyph glyph-name="47" unicode="&#xe047;"
d="M0 791c0 5 4 9 9 9h782c6 0 9 -4 9 -10v-790l-200 200h-591c-6 0 -9 3 -9 9v582z" />
<glyph glyph-name="48" unicode="&#xe048;"
d="M400 800c220 0 400 -180 400 -400s-180 -400 -400 -400s-400 180 -400 400s180 400 400 400zM400 700c-166 0 -300 -134 -300 -300s134 -300 300 -300s300 134 300 300s-134 300 -300 300zM600 600l-100 -300l-300 -100l100 300zM400 450c-28 0 -50 -22 -50 -50
s22 -50 50 -50s50 22 50 50s-22 50 -50 50z" />
<glyph glyph-name="49" unicode="&#xe049;"
d="M400 800c220 0 400 -180 400 -400s-180 -400 -400 -400s-400 180 -400 400s180 400 400 400zM400 700v-600c166 0 300 134 300 300s-134 300 -300 300z" />
<glyph glyph-name="4a" unicode="&#xe04a;"
d="M0 800h800v-100h-800v100zM0 600h500v-100h-500v100zM0 300h800v-100h-800v100zM0 100h600v-100h-600v100zM750 100c28 0 50 -22 50 -50s-22 -50 -50 -50s-50 22 -50 50s22 50 50 50z" />
<glyph glyph-name="4b" unicode="&#xe04b;"
d="M25 700h750c14 0 25 -11 25 -25v-75h-800v75c0 14 11 25 25 25zM0 500h800v-375c0 -14 -11 -25 -25 -25h-750c-14 0 -25 11 -25 25v375zM100 300v-100h100v100h-100zM300 300v-100h100v100h-100z" />
<glyph glyph-name="4c" unicode="&#xe04c;"
d="M100 800h100v-100h450l100 100l50 -50l-100 -100v-450h100v-100h-100v-100h-100v100h-500v500h-100v100h100v100zM200 600v-350l350 350h-350zM600 550l-350 -350h350v350z" />
<glyph glyph-name="4d" unicode="&#xe04d;"
d="M400 800c220 0 400 -180 400 -400s-180 -400 -400 -400s-400 180 -400 400s180 400 400 400zM400 700c-166 0 -300 -134 -300 -300s134 -300 300 -300s300 134 300 300s-134 300 -300 300zM400 600c28 0 50 -22 50 -50s-22 -50 -50 -50s-50 22 -50 50s22 50 50 50z
M200 452c0 20 15 42 34 48h3h3h8c12 0 28 -7 36 -16l91 -90l25 6c55 0 100 -45 100 -100s-45 -100 -100 -100s-100 45 -100 100l6 25l-90 91c-9 8 -16 24 -16 36zM550 500c28 0 50 -22 50 -50s-22 -50 -50 -50s-50 22 -50 50s22 50 50 50z" />
<glyph glyph-name="4e" unicode="&#xe04e;"
d="M300 800h200v-300h200l-300 -300l-300 300h200v300zM0 100h800v-100h-800v100z" />
<glyph glyph-name="4f" unicode="&#xe04f;"
d="M0 800h800v-100h-800v100zM400 600l300 -300h-200v-300h-200v300h-200z" />
<glyph glyph-name="50" unicode="&#xe050;"
d="M200 700h600v-600h-600l-200 300zM350 622l-72 -72l150 -150l-150 -150l72 -72l150 150l150 -150l72 72l-150 150l150 150l-72 72l-150 -150z" />
<glyph glyph-name="51" unicode="&#xe051;"
d="M400 700c220 0 400 -180 400 -400h-100c0 166 -134 300 -300 300s-300 -134 -300 -300h-100c0 220 180 400 400 400zM341 491l59 -88l59 88c81 -25 141 -101 141 -191c0 -110 -90 -200 -200 -200s-200 90 -200 200c0 90 60 166 141 191z" />
<glyph glyph-name="52" unicode="&#xe052;"
d="M0 800h300v-400h400v-400h-700v800zM400 800l300 -300h-300v300zM100 600v-100h100v100h-100zM100 400v-100h100v100h-100zM100 200v-100h400v100h-400z" />
<glyph glyph-name="53" unicode="&#xe053;" horiz-adv-x="600"
d="M200 700h100v-100h75c30 0 58 -6 81 -22s44 -44 44 -78v-100h-100v94c-4 3 -13 6 -25 6h-250c-14 0 -25 -11 -25 -25v-50c0 -15 20 -40 34 -44l257 -65c66 -16 109 -73 109 -141v-50c0 -68 -57 -125 -125 -125h-75v-100h-100v100h-75c-30 0 -58 6 -81 22s-44 44 -44 78
v100h100v-94c4 -3 13 -6 25 -6h250c14 0 25 11 25 25v50c0 15 -20 40 -34 44l-257 65c-66 16 -109 73 -109 141v50c0 68 57 125 125 125h75v100z" />
<glyph glyph-name="54" unicode="&#xe054;"
d="M0 700h300v-300l-300 -300v600zM500 700h300v-300l-300 -300v600z" />
<glyph glyph-name="55" unicode="&#xe055;"
d="M300 700v-600h-300v300zM800 700v-600h-300v300z" />
<glyph glyph-name="56" unicode="&#xe056;"
d="M300 700v-100c-111 0 -200 -89 -200 -200h200v-300h-300v300c0 165 135 300 300 300zM800 700v-100c-111 0 -200 -89 -200 -200h200v-300h-300v300c0 165 135 300 300 300z" />
<glyph glyph-name="57" unicode="&#xe057;"
d="M0 700h300v-300c0 -165 -135 -300 -300 -300v100c111 0 200 89 200 200h-200v300zM500 700h300v-300c0 -165 -135 -300 -300 -300v100c111 0 200 89 200 200h-200v300z" />
<glyph glyph-name="58" unicode="&#xe058;" horiz-adv-x="600"
d="M300 800l34 -34c11 -11 266 -270 266 -488c0 -165 -135 -300 -300 -300s-300 135 -300 300c0 218 255 477 266 488zM150 328c-28 0 -50 -22 -50 -50c0 -110 90 -200 200 -200c28 0 50 22 50 50s-22 50 -50 50c-55 0 -100 45 -100 100c0 28 -22 50 -50 50z" />
<glyph glyph-name="59" unicode="&#xe059;"
d="M400 800l400 -500h-800zM0 200h800v-200h-800v200z" />
<glyph glyph-name="5a" unicode="&#xe05a;" horiz-adv-x="600"
d="M300 800l300 -300h-600zM0 300h600l-300 -300z" />
<glyph glyph-name="5b" unicode="&#xe05b;"
d="M0 500h200v-200h-200v200zM300 500h200v-200h-200v200zM600 500h200v-200h-200v200z" />
<glyph glyph-name="5c" unicode="&#xe05c;"
d="M0 700h800v-100l-400 -200l-400 200v100zM0 500l400 -200l400 200v-400h-800v400z" />
<glyph glyph-name="5d" unicode="&#xe05d;"
d="M400 800l400 -200v-600h-800v600zM400 688l-300 -150v-188l300 -150l300 150v188zM200 500h400v-100l-200 -100l-200 100v100z" />
<glyph glyph-name="5e" unicode="&#xe05e;"
d="M600 700c69 0 134 -19 191 -50l-16 -106c-49 35 -109 56 -175 56c-131 0 -240 -84 -281 -200h331l-16 -100h-334c0 -36 8 -68 19 -100h297l-16 -100h-222c55 -61 133 -100 222 -100c78 0 147 30 200 78v-122c-59 -35 -127 -56 -200 -56c-147 0 -274 82 -344 200h-256
l19 100h197c-8 32 -16 66 -16 100h-200l25 100h191c45 172 198 300 384 300z" />
<glyph glyph-name="5f" unicode="&#xe05f;"
d="M0 700h700v-100h-700v100zM0 500h500v-100h-500v100zM0 300h800v-100h-800v100zM0 100h100v-100h-100v100zM200 100h100v-100h-100v100zM400 100h100v-100h-100v100z" />
<glyph glyph-name="60" unicode="&#xe060;"
d="M0 800h800v-100h-800v100zM200 600h400l-200 -200zM0 200h800v-200h-800v200z" />
<glyph glyph-name="61" unicode="&#xe061;"
d="M0 800h100v-800h-100v800zM600 800h200v-800h-200v800zM200 600l200 -200l-200 -200v400z" />
<glyph glyph-name="62" unicode="&#xe062;"
d="M0 800h200v-800h-200v800zM700 800h100v-800h-100v800zM600 600v-400l-200 200z" />
<glyph glyph-name="63" unicode="&#xe063;"
d="M0 800h800v-200h-800v200zM400 400l200 -200h-400zM0 100h800v-100h-800v100z" />
<glyph glyph-name="64" unicode="&#xe064;"
d="M0 800h200v-100h-100v-600h600v100h100v-200h-800v800zM400 800h400v-400l-150 150l-250 -250l-100 100l250 250z" />
<glyph glyph-name="65" unicode="&#xe065;"
d="M403 700c247 0 397 -300 397 -300s-150 -300 -397 -300c-253 0 -403 300 -403 300s150 300 403 300zM400 600c-110 0 -200 -90 -200 -200s90 -200 200 -200s200 90 200 200s-90 200 -200 200zM400 500c10 0 19 -3 28 -6c-16 -8 -28 -24 -28 -44c0 -28 22 -50 50 -50
c20 0 36 12 44 28c3 -9 6 -18 6 -28c0 -55 -45 -100 -100 -100s-100 45 -100 100s45 100 100 100z" />
<glyph glyph-name="66" unicode="&#xe066;" horiz-adv-x="900"
d="M331 700h3h3c3 1 7 1 10 1c12 0 29 -8 37 -17l94 -93l66 65c57 57 155 57 212 0c58 -58 58 -154 0 -212l-65 -66l93 -94c10 -8 18 -25 18 -38c0 -28 -22 -50 -50 -50c-13 0 -32 9 -40 20l-62 65l-381 -381h-269v272l375 381l-63 63c-9 8 -16 24 -16 36c0 20 16 42 35 48z
M447 481l-313 -315l128 -132l316 316z" />
<glyph glyph-name="67" unicode="&#xe067;"
d="M0 800h300v-400h400v-400h-700v800zM400 800l300 -300h-300v300z" />
<glyph glyph-name="68" unicode="&#xe068;"
d="M200 800c0 0 200 -100 200 -300s-298 -302 -200 -500c0 0 -200 100 -200 300s300 300 200 500zM500 500c0 0 200 -100 200 -300c0 -150 -60 -200 -100 -200h-300c0 200 300 300 200 500z" />
<glyph glyph-name="69" unicode="&#xe069;"
d="M0 800h100v-800h-100v800zM200 800h300v-100h300l-200 -203l200 -197h-400v100h-200v400z" />
<glyph glyph-name="6a" unicode="&#xe06a;" horiz-adv-x="400"
d="M150 800h150l-100 -200h200l-150 -300h150l-300 -300l-100 300h134l66 200h-200z" />
<glyph glyph-name="6b" unicode="&#xe06b;"
d="M0 800h300v-100h500v-100h-800v200zM0 500h800v-450c0 -28 -22 -50 -50 -50h-700c-28 0 -50 22 -50 50v450z" />
<glyph glyph-name="6c" unicode="&#xe06c;"
d="M150 800c83 0 150 -67 150 -150c0 -66 -41 -121 -100 -141v-118c15 5 33 9 50 9h200c28 0 50 22 50 50v59c-59 20 -100 75 -100 141c0 83 67 150 150 150s150 -67 150 -150c0 -66 -41 -121 -100 -141v-59c0 -82 -68 -150 -150 -150h-200c-14 0 -25 -7 -34 -16
c50 -24 84 -74 84 -134c0 -83 -67 -150 -150 -150s-150 67 -150 150c0 66 41 121 100 141v218c-59 20 -100 75 -100 141c0 83 67 150 150 150z" />
<glyph glyph-name="6d" unicode="&#xe06d;"
d="M0 800h400l-150 -150l150 -150l-100 -100l-150 150l-150 -150v400zM500 400l150 -150l150 150v-400h-400l150 150l-150 150z" />
<glyph glyph-name="6e" unicode="&#xe06e;"
d="M100 800l150 -150l150 150v-400h-400l150 150l-150 150zM400 400h400l-150 -150l150 -150l-100 -100l-150 150l-150 -150v400z" />
<glyph glyph-name="6f" unicode="&#xe06f;"
d="M400 800c221 0 400 -179 400 -400s-179 -400 -400 -400s-400 179 -400 400s179 400 400 400zM400 700c-56 0 -108 -17 -153 -44l22 -19c33 -18 13 -48 -13 -59c-30 -13 -77 10 -65 -41c13 -55 -27 -3 -47 -15c-42 -26 49 -152 31 -156l-59 34c-8 0 -13 -5 -16 -10
c1 -30 10 -57 19 -84c28 -11 77 -2 100 -25c47 -28 97 -115 75 -159c34 -13 68 -22 106 -22c101 0 193 48 247 125c3 24 -8 44 -50 44c-69 0 -156 13 -153 97c2 46 101 108 66 143c-30 30 12 39 12 66c0 37 -65 32 -69 50s20 36 41 56c-30 10 -60 19 -94 19zM631 591
c-38 -11 -94 -35 -87 -53c6 -15 52 -1 65 -13c11 -10 16 -59 44 -31l22 22v3c-11 26 -26 50 -44 72z" />
<glyph glyph-name="70" unicode="&#xe070;"
d="M703 800l97 -100l-400 -400l-100 100l-200 -203l-100 100l300 303l100 -100zM0 100h800v-100h-800v100z" />
<glyph glyph-name="71" unicode="&#xe071;"
d="M0 700h100v-100h-100v100zM200 700h100v-100h-100v100zM400 700h100v-100h-100v100zM600 700h100v-100h-100v100zM0 500h100v-100h-100v100zM200 500h100v-100h-100v100zM400 500h100v-100h-100v100zM600 500h100v-100h-100v100zM0 300h100v-100h-100v100zM200 300h100
v-100h-100v100zM400 300h100v-100h-100v100zM600 300h100v-100h-100v100zM0 100h100v-100h-100v100zM200 100h100v-100h-100v100zM400 100h100v-100h-100v100zM600 100h100v-100h-100v100z" />
<glyph glyph-name="72" unicode="&#xe072;"
d="M0 800h200v-200h-200v200zM300 800h200v-200h-200v200zM600 800h200v-200h-200v200zM0 500h200v-200h-200v200zM300 500h200v-200h-200v200zM600 500h200v-200h-200v200zM0 200h200v-200h-200v200zM300 200h200v-200h-200v200zM600 200h200v-200h-200v200z" />
<glyph glyph-name="73" unicode="&#xe073;"
d="M0 800h300v-300h-300v300zM500 800h300v-300h-300v300zM0 300h300v-300h-300v300zM500 300h300v-300h-300v300z" />
<glyph glyph-name="74" unicode="&#xe074;"
d="M19 800h662c11 0 19 -8 19 -19v-331c0 -28 -22 -50 -50 -50h-600c-28 0 -50 22 -50 50v331c0 11 8 19 19 19zM0 309c16 -6 32 -9 50 -9h600c18 0 34 3 50 9v-290c0 -11 -8 -19 -19 -19h-662c-11 0 -19 8 -19 19v290zM550 200c-28 0 -50 -22 -50 -50s22 -50 50 -50
s50 22 50 50s-22 50 -50 50z" />
<glyph glyph-name="75" unicode="&#xe075;"
d="M0 700h300v-100h-50c-28 0 -50 -22 -50 -50v-150h300v150c0 28 -22 50 -50 50h-50v100h300v-100h-50c-28 0 -50 -22 -50 -50v-400c0 -28 22 -50 50 -50h50v-100h-300v100h50c28 0 50 22 50 50v150h-300v-150c0 -28 22 -50 50 -50h50v-100h-300v100h50c28 0 50 22 50 50
v400c0 28 -22 50 -50 50h-50v100z" />
<glyph glyph-name="76" unicode="&#xe076;"
d="M400 700c165 0 300 -135 300 -300v-100h50c28 0 50 -22 50 -50v-200c0 -28 -22 -50 -50 -50h-100c-28 0 -50 22 -50 50v350c0 111 -89 200 -200 200s-200 -89 -200 -200v-350c0 -28 -22 -50 -50 -50h-100c-28 0 -50 22 -50 50v200c0 28 22 50 50 50h50v100
c0 165 135 300 300 300z" />
<glyph glyph-name="77" unicode="&#xe077;"
d="M0 500c0 109 91 200 200 200s200 -91 200 -200c0 109 91 200 200 200s200 -91 200 -200c0 -55 -23 -105 -59 -141l-341 -340l-341 340c-36 36 -59 86 -59 141z" />
<glyph glyph-name="78" unicode="&#xe078;"
d="M400 700l400 -300l-100 3v-403h-200v200h-200v-200h-200v400h-100z" />
<glyph glyph-name="79" unicode="&#xe079;"
d="M0 800h800v-800h-800v800zM100 700v-300l100 100l400 -400h100v100l-200 200l100 100l100 -100v300h-600z" />
<glyph glyph-name="7a" unicode="&#xe07a;"
d="M19 800h762c11 0 19 -8 19 -19v-762c0 -11 -8 -19 -19 -19h-762c-11 0 -19 8 -19 19v762c0 11 8 19 19 19zM100 600v-300h100l100 -100h200l100 100h100v300h-600z" />
<glyph glyph-name="7b" unicode="&#xe07b;"
d="M200 600c80 0 142 -56 200 -122c58 66 119 122 200 122c131 0 200 -101 200 -200s-69 -200 -200 -200c-81 0 -142 56 -200 122c-58 -66 -121 -122 -200 -122c-131 0 -200 101 -200 200s69 200 200 200zM200 500c-74 0 -100 -54 -100 -100s26 -100 100 -100
c42 0 88 47 134 100c-46 53 -92 100 -134 100zM600 500c-43 0 -88 -47 -134 -100c46 -53 91 -100 134 -100c74 0 100 54 100 100s-26 100 -100 100z" />
<glyph glyph-name="7c" unicode="&#xe07c;" horiz-adv-x="400"
d="M300 800c55 0 100 -45 100 -100s-45 -100 -100 -100s-100 45 -100 100s45 100 100 100zM150 550c83 0 150 -69 150 -150c0 -66 -100 -214 -100 -250c0 -28 22 -50 50 -50s50 22 50 50h100c0 -83 -67 -150 -150 -150s-150 64 -150 150s100 222 100 250s-22 50 -50 50
s-50 -22 -50 -50h-100c0 83 67 150 150 150z" />
<glyph glyph-name="7d" unicode="&#xe07d;"
d="M200 800h500v-100h-122c-77 -197 -156 -392 -234 -588l-6 -12h162v-100h-500v100h122c77 197 156 392 234 588l7 12h-163v100z" />
<glyph glyph-name="7e" unicode="&#xe07e;"
d="M0 700h800v-100h-800v100zM0 500h800v-100h-800v100zM0 300h800v-100h-800v100zM100 100h600v-100h-600v100z" />
<glyph glyph-name="7f" unicode="&#xe07f;"
d="M0 700h800v-100h-800v100zM0 500h800v-100h-800v100zM0 300h800v-100h-800v100zM0 100h600v-100h-600v100z" />
<glyph glyph-name="80" unicode="&#xe080;"
d="M0 700h800v-100h-800v100zM0 500h800v-100h-800v100zM0 300h800v-100h-800v100zM200 100h600v-100h-600v100z" />
<glyph glyph-name="81" unicode="&#xe081;"
d="M550 800c138 0 250 -112 250 -250s-112 -250 -250 -250c-16 0 -32 0 -47 3l-3 -3v-100h-200v-200h-300v200l303 303c-3 15 -3 31 -3 47c0 138 112 250 250 250zM600 700c-55 0 -100 -45 -100 -100s45 -100 100 -100s100 45 100 100s-45 100 -100 100z" />
<glyph glyph-name="82" unicode="&#xe082;"
d="M134 600h3h4h4h5h500c28 0 50 -22 50 -50v-350h100v-150c0 -28 -22 -50 -50 -50h-700c-28 0 -50 22 -50 50v150h100v350v2c0 20 15 42 34 48zM200 500v-300h100v-100h200v100h100v300h-400z" />
<glyph glyph-name="83" unicode="&#xe083;"
d="M0 800h400v-400h-400v400zM500 600h100v-400h-400v100h300v300zM700 400h100v-400h-400v100h300v300z" />
<glyph glyph-name="84" unicode="&#xe084;" horiz-adv-x="600"
d="M337 694c6 4 12 7 21 7c28 0 50 -22 50 -50c0 -17 -12 -37 -27 -45l-300 -150c-8 -6 -21 -11 -31 -11c-28 0 -50 22 -50 50c0 21 16 44 37 49zM437 544c6 4 12 7 21 7c28 0 50 -22 50 -50c0 -17 -12 -37 -27 -45l-400 -200c-8 -6 -21 -11 -31 -11c-28 0 -50 22 -50 50
c0 21 16 44 37 49zM437 344c6 4 12 7 21 7c28 0 50 -22 50 -50c0 -17 -12 -37 -27 -45l-106 -56c24 -4 43 -26 43 -50c0 -28 -23 -51 -51 -51c-2 0 -6 1 -8 1h-200c-26 1 -48 24 -48 50c0 16 12 36 26 44zM151 -50c0 23 20 50 46 50h3h4h5h100c28 0 50 -22 50 -50
s-22 -50 -50 -50h-100c-2 0 -6 -1 -8 -1c-28 0 -50 23 -50 51z" />
<glyph glyph-name="85" unicode="&#xe085;"
d="M199 800h100v-200h-200v100h100v100zM586 797h1c18 1 38 1 56 -3c36 -8 69 -26 97 -54c78 -78 78 -203 0 -281l-150 -150c-8 -13 -28 -24 -43 -24c-28 0 -50 22 -50 50c0 15 11 35 24 43l150 150c40 40 39 105 0 144c-41 41 -110 34 -144 0l-44 -44
c-8 -13 -27 -24 -42 -24c-28 0 -50 22 -50 50c0 15 11 35 24 43l43 44c32 33 72 53 128 56zM208 490c4 5 14 16 22 16h3c2 0 6 1 8 1c28 0 50 -22 50 -50c0 -11 -6 -27 -14 -35l-150 -150c-40 -40 -39 -105 0 -144c41 -41 110 -34 144 0l44 44c8 13 27 24 42 24
c28 0 50 -22 50 -50c0 -15 -11 -35 -24 -43l-43 -44c-22 -22 -48 -37 -75 -47c-70 -25 -151 -9 -207 47c-78 78 -78 203 0 281zM499 200h200v-100h-100v-100h-100v200z" />
<glyph glyph-name="86" unicode="&#xe086;"
d="M586 797c18 1 39 1 57 -3c36 -8 69 -26 97 -54c78 -78 78 -203 0 -281l-150 -150c-62 -62 -132 -81 -182 -78s-69 17 -84 25s-26 27 -26 44c0 28 22 51 50 51c8 0 19 -3 26 -7c0 0 15 -11 41 -13s62 3 106 47l150 150c40 40 39 105 0 144c-41 41 -110 34 -144 0
c-8 -13 -28 -24 -43 -24c-28 0 -50 22 -50 50c0 15 11 35 24 43c32 33 72 53 128 56zM386 566c50 -2 64 -17 85 -22s37 -28 37 -49c0 -28 -22 -50 -50 -50c-10 0 -23 5 -31 11c0 0 -19 9 -47 10s-63 -4 -103 -44l-150 -150c-40 -40 -39 -105 0 -144c41 -41 110 -34 144 0
c8 13 27 24 42 24c28 0 50 -22 50 -50c0 -15 -10 -35 -23 -43c-22 -22 -48 -37 -75 -47c-70 -25 -151 -9 -207 47c-78 78 -78 203 0 281l150 150c60 60 128 78 178 76z" />
<glyph glyph-name="87" unicode="&#xe087;"
d="M0 700h300v-300h-300v300zM400 700h400v-100h-400v100zM400 500h300v-100h-300v100zM0 300h300v-300h-300v300zM400 300h400v-100h-400v100zM400 100h300v-100h-300v100z" />
<glyph glyph-name="88" unicode="&#xe088;"
d="M50 700c28 0 50 -22 50 -50s-22 -50 -50 -50s-50 22 -50 50s22 50 50 50zM200 700h600v-100h-600v100zM50 500c28 0 50 -22 50 -50s-22 -50 -50 -50s-50 22 -50 50s22 50 50 50zM200 500h600v-100h-600v100zM50 300c28 0 50 -22 50 -50s-22 -50 -50 -50s-50 22 -50 50
s22 50 50 50zM200 300h600v-100h-600v100zM50 100c28 0 50 -22 50 -50s-22 -50 -50 -50s-50 22 -50 50s22 50 50 50zM200 100h600v-100h-600v100z" />
<glyph glyph-name="89" unicode="&#xe089;"
d="M800 800l-400 -800l-100 300l-300 100z" />
<glyph glyph-name="8a" unicode="&#xe08a;" horiz-adv-x="600"
d="M300 700c110 0 200 -90 200 -200v-100h100v-400h-600v400h100v100c0 110 90 200 200 200zM300 600c-56 0 -100 -44 -100 -100v-100h200v100c0 56 -44 100 -100 100z" />
<glyph glyph-name="8b" unicode="&#xe08b;" horiz-adv-x="600"
d="M300 800c110 0 200 -90 200 -200v-200h100v-400h-600v400h400v200c0 56 -44 100 -100 100s-100 -44 -100 -100h-100c0 110 90 200 200 200z" />
<glyph glyph-name="8c" unicode="&#xe08c;"
d="M400 700v-100c-111 0 -200 -89 -200 -200h100l-150 -200l-150 200h100c0 165 135 300 300 300zM650 600l150 -200h-100c0 -165 -135 -300 -300 -300v100c111 0 200 89 200 200h-100z" />
<glyph glyph-name="8d" unicode="&#xe08d;"
d="M100 800h600v-300h100l-150 -250l-150 250h100v200h-400v-100h-100v200zM150 550l150 -250h-100v-200h400v100h100v-200h-600v300h-100z" />
<glyph glyph-name="8e" unicode="&#xe08e;"
d="M600 700l200 -150l-200 -150v100h-500v-100h-100v100c0 55 45 100 100 100h500v100zM200 300v-100h500v100h100v-100c0 -55 -45 -100 -100 -100h-500v-100l-200 150z" />
<glyph glyph-name="8f" unicode="&#xe08f;" horiz-adv-x="900"
d="M350 800c193 0 350 -157 350 -350c0 -60 -17 -117 -44 -166c5 -3 12 -8 16 -12l100 -100c16 -16 30 -49 30 -72c0 -56 -46 -102 -102 -102c-23 0 -56 14 -72 30l-100 100c-4 3 -9 9 -12 13c-49 -26 -107 -41 -166 -41c-193 0 -350 157 -350 350s157 350 350 350zM350 200
c142 0 250 108 250 250c0 139 -111 250 -250 250s-250 -111 -250 -250s111 -250 250 -250z" />
<glyph glyph-name="90" unicode="&#xe090;" horiz-adv-x="600"
d="M300 800c166 0 300 -134 300 -300c0 -200 -300 -500 -300 -500s-300 300 -300 500c0 166 134 300 300 300zM300 700c-110 0 -200 -90 -200 -200s90 -200 200 -200s200 90 200 200s-90 200 -200 200z" />
<glyph glyph-name="91" unicode="&#xe091;" horiz-adv-x="900"
d="M0 800h800v-541c1 -3 1 -8 1 -11s0 -7 -1 -10v-238h-800v800zM495 250c0 26 22 50 50 50h5h150v400h-600v-600h600v100h-150h-5c-28 0 -50 22 -50 50zM350 600c83 0 150 -67 150 -150c0 -100 -150 -250 -150 -250s-150 150 -150 250c0 83 67 150 150 150zM350 500
c-28 0 -50 -22 -50 -50s22 -50 50 -50s50 22 50 50s-22 50 -50 50z" />
<glyph glyph-name="92" unicode="&#xe092;" horiz-adv-x="600"
d="M0 700h200v-600h-200v600zM400 700h200v-600h-200v600z" />
<glyph glyph-name="93" unicode="&#xe093;" horiz-adv-x="600"
d="M0 700l600 -300l-600 -300v600z" />
<glyph glyph-name="94" unicode="&#xe094;" horiz-adv-x="600"
d="M300 700c166 0 300 -134 300 -300s-134 -300 -300 -300s-300 134 -300 300s134 300 300 300z" />
<glyph glyph-name="95" unicode="&#xe095;"
d="M400 700v-600l-400 300zM400 400l400 300v-600z" />
<glyph glyph-name="96" unicode="&#xe096;"
d="M0 700l400 -300l-400 -300v600zM400 100v600l400 -300z" />
<glyph glyph-name="97" unicode="&#xe097;"
d="M0 700h200v-600h-200v600zM200 400l500 300v-600z" />
<glyph glyph-name="98" unicode="&#xe098;"
d="M0 700l500 -300l-500 -300v600zM500 100v600h200v-600h-200z" />
<glyph glyph-name="99" unicode="&#xe099;" horiz-adv-x="600"
d="M0 700h600v-600h-600v600z" />
<glyph glyph-name="9a" unicode="&#xe09a;"
d="M200 800h400v-200h200v-400h-200v-200h-400v200h-200v400h200v200z" />
<glyph glyph-name="9b" unicode="&#xe09b;"
d="M0 700h800v-100h-800v100zM0 403h800v-100h-800v100zM0 103h800v-100h-800v100z" />
<glyph glyph-name="9c" unicode="&#xe09c;" horiz-adv-x="600"
d="M278 700c7 2 13 4 22 4c55 0 100 -45 100 -100v-4v-200c0 -55 -45 -100 -100 -100s-100 45 -100 100v200v2c0 44 35 88 78 98zM34 500h4h3c3 0 6 1 9 1c28 0 50 -22 50 -50v-1v-50c0 -111 89 -200 200 -200s200 89 200 200v50c0 28 22 50 50 50s50 -22 50 -50v-50
c0 -148 -109 -270 -250 -294v-106h50c55 0 100 -45 100 -100h-400c0 55 45 100 100 100h50v106c-141 24 -250 146 -250 294v50v2c0 20 15 42 34 48z" />
<glyph glyph-name="9d" unicode="&#xe09d;"
d="M0 500h800v-200h-800v200z" />
<glyph glyph-name="9e" unicode="&#xe09e;"
d="M34 700h4h3h4h5h700c28 0 50 -22 50 -50v-500c0 -28 -22 -50 -50 -50h-250v-100h100c55 0 100 -45 100 -100h-600c0 55 45 100 100 100h100v100h-250c-28 0 -50 22 -50 50v500v2c0 20 15 42 34 48zM100 600v-400h600v400h-600z" />
<glyph glyph-name="9f" unicode="&#xe09f;"
d="M272 700c-14 -40 -22 -83 -22 -128c0 -221 179 -400 400 -400c45 0 88 8 128 22c-53 -158 -202 -272 -378 -272c-221 0 -400 179 -400 400c0 176 114 325 272 378z" />
<glyph glyph-name="a0" unicode="&#xe0a0;"
d="M350 700l150 -150h-100v-150h150v100l150 -150l-150 -150v100h-150v-150h100l-150 -150l-150 150h100v150h-150v-100l-150 150l150 150v-100h150v150h-100z" />
<glyph glyph-name="a1" unicode="&#xe0a1;"
d="M800 800v-550c0 -83 -67 -150 -150 -150s-150 67 -150 150s67 150 150 150c17 0 35 -4 50 -9v206c-201 -6 -327 -27 -400 -50v-397c0 -83 -67 -150 -150 -150s-150 67 -150 150s67 150 150 150c17 0 35 -4 50 -9v409s100 100 600 100z" />
<glyph glyph-name="a2" unicode="&#xe0a2;" horiz-adv-x="700"
d="M499 700c51 0 102 -20 141 -59c78 -78 78 -203 0 -281l-250 -244c-48 -48 -127 -48 -175 0s-48 127 0 175l96 97l69 -69l-90 -94l-7 -3c-10 -10 -10 -28 0 -38s28 -10 38 0l250 247c37 40 39 102 0 141s-104 40 -144 0l-278 -275c-66 -69 -68 -179 0 -247
c69 -69 181 -69 250 0l9 12l116 113l69 -69l-125 -125c-107 -107 -281 -107 -388 0s-107 281 0 388l278 272c39 39 90 59 141 59z" />
<glyph glyph-name="a3" unicode="&#xe0a3;"
d="M600 800l200 -200l-100 -100l-200 200zM400 600l200 -200l-400 -400h-200v200z" />
<glyph glyph-name="a4" unicode="&#xe0a4;"
d="M550 800c83 0 150 -90 150 -200s-67 -200 -150 -200c-22 0 -40 8 -59 19c6 26 9 52 9 81c0 84 -27 158 -72 212c27 52 71 88 122 88zM250 700c83 0 150 -90 150 -200s-67 -200 -150 -200s-150 90 -150 200s67 200 150 200zM725 384c44 -22 75 -66 75 -118v-166h-200v66
c0 50 -17 96 -44 134c66 2 126 33 169 84zM75 284c45 -53 106 -84 175 -84s130 31 175 84c44 -22 75 -66 75 -118v-166h-500v166c0 52 31 96 75 118z" />
<glyph glyph-name="a5" unicode="&#xe0a5;"
d="M400 800c110 0 200 -112 200 -250s-90 -250 -200 -250s-200 112 -200 250s90 250 200 250zM191 300c54 -61 128 -100 209 -100s155 39 209 100c106 -5 191 -92 191 -200v-100h-800v100c0 108 85 195 191 200z" />
<glyph glyph-name="a6" unicode="&#xe0a6;" horiz-adv-x="600"
d="M19 800h462c11 0 19 -8 19 -19v-762c0 -11 -8 -19 -19 -19h-462c-11 0 -19 8 -19 19v762c0 11 8 19 19 19zM100 700v-500h300v500h-300zM250 150c-28 0 -50 -22 -50 -50s22 -50 50 -50s50 22 50 50s-22 50 -50 50z" />
<glyph glyph-name="a7" unicode="&#xe0a7;"
d="M350 800c17 0 34 -1 50 -3v-397l-297 297c63 64 150 103 247 103zM500 694c169 -25 300 -168 300 -344c0 -193 -157 -350 -350 -350c-85 0 -161 31 -222 81l272 272v341zM91 562l237 -234l-212 -212c-70 55 -116 138 -116 234c0 84 35 158 91 212z" />
<glyph glyph-name="a8" unicode="&#xe0a8;"
d="M92 650c0 23 20 50 46 50h3h4h5h400c28 0 50 -22 50 -50s-22 -50 -50 -50h-50v-200h100c55 0 100 -45 100 -100h-300v-300l-56 -100l-44 100v300h-300c0 55 45 100 100 100h100v200h-50c-2 0 -6 -1 -8 -1c-28 0 -50 23 -50 51z" />
<glyph glyph-name="a9" unicode="&#xe0a9;"
d="M400 800c221 0 400 -179 400 -400s-179 -400 -400 -400s-400 179 -400 400s179 400 400 400zM300 600v-400l300 200z" />
<glyph glyph-name="aa" unicode="&#xe0aa;"
d="M300 800h200v-300h300v-200h-300v-300h-200v300h-300v200h300v300z" />
<glyph glyph-name="ab" unicode="&#xe0ab;"
d="M300 800h100v-400h-100v400zM172 656l62 -78l-40 -31c-58 -46 -94 -117 -94 -197c0 -139 111 -250 250 -250s250 111 250 250c0 80 -39 151 -97 197l-37 31l62 78l38 -31c82 -64 134 -164 134 -275c0 -193 -157 -350 -350 -350s-350 157 -350 350c0 111 53 211 134 275z
" />
<glyph glyph-name="ac" unicode="&#xe0ac;"
d="M200 800h400v-200h-400v200zM9 500h782c6 0 9 -3 9 -9v-282c0 -6 -3 -9 -9 -9h-91v200h-600v-200h-91c-6 0 -9 3 -9 9v282c0 6 3 9 9 9zM200 300h400v-300h-400v300z" />
<glyph glyph-name="ad" unicode="&#xe0ad;"
d="M0 700h100v-700h-100v700zM700 700h100v-700h-100v700zM200 600h200v-100h-200v100zM300 400h200v-100h-200v100zM400 200h200v-100h-200v100z" />
<glyph glyph-name="ae" unicode="&#xe0ae;"
d="M325 700c42 -141 87 -280 131 -419c29 74 59 148 88 222c30 -57 58 -114 87 -172h169v-100h-231l-13 28c-37 -92 -74 -184 -112 -275c-38 129 -79 257 -119 385c-42 -133 -83 -267 -125 -400c-28 88 -56 175 -84 262h-116v100h188l9 -34l3 -6c42 137 83 273 125 409z" />
<glyph glyph-name="af" unicode="&#xe0af;"
d="M200 600c0 57 43 100 100 100s100 -43 100 -100c0 -28 -18 -48 -28 -72c-3 -6 -3 -16 -3 -28h231v-231c12 0 22 0 28 3c24 10 44 28 72 28c57 0 100 -43 100 -100s-43 -100 -100 -100c-28 0 -48 18 -72 28c-6 3 -16 3 -28 3v-231h-231c0 12 0 22 3 28c10 24 28 44 28 72
c0 57 -43 100 -100 100s-100 -43 -100 -100c0 -28 18 -48 28 -72c3 -6 3 -16 3 -28h-231v600h231c0 12 0 22 -3 28c-10 24 -28 44 -28 72z" />
<glyph glyph-name="b0" unicode="&#xe0b0;" horiz-adv-x="500"
d="M247 700c84 0 148 -20 191 -59s59 -93 59 -141c0 -117 -69 -181 -119 -225s-81 -67 -81 -150v-25h-100v25c0 117 65 181 115 225s85 67 85 150c0 25 -8 48 -28 66s-56 34 -122 34s-97 -18 -116 -37s-27 -43 -31 -69l-100 12c5 38 19 88 59 128s103 66 188 66zM197 0h100
v-100h-100v100z" />
<glyph glyph-name="b1" unicode="&#xe0b1;"
d="M450 800c138 0 250 -112 250 -250v-50c58 -21 100 -85 100 -150c0 -69 -48 -127 -112 -144c-22 55 -75 94 -138 94c-20 0 -39 -5 -56 -12c-17 64 -75 112 -144 112s-127 -48 -144 -112c-17 7 -36 12 -56 12c-37 0 -71 -12 -97 -34c-33 36 -53 82 -53 134
c0 110 90 200 200 200c23 114 129 200 250 200zM334 300h4h3c3 0 6 1 9 1c28 0 50 -22 50 -50v-1v-200c0 -28 -22 -50 -50 -50s-50 22 -50 50v200v2c0 20 15 42 34 48zM134 200h4h3c3 0 6 1 9 1c28 0 50 -22 50 -50v-1v-100c0 -28 -22 -50 -50 -50s-50 22 -50 50v100v2
c0 20 15 42 34 48zM534 200h3h4c3 0 6 1 9 1c28 0 50 -22 50 -50v-1v-100c0 -28 -22 -50 -50 -50s-50 22 -50 50v100v2c0 20 15 42 34 48z" />
<glyph glyph-name="b2" unicode="&#xe0b2;"
d="M600 800l200 -150l-200 -150v100h-50l-153 -191l175 -206l6 -3h22v100l200 -150l-200 -150v100h-25c-35 0 -56 12 -78 38l-166 190l-153 -190c-22 -27 -43 -38 -78 -38h-100v100h100l166 206l-163 191l-3 3h-100v100h100c34 0 56 -12 78 -38l153 -178l141 178
c22 27 43 38 78 38h50v100z" />
<glyph glyph-name="b3" unicode="&#xe0b3;"
d="M400 800c110 0 209 -47 281 -119l119 119v-300h-300l109 109c-54 55 -126 91 -209 91c-166 0 -300 -134 -300 -300s134 -300 300 -300c83 0 158 34 212 88l72 -72c-72 -72 -174 -116 -284 -116c-220 0 -400 180 -400 400s180 400 400 400z" />
<glyph glyph-name="b4" unicode="&#xe0b4;"
d="M400 800h400v-400l-166 166l-400 -400l166 -166h-400v400l166 -166l400 400z" />
<glyph glyph-name="b5" unicode="&#xe0b5;" horiz-adv-x="600"
d="M250 800l250 -300h-200v-200h200l-250 -300l-250 300h200v200h-200z" />
<glyph glyph-name="b6" unicode="&#xe0b6;"
d="M300 600v-200h200v200l300 -250l-300 -250v200h-200v-200l-300 250z" />
<glyph glyph-name="b7" unicode="&#xe0b7;"
d="M0 800c441 0 800 -359 800 -800h-200c0 333 -267 600 -600 600v200zM0 500c275 0 500 -225 500 -500h-200c0 167 -133 300 -300 300v200zM0 200c110 0 200 -90 200 -200h-200v200z" />
<glyph glyph-name="b8" unicode="&#xe0b8;"
d="M100 800c386 0 700 -314 700 -700h-100c0 332 -268 600 -600 600v100zM100 600c276 0 500 -224 500 -500h-100c0 222 -178 400 -400 400v100zM100 400c165 0 300 -135 300 -300h-100c0 111 -89 200 -200 200v100zM100 200c55 0 100 -45 100 -100s-45 -100 -100 -100
s-100 45 -100 100s45 100 100 100z" />
<glyph glyph-name="b9" unicode="&#xe0b9;"
d="M300 800h400c55 0 100 -45 100 -100v-200h-400v150c0 28 -22 50 -50 50s-50 -22 -50 -50v-250h400v-300c0 -55 -45 -100 -100 -100h-500c-55 0 -100 45 -100 100v200h100v-150c0 -28 22 -50 50 -50s50 22 50 50v550c0 55 45 100 100 100z" />
<glyph glyph-name="ba" unicode="&#xe0ba;"
d="M75 700h225v-100h-200v-500h400v100h100v-125c0 -41 -34 -75 -75 -75h-450c-41 0 -75 34 -75 75v550c0 41 34 75 75 75zM600 700l200 -200l-200 -200v100h-200c-94 0 -173 -65 -194 -153c23 199 189 353 394 353v100z" />
<glyph glyph-name="bb" unicode="&#xe0bb;"
d="M500 700l300 -284l-300 -316v200h-100c-200 0 -348 -102 -400 -300c0 295 100 500 500 500v200z" />
<glyph glyph-name="bc" unicode="&#xe0bc;"
d="M381 791l19 9l19 -9c127 -53 253 -108 381 -160v-31c0 -166 -67 -313 -147 -419c-40 -53 -83 -97 -125 -128s-82 -53 -128 -53s-86 22 -128 53s-85 75 -125 128c-80 107 -147 253 -147 419v31c128 52 254 107 381 160zM400 100v591l-294 -122c8 -126 58 -243 122 -328
c35 -46 73 -86 106 -110s62 -31 66 -31z" />
<glyph glyph-name="bd" unicode="&#xe0bd;"
d="M600 800h100v-800h-100v800zM400 700h100v-700h-100v700zM200 500h100v-500h-100v500zM0 300h100v-300h-100v300z" />
<glyph glyph-name="be" unicode="&#xe0be;"
d="M300 800h100v-200h200l100 -100l-100 -100h-200v-400h-100v500h-200l-100 100l100 100h200v100z" />
<glyph glyph-name="bf" unicode="&#xe0bf;"
d="M200 800h100v-600h200l-250 -200l-250 200h200v600zM400 800h200v-100h-200v100zM400 600h300v-100h-300v100zM400 400h400v-100h-400v100z" />
<glyph glyph-name="c0" unicode="&#xe0c0;"
d="M200 800h100v-600h200l-250 -200l-250 200h200v600zM400 800h400v-100h-400v100zM400 600h300v-100h-300v100zM400 400h200v-100h-200v100z" />
<glyph glyph-name="c1" unicode="&#xe0c1;"
d="M75 700h650c41 0 75 -34 75 -75v-550c0 -41 -34 -75 -75 -75h-650c-41 0 -75 34 -75 75v550c0 41 34 75 75 75zM100 600v-100h100v100h-100zM300 600v-100h400v100h-400zM100 400v-100h100v100h-100zM300 400v-100h400v100h-400zM100 200v-100h100v100h-100zM300 200
v-100h400v100h-400z" />
<glyph glyph-name="c2" unicode="&#xe0c2;"
d="M400 800l100 -300h300l-250 -200l100 -300l-250 200l-250 -200l100 300l-250 200h300z" />
<glyph glyph-name="c3" unicode="&#xe0c3;"
d="M400 800c28 0 50 -22 50 -50s-22 -50 -50 -50s-50 22 -50 50s22 50 50 50zM150 700c28 0 50 -22 50 -50s-22 -50 -50 -50s-50 22 -50 50s22 50 50 50zM650 700c28 0 50 -22 50 -50s-22 -50 -50 -50s-50 22 -50 50s22 50 50 50zM400 600c110 0 200 -90 200 -200
s-90 -200 -200 -200s-200 90 -200 200s90 200 200 200zM50 450c28 0 50 -22 50 -50s-22 -50 -50 -50s-50 22 -50 50s22 50 50 50zM750 450c28 0 50 -22 50 -50s-22 -50 -50 -50s-50 22 -50 50s22 50 50 50zM150 200c28 0 50 -22 50 -50s-22 -50 -50 -50s-50 22 -50 50
s22 50 50 50zM650 200c28 0 50 -22 50 -50s-22 -50 -50 -50s-50 22 -50 50s22 50 50 50zM400 100c28 0 50 -22 50 -50s-22 -50 -50 -50s-50 22 -50 50s22 50 50 50z" />
<glyph glyph-name="c4" unicode="&#xe0c4;"
d="M34 800h632c18 0 34 -16 34 -34v-732c0 -18 -16 -34 -34 -34h-632c-18 0 -34 16 -34 34v732c0 18 16 34 34 34zM100 700v-500h500v500h-500zM350 150c-38 0 -63 -42 -44 -75s69 -33 88 0s-6 75 -44 75z" />
<glyph glyph-name="c5" unicode="&#xe0c5;"
d="M0 800h300l500 -500l-300 -300l-500 500v300zM200 700c-55 0 -100 -45 -100 -100s45 -100 100 -100s100 45 100 100s-45 100 -100 100z" />
<glyph glyph-name="c6" unicode="&#xe0c6;"
d="M0 600h200l300 -300l-200 -200l-300 300v200zM340 600h160l300 -300l-200 -200l-78 78l119 122zM150 500c-28 0 -50 -22 -50 -50s22 -50 50 -50s50 22 50 50s-22 50 -50 50z" />
<glyph glyph-name="c7" unicode="&#xe0c7;"
d="M400 800c220 0 400 -180 400 -400s-180 -400 -400 -400s-400 180 -400 400s180 400 400 400zM400 700c-166 0 -300 -134 -300 -300s134 -300 300 -300s300 134 300 300s-134 300 -300 300zM400 600c110 0 200 -90 200 -200s-90 -200 -200 -200s-200 90 -200 200
s90 200 200 200zM400 500c-56 0 -100 -44 -100 -100s44 -100 100 -100s100 44 100 100s-44 100 -100 100z" />
<glyph glyph-name="c8" unicode="&#xe0c8;"
d="M0 700h559l-100 -100h-359v-500h500v159l100 100v-359h-700v700zM700 700l100 -100l-400 -400l-200 200l100 100l100 -100z" />
<glyph glyph-name="c9" unicode="&#xe0c9;"
d="M9 800h782c6 0 9 -3 9 -9v-782c0 -6 -3 -9 -9 -9h-782c-6 0 -9 3 -9 9v782c0 6 3 9 9 9zM150 722l-72 -72l100 -100l-100 -100l72 -72l172 172zM400 500v-100h300v100h-300z" />
<glyph glyph-name="ca" unicode="&#xe0ca;"
d="M0 800h800v-200h-50c0 55 -45 100 -100 100h-150v-550c0 -28 22 -50 50 -50h50v-100h-400v100h50c28 0 50 22 50 50v550h-150c-55 0 -100 -45 -100 -100h-50v200z" />
<glyph glyph-name="cb" unicode="&#xe0cb;"
d="M0 700h100v-400h-100v400zM200 700h350c21 0 39 -13 47 -31c0 0 103 -291 103 -319s-22 -50 -50 -50h-150c-28 0 -50 -25 -50 -50s39 -158 47 -184s-5 -55 -31 -63s-52 5 -66 31s-109 219 -128 238s-44 28 -72 28v400z" />
<glyph glyph-name="cc" unicode="&#xe0cc;"
d="M400 666c10 19 28 32 47 34l19 -3c26 -8 39 -37 31 -63s-47 -159 -47 -184s22 -50 50 -50h150c28 0 50 -22 50 -50s-103 -319 -103 -319c-8 -18 -26 -31 -47 -31h-350v400c28 0 53 9 72 28s114 212 128 238zM0 400h100v-400h-100v400z" />
<glyph glyph-name="cd" unicode="&#xe0cd;"
d="M200 700h300v-100h-100v-6c25 -4 50 -8 72 -16l-34 -94c-28 11 -58 16 -88 16c-139 0 -250 -111 -250 -250s111 -250 250 -250s250 111 250 250c0 31 -5 60 -16 88l91 37c14 -38 25 -81 25 -125c0 -193 -157 -350 -350 -350s-350 157 -350 350c0 176 130 323 300 347v3
h-100v100zM700 584c0 0 -296 -348 -316 -368s-48 -20 -68 0s-20 48 0 68s384 300 384 300z" />
<glyph glyph-name="ce" unicode="&#xe0ce;"
d="M600 700l200 -150l-200 -150v100h-600v100h600v100zM200 300v-100h600v-100h-600v-100l-200 150z" />
<glyph glyph-name="cf" unicode="&#xe0cf;"
d="M300 800h100c55 0 100 -45 100 -100h100c55 0 100 -45 100 -100h-700c0 55 45 100 100 100h100c0 55 45 100 100 100zM100 500h100v-350c0 -28 22 -50 50 -50s50 22 50 50v350h100v-350c0 -28 22 -50 50 -50s50 22 50 50v350h100v-481c0 -11 -8 -19 -19 -19h-462
c-11 0 -19 8 -19 19v481z" />
<glyph glyph-name="d0" unicode="&#xe0d0;"
d="M100 800h200v-400c0 -55 45 -100 100 -100s100 45 100 100v400h100v-400c0 -110 -90 -200 -200 -200h-50c-138 0 -250 90 -250 200v400zM0 100h700v-100h-700v100z" />
<glyph glyph-name="d1" unicode="&#xe0d1;"
d="M9 700h182c6 0 9 -3 9 -9v-482c0 -6 -3 -9 -9 -9h-182c-6 0 -9 3 -9 9v482c0 6 3 9 9 9zM609 700h182c6 0 9 -3 9 -9v-482c0 -6 -3 -9 -9 -9h-182c-6 0 -9 3 -9 9v482c0 6 3 9 9 9zM309 500h182c6 0 9 -3 9 -9v-282c0 -6 -3 -9 -9 -9h-182c-6 0 -9 3 -9 9v282
c0 6 3 9 9 9zM0 100h800v-100h-800v100z" />
<glyph glyph-name="d2" unicode="&#xe0d2;"
d="M10 700h181c6 0 9 -3 9 -9v-191h-200v191c0 6 4 9 10 9zM610 700h181c6 0 9 -3 9 -9v-191h-200v191c0 6 5 9 10 9zM310 600h181c6 0 9 -3 9 -9v-91h-200v91c0 6 4 9 10 9zM0 400h800v-100h-800v100zM0 200h200v-191c0 -6 -3 -9 -9 -9h-182c-6 0 -9 3 -9 9v191zM300 200
h200v-91c0 -6 -3 -9 -9 -9h-181c-6 0 -10 3 -10 9v91zM600 200h200v-191c0 -6 -3 -9 -9 -9h-181c-6 0 -10 3 -10 9v191z" />
<glyph glyph-name="d3" unicode="&#xe0d3;"
d="M0 700h800v-100h-800v100zM9 500h182c6 0 9 -3 9 -9v-482c0 -6 -3 -9 -9 -9h-182c-6 0 -9 3 -9 9v482c0 6 3 9 9 9zM309 500h182c6 0 9 -3 9 -9v-282c0 -6 -3 -9 -9 -9h-182c-6 0 -9 3 -9 9v282c0 6 3 9 9 9zM609 500h182c6 0 9 -3 9 -9v-482c0 -6 -3 -9 -9 -9h-182
c-6 0 -9 3 -9 9v482c0 6 3 9 9 9z" />
<glyph glyph-name="d4" unicode="&#xe0d4;"
d="M50 600h500c28 0 50 -22 50 -50v-150l100 100h100v-300h-100l-100 100v-150c0 -28 -22 -50 -50 -50h-500c-28 0 -50 22 -50 50v400c0 28 22 50 50 50z" />
<glyph glyph-name="d5" unicode="&#xe0d5;"
d="M334 800h66v-800h-66l-134 200h-200v400h200zM500 600v100c26 0 52 -4 75 -10c130 -33 225 -150 225 -290s-95 -258 -225 -291h-3c-23 -6 -47 -9 -72 -9v100c17 0 34 2 50 6c86 22 150 100 150 194s-64 172 -150 194c-16 4 -33 6 -50 6zM500 500l25 -3
c44 -11 75 -51 75 -97s-32 -86 -75 -97l-25 -3v200z" />
<glyph glyph-name="d6" unicode="&#xe0d6;" horiz-adv-x="600"
d="M334 800h66v-800h-66l-134 200h-200v400h200zM500 500l25 -3c44 -11 75 -51 75 -97s-32 -86 -75 -97l-25 -3v200z" />
<glyph glyph-name="d7" unicode="&#xe0d7;" horiz-adv-x="400"
d="M334 800h66v-800h-66l-134 200h-200v400h200z" />
<glyph glyph-name="d8" unicode="&#xe0d8;"
d="M309 800h82c6 0 10 -4 12 -9l294 -682l3 -19v-81c0 -6 -3 -9 -9 -9h-682c-6 0 -9 3 -9 9v81l3 19l294 682c2 5 6 9 12 9zM300 500v-200h100v200h-100zM300 200v-100h100v100h-100z" />
<glyph glyph-name="d9" unicode="&#xe0d9;"
d="M375 800c138 0 269 -39 378 -109l-53 -82c-93 60 -205 91 -325 91c-119 0 -229 -32 -322 -91l-53 82c109 70 237 109 375 109zM375 500c78 0 154 -23 216 -62l-53 -85c-46 30 -104 47 -163 47c-60 0 -112 -17 -159 -47l-54 85c62 40 134 62 213 62zM375 200
c55 0 100 -45 100 -100s-45 -100 -100 -100s-100 45 -100 100s45 100 100 100z" />
<glyph glyph-name="da" unicode="&#xe0da;" horiz-adv-x="900"
d="M551 800c16 0 32 0 47 -3l-97 -97v-200h200l97 97c3 -15 3 -31 3 -47c0 -138 -112 -250 -250 -250c-32 0 -62 8 -90 19l-288 -291c-20 -20 -46 -28 -72 -28s-52 8 -72 28c-39 39 -39 105 0 144l291 287c-11 28 -19 59 -19 91c0 138 112 250 250 250zM101 150
c-28 0 -50 -22 -50 -50s22 -50 50 -50s50 22 50 50s-22 50 -50 50z" />
<glyph glyph-name="db" unicode="&#xe0db;"
d="M141 700c84 -84 169 -167 253 -250c82 83 167 165 247 250l143 -141l-253 -253c84 -82 167 -166 253 -247l-143 -143c-81 86 -165 169 -247 253l-253 -253l-141 143c85 80 167 164 250 247c-83 84 -166 169 -250 253z" />
<glyph glyph-name="dc" unicode="&#xe0dc;"
d="M0 800h100l231 -300h38l231 300h100l-225 -300h225v-100h-300v-100h300v-100h-300v-200h-100v200h-300v100h300v100h-300v100h225z" />
<glyph glyph-name="dd" unicode="&#xe0dd;" horiz-adv-x="900"
d="M350 800c193 0 350 -157 350 -350c0 -61 -17 -119 -44 -169c4 -2 10 -6 13 -9l103 -100c16 -16 30 -49 30 -72c0 -56 -46 -102 -102 -102c-23 0 -56 14 -72 30l-100 103c-3 3 -7 9 -9 13c-50 -28 -108 -44 -169 -44c-193 0 -350 157 -350 350s157 350 350 350zM350 700
c-139 0 -250 -111 -250 -250s111 -250 250 -250c62 0 119 23 163 60c7 11 19 25 31 31l3 3c34 43 53 97 53 156c0 139 -111 250 -250 250zM300 600h100v-100h100v-100h-100v-100h-100v100h-100v100h100v100z" />
<glyph glyph-name="de" unicode="&#xe0de;" horiz-adv-x="900"
d="M350 800c193 0 350 -157 350 -350c0 -61 -17 -119 -44 -169c4 -2 10 -6 13 -9l103 -100c16 -16 30 -49 30 -72c0 -56 -46 -102 -102 -102c-23 0 -56 14 -72 30l-100 103c-3 3 -7 9 -9 13c-50 -28 -108 -44 -169 -44c-193 0 -350 157 -350 350s157 350 350 350zM350 700
c-139 0 -250 -111 -250 -250s111 -250 250 -250c62 0 119 23 163 60c7 11 19 25 31 31l3 3c34 43 53 97 53 156c0 139 -111 250 -250 250zM200 500h300v-100h-300v100z" />
</font>
</defs></svg>

Before

Width:  |  Height:  |  Size: 54 KiB

BIN
ordr2/static/font/fonts/open-iconic.ttf

Binary file not shown.

BIN
ordr2/static/font/fonts/open-iconic.woff

Binary file not shown.

BIN
ordr2/static/font/png/account-login-8x.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 391 B

BIN
ordr2/static/font/png/account-logout-8x.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 378 B

BIN
ordr2/static/font/png/action-redo-8x.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 779 B

BIN
ordr2/static/font/png/action-undo-8x.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 760 B

BIN
ordr2/static/font/png/align-center-8x.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 218 B

BIN
ordr2/static/font/png/align-left-8x.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 214 B

BIN
ordr2/static/font/png/align-right-8x.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 212 B

BIN
ordr2/static/font/png/aperture-8x.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

BIN
ordr2/static/font/png/arrow-bottom-8x.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 524 B

BIN
ordr2/static/font/png/arrow-circle-bottom-8x.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

BIN
ordr2/static/font/png/arrow-circle-left-8x.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 992 B

BIN
ordr2/static/font/png/arrow-circle-right-8x.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 985 B

BIN
ordr2/static/font/png/arrow-circle-top-8x.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1015 B

BIN
ordr2/static/font/png/arrow-left-8x.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 467 B

BIN
ordr2/static/font/png/arrow-right-8x.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 522 B

BIN
ordr2/static/font/png/arrow-thick-bottom-8x.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 485 B

BIN
ordr2/static/font/png/arrow-thick-left-8x.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 444 B

BIN
ordr2/static/font/png/arrow-thick-right-8x.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 508 B

BIN
ordr2/static/font/png/arrow-thick-top-8x.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 518 B

BIN
ordr2/static/font/png/arrow-top-8x.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 545 B

BIN
ordr2/static/font/png/audio-8x.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

BIN
ordr2/static/font/png/audio-spectrum-8x.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 293 B

BIN
ordr2/static/font/png/badge-8x.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 724 B

BIN
ordr2/static/font/png/ban-8x.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

BIN
ordr2/static/font/png/bar-chart-8x.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 271 B

BIN
ordr2/static/font/png/basket-8x.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 827 B

BIN
ordr2/static/font/png/battery-empty-8x.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 336 B

BIN
ordr2/static/font/png/battery-full-8x.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 311 B

BIN
ordr2/static/font/png/beaker-8x.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 955 B

BIN
ordr2/static/font/png/bell-8x.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 804 B

BIN
ordr2/static/font/png/bluetooth-8x.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 822 B

BIN
ordr2/static/font/png/bold-8x.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 892 B

BIN
ordr2/static/font/png/bolt-8x.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 420 B

BIN
ordr2/static/font/png/book-8x.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 554 B

BIN
ordr2/static/font/png/bookmark-8x.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 343 B

BIN
ordr2/static/font/png/box-8x.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 283 B

BIN
ordr2/static/font/png/briefcase-8x.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 462 B

BIN
ordr2/static/font/png/british-pound-8x.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 861 B

BIN
ordr2/static/font/png/browser-8x.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 518 B

BIN
ordr2/static/font/png/brush-8x.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 975 B

BIN
ordr2/static/font/png/bug-8x.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

BIN
ordr2/static/font/png/bullhorn-8x.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 683 B

BIN
ordr2/static/font/png/calculator-8x.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 329 B

BIN
ordr2/static/font/png/calendar-8x.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 299 B

BIN
ordr2/static/font/png/camera-slr-8x.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Some files were not shown because too many files have changed in this diff Show More