├── .gitignore ├── LICENSE ├── README.md ├── _config.yml ├── blog_images ├── 275815.jpg ├── 400px-Clickjacking_description.png ├── XSS_Hackem.png ├── download.png ├── image.jpeg └── tor-arch.jpg ├── cart ├── __init__.py ├── apps.py ├── cart.py ├── context_processors.py ├── migrations │ └── __init__.py ├── models.py ├── tests.py └── views.py ├── db.sqlite3 ├── manage.py ├── phantomapp ├── __init__.py ├── __pycache__ │ ├── __init__.cpython-37.pyc │ ├── admin.cpython-37.pyc │ ├── context_processors.cpython-37.pyc │ ├── forms.cpython-37.pyc │ ├── models.cpython-37.pyc │ ├── urls.cpython-37.pyc │ └── views.cpython-37.pyc ├── admin.py ├── apps.py ├── context_processors.py ├── forms.py ├── migrations │ ├── 0001_initial.py │ ├── 0002_userprofile.py │ ├── 0003_auto_20180904_1429.py │ ├── 0004_auto_20180904_1734.py │ ├── 0005_blogcontent_intro.py │ ├── 0006_auto_20180904_1747.py │ ├── 0007_shopcategory_shopproduct.py │ ├── 0008_auto_20180904_2102.py │ ├── 0009_order_orderproduct.py │ ├── 0010_shopproduct_ordered_times.py │ ├── 0011_auto_20180907_2134.py │ ├── __init__.py │ └── __pycache__ │ │ ├── 0001_initial.cpython-37.pyc │ │ ├── 0002_userprofile.cpython-37.pyc │ │ ├── 0003_auto_20180904_1429.cpython-37.pyc │ │ ├── 0004_auto_20180904_1734.cpython-37.pyc │ │ ├── 0005_blogcontent_intro.cpython-37.pyc │ │ ├── 0006_auto_20180904_1747.cpython-37.pyc │ │ ├── 0007_shopcategory_shopproduct.cpython-37.pyc │ │ ├── 0008_auto_20180904_2102.cpython-37.pyc │ │ ├── 0009_order_orderproduct.cpython-37.pyc │ │ ├── 0010_shopproduct_ordered_times.cpython-37.pyc │ │ ├── 0011_auto_20180907_2134.cpython-37.pyc │ │ ├── 0011_remove_shopproduct_ordered_times.cpython-37.pyc │ │ └── __init__.cpython-37.pyc ├── models.py ├── static │ ├── css │ │ ├── custom.css │ │ ├── style.blue.css │ │ ├── style.default.css │ │ ├── style.green.css │ │ ├── style.lightblue.css │ │ ├── style.marsala.css │ │ ├── style.pink.css │ │ ├── style.red.css │ │ └── style.violet.css │ ├── img │ │ ├── ai.jpg │ │ ├── apple-touch-icon-114x114.png │ │ ├── apple-touch-icon-120x120.png │ │ ├── apple-touch-icon-144x144.png │ │ ├── apple-touch-icon-152x152.png │ │ ├── apple-touch-icon-57x57.png │ │ ├── apple-touch-icon-72x72.png │ │ ├── apple-touch-icon-76x76.png │ │ ├── apple-touch-icon.png │ │ ├── banner.jpg │ │ ├── banner2.jpg │ │ ├── basketsquare.jpg │ │ ├── blog-avatar.jpg │ │ ├── blog-avatar2.jpg │ │ ├── blog-medium.jpg │ │ ├── blog-recent-3.jpg │ │ ├── blog-recent.jpg │ │ ├── blog.jpg │ │ ├── blog2.jpg │ │ ├── boxed-pattern.png │ │ ├── customer-1.png │ │ ├── customer-2.png │ │ ├── customer-3.png │ │ ├── customer-4.png │ │ ├── customer-5.png │ │ ├── customer-6.png │ │ ├── cybersec.jpg │ │ ├── favicon.ico │ │ ├── fixed-background-1.jpg │ │ ├── fixed-background-2.jpg │ │ ├── grayscale.svg │ │ ├── home-try.jpg │ │ ├── home.jpg │ │ ├── homepage-slider.jpg │ │ ├── images.jpg │ │ ├── logo-small.png │ │ ├── logo.png │ │ ├── main-slider1.jpg │ │ ├── main-slider2.jpg │ │ ├── main-slider3.jpg │ │ ├── main-slider4.jpg │ │ ├── marker.png │ │ ├── men.jpg │ │ ├── page-1.jpg │ │ ├── page-2.jpg │ │ ├── page-3.jpg │ │ ├── payment.png │ │ ├── person-1.jpg │ │ ├── person-2.jpg │ │ ├── person-3.png │ │ ├── person-4.jpg │ │ ├── photogrid.jpg │ │ ├── portfolio-1.jpg │ │ ├── portfolio-2.jpg │ │ ├── portfolio-3.jpg │ │ ├── portfolio-4.jpg │ │ ├── portfolio-5.jpg │ │ ├── portfolio-6.jpg │ │ ├── portfolio-7.jpg │ │ ├── portfolio-8.jpg │ │ ├── programmer.png │ │ ├── programming.jpg │ │ ├── slide1.jpg │ │ ├── template-easy-code.png │ │ ├── template-easy-customize-less.png │ │ ├── template-easy-customize.png │ │ ├── template-homepage.png │ │ ├── template-mac.png │ │ ├── template-tablets-2.png │ │ ├── template-tablets.png │ │ ├── texture-bw.png │ │ ├── texture-turquoise.png │ │ ├── texture-violet.png │ │ └── women.jpg │ ├── js │ │ ├── bootstrap-hover-dropdown.js │ │ ├── front.js │ │ ├── gmaps.init.js │ │ ├── gmaps.js │ │ └── jquery.parallax-1.1.3.js │ └── vendor │ │ ├── bootstrap-select │ │ ├── css │ │ │ ├── bootstrap-select.css │ │ │ └── bootstrap-select.min.css │ │ └── js │ │ │ ├── bootstrap-select.js │ │ │ ├── bootstrap-select.min.js │ │ │ └── i18n │ │ │ ├── defaults-ar_AR.js │ │ │ ├── defaults-ar_AR.min.js │ │ │ ├── defaults-bg_BG.js │ │ │ ├── defaults-bg_BG.min.js │ │ │ ├── defaults-cro_CRO.js │ │ │ ├── defaults-cro_CRO.min.js │ │ │ ├── defaults-cs_CZ.js │ │ │ ├── defaults-cs_CZ.min.js │ │ │ ├── defaults-da_DK.js │ │ │ ├── defaults-da_DK.min.js │ │ │ ├── defaults-de_DE.js │ │ │ ├── defaults-de_DE.min.js │ │ │ ├── defaults-en_US.js │ │ │ ├── defaults-en_US.min.js │ │ │ ├── defaults-es_CL.js │ │ │ ├── defaults-es_CL.min.js │ │ │ ├── defaults-es_ES.js │ │ │ ├── defaults-es_ES.min.js │ │ │ ├── defaults-et_EE.js │ │ │ ├── defaults-et_EE.min.js │ │ │ ├── defaults-eu.js │ │ │ ├── defaults-eu.min.js │ │ │ ├── defaults-fa_IR.js │ │ │ ├── defaults-fa_IR.min.js │ │ │ ├── defaults-fi_FI.js │ │ │ ├── defaults-fi_FI.min.js │ │ │ ├── defaults-fr_FR.js │ │ │ ├── defaults-fr_FR.min.js │ │ │ ├── defaults-hu_HU.js │ │ │ ├── defaults-hu_HU.min.js │ │ │ ├── defaults-id_ID.js │ │ │ ├── defaults-id_ID.min.js │ │ │ ├── defaults-it_IT.js │ │ │ ├── defaults-it_IT.min.js │ │ │ ├── defaults-ja_JP.js │ │ │ ├── defaults-ja_JP.min.js │ │ │ ├── defaults-kh_KM.js │ │ │ ├── defaults-kh_KM.min.js │ │ │ ├── defaults-ko_KR.js │ │ │ ├── defaults-ko_KR.min.js │ │ │ ├── defaults-lt_LT.js │ │ │ ├── defaults-lt_LT.min.js │ │ │ ├── defaults-nb_NO.js │ │ │ ├── defaults-nb_NO.min.js │ │ │ ├── defaults-nl_NL.js │ │ │ ├── defaults-nl_NL.min.js │ │ │ ├── defaults-pl_PL.js │ │ │ ├── defaults-pl_PL.min.js │ │ │ ├── defaults-pt_BR.js │ │ │ ├── defaults-pt_BR.min.js │ │ │ ├── defaults-pt_PT.js │ │ │ ├── defaults-pt_PT.min.js │ │ │ ├── defaults-ro_RO.js │ │ │ ├── defaults-ro_RO.min.js │ │ │ ├── defaults-ru_RU.js │ │ │ ├── defaults-ru_RU.min.js │ │ │ ├── defaults-sk_SK.js │ │ │ ├── defaults-sk_SK.min.js │ │ │ ├── defaults-sl_SI.js │ │ │ ├── defaults-sl_SI.min.js │ │ │ ├── defaults-sv_SE.js │ │ │ ├── defaults-sv_SE.min.js │ │ │ ├── defaults-tr_TR.js │ │ │ ├── defaults-tr_TR.min.js │ │ │ ├── defaults-ua_UA.js │ │ │ ├── defaults-ua_UA.min.js │ │ │ ├── defaults-vi_VN.js │ │ │ ├── defaults-vi_VN.min.js │ │ │ ├── defaults-zh_CN.js │ │ │ ├── defaults-zh_CN.min.js │ │ │ ├── defaults-zh_TW.js │ │ │ └── defaults-zh_TW.min.js │ │ ├── bootstrap │ │ ├── css │ │ │ ├── bootstrap-grid.css │ │ │ ├── bootstrap-grid.min.css │ │ │ ├── bootstrap-reboot.css │ │ │ ├── bootstrap-reboot.min.css │ │ │ ├── bootstrap.css │ │ │ └── bootstrap.min.css │ │ └── js │ │ │ ├── bootstrap.bundle.js │ │ │ ├── bootstrap.bundle.min.js │ │ │ ├── bootstrap.js │ │ │ └── bootstrap.min.js │ │ ├── font-awesome │ │ ├── HELP-US-OUT.txt │ │ ├── css │ │ │ ├── font-awesome.css │ │ │ └── font-awesome.min.css │ │ └── fonts │ │ │ ├── FontAwesome.otf │ │ │ ├── fontawesome-webfont.eot │ │ │ ├── fontawesome-webfont.svg │ │ │ ├── fontawesome-webfont.ttf │ │ │ ├── fontawesome-webfont.woff │ │ │ └── fontawesome-webfont.woff2 │ │ ├── jquery.cookie │ │ ├── MIT-LICENSE.txt │ │ ├── component.json │ │ ├── cookie.jquery.json │ │ └── jquery.cookie.js │ │ ├── jquery.counterup │ │ ├── counterup.jquery.json │ │ ├── jquery.counterup.js │ │ └── jquery.counterup.min.js │ │ ├── jquery.scrollto │ │ ├── jquery.scrollTo.js │ │ └── jquery.scrollTo.min.js │ │ ├── jquery │ │ ├── core.js │ │ ├── jquery.js │ │ ├── jquery.min.js │ │ ├── jquery.slim.js │ │ └── jquery.slim.min.js │ │ ├── owl.carousel │ │ ├── assets │ │ │ ├── ajax-loader.gif │ │ │ ├── owl.carousel.css │ │ │ ├── owl.carousel.min.css │ │ │ ├── owl.theme.default.css │ │ │ ├── owl.theme.default.min.css │ │ │ ├── owl.theme.green.css │ │ │ ├── owl.theme.green.min.css │ │ │ └── owl.video.play.png │ │ ├── owl.carousel.js │ │ └── owl.carousel.min.js │ │ ├── owl.carousel2.thumbs │ │ ├── owl.carousel2.thumbs.js │ │ └── owl.carousel2.thumbs.min.js │ │ ├── popper.js │ │ ├── esm │ │ │ ├── popper-utils.js │ │ │ ├── popper-utils.min.js │ │ │ ├── popper.js │ │ │ └── popper.min.js │ │ ├── popper-utils.js │ │ ├── popper-utils.min.js │ │ ├── popper.js │ │ ├── popper.min.js │ │ └── umd │ │ │ ├── popper-utils.js │ │ │ ├── popper-utils.min.js │ │ │ ├── popper.js │ │ │ └── popper.min.js │ │ ├── waypoints │ │ ├── lib │ │ │ ├── jquery.waypoints.js │ │ │ ├── jquery.waypoints.min.js │ │ │ ├── noframework.waypoints.js │ │ │ ├── noframework.waypoints.min.js │ │ │ ├── shortcuts │ │ │ │ ├── infinite.js │ │ │ │ ├── infinite.min.js │ │ │ │ ├── inview.js │ │ │ │ ├── inview.min.js │ │ │ │ ├── sticky.js │ │ │ │ └── sticky.min.js │ │ │ ├── waypoints.debug.js │ │ │ ├── zepto.waypoints.js │ │ │ └── zepto.waypoints.min.js │ │ ├── licenses.txt │ │ └── testem.json │ │ └── wowjs │ │ ├── wow.js │ │ └── wow.min.js ├── templates │ ├── 404.html │ ├── 505.html │ ├── about.html │ ├── base.html │ ├── blog.html │ ├── blog_post.html │ ├── cart_detail.html │ ├── chart.html │ ├── checkout.html │ ├── contact.html │ ├── index.html │ ├── login.html │ ├── mail.html │ ├── portfolio.html │ ├── product_detail.html │ ├── register.html │ ├── rss.html │ ├── shop.html │ └── user_profile.html ├── tests.py ├── urls.py └── views.py ├── phantomsec ├── __init__.py ├── __pycache__ │ ├── __init__.cpython-37.pyc │ ├── settings.cpython-37.pyc │ ├── urls.cpython-37.pyc │ └── wsgi.cpython-37.pyc ├── settings.py ├── urls.py └── wsgi.py ├── requirements.txt └── shop_products ├── 51O-GzoZi5L._SX376_BO1204203200_.jpg ├── 612ybpJEisL._SX348_BO1204203200_.jpg ├── TWAHHB2.jpg ├── TWAHHB2_TYRWkIj.jpg ├── mi-notebook-pro-2-600x600.jpg ├── nano1_1bb4f835-cdc1-424b-9d4f-3a03863fde71_800x.jpg ├── network-implant-bundle_800x.jpg ├── s430.jpg ├── ticwatche.jpg └── xps13.jpg /.gitignore: -------------------------------------------------------------------------------- 1 | .installed.cfg 2 | bin 3 | develop-eggs 4 | dist 5 | downloads 6 | eggs 7 | parts 8 | src/*.egg-info 9 | lib 10 | lib64 11 | __pycache__/ 12 | *.py[cod] 13 | *$py.class -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2018 Michael Phantom 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # My django project 2 | [![Python Version](https://img.shields.io/badge/python-3.6-brightgreen.svg)](https://python.org) 3 | [![PyPI - Django Version](https://img.shields.io/pypi/djversions/djangorestframework.svg)](https://djangoproject.com) 4 | 5 | Web application built by django framework.[Visit my website](https://cotp.pythonanywhere.com/) 6 | 7 | ## 8 | There some techniques have been used in my project 9 | * The Model layer 10 | * The View layer 11 | * The template layer 12 | * Forms 13 | * The Admin 14 | * Session 15 | * Authentication 16 | 17 | ## Running project 18 | Install require packages 19 | 20 | pip install -r requirements.txt 21 | 22 | Clone project to your computer 23 | 24 | git clone https://github.com/t7hm1/My-django-project.git 25 | 26 | Migrate project 27 | 28 | python3 manage.py migrate 29 | 30 | Run your server on your localhost 31 | 32 | python3 manage.py runserver 33 | -------------------------------------------------------------------------------- /_config.yml: -------------------------------------------------------------------------------- 1 | theme: jekyll-theme-hacker -------------------------------------------------------------------------------- /blog_images/275815.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/blog_images/275815.jpg -------------------------------------------------------------------------------- /blog_images/400px-Clickjacking_description.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/blog_images/400px-Clickjacking_description.png -------------------------------------------------------------------------------- /blog_images/XSS_Hackem.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/blog_images/XSS_Hackem.png -------------------------------------------------------------------------------- /blog_images/download.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/blog_images/download.png -------------------------------------------------------------------------------- /blog_images/image.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/blog_images/image.jpeg -------------------------------------------------------------------------------- /blog_images/tor-arch.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/blog_images/tor-arch.jpg -------------------------------------------------------------------------------- /cart/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/cart/__init__.py -------------------------------------------------------------------------------- /cart/apps.py: -------------------------------------------------------------------------------- 1 | from __future__ import unicode_literals 2 | 3 | from django.apps import AppConfig 4 | 5 | 6 | class CartConfig(AppConfig): 7 | name = 'cart' 8 | -------------------------------------------------------------------------------- /cart/cart.py: -------------------------------------------------------------------------------- 1 | import datetime 2 | from cart import models 3 | 4 | CART_ID = 'CART-ID' 5 | 6 | class ItemAlreadyExists(Exception): 7 | pass 8 | 9 | class ItemDoesNotExist(Exception): 10 | pass 11 | 12 | class Cart: 13 | def __init__(self, request): 14 | cart_id = request.session.get(CART_ID) 15 | if cart_id: 16 | try: 17 | cart = models.Cart.objects.get(id=cart_id, checked_out=False) 18 | except models.Cart.DoesNotExist: 19 | cart = self.new(request) 20 | else: 21 | cart = self.new(request) 22 | self.cart = cart 23 | 24 | def __iter__(self): 25 | for item in self.cart.item_set.all(): 26 | yield item 27 | 28 | def new(self, request): 29 | cart = models.Cart(creation_date=datetime.datetime.now()) 30 | cart.save() 31 | request.session[CART_ID] = cart.id 32 | return cart 33 | 34 | def add(self, product, unit_price, quantity=1): 35 | try: 36 | item = models.Item.objects.get( 37 | cart=self.cart, 38 | product=product, 39 | ) 40 | except models.Item.DoesNotExist: 41 | item = models.Item() 42 | item.cart = self.cart 43 | item.product = product 44 | item.unit_price = unit_price 45 | item.quantity = quantity 46 | item.save() 47 | else: #ItemAlreadyExists 48 | pass 49 | 50 | def remove(self, product): 51 | try: 52 | item = models.Item.objects.get( 53 | cart=self.cart, 54 | product=product, 55 | ) 56 | except models.Item.DoesNotExist: 57 | raise ItemDoesNotExist 58 | else: 59 | item.delete() 60 | 61 | def update(self, product, quantity, unit_price=None): 62 | try: 63 | item = models.Item.objects.get( 64 | cart=self.cart, 65 | product=product, 66 | ) 67 | except models.Item.DoesNotExist: 68 | raise ItemDoesNotExist 69 | else: #ItemAlreadyExists 70 | if quantity == 0: 71 | item.delete() 72 | else: 73 | item.unit_price = unit_price 74 | item.quantity = int(quantity) 75 | item.save() 76 | 77 | def count(self): 78 | result = 0 79 | for item in self.cart.item_set.all(): 80 | result += 1 * item.quantity 81 | return result 82 | 83 | def summary(self): 84 | result = 0 85 | for item in self.cart.item_set.all(): 86 | result += item.total_price 87 | return result 88 | 89 | def clear(self): 90 | for item in self.cart.item_set.all(): 91 | item.delete() 92 | 93 | -------------------------------------------------------------------------------- /cart/context_processors.py: -------------------------------------------------------------------------------- 1 | from cart.cart import Cart 2 | 3 | def cart(request): 4 | return {'cart' : Cart(request)} -------------------------------------------------------------------------------- /cart/migrations/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/cart/migrations/__init__.py -------------------------------------------------------------------------------- /cart/models.py: -------------------------------------------------------------------------------- 1 | from django.db import models 2 | from django.utils.translation import ugettext_lazy as _ 3 | from django.contrib.contenttypes.models import ContentType 4 | 5 | 6 | class Cart(models.Model): 7 | creation_date = models.DateTimeField(verbose_name=_('creation date')) 8 | checked_out = models.BooleanField(default=False, verbose_name=_('checked out')) 9 | 10 | class Meta: 11 | verbose_name = _('cart') 12 | verbose_name_plural = _('carts') 13 | ordering = ('-creation_date',) 14 | 15 | def __unicode__(self): 16 | return unicode(self.creation_date) 17 | 18 | class ItemManager(models.Manager): 19 | def get(self, *args, **kwargs): 20 | if 'product' in kwargs: 21 | kwargs['content_type'] = ContentType.objects.get_for_model(type(kwargs['product'])) 22 | kwargs['object_id'] = kwargs['product'].pk 23 | del(kwargs['product']) 24 | return super(ItemManager, self).get(*args, **kwargs) 25 | 26 | class Item(models.Model): 27 | cart = models.ForeignKey(Cart, verbose_name=_('cart'),on_delete=models.PROTECT) 28 | quantity = models.PositiveIntegerField(verbose_name=_('quantity')) 29 | unit_price = models.DecimalField(max_digits=18, decimal_places=2, verbose_name=_('unit price')) 30 | # product as generic relation 31 | content_type = models.ForeignKey(ContentType,on_delete=models.PROTECT) 32 | object_id = models.PositiveIntegerField() 33 | 34 | objects = ItemManager() 35 | 36 | class Meta: 37 | verbose_name = _('item') 38 | verbose_name_plural = _('items') 39 | ordering = ('cart',) 40 | 41 | def __unicode__(self): 42 | return u'%d units of %s' % (self.quantity, self.product.__class__.__name__) 43 | 44 | def total_price(self): 45 | return self.quantity * self.unit_price 46 | total_price = property(total_price) 47 | 48 | # product 49 | def get_product(self): 50 | return self.content_type.get_object_for_this_type(pk=self.object_id) 51 | 52 | def set_product(self, product): 53 | self.content_type = ContentType.objects.get_for_model(type(product)) 54 | self.object_id = product.pk 55 | 56 | product = property(get_product, set_product) 57 | 58 | -------------------------------------------------------------------------------- /cart/views.py: -------------------------------------------------------------------------------- 1 | # Create your views here. 2 | -------------------------------------------------------------------------------- /db.sqlite3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/db.sqlite3 -------------------------------------------------------------------------------- /manage.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | import os 3 | import sys 4 | 5 | if __name__ == '__main__': 6 | os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'phantomsec.settings') 7 | try: 8 | from django.core.management import execute_from_command_line 9 | except ImportError as exc: 10 | raise ImportError( 11 | "Couldn't import Django. Are you sure it's installed and " 12 | "available on your PYTHONPATH environment variable? Did you " 13 | "forget to activate a virtual environment?" 14 | ) from exc 15 | execute_from_command_line(sys.argv) 16 | -------------------------------------------------------------------------------- /phantomapp/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/__init__.py -------------------------------------------------------------------------------- /phantomapp/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /phantomapp/__pycache__/admin.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/__pycache__/admin.cpython-37.pyc -------------------------------------------------------------------------------- /phantomapp/__pycache__/context_processors.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/__pycache__/context_processors.cpython-37.pyc -------------------------------------------------------------------------------- /phantomapp/__pycache__/forms.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/__pycache__/forms.cpython-37.pyc -------------------------------------------------------------------------------- /phantomapp/__pycache__/models.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/__pycache__/models.cpython-37.pyc -------------------------------------------------------------------------------- /phantomapp/__pycache__/urls.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/__pycache__/urls.cpython-37.pyc -------------------------------------------------------------------------------- /phantomapp/__pycache__/views.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/__pycache__/views.cpython-37.pyc -------------------------------------------------------------------------------- /phantomapp/admin.py: -------------------------------------------------------------------------------- 1 | from phantomapp.models import * 2 | from django.contrib import admin 3 | 4 | admin.site.register(Contact) 5 | admin.site.register(UserProfile) 6 | admin.site.register(BlogLabel) 7 | admin.site.register(BlogContent) 8 | admin.site.register(ShopCategory) 9 | admin.site.register(ShopProduct) 10 | 11 | class OrderProductInLine(admin.TabularInline): 12 | model = OrderProduct 13 | raw_id_fields = ['product'] 14 | 15 | class OrderAdmin(admin.ModelAdmin): 16 | list_display = ['id','username','email','first_name','last_name','country','state','address','telephone'] 17 | list_filter = ['paid','created','updated'] 18 | inlines = [OrderProductInLine] 19 | 20 | admin.site.register(Order,OrderAdmin) -------------------------------------------------------------------------------- /phantomapp/apps.py: -------------------------------------------------------------------------------- 1 | from django.apps import AppConfig 2 | 3 | 4 | class PhantomappConfig(AppConfig): 5 | name = 'phantomapp' 6 | -------------------------------------------------------------------------------- /phantomapp/context_processors.py: -------------------------------------------------------------------------------- 1 | import random 2 | from phantomapp.models import * 3 | 4 | def RandomBlog(request): 5 | list = [] 6 | blogs = BlogContent.objects.all() 7 | ids = random.sample(range(1,len(blogs)+1),3) 8 | for id in ids: 9 | list.append(BlogContent.objects.get(pk=id)) 10 | 11 | return {'random_blogs' : list} 12 | 13 | 14 | def RandomProduct(request): 15 | list = [] 16 | products = ShopProduct.objects.all() 17 | ids = random.sample(range(1,len(products)+1),3) 18 | for id in ids: 19 | list.append(ShopProduct.objects.get(pk=id)) 20 | 21 | return {'random_products' : list} 22 | 23 | 24 | def UserInfo(request): 25 | if request.user.is_authenticated: 26 | if request.user.username == "admin": 27 | user_profile = {} 28 | else: 29 | user_profile = UserProfile.objects.get(username=request.user.username) 30 | else: 31 | user_profile = {} 32 | 33 | return {'user_profile' : user_profile} 34 | 35 | def ProductCategory(request): 36 | books = ShopProduct.objects.filter(category=1) 37 | laptops = ShopProduct.objects.filter(category=2) 38 | smartwatch = ShopProduct.objects.filter(category=3) 39 | network_devices = ShopProduct.objects.filter(category=4) 40 | 41 | return { 42 | 'books' : books, 43 | 'laptops' : laptops, 44 | 'smartwatch' : smartwatch, 45 | 'network_devices' : network_devices, 46 | } -------------------------------------------------------------------------------- /phantomapp/forms.py: -------------------------------------------------------------------------------- 1 | from django import forms 2 | from django.db import models 3 | from phantomapp.models import * 4 | from django.contrib.auth.models import User 5 | from django.contrib.auth.forms import UserCreationForm 6 | from django.core.files.images import get_image_dimensions 7 | 8 | class ContactForm(forms.ModelForm): 9 | class Meta: 10 | model = Contact 11 | fields = ('first_name','last_name','email','subject','message',) 12 | 13 | class CartForm(forms.Form): 14 | quantity_choice = [(i,str(i)) for i in range(1,11)] 15 | unit_price = forms.IntegerField() 16 | quantity = forms.TypedChoiceField(choices=quantity_choice,coerce=int) 17 | 18 | class CheckOutForm(forms.ModelForm): 19 | class Meta: 20 | model = Order 21 | fields = ('username','email','first_name','last_name','company','country','state','address','telephone',) 22 | 23 | class UserProfileForm(forms.ModelForm): 24 | first_name = forms.CharField(max_length=255) 25 | last_name = forms.CharField(max_length=255) 26 | 27 | class Meta: 28 | model = UserProfile 29 | fields = ('company','country','state','address','telephone',) 30 | 31 | class LoginForm(forms.ModelForm): 32 | username = forms.CharField(widget=forms.TextInput(attrs={'class':'special', 'size': '35'}),label='username') 33 | password1 = forms.CharField(widget = forms.PasswordInput(attrs={'class':'special', 'size': '35'}), min_length=8, max_length=100,label='password') 34 | 35 | class Meta: 36 | model = User 37 | fields = ('username','password1') 38 | 39 | class RegisterForm(UserCreationForm): 40 | def clean_email(self): 41 | data = self.cleaned_data['email'] 42 | duplicate_users = User.objects.filter(email=data) 43 | if self.instance.pk is not None: 44 | duplicate_users = duplicate_users.exclude(pk=self.instance.pk) 45 | if duplicate_users.exists(): 46 | raise forms.ValidationError("E-mail is already registered!") 47 | return data 48 | 49 | class Meta: 50 | model = User 51 | fields = ('username', 'first_name', 'last_name', 'email', 'password1', 'password2', ) -------------------------------------------------------------------------------- /phantomapp/migrations/0001_initial.py: -------------------------------------------------------------------------------- 1 | # Generated by Django 2.1 on 2018-09-03 15:35 2 | 3 | from django.db import migrations, models 4 | 5 | 6 | class Migration(migrations.Migration): 7 | 8 | initial = True 9 | 10 | dependencies = [ 11 | ] 12 | 13 | operations = [ 14 | migrations.CreateModel( 15 | name='Contact', 16 | fields=[ 17 | ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), 18 | ('first_name', models.CharField(max_length=255)), 19 | ('last_name', models.CharField(max_length=255)), 20 | ('email', models.EmailField(max_length=254)), 21 | ('subject', models.CharField(max_length=255)), 22 | ('message', models.TextField()), 23 | ], 24 | options={ 25 | 'db_table': 'Contact', 26 | }, 27 | ), 28 | ] 29 | -------------------------------------------------------------------------------- /phantomapp/migrations/0002_userprofile.py: -------------------------------------------------------------------------------- 1 | # Generated by Django 2.1 on 2018-09-04 01:50 2 | 3 | from django.db import migrations, models 4 | 5 | 6 | class Migration(migrations.Migration): 7 | 8 | dependencies = [ 9 | ('phantomapp', '0001_initial'), 10 | ] 11 | 12 | operations = [ 13 | migrations.CreateModel( 14 | name='UserProfile', 15 | fields=[ 16 | ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), 17 | ('username', models.CharField(max_length=255, unique=True)), 18 | ('company', models.CharField(blank=True, max_length=255)), 19 | ('country', models.CharField(blank=True, max_length=255)), 20 | ('address', models.CharField(blank=True, max_length=255)), 21 | ('mobile_phone', models.CharField(blank=True, max_length=255)), 22 | ('telephone', models.CharField(blank=True, max_length=255)), 23 | ], 24 | ), 25 | ] 26 | -------------------------------------------------------------------------------- /phantomapp/migrations/0003_auto_20180904_1429.py: -------------------------------------------------------------------------------- 1 | # Generated by Django 2.1 on 2018-09-04 07:29 2 | 3 | from django.db import migrations 4 | 5 | 6 | class Migration(migrations.Migration): 7 | 8 | dependencies = [ 9 | ('phantomapp', '0002_userprofile'), 10 | ] 11 | 12 | operations = [ 13 | migrations.RenameField( 14 | model_name='userprofile', 15 | old_name='mobile_phone', 16 | new_name='state', 17 | ), 18 | ] 19 | -------------------------------------------------------------------------------- /phantomapp/migrations/0004_auto_20180904_1734.py: -------------------------------------------------------------------------------- 1 | # Generated by Django 2.1 on 2018-09-04 10:34 2 | 3 | from django.db import migrations, models 4 | import django.db.models.deletion 5 | 6 | 7 | class Migration(migrations.Migration): 8 | 9 | dependencies = [ 10 | ('phantomapp', '0003_auto_20180904_1429'), 11 | ] 12 | 13 | operations = [ 14 | migrations.CreateModel( 15 | name='BlogContent', 16 | fields=[ 17 | ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), 18 | ('title', models.CharField(max_length=255, unique=True)), 19 | ('author', models.CharField(max_length=255)), 20 | ('content', models.TextField()), 21 | ('datetime', models.DateTimeField(auto_now_add=True)), 22 | ('image', models.ImageField(upload_to='blog_images/')), 23 | ], 24 | ), 25 | migrations.CreateModel( 26 | name='BlogLabel', 27 | fields=[ 28 | ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), 29 | ('name', models.CharField(max_length=255, unique=True)), 30 | ], 31 | ), 32 | migrations.AddField( 33 | model_name='blogcontent', 34 | name='label', 35 | field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='phantomapp.BlogLabel'), 36 | ), 37 | ] 38 | -------------------------------------------------------------------------------- /phantomapp/migrations/0005_blogcontent_intro.py: -------------------------------------------------------------------------------- 1 | # Generated by Django 2.1 on 2018-09-04 10:46 2 | 3 | from django.db import migrations, models 4 | import django.utils.timezone 5 | 6 | 7 | class Migration(migrations.Migration): 8 | 9 | dependencies = [ 10 | ('phantomapp', '0004_auto_20180904_1734'), 11 | ] 12 | 13 | operations = [ 14 | migrations.AddField( 15 | model_name='blogcontent', 16 | name='intro', 17 | field=models.CharField(default=django.utils.timezone.now, max_length=999), 18 | preserve_default=False, 19 | ), 20 | ] 21 | -------------------------------------------------------------------------------- /phantomapp/migrations/0006_auto_20180904_1747.py: -------------------------------------------------------------------------------- 1 | # Generated by Django 2.1 on 2018-09-04 10:47 2 | 3 | from django.db import migrations, models 4 | 5 | 6 | class Migration(migrations.Migration): 7 | 8 | dependencies = [ 9 | ('phantomapp', '0005_blogcontent_intro'), 10 | ] 11 | 12 | operations = [ 13 | migrations.AlterField( 14 | model_name='blogcontent', 15 | name='intro', 16 | field=models.TextField(), 17 | ), 18 | ] 19 | -------------------------------------------------------------------------------- /phantomapp/migrations/0007_shopcategory_shopproduct.py: -------------------------------------------------------------------------------- 1 | # Generated by Django 2.1 on 2018-09-04 13:52 2 | 3 | from django.db import migrations, models 4 | import django.db.models.deletion 5 | 6 | 7 | class Migration(migrations.Migration): 8 | 9 | dependencies = [ 10 | ('phantomapp', '0006_auto_20180904_1747'), 11 | ] 12 | 13 | operations = [ 14 | migrations.CreateModel( 15 | name='ShopCategory', 16 | fields=[ 17 | ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), 18 | ('name', models.CharField(max_length=255, unique=True)), 19 | ], 20 | ), 21 | migrations.CreateModel( 22 | name='ShopProduct', 23 | fields=[ 24 | ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), 25 | ('name', models.CharField(max_length=255, unique=True)), 26 | ('price', models.IntegerField()), 27 | ('description', models.CharField(max_length=255)), 28 | ('image', models.ImageField(upload_to='shop_products/')), 29 | ('category', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='phantomapp.ShopCategory')), 30 | ], 31 | ), 32 | ] 33 | -------------------------------------------------------------------------------- /phantomapp/migrations/0008_auto_20180904_2102.py: -------------------------------------------------------------------------------- 1 | # Generated by Django 2.1 on 2018-09-04 14:02 2 | 3 | from django.db import migrations, models 4 | 5 | 6 | class Migration(migrations.Migration): 7 | 8 | dependencies = [ 9 | ('phantomapp', '0007_shopcategory_shopproduct'), 10 | ] 11 | 12 | operations = [ 13 | migrations.AlterField( 14 | model_name='shopproduct', 15 | name='description', 16 | field=models.TextField(), 17 | ), 18 | ] 19 | -------------------------------------------------------------------------------- /phantomapp/migrations/0009_order_orderproduct.py: -------------------------------------------------------------------------------- 1 | # Generated by Django 2.1 on 2018-09-06 02:03 2 | 3 | from django.db import migrations, models 4 | import django.db.models.deletion 5 | 6 | 7 | class Migration(migrations.Migration): 8 | 9 | dependencies = [ 10 | ('phantomapp', '0008_auto_20180904_2102'), 11 | ] 12 | 13 | operations = [ 14 | migrations.CreateModel( 15 | name='Order', 16 | fields=[ 17 | ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), 18 | ('username', models.CharField(blank=True, max_length=255)), 19 | ('email', models.CharField(max_length=255)), 20 | ('first_name', models.CharField(max_length=255)), 21 | ('last_name', models.CharField(max_length=255)), 22 | ('company', models.CharField(max_length=255)), 23 | ('country', models.CharField(max_length=255)), 24 | ('state', models.CharField(max_length=255)), 25 | ('address', models.CharField(max_length=255)), 26 | ('telephone', models.CharField(max_length=255)), 27 | ('created', models.DateTimeField(auto_now=True)), 28 | ('updated', models.DateTimeField(auto_now=True)), 29 | ('paid', models.BooleanField(default=False)), 30 | ], 31 | options={ 32 | 'ordering': ('-created',), 33 | }, 34 | ), 35 | migrations.CreateModel( 36 | name='OrderProduct', 37 | fields=[ 38 | ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), 39 | ('price', models.IntegerField()), 40 | ('product', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, related_name='products', to='phantomapp.ShopProduct')), 41 | ('purchase', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, related_name='products', to='phantomapp.Order')), 42 | ], 43 | ), 44 | ] 45 | -------------------------------------------------------------------------------- /phantomapp/migrations/0010_shopproduct_ordered_times.py: -------------------------------------------------------------------------------- 1 | # Generated by Django 2.1.1 on 2018-09-07 14:30 2 | 3 | from django.db import migrations, models 4 | import django.utils.timezone 5 | 6 | 7 | class Migration(migrations.Migration): 8 | 9 | dependencies = [ 10 | ('phantomapp', '0009_order_orderproduct'), 11 | ] 12 | 13 | operations = [ 14 | migrations.AddField( 15 | model_name='shopproduct', 16 | name='ordered_times', 17 | field=models.CharField(default=django.utils.timezone.now, max_length=255), 18 | preserve_default=False, 19 | ), 20 | ] 21 | -------------------------------------------------------------------------------- /phantomapp/migrations/0011_auto_20180907_2134.py: -------------------------------------------------------------------------------- 1 | # Generated by Django 2.1.1 on 2018-09-07 14:34 2 | 3 | from django.db import migrations, models 4 | 5 | 6 | class Migration(migrations.Migration): 7 | 8 | dependencies = [ 9 | ('phantomapp', '0010_shopproduct_ordered_times'), 10 | ] 11 | 12 | operations = [ 13 | migrations.AlterField( 14 | model_name='shopproduct', 15 | name='ordered_times', 16 | field=models.IntegerField(), 17 | ), 18 | ] 19 | -------------------------------------------------------------------------------- /phantomapp/migrations/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/migrations/__init__.py -------------------------------------------------------------------------------- /phantomapp/migrations/__pycache__/0001_initial.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/migrations/__pycache__/0001_initial.cpython-37.pyc -------------------------------------------------------------------------------- /phantomapp/migrations/__pycache__/0002_userprofile.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/migrations/__pycache__/0002_userprofile.cpython-37.pyc -------------------------------------------------------------------------------- /phantomapp/migrations/__pycache__/0003_auto_20180904_1429.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/migrations/__pycache__/0003_auto_20180904_1429.cpython-37.pyc -------------------------------------------------------------------------------- /phantomapp/migrations/__pycache__/0004_auto_20180904_1734.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/migrations/__pycache__/0004_auto_20180904_1734.cpython-37.pyc -------------------------------------------------------------------------------- /phantomapp/migrations/__pycache__/0005_blogcontent_intro.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/migrations/__pycache__/0005_blogcontent_intro.cpython-37.pyc -------------------------------------------------------------------------------- /phantomapp/migrations/__pycache__/0006_auto_20180904_1747.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/migrations/__pycache__/0006_auto_20180904_1747.cpython-37.pyc -------------------------------------------------------------------------------- /phantomapp/migrations/__pycache__/0007_shopcategory_shopproduct.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/migrations/__pycache__/0007_shopcategory_shopproduct.cpython-37.pyc -------------------------------------------------------------------------------- /phantomapp/migrations/__pycache__/0008_auto_20180904_2102.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/migrations/__pycache__/0008_auto_20180904_2102.cpython-37.pyc -------------------------------------------------------------------------------- /phantomapp/migrations/__pycache__/0009_order_orderproduct.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/migrations/__pycache__/0009_order_orderproduct.cpython-37.pyc -------------------------------------------------------------------------------- /phantomapp/migrations/__pycache__/0010_shopproduct_ordered_times.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/migrations/__pycache__/0010_shopproduct_ordered_times.cpython-37.pyc -------------------------------------------------------------------------------- /phantomapp/migrations/__pycache__/0011_auto_20180907_2134.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/migrations/__pycache__/0011_auto_20180907_2134.cpython-37.pyc -------------------------------------------------------------------------------- /phantomapp/migrations/__pycache__/0011_remove_shopproduct_ordered_times.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/migrations/__pycache__/0011_remove_shopproduct_ordered_times.cpython-37.pyc -------------------------------------------------------------------------------- /phantomapp/migrations/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/migrations/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /phantomapp/models.py: -------------------------------------------------------------------------------- 1 | from django.db import models 2 | from django.contrib.auth.models import User 3 | 4 | class BlogLabel(models.Model): 5 | name = models.CharField(max_length=255,unique=True) 6 | 7 | def __str__(self): 8 | return self.name 9 | 10 | class BlogContent(models.Model): 11 | label = models.ForeignKey(BlogLabel,on_delete=models.PROTECT) 12 | title = models.CharField(max_length=255,unique=True) 13 | intro = models.TextField() 14 | author = models.CharField(max_length=255) 15 | content = models.TextField() 16 | datetime = models.DateTimeField(auto_now_add=True,blank=True) 17 | image = models.ImageField(upload_to="blog_images/") 18 | 19 | def __str__(self): 20 | return self.title 21 | 22 | class ShopCategory(models.Model): 23 | name = models.CharField(max_length=255,unique=True) 24 | 25 | def __str__(self): 26 | return self.name 27 | 28 | class ShopProduct(models.Model): 29 | category = models.ForeignKey(ShopCategory,on_delete=models.PROTECT) 30 | name = models.CharField(max_length=255,unique=True) 31 | price = models.IntegerField() 32 | description = models.TextField() 33 | ordered_times = models.IntegerField() 34 | image = models.ImageField(upload_to="shop_products/") 35 | 36 | def __str__(self): 37 | return self.name 38 | 39 | class Contact(models.Model): 40 | first_name = models.CharField(max_length=255) 41 | last_name = models.CharField(max_length=255) 42 | email = models.EmailField() 43 | subject = models.CharField(max_length=255) 44 | message = models.TextField() 45 | 46 | def __str__(self): 47 | return self.first_name + ' ' + self.last_name 48 | 49 | class Meta: 50 | db_table = u'Contact' 51 | 52 | class UserProfile(models.Model): 53 | username = models.CharField(max_length=255,unique=True) 54 | company = models.CharField(max_length=255,blank=True) 55 | country = models.CharField(max_length=255,blank=True) 56 | state = models.CharField(max_length=255,blank=True) 57 | address = models.CharField(max_length=255,blank=True) 58 | telephone = models.CharField(max_length=255,blank=True) 59 | 60 | def __str__(self): 61 | return self.username 62 | 63 | class Order(models.Model): 64 | username = models.CharField(max_length=255,blank=True) 65 | email = models.CharField(max_length=255) 66 | first_name = models.CharField(max_length=255) 67 | last_name = models.CharField(max_length=255) 68 | company = models.CharField(max_length=255) 69 | country = models.CharField(max_length=255) 70 | state = models.CharField(max_length=255) 71 | address = models.CharField(max_length=255) 72 | telephone = models.CharField(max_length=255) 73 | created = models.DateTimeField(auto_now=True) 74 | updated = models.DateTimeField(auto_now=True) 75 | paid = models.BooleanField(default=False) 76 | 77 | class Meta: 78 | ordering = ('-created',) 79 | 80 | def __str__(self): 81 | return 'Order{}'.format(self.id) 82 | 83 | def get_total_cost(self): 84 | return sum(product.get_cost() for product in self.products.all()) 85 | 86 | class OrderProduct(models.Model): 87 | purchase = models.ForeignKey(Order,related_name="products",on_delete=models.PROTECT) 88 | product = models.ForeignKey(ShopProduct,related_name="products",on_delete=models.PROTECT) 89 | price = models.IntegerField() 90 | 91 | def __str__(self): 92 | return '{}'.format(self.id) 93 | 94 | def get_cost(self): 95 | return self.price -------------------------------------------------------------------------------- /phantomapp/static/css/custom.css: -------------------------------------------------------------------------------- 1 | /* your styles go here */ -------------------------------------------------------------------------------- /phantomapp/static/img/ai.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/img/ai.jpg -------------------------------------------------------------------------------- /phantomapp/static/img/apple-touch-icon-114x114.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/img/apple-touch-icon-114x114.png -------------------------------------------------------------------------------- /phantomapp/static/img/apple-touch-icon-120x120.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/img/apple-touch-icon-120x120.png -------------------------------------------------------------------------------- /phantomapp/static/img/apple-touch-icon-144x144.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/img/apple-touch-icon-144x144.png -------------------------------------------------------------------------------- /phantomapp/static/img/apple-touch-icon-152x152.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/img/apple-touch-icon-152x152.png -------------------------------------------------------------------------------- /phantomapp/static/img/apple-touch-icon-57x57.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/img/apple-touch-icon-57x57.png -------------------------------------------------------------------------------- /phantomapp/static/img/apple-touch-icon-72x72.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/img/apple-touch-icon-72x72.png -------------------------------------------------------------------------------- /phantomapp/static/img/apple-touch-icon-76x76.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/img/apple-touch-icon-76x76.png -------------------------------------------------------------------------------- /phantomapp/static/img/apple-touch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/img/apple-touch-icon.png -------------------------------------------------------------------------------- /phantomapp/static/img/banner.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/img/banner.jpg -------------------------------------------------------------------------------- /phantomapp/static/img/banner2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/img/banner2.jpg -------------------------------------------------------------------------------- /phantomapp/static/img/basketsquare.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/img/basketsquare.jpg -------------------------------------------------------------------------------- /phantomapp/static/img/blog-avatar.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/img/blog-avatar.jpg -------------------------------------------------------------------------------- /phantomapp/static/img/blog-avatar2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/img/blog-avatar2.jpg -------------------------------------------------------------------------------- /phantomapp/static/img/blog-medium.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/img/blog-medium.jpg -------------------------------------------------------------------------------- /phantomapp/static/img/blog-recent-3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/img/blog-recent-3.jpg -------------------------------------------------------------------------------- /phantomapp/static/img/blog-recent.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/img/blog-recent.jpg -------------------------------------------------------------------------------- /phantomapp/static/img/blog.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/img/blog.jpg -------------------------------------------------------------------------------- /phantomapp/static/img/blog2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/img/blog2.jpg -------------------------------------------------------------------------------- /phantomapp/static/img/boxed-pattern.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/img/boxed-pattern.png -------------------------------------------------------------------------------- /phantomapp/static/img/customer-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/img/customer-1.png -------------------------------------------------------------------------------- /phantomapp/static/img/customer-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/img/customer-2.png -------------------------------------------------------------------------------- /phantomapp/static/img/customer-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/img/customer-3.png -------------------------------------------------------------------------------- /phantomapp/static/img/customer-4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/img/customer-4.png -------------------------------------------------------------------------------- /phantomapp/static/img/customer-5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/img/customer-5.png -------------------------------------------------------------------------------- /phantomapp/static/img/customer-6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/img/customer-6.png -------------------------------------------------------------------------------- /phantomapp/static/img/cybersec.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/img/cybersec.jpg -------------------------------------------------------------------------------- /phantomapp/static/img/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/img/favicon.ico -------------------------------------------------------------------------------- /phantomapp/static/img/fixed-background-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/img/fixed-background-1.jpg -------------------------------------------------------------------------------- /phantomapp/static/img/fixed-background-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/img/fixed-background-2.jpg -------------------------------------------------------------------------------- /phantomapp/static/img/grayscale.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /phantomapp/static/img/home-try.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/img/home-try.jpg -------------------------------------------------------------------------------- /phantomapp/static/img/home.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/img/home.jpg -------------------------------------------------------------------------------- /phantomapp/static/img/homepage-slider.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/img/homepage-slider.jpg -------------------------------------------------------------------------------- /phantomapp/static/img/images.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/img/images.jpg -------------------------------------------------------------------------------- /phantomapp/static/img/logo-small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/img/logo-small.png -------------------------------------------------------------------------------- /phantomapp/static/img/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/img/logo.png -------------------------------------------------------------------------------- /phantomapp/static/img/main-slider1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/img/main-slider1.jpg -------------------------------------------------------------------------------- /phantomapp/static/img/main-slider2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/img/main-slider2.jpg -------------------------------------------------------------------------------- /phantomapp/static/img/main-slider3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/img/main-slider3.jpg -------------------------------------------------------------------------------- /phantomapp/static/img/main-slider4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/img/main-slider4.jpg -------------------------------------------------------------------------------- /phantomapp/static/img/marker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/img/marker.png -------------------------------------------------------------------------------- /phantomapp/static/img/men.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/img/men.jpg -------------------------------------------------------------------------------- /phantomapp/static/img/page-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/img/page-1.jpg -------------------------------------------------------------------------------- /phantomapp/static/img/page-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/img/page-2.jpg -------------------------------------------------------------------------------- /phantomapp/static/img/page-3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/img/page-3.jpg -------------------------------------------------------------------------------- /phantomapp/static/img/payment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/img/payment.png -------------------------------------------------------------------------------- /phantomapp/static/img/person-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/img/person-1.jpg -------------------------------------------------------------------------------- /phantomapp/static/img/person-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/img/person-2.jpg -------------------------------------------------------------------------------- /phantomapp/static/img/person-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/img/person-3.png -------------------------------------------------------------------------------- /phantomapp/static/img/person-4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/img/person-4.jpg -------------------------------------------------------------------------------- /phantomapp/static/img/photogrid.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/img/photogrid.jpg -------------------------------------------------------------------------------- /phantomapp/static/img/portfolio-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/img/portfolio-1.jpg -------------------------------------------------------------------------------- /phantomapp/static/img/portfolio-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/img/portfolio-2.jpg -------------------------------------------------------------------------------- /phantomapp/static/img/portfolio-3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/img/portfolio-3.jpg -------------------------------------------------------------------------------- /phantomapp/static/img/portfolio-4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/img/portfolio-4.jpg -------------------------------------------------------------------------------- /phantomapp/static/img/portfolio-5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/img/portfolio-5.jpg -------------------------------------------------------------------------------- /phantomapp/static/img/portfolio-6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/img/portfolio-6.jpg -------------------------------------------------------------------------------- /phantomapp/static/img/portfolio-7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/img/portfolio-7.jpg -------------------------------------------------------------------------------- /phantomapp/static/img/portfolio-8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/img/portfolio-8.jpg -------------------------------------------------------------------------------- /phantomapp/static/img/programmer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/img/programmer.png -------------------------------------------------------------------------------- /phantomapp/static/img/programming.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/img/programming.jpg -------------------------------------------------------------------------------- /phantomapp/static/img/slide1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/img/slide1.jpg -------------------------------------------------------------------------------- /phantomapp/static/img/template-easy-code.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/img/template-easy-code.png -------------------------------------------------------------------------------- /phantomapp/static/img/template-easy-customize-less.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/img/template-easy-customize-less.png -------------------------------------------------------------------------------- /phantomapp/static/img/template-easy-customize.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/img/template-easy-customize.png -------------------------------------------------------------------------------- /phantomapp/static/img/template-homepage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/img/template-homepage.png -------------------------------------------------------------------------------- /phantomapp/static/img/template-mac.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/img/template-mac.png -------------------------------------------------------------------------------- /phantomapp/static/img/template-tablets-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/img/template-tablets-2.png -------------------------------------------------------------------------------- /phantomapp/static/img/template-tablets.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/img/template-tablets.png -------------------------------------------------------------------------------- /phantomapp/static/img/texture-bw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/img/texture-bw.png -------------------------------------------------------------------------------- /phantomapp/static/img/texture-turquoise.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/img/texture-turquoise.png -------------------------------------------------------------------------------- /phantomapp/static/img/texture-violet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/img/texture-violet.png -------------------------------------------------------------------------------- /phantomapp/static/img/women.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/img/women.jpg -------------------------------------------------------------------------------- /phantomapp/static/js/gmaps.init.js: -------------------------------------------------------------------------------- 1 | $(function () { 2 | 3 | map(); 4 | 5 | }); 6 | 7 | /* map */ 8 | 9 | function map() { 10 | 11 | var styles = [{"featureType": "landscape", "stylers": [{"saturation": -100}, {"lightness": 65}, {"visibility": "on"}]}, {"featureType": "poi", "stylers": [{"saturation": -100}, {"lightness": 51}, {"visibility": "simplified"}]}, {"featureType": "road.highway", "stylers": [{"saturation": -100}, {"visibility": "simplified"}]}, {"featureType": "road.arterial", "stylers": [{"saturation": -100}, {"lightness": 30}, {"visibility": "on"}]}, {"featureType": "road.local", "stylers": [{"saturation": -100}, {"lightness": 40}, {"visibility": "on"}]}, {"featureType": "transit", "stylers": [{"saturation": -100}, {"visibility": "simplified"}]}, {"featureType": "administrative.province", "stylers": [{"visibility": "off"}]}, {"featureType": "water", "elementType": "labels", "stylers": [{"visibility": "on"}, {"lightness": -25}, {"saturation": -100}]}, {"featureType": "water", "elementType": "geometry", "stylers": [{"hue": "#ffff00"}, {"lightness": -25}, {"saturation": -97}]}]; 12 | map = new GMaps({ 13 | el: '#map', 14 | lat: -12.043333, 15 | lng: -77.028333, 16 | zoomControl: true, 17 | zoomControlOpt: { 18 | style: 'SMALL', 19 | position: 'TOP_LEFT' 20 | }, 21 | panControl: false, 22 | streetViewControl: false, 23 | mapTypeControl: false, 24 | overviewMapControl: false, 25 | scrollwheel: false, 26 | draggable: false, 27 | styles: styles 28 | }); 29 | 30 | var image = 'img/marker.png'; 31 | 32 | map.addMarker({ 33 | lat: -12.043333, 34 | lng: -77.028333, 35 | icon: image/* , 36 | title: '', 37 | infoWindow: { 38 | content: '

HTML Content

' 39 | }*/ 40 | }); 41 | } -------------------------------------------------------------------------------- /phantomapp/static/js/jquery.parallax-1.1.3.js: -------------------------------------------------------------------------------- 1 | /* 2 | Plugin: jQuery Parallax 3 | Version 1.1.3 4 | Author: Ian Lunn 5 | Twitter: @IanLunn 6 | Author URL: http://www.ianlunn.co.uk/ 7 | Plugin URL: http://www.ianlunn.co.uk/plugins/jquery-parallax/ 8 | 9 | Dual licensed under the MIT and GPL licenses: 10 | http://www.opensource.org/licenses/mit-license.php 11 | http://www.gnu.org/licenses/gpl.html 12 | */ 13 | 14 | (function( $ ){ 15 | var $window = $(window); 16 | var windowHeight = $window.height(); 17 | 18 | $window.resize(function () { 19 | windowHeight = $window.height(); 20 | }); 21 | 22 | $.fn.parallax = function(xpos, speedFactor, outerHeight) { 23 | var $this = $(this); 24 | var getHeight; 25 | var firstTop; 26 | var paddingTop = 0; 27 | 28 | //get the starting position of each element to have parallax applied to it 29 | $this.each(function(){ 30 | firstTop = $this.offset().top; 31 | }); 32 | 33 | if (outerHeight) { 34 | getHeight = function(jqo) { 35 | return jqo.outerHeight(true); 36 | }; 37 | } else { 38 | getHeight = function(jqo) { 39 | return jqo.height(); 40 | }; 41 | } 42 | 43 | // setup defaults if arguments aren't specified 44 | if (arguments.length < 1 || xpos === null) xpos = "50%"; 45 | if (arguments.length < 2 || speedFactor === null) speedFactor = 0.1; 46 | if (arguments.length < 3 || outerHeight === null) outerHeight = true; 47 | 48 | // function to be called whenever the window is scrolled or resized 49 | function update(){ 50 | var pos = $window.scrollTop(); 51 | 52 | $this.each(function(){ 53 | var $element = $(this); 54 | var top = $element.offset().top; 55 | var height = getHeight($element); 56 | 57 | // Check if totally above or totally below viewport 58 | if (top + height < pos || top > pos + windowHeight) { 59 | return; 60 | } 61 | 62 | $this.css('backgroundPosition', xpos + " " + Math.round((firstTop - pos) * speedFactor) + "px"); 63 | }); 64 | } 65 | 66 | $window.bind('scroll', update).resize(update); 67 | update(); 68 | }; 69 | })(jQuery); 70 | -------------------------------------------------------------------------------- /phantomapp/static/vendor/bootstrap-select/js/i18n/defaults-ar_AR.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap-select v1.12.4 (http://silviomoreto.github.io/bootstrap-select) 3 | * 4 | * Copyright 2013-2017 bootstrap-select 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 6 | */ 7 | 8 | (function (root, factory) { 9 | if (typeof define === 'function' && define.amd) { 10 | // AMD. Register as an anonymous module unless amdModuleId is set 11 | define(["jquery"], function (a0) { 12 | return (factory(a0)); 13 | }); 14 | } else if (typeof module === 'object' && module.exports) { 15 | // Node. Does not work with strict CommonJS, but 16 | // only CommonJS-like environments that support module.exports, 17 | // like Node. 18 | module.exports = factory(require("jquery")); 19 | } else { 20 | factory(root["jQuery"]); 21 | } 22 | }(this, function (jQuery) { 23 | 24 | /*! 25 | * Translated default messages for bootstrap-select. 26 | * Locale: AR (Arabic) 27 | * Author: Yasser Lotfy 28 | */ 29 | (function ($) { 30 | $.fn.selectpicker.defaults = { 31 | noneSelectedText: 'لم يتم إختيار شئ', 32 | noneResultsText: 'لا توجد نتائج مطابقة لـ {0}', 33 | countSelectedText: function (numSelected, numTotal) { 34 | return (numSelected == 1) ? "{0} خيار تم إختياره" : "{0} خيارات تمت إختيارها"; 35 | }, 36 | maxOptionsText: function (numAll, numGroup) { 37 | return [ 38 | (numAll == 1) ? 'تخطى الحد المسموح ({n} خيار بحد أقصى)' : 'تخطى الحد المسموح ({n} خيارات بحد أقصى)', 39 | (numGroup == 1) ? 'تخطى الحد المسموح للمجموعة ({n} خيار بحد أقصى)' : 'تخطى الحد المسموح للمجموعة ({n} خيارات بحد أقصى)' 40 | ]; 41 | }, 42 | selectAllText: 'إختيار الجميع', 43 | deselectAllText: 'إلغاء إختيار الجميع', 44 | multipleSeparator: '، ' 45 | }; 46 | })(jQuery); 47 | 48 | 49 | })); 50 | -------------------------------------------------------------------------------- /phantomapp/static/vendor/bootstrap-select/js/i18n/defaults-ar_AR.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap-select v1.12.4 (http://silviomoreto.github.io/bootstrap-select) 3 | * 4 | * Copyright 2013-2017 bootstrap-select 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 6 | */ 7 | !function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(a){return b(a)}):"object"==typeof module&&module.exports?module.exports=b(require("jquery")):b(a.jQuery)}(this,function(a){/*! 8 | * Translated default messages for bootstrap-select. 9 | * Locale: AR (Arabic) 10 | * Author: Yasser Lotfy 11 | */ 12 | !function(a){a.fn.selectpicker.defaults={noneSelectedText:"لم يتم إختيار شئ",noneResultsText:"لا توجد نتائج مطابقة لـ {0}",countSelectedText:function(a,b){return 1==a?"{0} خيار تم إختياره":"{0} خيارات تمت إختيارها"},maxOptionsText:function(a,b){return[1==a?"تخطى الحد المسموح ({n} خيار بحد أقصى)":"تخطى الحد المسموح ({n} خيارات بحد أقصى)",1==b?"تخطى الحد المسموح للمجموعة ({n} خيار بحد أقصى)":"تخطى الحد المسموح للمجموعة ({n} خيارات بحد أقصى)"]},selectAllText:"إختيار الجميع",deselectAllText:"إلغاء إختيار الجميع",multipleSeparator:"، "}}(a)}); -------------------------------------------------------------------------------- /phantomapp/static/vendor/bootstrap-select/js/i18n/defaults-bg_BG.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap-select v1.12.4 (http://silviomoreto.github.io/bootstrap-select) 3 | * 4 | * Copyright 2013-2017 bootstrap-select 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 6 | */ 7 | 8 | (function (root, factory) { 9 | if (typeof define === 'function' && define.amd) { 10 | // AMD. Register as an anonymous module unless amdModuleId is set 11 | define(["jquery"], function (a0) { 12 | return (factory(a0)); 13 | }); 14 | } else if (typeof module === 'object' && module.exports) { 15 | // Node. Does not work with strict CommonJS, but 16 | // only CommonJS-like environments that support module.exports, 17 | // like Node. 18 | module.exports = factory(require("jquery")); 19 | } else { 20 | factory(root["jQuery"]); 21 | } 22 | }(this, function (jQuery) { 23 | 24 | (function ($) { 25 | $.fn.selectpicker.defaults = { 26 | noneSelectedText: 'Нищо избрано', 27 | noneResultsText: 'Няма резултат за {0}', 28 | countSelectedText: function (numSelected, numTotal) { 29 | return (numSelected == 1) ? "{0} избран елемент" : "{0} избрани елемента"; 30 | }, 31 | maxOptionsText: function (numAll, numGroup) { 32 | return [ 33 | (numAll == 1) ? 'Лимита е достигнат ({n} елемент максимум)' : 'Лимита е достигнат ({n} елемента максимум)', 34 | (numGroup == 1) ? 'Груповия лимит е достигнат ({n} елемент максимум)' : 'Груповия лимит е достигнат ({n} елемента максимум)' 35 | ]; 36 | }, 37 | selectAllText: 'Избери всички', 38 | deselectAllText: 'Размаркирай всички', 39 | multipleSeparator: ', ' 40 | }; 41 | })(jQuery); 42 | 43 | 44 | })); 45 | -------------------------------------------------------------------------------- /phantomapp/static/vendor/bootstrap-select/js/i18n/defaults-bg_BG.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap-select v1.12.4 (http://silviomoreto.github.io/bootstrap-select) 3 | * 4 | * Copyright 2013-2017 bootstrap-select 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 6 | */ 7 | !function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(a){return b(a)}):"object"==typeof module&&module.exports?module.exports=b(require("jquery")):b(a.jQuery)}(this,function(a){!function(a){a.fn.selectpicker.defaults={noneSelectedText:"Нищо избрано",noneResultsText:"Няма резултат за {0}",countSelectedText:function(a,b){return 1==a?"{0} избран елемент":"{0} избрани елемента"},maxOptionsText:function(a,b){return[1==a?"Лимита е достигнат ({n} елемент максимум)":"Лимита е достигнат ({n} елемента максимум)",1==b?"Груповия лимит е достигнат ({n} елемент максимум)":"Груповия лимит е достигнат ({n} елемента максимум)"]},selectAllText:"Избери всички",deselectAllText:"Размаркирай всички",multipleSeparator:", "}}(a)}); -------------------------------------------------------------------------------- /phantomapp/static/vendor/bootstrap-select/js/i18n/defaults-cro_CRO.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap-select v1.12.4 (http://silviomoreto.github.io/bootstrap-select) 3 | * 4 | * Copyright 2013-2017 bootstrap-select 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 6 | */ 7 | 8 | (function (root, factory) { 9 | if (typeof define === 'function' && define.amd) { 10 | // AMD. Register as an anonymous module unless amdModuleId is set 11 | define(["jquery"], function (a0) { 12 | return (factory(a0)); 13 | }); 14 | } else if (typeof module === 'object' && module.exports) { 15 | // Node. Does not work with strict CommonJS, but 16 | // only CommonJS-like environments that support module.exports, 17 | // like Node. 18 | module.exports = factory(require("jquery")); 19 | } else { 20 | factory(root["jQuery"]); 21 | } 22 | }(this, function (jQuery) { 23 | 24 | (function ($) { 25 | $.fn.selectpicker.defaults = { 26 | noneSelectedText: 'Odaberite stavku', 27 | noneResultsText: 'Nema rezultata pretrage {0}', 28 | countSelectedText: function (numSelected, numTotal) { 29 | return (numSelected == 1) ? "{0} stavka selektirana" : "{0} stavke selektirane"; 30 | }, 31 | maxOptionsText: function (numAll, numGroup) { 32 | return [ 33 | (numAll == 1) ? 'Limit je postignut ({n} stvar maximalno)' : 'Limit je postignut ({n} stavke maksimalno)', 34 | (numGroup == 1) ? 'Grupni limit je postignut ({n} stvar maksimalno)' : 'Grupni limit je postignut ({n} stavke maksimalno)' 35 | ]; 36 | }, 37 | selectAllText: 'Selektiraj sve', 38 | deselectAllText: 'Deselektiraj sve', 39 | multipleSeparator: ', ' 40 | }; 41 | })(jQuery); 42 | 43 | 44 | })); 45 | -------------------------------------------------------------------------------- /phantomapp/static/vendor/bootstrap-select/js/i18n/defaults-cro_CRO.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap-select v1.12.4 (http://silviomoreto.github.io/bootstrap-select) 3 | * 4 | * Copyright 2013-2017 bootstrap-select 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 6 | */ 7 | !function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(a){return b(a)}):"object"==typeof module&&module.exports?module.exports=b(require("jquery")):b(a.jQuery)}(this,function(a){!function(a){a.fn.selectpicker.defaults={noneSelectedText:"Odaberite stavku",noneResultsText:"Nema rezultata pretrage {0}",countSelectedText:function(a,b){return 1==a?"{0} stavka selektirana":"{0} stavke selektirane"},maxOptionsText:function(a,b){return[1==a?"Limit je postignut ({n} stvar maximalno)":"Limit je postignut ({n} stavke maksimalno)",1==b?"Grupni limit je postignut ({n} stvar maksimalno)":"Grupni limit je postignut ({n} stavke maksimalno)"]},selectAllText:"Selektiraj sve",deselectAllText:"Deselektiraj sve",multipleSeparator:", "}}(a)}); -------------------------------------------------------------------------------- /phantomapp/static/vendor/bootstrap-select/js/i18n/defaults-cs_CZ.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap-select v1.12.4 (http://silviomoreto.github.io/bootstrap-select) 3 | * 4 | * Copyright 2013-2017 bootstrap-select 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 6 | */ 7 | 8 | (function (root, factory) { 9 | if (typeof define === 'function' && define.amd) { 10 | // AMD. Register as an anonymous module unless amdModuleId is set 11 | define(["jquery"], function (a0) { 12 | return (factory(a0)); 13 | }); 14 | } else if (typeof module === 'object' && module.exports) { 15 | // Node. Does not work with strict CommonJS, but 16 | // only CommonJS-like environments that support module.exports, 17 | // like Node. 18 | module.exports = factory(require("jquery")); 19 | } else { 20 | factory(root["jQuery"]); 21 | } 22 | }(this, function (jQuery) { 23 | 24 | (function ($) { 25 | $.fn.selectpicker.defaults = { 26 | noneSelectedText: 'Nic není vybráno', 27 | noneResultsText: 'Žádné výsledky {0}', 28 | countSelectedText: 'Označeno {0} z {1}', 29 | maxOptionsText: ['Limit překročen ({n} {var} max)', 'Limit skupiny překročen ({n} {var} max)', ['položek', 'položka']], 30 | multipleSeparator: ', ', 31 | selectAllText: 'Vybrat Vše', 32 | deselectAllText: 'Odznačit Vše' 33 | }; 34 | })(jQuery); 35 | 36 | 37 | })); 38 | -------------------------------------------------------------------------------- /phantomapp/static/vendor/bootstrap-select/js/i18n/defaults-cs_CZ.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap-select v1.12.4 (http://silviomoreto.github.io/bootstrap-select) 3 | * 4 | * Copyright 2013-2017 bootstrap-select 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 6 | */ 7 | !function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(a){return b(a)}):"object"==typeof module&&module.exports?module.exports=b(require("jquery")):b(a.jQuery)}(this,function(a){!function(a){a.fn.selectpicker.defaults={noneSelectedText:"Nic není vybráno",noneResultsText:"Žádné výsledky {0}",countSelectedText:"Označeno {0} z {1}",maxOptionsText:["Limit překročen ({n} {var} max)","Limit skupiny překročen ({n} {var} max)",["položek","položka"]],multipleSeparator:", ",selectAllText:"Vybrat Vše",deselectAllText:"Odznačit Vše"}}(a)}); -------------------------------------------------------------------------------- /phantomapp/static/vendor/bootstrap-select/js/i18n/defaults-da_DK.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap-select v1.12.4 (http://silviomoreto.github.io/bootstrap-select) 3 | * 4 | * Copyright 2013-2017 bootstrap-select 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 6 | */ 7 | 8 | (function (root, factory) { 9 | if (typeof define === 'function' && define.amd) { 10 | // AMD. Register as an anonymous module unless amdModuleId is set 11 | define(["jquery"], function (a0) { 12 | return (factory(a0)); 13 | }); 14 | } else if (typeof module === 'object' && module.exports) { 15 | // Node. Does not work with strict CommonJS, but 16 | // only CommonJS-like environments that support module.exports, 17 | // like Node. 18 | module.exports = factory(require("jquery")); 19 | } else { 20 | factory(root["jQuery"]); 21 | } 22 | }(this, function (jQuery) { 23 | 24 | (function ($) { 25 | $.fn.selectpicker.defaults = { 26 | noneSelectedText: 'Intet valgt', 27 | noneResultsText: 'Ingen resultater fundet {0}', 28 | countSelectedText: function (numSelected, numTotal) { 29 | return (numSelected == 1) ? "{0} valgt" : "{0} valgt"; 30 | }, 31 | maxOptionsText: function (numAll, numGroup) { 32 | return [ 33 | (numAll == 1) ? 'Begrænsning nået (max {n} valgt)' : 'Begrænsning nået (max {n} valgte)', 34 | (numGroup == 1) ? 'Gruppe-begrænsning nået (max {n} valgt)' : 'Gruppe-begrænsning nået (max {n} valgte)' 35 | ]; 36 | }, 37 | selectAllText: 'Markér alle', 38 | deselectAllText: 'Afmarkér alle', 39 | multipleSeparator: ', ' 40 | }; 41 | })(jQuery); 42 | 43 | 44 | })); 45 | -------------------------------------------------------------------------------- /phantomapp/static/vendor/bootstrap-select/js/i18n/defaults-da_DK.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap-select v1.12.4 (http://silviomoreto.github.io/bootstrap-select) 3 | * 4 | * Copyright 2013-2017 bootstrap-select 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 6 | */ 7 | !function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(a){return b(a)}):"object"==typeof module&&module.exports?module.exports=b(require("jquery")):b(a.jQuery)}(this,function(a){!function(a){a.fn.selectpicker.defaults={noneSelectedText:"Intet valgt",noneResultsText:"Ingen resultater fundet {0}",countSelectedText:function(a,b){return"{0} valgt"},maxOptionsText:function(a,b){return[1==a?"Begrænsning nået (max {n} valgt)":"Begrænsning nået (max {n} valgte)",1==b?"Gruppe-begrænsning nået (max {n} valgt)":"Gruppe-begrænsning nået (max {n} valgte)"]},selectAllText:"Markér alle",deselectAllText:"Afmarkér alle",multipleSeparator:", "}}(a)}); -------------------------------------------------------------------------------- /phantomapp/static/vendor/bootstrap-select/js/i18n/defaults-de_DE.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap-select v1.12.4 (http://silviomoreto.github.io/bootstrap-select) 3 | * 4 | * Copyright 2013-2017 bootstrap-select 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 6 | */ 7 | 8 | (function (root, factory) { 9 | if (typeof define === 'function' && define.amd) { 10 | // AMD. Register as an anonymous module unless amdModuleId is set 11 | define(["jquery"], function (a0) { 12 | return (factory(a0)); 13 | }); 14 | } else if (typeof module === 'object' && module.exports) { 15 | // Node. Does not work with strict CommonJS, but 16 | // only CommonJS-like environments that support module.exports, 17 | // like Node. 18 | module.exports = factory(require("jquery")); 19 | } else { 20 | factory(root["jQuery"]); 21 | } 22 | }(this, function (jQuery) { 23 | 24 | (function ($) { 25 | $.fn.selectpicker.defaults = { 26 | noneSelectedText: 'Bitte wählen...', 27 | noneResultsText: 'Keine Ergebnisse für {0}', 28 | countSelectedText: function (numSelected, numTotal) { 29 | return (numSelected == 1) ? "{0} Element ausgewählt" : "{0} Elemente ausgewählt"; 30 | }, 31 | maxOptionsText: function (numAll, numGroup) { 32 | return [ 33 | (numAll == 1) ? 'Limit erreicht ({n} Element max.)' : 'Limit erreicht ({n} Elemente max.)', 34 | (numGroup == 1) ? 'Gruppen-Limit erreicht ({n} Element max.)' : 'Gruppen-Limit erreicht ({n} Elemente max.)' 35 | ]; 36 | }, 37 | selectAllText: 'Alles auswählen', 38 | deselectAllText: 'Nichts auswählen', 39 | multipleSeparator: ', ' 40 | }; 41 | })(jQuery); 42 | 43 | 44 | })); 45 | -------------------------------------------------------------------------------- /phantomapp/static/vendor/bootstrap-select/js/i18n/defaults-de_DE.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap-select v1.12.4 (http://silviomoreto.github.io/bootstrap-select) 3 | * 4 | * Copyright 2013-2017 bootstrap-select 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 6 | */ 7 | !function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(a){return b(a)}):"object"==typeof module&&module.exports?module.exports=b(require("jquery")):b(a.jQuery)}(this,function(a){!function(a){a.fn.selectpicker.defaults={noneSelectedText:"Bitte wählen...",noneResultsText:"Keine Ergebnisse für {0}",countSelectedText:function(a,b){return 1==a?"{0} Element ausgewählt":"{0} Elemente ausgewählt"},maxOptionsText:function(a,b){return[1==a?"Limit erreicht ({n} Element max.)":"Limit erreicht ({n} Elemente max.)",1==b?"Gruppen-Limit erreicht ({n} Element max.)":"Gruppen-Limit erreicht ({n} Elemente max.)"]},selectAllText:"Alles auswählen",deselectAllText:"Nichts auswählen",multipleSeparator:", "}}(a)}); -------------------------------------------------------------------------------- /phantomapp/static/vendor/bootstrap-select/js/i18n/defaults-en_US.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap-select v1.12.4 (http://silviomoreto.github.io/bootstrap-select) 3 | * 4 | * Copyright 2013-2017 bootstrap-select 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 6 | */ 7 | 8 | (function (root, factory) { 9 | if (typeof define === 'function' && define.amd) { 10 | // AMD. Register as an anonymous module unless amdModuleId is set 11 | define(["jquery"], function (a0) { 12 | return (factory(a0)); 13 | }); 14 | } else if (typeof module === 'object' && module.exports) { 15 | // Node. Does not work with strict CommonJS, but 16 | // only CommonJS-like environments that support module.exports, 17 | // like Node. 18 | module.exports = factory(require("jquery")); 19 | } else { 20 | factory(root["jQuery"]); 21 | } 22 | }(this, function (jQuery) { 23 | 24 | (function ($) { 25 | $.fn.selectpicker.defaults = { 26 | noneSelectedText: 'Nothing selected', 27 | noneResultsText: 'No results match {0}', 28 | countSelectedText: function (numSelected, numTotal) { 29 | return (numSelected == 1) ? "{0} item selected" : "{0} items selected"; 30 | }, 31 | maxOptionsText: function (numAll, numGroup) { 32 | return [ 33 | (numAll == 1) ? 'Limit reached ({n} item max)' : 'Limit reached ({n} items max)', 34 | (numGroup == 1) ? 'Group limit reached ({n} item max)' : 'Group limit reached ({n} items max)' 35 | ]; 36 | }, 37 | selectAllText: 'Select All', 38 | deselectAllText: 'Deselect All', 39 | multipleSeparator: ', ' 40 | }; 41 | })(jQuery); 42 | 43 | 44 | })); 45 | -------------------------------------------------------------------------------- /phantomapp/static/vendor/bootstrap-select/js/i18n/defaults-en_US.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap-select v1.12.4 (http://silviomoreto.github.io/bootstrap-select) 3 | * 4 | * Copyright 2013-2017 bootstrap-select 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 6 | */ 7 | !function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(a){return b(a)}):"object"==typeof module&&module.exports?module.exports=b(require("jquery")):b(a.jQuery)}(this,function(a){!function(a){a.fn.selectpicker.defaults={noneSelectedText:"Nothing selected",noneResultsText:"No results match {0}",countSelectedText:function(a,b){return 1==a?"{0} item selected":"{0} items selected"},maxOptionsText:function(a,b){return[1==a?"Limit reached ({n} item max)":"Limit reached ({n} items max)",1==b?"Group limit reached ({n} item max)":"Group limit reached ({n} items max)"]},selectAllText:"Select All",deselectAllText:"Deselect All",multipleSeparator:", "}}(a)}); -------------------------------------------------------------------------------- /phantomapp/static/vendor/bootstrap-select/js/i18n/defaults-es_CL.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap-select v1.12.4 (http://silviomoreto.github.io/bootstrap-select) 3 | * 4 | * Copyright 2013-2017 bootstrap-select 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 6 | */ 7 | 8 | (function (root, factory) { 9 | if (typeof define === 'function' && define.amd) { 10 | // AMD. Register as an anonymous module unless amdModuleId is set 11 | define(["jquery"], function (a0) { 12 | return (factory(a0)); 13 | }); 14 | } else if (typeof module === 'object' && module.exports) { 15 | // Node. Does not work with strict CommonJS, but 16 | // only CommonJS-like environments that support module.exports, 17 | // like Node. 18 | module.exports = factory(require("jquery")); 19 | } else { 20 | factory(root["jQuery"]); 21 | } 22 | }(this, function (jQuery) { 23 | 24 | (function ($) { 25 | $.fn.selectpicker.defaults = { 26 | noneSelectedText: 'No hay selección', 27 | noneResultsText: 'No hay resultados {0}', 28 | countSelectedText: 'Seleccionados {0} de {1}', 29 | maxOptionsText: ['Límite alcanzado ({n} {var} max)', 'Límite del grupo alcanzado({n} {var} max)', ['elementos', 'element']], 30 | multipleSeparator: ', ', 31 | selectAllText: 'Seleccionar Todos', 32 | deselectAllText: 'Desmarcar Todos' 33 | }; 34 | })(jQuery); 35 | 36 | 37 | })); 38 | -------------------------------------------------------------------------------- /phantomapp/static/vendor/bootstrap-select/js/i18n/defaults-es_CL.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap-select v1.12.4 (http://silviomoreto.github.io/bootstrap-select) 3 | * 4 | * Copyright 2013-2017 bootstrap-select 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 6 | */ 7 | !function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(a){return b(a)}):"object"==typeof module&&module.exports?module.exports=b(require("jquery")):b(a.jQuery)}(this,function(a){!function(a){a.fn.selectpicker.defaults={noneSelectedText:"No hay selección",noneResultsText:"No hay resultados {0}",countSelectedText:"Seleccionados {0} de {1}",maxOptionsText:["Límite alcanzado ({n} {var} max)","Límite del grupo alcanzado({n} {var} max)",["elementos","element"]],multipleSeparator:", ",selectAllText:"Seleccionar Todos",deselectAllText:"Desmarcar Todos"}}(a)}); -------------------------------------------------------------------------------- /phantomapp/static/vendor/bootstrap-select/js/i18n/defaults-es_ES.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap-select v1.12.4 (http://silviomoreto.github.io/bootstrap-select) 3 | * 4 | * Copyright 2013-2017 bootstrap-select 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 6 | */ 7 | 8 | (function (root, factory) { 9 | if (typeof define === 'function' && define.amd) { 10 | // AMD. Register as an anonymous module unless amdModuleId is set 11 | define(["jquery"], function (a0) { 12 | return (factory(a0)); 13 | }); 14 | } else if (typeof module === 'object' && module.exports) { 15 | // Node. Does not work with strict CommonJS, but 16 | // only CommonJS-like environments that support module.exports, 17 | // like Node. 18 | module.exports = factory(require("jquery")); 19 | } else { 20 | factory(root["jQuery"]); 21 | } 22 | }(this, function (jQuery) { 23 | 24 | (function ($) { 25 | $.fn.selectpicker.defaults = { 26 | noneSelectedText: 'No hay selección', 27 | noneResultsText: 'No hay resultados {0}', 28 | countSelectedText: 'Seleccionados {0} de {1}', 29 | maxOptionsText: ['Límite alcanzado ({n} {var} max)', 'Límite del grupo alcanzado({n} {var} max)', ['elementos', 'element']], 30 | multipleSeparator: ', ', 31 | selectAllText: 'Seleccionar Todos', 32 | deselectAllText: 'Desmarcar Todos' 33 | }; 34 | })(jQuery); 35 | 36 | 37 | })); 38 | -------------------------------------------------------------------------------- /phantomapp/static/vendor/bootstrap-select/js/i18n/defaults-es_ES.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap-select v1.12.4 (http://silviomoreto.github.io/bootstrap-select) 3 | * 4 | * Copyright 2013-2017 bootstrap-select 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 6 | */ 7 | !function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(a){return b(a)}):"object"==typeof module&&module.exports?module.exports=b(require("jquery")):b(a.jQuery)}(this,function(a){!function(a){a.fn.selectpicker.defaults={noneSelectedText:"No hay selección",noneResultsText:"No hay resultados {0}",countSelectedText:"Seleccionados {0} de {1}",maxOptionsText:["Límite alcanzado ({n} {var} max)","Límite del grupo alcanzado({n} {var} max)",["elementos","element"]],multipleSeparator:", ",selectAllText:"Seleccionar Todos",deselectAllText:"Desmarcar Todos"}}(a)}); -------------------------------------------------------------------------------- /phantomapp/static/vendor/bootstrap-select/js/i18n/defaults-et_EE.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap-select v1.12.4 (http://silviomoreto.github.io/bootstrap-select) 3 | * 4 | * Copyright 2013-2017 bootstrap-select 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 6 | */ 7 | 8 | (function (root, factory) { 9 | if (typeof define === 'function' && define.amd) { 10 | // AMD. Register as an anonymous module unless amdModuleId is set 11 | define(["jquery"], function (a0) { 12 | return (factory(a0)); 13 | }); 14 | } else if (typeof module === 'object' && module.exports) { 15 | // Node. Does not work with strict CommonJS, but 16 | // only CommonJS-like environments that support module.exports, 17 | // like Node. 18 | module.exports = factory(require("jquery")); 19 | } else { 20 | factory(root["jQuery"]); 21 | } 22 | }(this, function (jQuery) { 23 | 24 | (function ($) { 25 | $.fn.selectpicker.defaults = { 26 | noneSelectedText: 'Valikut pole tehtud', 27 | noneResultsText: 'Otsingule {0} ei ole vasteid', 28 | countSelectedText: function (numSelected, numTotal) { 29 | return (numSelected == 1) ? "{0} item selected" : "{0} items selected"; 30 | }, 31 | maxOptionsText: function (numAll, numGroup) { 32 | return [ 33 | 'Limiit on {n} max', 34 | 'Globaalne limiit on {n} max' 35 | ]; 36 | }, 37 | selectAllText: 'Vali kõik', 38 | deselectAllText: 'Tühista kõik', 39 | multipleSeparator: ', ' 40 | }; 41 | })(jQuery); 42 | 43 | 44 | })); 45 | -------------------------------------------------------------------------------- /phantomapp/static/vendor/bootstrap-select/js/i18n/defaults-et_EE.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap-select v1.12.4 (http://silviomoreto.github.io/bootstrap-select) 3 | * 4 | * Copyright 2013-2017 bootstrap-select 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 6 | */ 7 | !function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(a){return b(a)}):"object"==typeof module&&module.exports?module.exports=b(require("jquery")):b(a.jQuery)}(this,function(a){!function(a){a.fn.selectpicker.defaults={noneSelectedText:"Valikut pole tehtud",noneResultsText:"Otsingule {0} ei ole vasteid",countSelectedText:function(a,b){return 1==a?"{0} item selected":"{0} items selected"},maxOptionsText:function(a,b){return["Limiit on {n} max","Globaalne limiit on {n} max"]},selectAllText:"Vali kõik",deselectAllText:"Tühista kõik",multipleSeparator:", "}}(a)}); -------------------------------------------------------------------------------- /phantomapp/static/vendor/bootstrap-select/js/i18n/defaults-eu.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap-select v1.12.4 (http://silviomoreto.github.io/bootstrap-select) 3 | * 4 | * Copyright 2013-2017 bootstrap-select 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 6 | */ 7 | 8 | (function (root, factory) { 9 | if (typeof define === 'function' && define.amd) { 10 | // AMD. Register as an anonymous module unless amdModuleId is set 11 | define(["jquery"], function (a0) { 12 | return (factory(a0)); 13 | }); 14 | } else if (typeof module === 'object' && module.exports) { 15 | // Node. Does not work with strict CommonJS, but 16 | // only CommonJS-like environments that support module.exports, 17 | // like Node. 18 | module.exports = factory(require("jquery")); 19 | } else { 20 | factory(root["jQuery"]); 21 | } 22 | }(this, function (jQuery) { 23 | 24 | (function ($) { 25 | $.fn.selectpicker.defaults = { 26 | noneSelectedText: 'Hautapenik ez', 27 | noneResultsText: 'Emaitzarik ez {0}', 28 | countSelectedText: '{1}(e)tik {0} hautatuta', 29 | maxOptionsText: ['Mugara iritsita ({n} {var} gehienez)', 'Taldearen mugara iritsita ({n} {var} gehienez)', ['elementu', 'elementu']], 30 | multipleSeparator: ', ', 31 | selectAllText: 'Hautatu Guztiak', 32 | deselectAllText: 'Desautatu Guztiak' 33 | }; 34 | })(jQuery); 35 | 36 | 37 | })); 38 | -------------------------------------------------------------------------------- /phantomapp/static/vendor/bootstrap-select/js/i18n/defaults-eu.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap-select v1.12.4 (http://silviomoreto.github.io/bootstrap-select) 3 | * 4 | * Copyright 2013-2017 bootstrap-select 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 6 | */ 7 | !function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(a){return b(a)}):"object"==typeof module&&module.exports?module.exports=b(require("jquery")):b(a.jQuery)}(this,function(a){!function(a){a.fn.selectpicker.defaults={noneSelectedText:"Hautapenik ez",noneResultsText:"Emaitzarik ez {0}",countSelectedText:"{1}(e)tik {0} hautatuta",maxOptionsText:["Mugara iritsita ({n} {var} gehienez)","Taldearen mugara iritsita ({n} {var} gehienez)",["elementu","elementu"]],multipleSeparator:", ",selectAllText:"Hautatu Guztiak",deselectAllText:"Desautatu Guztiak"}}(a)}); -------------------------------------------------------------------------------- /phantomapp/static/vendor/bootstrap-select/js/i18n/defaults-fa_IR.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap-select v1.12.4 (http://silviomoreto.github.io/bootstrap-select) 3 | * 4 | * Copyright 2013-2017 bootstrap-select 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 6 | */ 7 | 8 | (function (root, factory) { 9 | if (typeof define === 'function' && define.amd) { 10 | // AMD. Register as an anonymous module unless amdModuleId is set 11 | define(["jquery"], function (a0) { 12 | return (factory(a0)); 13 | }); 14 | } else if (typeof module === 'object' && module.exports) { 15 | // Node. Does not work with strict CommonJS, but 16 | // only CommonJS-like environments that support module.exports, 17 | // like Node. 18 | module.exports = factory(require("jquery")); 19 | } else { 20 | factory(root["jQuery"]); 21 | } 22 | }(this, function (jQuery) { 23 | 24 | (function ($) { 25 | $.fn.selectpicker.defaults = { 26 | noneSelectedText: 'چیزی انتخاب نشده است', 27 | noneResultsText: 'هیج مشابهی برای {0} پیدا نشد', 28 | countSelectedText: "{0} از {1} مورد انتخاب شده", 29 | maxOptionsText: ['بیشتر ممکن نیست {حداکثر {n} عدد}', 'بیشتر ممکن نیست {حداکثر {n} عدد}'], 30 | selectAllText: 'انتخاب همه', 31 | deselectAllText: 'انتخاب هیچ کدام', 32 | multipleSeparator: ', ' 33 | }; 34 | })(jQuery); 35 | 36 | 37 | })); 38 | -------------------------------------------------------------------------------- /phantomapp/static/vendor/bootstrap-select/js/i18n/defaults-fa_IR.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap-select v1.12.4 (http://silviomoreto.github.io/bootstrap-select) 3 | * 4 | * Copyright 2013-2017 bootstrap-select 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 6 | */ 7 | !function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(a){return b(a)}):"object"==typeof module&&module.exports?module.exports=b(require("jquery")):b(a.jQuery)}(this,function(a){!function(a){a.fn.selectpicker.defaults={noneSelectedText:"چیزی انتخاب نشده است",noneResultsText:"هیج مشابهی برای {0} پیدا نشد",countSelectedText:"{0} از {1} مورد انتخاب شده",maxOptionsText:["بیشتر ممکن نیست {حداکثر {n} عدد}","بیشتر ممکن نیست {حداکثر {n} عدد}"],selectAllText:"انتخاب همه",deselectAllText:"انتخاب هیچ کدام",multipleSeparator:", "}}(a)}); -------------------------------------------------------------------------------- /phantomapp/static/vendor/bootstrap-select/js/i18n/defaults-fi_FI.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap-select v1.12.4 (http://silviomoreto.github.io/bootstrap-select) 3 | * 4 | * Copyright 2013-2017 bootstrap-select 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 6 | */ 7 | 8 | (function (root, factory) { 9 | if (typeof define === 'function' && define.amd) { 10 | // AMD. Register as an anonymous module unless amdModuleId is set 11 | define(["jquery"], function (a0) { 12 | return (factory(a0)); 13 | }); 14 | } else if (typeof module === 'object' && module.exports) { 15 | // Node. Does not work with strict CommonJS, but 16 | // only CommonJS-like environments that support module.exports, 17 | // like Node. 18 | module.exports = factory(require("jquery")); 19 | } else { 20 | factory(root["jQuery"]); 21 | } 22 | }(this, function (jQuery) { 23 | 24 | (function ($) { 25 | $.fn.selectpicker.defaults = { 26 | noneSelectedText: 'Ei valintoja', 27 | noneResultsText: 'Ei hakutuloksia {0}', 28 | countSelectedText: function (numSelected, numTotal) { 29 | return (numSelected == 1) ? "{0} valittu" : "{0} valitut"; 30 | }, 31 | maxOptionsText: function (numAll, numGroup) { 32 | return [ 33 | (numAll == 1) ? 'Valintojen maksimimäärä ({n} saavutettu)' : 'Valintojen maksimimäärä ({n} saavutettu)', 34 | (numGroup == 1) ? 'Ryhmän maksimimäärä ({n} saavutettu)' : 'Ryhmän maksimimäärä ({n} saavutettu)' 35 | ]; 36 | }, 37 | selectAllText: 'Valitse kaikki', 38 | deselectAllText: 'Poista kaikki', 39 | multipleSeparator: ', ' 40 | }; 41 | })(jQuery); 42 | 43 | 44 | })); 45 | -------------------------------------------------------------------------------- /phantomapp/static/vendor/bootstrap-select/js/i18n/defaults-fi_FI.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap-select v1.12.4 (http://silviomoreto.github.io/bootstrap-select) 3 | * 4 | * Copyright 2013-2017 bootstrap-select 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 6 | */ 7 | !function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(a){return b(a)}):"object"==typeof module&&module.exports?module.exports=b(require("jquery")):b(a.jQuery)}(this,function(a){!function(a){a.fn.selectpicker.defaults={noneSelectedText:"Ei valintoja",noneResultsText:"Ei hakutuloksia {0}",countSelectedText:function(a,b){return 1==a?"{0} valittu":"{0} valitut"},maxOptionsText:function(a,b){return["Valintojen maksimimäärä ({n} saavutettu)","Ryhmän maksimimäärä ({n} saavutettu)"]},selectAllText:"Valitse kaikki",deselectAllText:"Poista kaikki",multipleSeparator:", "}}(a)}); -------------------------------------------------------------------------------- /phantomapp/static/vendor/bootstrap-select/js/i18n/defaults-fr_FR.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap-select v1.12.4 (http://silviomoreto.github.io/bootstrap-select) 3 | * 4 | * Copyright 2013-2017 bootstrap-select 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 6 | */ 7 | 8 | (function (root, factory) { 9 | if (typeof define === 'function' && define.amd) { 10 | // AMD. Register as an anonymous module unless amdModuleId is set 11 | define(["jquery"], function (a0) { 12 | return (factory(a0)); 13 | }); 14 | } else if (typeof module === 'object' && module.exports) { 15 | // Node. Does not work with strict CommonJS, but 16 | // only CommonJS-like environments that support module.exports, 17 | // like Node. 18 | module.exports = factory(require("jquery")); 19 | } else { 20 | factory(root["jQuery"]); 21 | } 22 | }(this, function (jQuery) { 23 | 24 | (function ($) { 25 | $.fn.selectpicker.defaults = { 26 | noneSelectedText: 'Aucune sélection', 27 | noneResultsText: 'Aucun résultat pour {0}', 28 | countSelectedText: function (numSelected, numTotal) { 29 | return (numSelected > 1) ? "{0} éléments sélectionnés" : "{0} élément sélectionné"; 30 | }, 31 | maxOptionsText: function (numAll, numGroup) { 32 | return [ 33 | (numAll > 1) ? 'Limite atteinte ({n} éléments max)' : 'Limite atteinte ({n} élément max)', 34 | (numGroup > 1) ? 'Limite du groupe atteinte ({n} éléments max)' : 'Limite du groupe atteinte ({n} élément max)' 35 | ]; 36 | }, 37 | multipleSeparator: ', ', 38 | selectAllText: 'Tout sélectionner', 39 | deselectAllText: 'Tout désélectionner', 40 | }; 41 | })(jQuery); 42 | 43 | 44 | })); 45 | -------------------------------------------------------------------------------- /phantomapp/static/vendor/bootstrap-select/js/i18n/defaults-fr_FR.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap-select v1.12.4 (http://silviomoreto.github.io/bootstrap-select) 3 | * 4 | * Copyright 2013-2017 bootstrap-select 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 6 | */ 7 | !function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(a){return b(a)}):"object"==typeof module&&module.exports?module.exports=b(require("jquery")):b(a.jQuery)}(this,function(a){!function(a){a.fn.selectpicker.defaults={noneSelectedText:"Aucune sélection",noneResultsText:"Aucun résultat pour {0}",countSelectedText:function(a,b){return a>1?"{0} éléments sélectionnés":"{0} élément sélectionné"},maxOptionsText:function(a,b){return[a>1?"Limite atteinte ({n} éléments max)":"Limite atteinte ({n} élément max)",b>1?"Limite du groupe atteinte ({n} éléments max)":"Limite du groupe atteinte ({n} élément max)"]},multipleSeparator:", ",selectAllText:"Tout sélectionner",deselectAllText:"Tout désélectionner"}}(a)}); -------------------------------------------------------------------------------- /phantomapp/static/vendor/bootstrap-select/js/i18n/defaults-hu_HU.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap-select v1.12.4 (http://silviomoreto.github.io/bootstrap-select) 3 | * 4 | * Copyright 2013-2017 bootstrap-select 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 6 | */ 7 | 8 | (function (root, factory) { 9 | if (typeof define === 'function' && define.amd) { 10 | // AMD. Register as an anonymous module unless amdModuleId is set 11 | define(["jquery"], function (a0) { 12 | return (factory(a0)); 13 | }); 14 | } else if (typeof module === 'object' && module.exports) { 15 | // Node. Does not work with strict CommonJS, but 16 | // only CommonJS-like environments that support module.exports, 17 | // like Node. 18 | module.exports = factory(require("jquery")); 19 | } else { 20 | factory(root["jQuery"]); 21 | } 22 | }(this, function (jQuery) { 23 | 24 | (function ($) { 25 | $.fn.selectpicker.defaults = { 26 | noneSelectedText: 'Válasszon!', 27 | noneResultsText: 'Nincs találat {0}', 28 | countSelectedText: function (numSelected, numTotal) { 29 | return '{0} elem kiválasztva'; 30 | }, 31 | maxOptionsText: function (numAll, numGroup) { 32 | return [ 33 | 'Legfeljebb {n} elem választható', 34 | 'A csoportban legfeljebb {n} elem választható' 35 | ]; 36 | }, 37 | selectAllText: 'Mind', 38 | deselectAllText: 'Egyik sem', 39 | multipleSeparator: ', ' 40 | }; 41 | })(jQuery); 42 | 43 | 44 | })); 45 | -------------------------------------------------------------------------------- /phantomapp/static/vendor/bootstrap-select/js/i18n/defaults-hu_HU.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap-select v1.12.4 (http://silviomoreto.github.io/bootstrap-select) 3 | * 4 | * Copyright 2013-2017 bootstrap-select 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 6 | */ 7 | !function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(a){return b(a)}):"object"==typeof module&&module.exports?module.exports=b(require("jquery")):b(a.jQuery)}(this,function(a){!function(a){a.fn.selectpicker.defaults={noneSelectedText:"Válasszon!",noneResultsText:"Nincs találat {0}",countSelectedText:function(a,b){return"{0} elem kiválasztva"},maxOptionsText:function(a,b){return["Legfeljebb {n} elem választható","A csoportban legfeljebb {n} elem választható"]},selectAllText:"Mind",deselectAllText:"Egyik sem",multipleSeparator:", "}}(a)}); -------------------------------------------------------------------------------- /phantomapp/static/vendor/bootstrap-select/js/i18n/defaults-id_ID.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap-select v1.12.4 (http://silviomoreto.github.io/bootstrap-select) 3 | * 4 | * Copyright 2013-2017 bootstrap-select 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 6 | */ 7 | 8 | (function (root, factory) { 9 | if (typeof define === 'function' && define.amd) { 10 | // AMD. Register as an anonymous module unless amdModuleId is set 11 | define(["jquery"], function (a0) { 12 | return (factory(a0)); 13 | }); 14 | } else if (typeof module === 'object' && module.exports) { 15 | // Node. Does not work with strict CommonJS, but 16 | // only CommonJS-like environments that support module.exports, 17 | // like Node. 18 | module.exports = factory(require("jquery")); 19 | } else { 20 | factory(root["jQuery"]); 21 | } 22 | }(this, function (jQuery) { 23 | 24 | (function ($) { 25 | $.fn.selectpicker.defaults = { 26 | noneSelectedText: 'Tidak ada yang dipilih', 27 | noneResultsText: 'Tidak ada yang cocok {0}', 28 | countSelectedText: '{0} terpilih', 29 | maxOptionsText: ['Mencapai batas (maksimum {n})', 'Mencapai batas grup (maksimum {n})'], 30 | selectAllText: 'Pilih Semua', 31 | deselectAllText: 'Hapus Semua', 32 | multipleSeparator: ', ' 33 | }; 34 | })(jQuery); 35 | 36 | 37 | })); 38 | -------------------------------------------------------------------------------- /phantomapp/static/vendor/bootstrap-select/js/i18n/defaults-id_ID.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap-select v1.12.4 (http://silviomoreto.github.io/bootstrap-select) 3 | * 4 | * Copyright 2013-2017 bootstrap-select 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 6 | */ 7 | !function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(a){return b(a)}):"object"==typeof module&&module.exports?module.exports=b(require("jquery")):b(a.jQuery)}(this,function(a){!function(a){a.fn.selectpicker.defaults={noneSelectedText:"Tidak ada yang dipilih",noneResultsText:"Tidak ada yang cocok {0}",countSelectedText:"{0} terpilih",maxOptionsText:["Mencapai batas (maksimum {n})","Mencapai batas grup (maksimum {n})"],selectAllText:"Pilih Semua",deselectAllText:"Hapus Semua",multipleSeparator:", "}}(a)}); -------------------------------------------------------------------------------- /phantomapp/static/vendor/bootstrap-select/js/i18n/defaults-it_IT.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap-select v1.12.4 (http://silviomoreto.github.io/bootstrap-select) 3 | * 4 | * Copyright 2013-2017 bootstrap-select 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 6 | */ 7 | 8 | (function (root, factory) { 9 | if (typeof define === 'function' && define.amd) { 10 | // AMD. Register as an anonymous module unless amdModuleId is set 11 | define(["jquery"], function (a0) { 12 | return (factory(a0)); 13 | }); 14 | } else if (typeof module === 'object' && module.exports) { 15 | // Node. Does not work with strict CommonJS, but 16 | // only CommonJS-like environments that support module.exports, 17 | // like Node. 18 | module.exports = factory(require("jquery")); 19 | } else { 20 | factory(root["jQuery"]); 21 | } 22 | }(this, function (jQuery) { 23 | 24 | (function ($) { 25 | $.fn.selectpicker.defaults = { 26 | noneSelectedText: 'Nessuna selezione', 27 | noneResultsText: 'Nessun risultato per {0}', 28 | countSelectedText: function (numSelected, numTotal){ 29 | return (numSelected == 1) ? 'Selezionato {0} di {1}' : 'Selezionati {0} di {1}'; 30 | }, 31 | maxOptionsText: ['Limite raggiunto ({n} {var} max)', 'Limite del gruppo raggiunto ({n} {var} max)', ['elementi', 'elemento']], 32 | multipleSeparator: ', ', 33 | selectAllText: 'Seleziona Tutto', 34 | deselectAllText: 'Deseleziona Tutto' 35 | }; 36 | })(jQuery); 37 | 38 | 39 | })); 40 | -------------------------------------------------------------------------------- /phantomapp/static/vendor/bootstrap-select/js/i18n/defaults-it_IT.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap-select v1.12.4 (http://silviomoreto.github.io/bootstrap-select) 3 | * 4 | * Copyright 2013-2017 bootstrap-select 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 6 | */ 7 | !function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(a){return b(a)}):"object"==typeof module&&module.exports?module.exports=b(require("jquery")):b(a.jQuery)}(this,function(a){!function(a){a.fn.selectpicker.defaults={noneSelectedText:"Nessuna selezione",noneResultsText:"Nessun risultato per {0}",countSelectedText:function(a,b){return 1==a?"Selezionato {0} di {1}":"Selezionati {0} di {1}"},maxOptionsText:["Limite raggiunto ({n} {var} max)","Limite del gruppo raggiunto ({n} {var} max)",["elementi","elemento"]],multipleSeparator:", ",selectAllText:"Seleziona Tutto",deselectAllText:"Deseleziona Tutto"}}(a)}); -------------------------------------------------------------------------------- /phantomapp/static/vendor/bootstrap-select/js/i18n/defaults-ja_JP.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap-select v1.12.4 (http://silviomoreto.github.io/bootstrap-select) 3 | * 4 | * Copyright 2013-2017 bootstrap-select 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 6 | */ 7 | 8 | (function (root, factory) { 9 | if (typeof define === 'function' && define.amd) { 10 | // AMD. Register as an anonymous module unless amdModuleId is set 11 | define(["jquery"], function (a0) { 12 | return (factory(a0)); 13 | }); 14 | } else if (typeof module === 'object' && module.exports) { 15 | // Node. Does not work with strict CommonJS, but 16 | // only CommonJS-like environments that support module.exports, 17 | // like Node. 18 | module.exports = factory(require("jquery")); 19 | } else { 20 | factory(root["jQuery"]); 21 | } 22 | }(this, function (jQuery) { 23 | 24 | (function ($) { 25 | $.fn.selectpicker.defaults = { 26 | noneSelectedText: '何もが選択した', 27 | noneResultsText: '\'{0}\'が結果を返さない', 28 | countSelectedText: '{0}/{1}が選択した', 29 | maxOptionsText: ['限界は達した({n}{var}最大)', '限界をグループは達した({n}{var}最大)', ['アイテム', 'アイテム']], 30 | selectAllText: '全部を選択する', 31 | deselectAllText: '何も選択しない', 32 | multipleSeparator: ', ' 33 | }; 34 | })(jQuery); 35 | 36 | 37 | })); 38 | -------------------------------------------------------------------------------- /phantomapp/static/vendor/bootstrap-select/js/i18n/defaults-ja_JP.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap-select v1.12.4 (http://silviomoreto.github.io/bootstrap-select) 3 | * 4 | * Copyright 2013-2017 bootstrap-select 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 6 | */ 7 | !function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(a){return b(a)}):"object"==typeof module&&module.exports?module.exports=b(require("jquery")):b(a.jQuery)}(this,function(a){!function(a){a.fn.selectpicker.defaults={noneSelectedText:"何もが選択した",noneResultsText:"'{0}'が結果を返さない",countSelectedText:"{0}/{1}が選択した",maxOptionsText:["限界は達した({n}{var}最大)","限界をグループは達した({n}{var}最大)",["アイテム","アイテム"]],selectAllText:"全部を選択する",deselectAllText:"何も選択しない",multipleSeparator:", "}}(a)}); -------------------------------------------------------------------------------- /phantomapp/static/vendor/bootstrap-select/js/i18n/defaults-kh_KM.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap-select v1.12.4 (http://silviomoreto.github.io/bootstrap-select) 3 | * 4 | * Copyright 2013-2017 bootstrap-select 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 6 | */ 7 | 8 | (function (root, factory) { 9 | if (typeof define === 'function' && define.amd) { 10 | // AMD. Register as an anonymous module unless amdModuleId is set 11 | define(["jquery"], function (a0) { 12 | return (factory(a0)); 13 | }); 14 | } else if (typeof module === 'object' && module.exports) { 15 | // Node. Does not work with strict CommonJS, but 16 | // only CommonJS-like environments that support module.exports, 17 | // like Node. 18 | module.exports = factory(require("jquery")); 19 | } else { 20 | factory(root["jQuery"]); 21 | } 22 | }(this, function (jQuery) { 23 | 24 | (function ($) { 25 | $.fn.selectpicker.defaults = { 26 | noneSelectedText: 'មិនមានអ្វីបានជ្រើសរើស', 27 | noneResultsText: 'មិនមានលទ្ធផល {0}', 28 | countSelectedText: function (numSelected, numTotal) { 29 | return (numSelected == 1) ? "{0} ធាតុដែលបានជ្រើស" : "{0} ធាតុដែលបានជ្រើស"; 30 | }, 31 | maxOptionsText: function (numAll, numGroup) { 32 | return [ 33 | (numAll == 1) ? 'ឈានដល់ដែនកំណត់ ( {n} ធាតុអតិបរមា)' : 'អតិបរមាឈានដល់ដែនកំណត់ ( {n} ធាតុ)', 34 | (numGroup == 1) ? 'ដែនកំណត់ក្រុមឈានដល់ ( {n} អតិបរមាធាតុ)' : 'អតិបរមាក្រុមឈានដល់ដែនកំណត់ ( {n} ធាតុ)' 35 | ]; 36 | }, 37 | selectAllText: 'ជ្រើស​យក​ទាំងអស់', 38 | deselectAllText: 'មិនជ្រើស​យក​ទាំងអស', 39 | multipleSeparator: ', ' 40 | }; 41 | })(jQuery); 42 | 43 | 44 | })); 45 | -------------------------------------------------------------------------------- /phantomapp/static/vendor/bootstrap-select/js/i18n/defaults-kh_KM.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap-select v1.12.4 (http://silviomoreto.github.io/bootstrap-select) 3 | * 4 | * Copyright 2013-2017 bootstrap-select 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 6 | */ 7 | !function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(a){return b(a)}):"object"==typeof module&&module.exports?module.exports=b(require("jquery")):b(a.jQuery)}(this,function(a){!function(a){a.fn.selectpicker.defaults={noneSelectedText:"មិនមានអ្វីបានជ្រើសរើស",noneResultsText:"មិនមានលទ្ធផល {0}",countSelectedText:function(a,b){return"{0} ធាតុដែលបានជ្រើស"},maxOptionsText:function(a,b){return[1==a?"ឈានដល់ដែនកំណត់ ( {n} ធាតុអតិបរមា)":"អតិបរមាឈានដល់ដែនកំណត់ ( {n} ធាតុ)",1==b?"ដែនកំណត់ក្រុមឈានដល់ ( {n} អតិបរមាធាតុ)":"អតិបរមាក្រុមឈានដល់ដែនកំណត់ ( {n} ធាតុ)"]},selectAllText:"ជ្រើស​យក​ទាំងអស់",deselectAllText:"មិនជ្រើស​យក​ទាំងអស",multipleSeparator:", "}}(a)}); -------------------------------------------------------------------------------- /phantomapp/static/vendor/bootstrap-select/js/i18n/defaults-ko_KR.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap-select v1.12.4 (http://silviomoreto.github.io/bootstrap-select) 3 | * 4 | * Copyright 2013-2017 bootstrap-select 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 6 | */ 7 | 8 | (function (root, factory) { 9 | if (typeof define === 'function' && define.amd) { 10 | // AMD. Register as an anonymous module unless amdModuleId is set 11 | define(["jquery"], function (a0) { 12 | return (factory(a0)); 13 | }); 14 | } else if (typeof module === 'object' && module.exports) { 15 | // Node. Does not work with strict CommonJS, but 16 | // only CommonJS-like environments that support module.exports, 17 | // like Node. 18 | module.exports = factory(require("jquery")); 19 | } else { 20 | factory(root["jQuery"]); 21 | } 22 | }(this, function (jQuery) { 23 | 24 | (function ($) { 25 | $.fn.selectpicker.defaults = { 26 | noneSelectedText: '항목을 선택해주세요', 27 | noneResultsText: '{0} 검색 결과가 없습니다', 28 | countSelectedText: function (numSelected, numTotal) { 29 | return "{0}개를 선택하였습니다"; 30 | }, 31 | maxOptionsText: function (numAll, numGroup) { 32 | return [ 33 | '{n}개까지 선택 가능합니다', 34 | '해당 그룹은 {n}개까지 선택 가능합니다' 35 | ]; 36 | }, 37 | selectAllText: '전체선택', 38 | deselectAllText: '전체해제', 39 | multipleSeparator: ', ' 40 | }; 41 | })(jQuery); 42 | 43 | 44 | })); 45 | -------------------------------------------------------------------------------- /phantomapp/static/vendor/bootstrap-select/js/i18n/defaults-ko_KR.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap-select v1.12.4 (http://silviomoreto.github.io/bootstrap-select) 3 | * 4 | * Copyright 2013-2017 bootstrap-select 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 6 | */ 7 | !function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(a){return b(a)}):"object"==typeof module&&module.exports?module.exports=b(require("jquery")):b(a.jQuery)}(this,function(a){!function(a){a.fn.selectpicker.defaults={noneSelectedText:"항목을 선택해주세요",noneResultsText:"{0} 검색 결과가 없습니다",countSelectedText:function(a,b){return"{0}개를 선택하였습니다"},maxOptionsText:function(a,b){return["{n}개까지 선택 가능합니다","해당 그룹은 {n}개까지 선택 가능합니다"]},selectAllText:"전체선택",deselectAllText:"전체해제",multipleSeparator:", "}}(a)}); -------------------------------------------------------------------------------- /phantomapp/static/vendor/bootstrap-select/js/i18n/defaults-lt_LT.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap-select v1.12.4 (http://silviomoreto.github.io/bootstrap-select) 3 | * 4 | * Copyright 2013-2017 bootstrap-select 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 6 | */ 7 | 8 | (function (root, factory) { 9 | if (typeof define === 'function' && define.amd) { 10 | // AMD. Register as an anonymous module unless amdModuleId is set 11 | define(["jquery"], function (a0) { 12 | return (factory(a0)); 13 | }); 14 | } else if (typeof module === 'object' && module.exports) { 15 | // Node. Does not work with strict CommonJS, but 16 | // only CommonJS-like environments that support module.exports, 17 | // like Node. 18 | module.exports = factory(require("jquery")); 19 | } else { 20 | factory(root["jQuery"]); 21 | } 22 | }(this, function (jQuery) { 23 | 24 | (function ($) { 25 | $.fn.selectpicker.defaults = { 26 | noneSelectedText: 'Niekas nepasirinkta', 27 | noneResultsText: 'Niekas nesutapo su {0}', 28 | countSelectedText: function (numSelected, numTotal) { 29 | return (numSelected == 1) ? "{0} elementas pasirinktas" : "{0} elementai(-ų) pasirinkta"; 30 | }, 31 | maxOptionsText: function (numAll, numGroup) { 32 | return [ 33 | (numAll == 1) ? 'Pasiekta riba ({n} elementas daugiausiai)' : 'Riba pasiekta ({n} elementai(-ų) daugiausiai)', 34 | (numGroup == 1) ? 'Grupės riba pasiekta ({n} elementas daugiausiai)' : 'Grupės riba pasiekta ({n} elementai(-ų) daugiausiai)' 35 | ]; 36 | }, 37 | selectAllText: 'Pasirinkti visus', 38 | deselectAllText: 'Atmesti visus', 39 | multipleSeparator: ', ' 40 | }; 41 | })(jQuery); 42 | 43 | 44 | })); 45 | -------------------------------------------------------------------------------- /phantomapp/static/vendor/bootstrap-select/js/i18n/defaults-lt_LT.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap-select v1.12.4 (http://silviomoreto.github.io/bootstrap-select) 3 | * 4 | * Copyright 2013-2017 bootstrap-select 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 6 | */ 7 | !function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(a){return b(a)}):"object"==typeof module&&module.exports?module.exports=b(require("jquery")):b(a.jQuery)}(this,function(a){!function(a){a.fn.selectpicker.defaults={noneSelectedText:"Niekas nepasirinkta",noneResultsText:"Niekas nesutapo su {0}",countSelectedText:function(a,b){return 1==a?"{0} elementas pasirinktas":"{0} elementai(-ų) pasirinkta"},maxOptionsText:function(a,b){return[1==a?"Pasiekta riba ({n} elementas daugiausiai)":"Riba pasiekta ({n} elementai(-ų) daugiausiai)",1==b?"Grupės riba pasiekta ({n} elementas daugiausiai)":"Grupės riba pasiekta ({n} elementai(-ų) daugiausiai)"]},selectAllText:"Pasirinkti visus",deselectAllText:"Atmesti visus",multipleSeparator:", "}}(a)}); -------------------------------------------------------------------------------- /phantomapp/static/vendor/bootstrap-select/js/i18n/defaults-nb_NO.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap-select v1.12.4 (http://silviomoreto.github.io/bootstrap-select) 3 | * 4 | * Copyright 2013-2017 bootstrap-select 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 6 | */ 7 | 8 | (function (root, factory) { 9 | if (typeof define === 'function' && define.amd) { 10 | // AMD. Register as an anonymous module unless amdModuleId is set 11 | define(["jquery"], function (a0) { 12 | return (factory(a0)); 13 | }); 14 | } else if (typeof module === 'object' && module.exports) { 15 | // Node. Does not work with strict CommonJS, but 16 | // only CommonJS-like environments that support module.exports, 17 | // like Node. 18 | module.exports = factory(require("jquery")); 19 | } else { 20 | factory(root["jQuery"]); 21 | } 22 | }(this, function (jQuery) { 23 | 24 | (function ($) { 25 | $.fn.selectpicker.defaults = { 26 | noneSelectedText: 'Ingen valgt', 27 | noneResultsText: 'Søket gir ingen treff {0}', 28 | countSelectedText: function (numSelected, numTotal) { 29 | return (numSelected == 1) ? "{0} alternativ valgt" : "{0} alternativer valgt"; 30 | }, 31 | maxOptionsText: function (numAll, numGroup) { 32 | return [ 33 | (numAll == 1) ? 'Grense nådd (maks {n} valg)' : 'Grense nådd (maks {n} valg)', 34 | (numGroup == 1) ? 'Grense for grupper nådd (maks {n} grupper)' : 'Grense for grupper nådd (maks {n} grupper)' 35 | ]; 36 | }, 37 | selectAllText: 'Merk alle', 38 | deselectAllText: 'Fjern alle', 39 | multipleSeparator: ', ' 40 | }; 41 | })(jQuery); 42 | 43 | 44 | })); 45 | -------------------------------------------------------------------------------- /phantomapp/static/vendor/bootstrap-select/js/i18n/defaults-nb_NO.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap-select v1.12.4 (http://silviomoreto.github.io/bootstrap-select) 3 | * 4 | * Copyright 2013-2017 bootstrap-select 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 6 | */ 7 | !function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(a){return b(a)}):"object"==typeof module&&module.exports?module.exports=b(require("jquery")):b(a.jQuery)}(this,function(a){!function(a){a.fn.selectpicker.defaults={noneSelectedText:"Ingen valgt",noneResultsText:"Søket gir ingen treff {0}",countSelectedText:function(a,b){return 1==a?"{0} alternativ valgt":"{0} alternativer valgt"},maxOptionsText:function(a,b){return["Grense nådd (maks {n} valg)","Grense for grupper nådd (maks {n} grupper)"]},selectAllText:"Merk alle",deselectAllText:"Fjern alle",multipleSeparator:", "}}(a)}); -------------------------------------------------------------------------------- /phantomapp/static/vendor/bootstrap-select/js/i18n/defaults-nl_NL.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap-select v1.12.4 (http://silviomoreto.github.io/bootstrap-select) 3 | * 4 | * Copyright 2013-2017 bootstrap-select 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 6 | */ 7 | 8 | (function (root, factory) { 9 | if (typeof define === 'function' && define.amd) { 10 | // AMD. Register as an anonymous module unless amdModuleId is set 11 | define(["jquery"], function (a0) { 12 | return (factory(a0)); 13 | }); 14 | } else if (typeof module === 'object' && module.exports) { 15 | // Node. Does not work with strict CommonJS, but 16 | // only CommonJS-like environments that support module.exports, 17 | // like Node. 18 | module.exports = factory(require("jquery")); 19 | } else { 20 | factory(root["jQuery"]); 21 | } 22 | }(this, function (jQuery) { 23 | 24 | (function ($) { 25 | $.fn.selectpicker.defaults = { 26 | noneSelectedText: 'Niets geselecteerd', 27 | noneResultsText: 'Geen resultaten gevonden voor {0}', 28 | countSelectedText: '{0} van {1} geselecteerd', 29 | maxOptionsText: ['Limiet bereikt ({n} {var} max)', 'Groep limiet bereikt ({n} {var} max)', ['items', 'item']], 30 | selectAllText: 'Alles selecteren', 31 | deselectAllText: 'Alles deselecteren', 32 | multipleSeparator: ', ' 33 | }; 34 | })(jQuery); 35 | 36 | 37 | })); 38 | -------------------------------------------------------------------------------- /phantomapp/static/vendor/bootstrap-select/js/i18n/defaults-nl_NL.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap-select v1.12.4 (http://silviomoreto.github.io/bootstrap-select) 3 | * 4 | * Copyright 2013-2017 bootstrap-select 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 6 | */ 7 | !function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(a){return b(a)}):"object"==typeof module&&module.exports?module.exports=b(require("jquery")):b(a.jQuery)}(this,function(a){!function(a){a.fn.selectpicker.defaults={noneSelectedText:"Niets geselecteerd",noneResultsText:"Geen resultaten gevonden voor {0}",countSelectedText:"{0} van {1} geselecteerd",maxOptionsText:["Limiet bereikt ({n} {var} max)","Groep limiet bereikt ({n} {var} max)",["items","item"]],selectAllText:"Alles selecteren",deselectAllText:"Alles deselecteren",multipleSeparator:", "}}(a)}); -------------------------------------------------------------------------------- /phantomapp/static/vendor/bootstrap-select/js/i18n/defaults-pl_PL.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap-select v1.12.4 (http://silviomoreto.github.io/bootstrap-select) 3 | * 4 | * Copyright 2013-2017 bootstrap-select 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 6 | */ 7 | 8 | (function (root, factory) { 9 | if (typeof define === 'function' && define.amd) { 10 | // AMD. Register as an anonymous module unless amdModuleId is set 11 | define(["jquery"], function (a0) { 12 | return (factory(a0)); 13 | }); 14 | } else if (typeof module === 'object' && module.exports) { 15 | // Node. Does not work with strict CommonJS, but 16 | // only CommonJS-like environments that support module.exports, 17 | // like Node. 18 | module.exports = factory(require("jquery")); 19 | } else { 20 | factory(root["jQuery"]); 21 | } 22 | }(this, function (jQuery) { 23 | 24 | (function ($) { 25 | $.fn.selectpicker.defaults = { 26 | noneSelectedText: 'Nic nie zaznaczono', 27 | noneResultsText: 'Brak wyników wyszukiwania {0}', 28 | countSelectedText: 'Zaznaczono {0} z {1}', 29 | maxOptionsText: ['Osiągnięto limit ({n} {var} max)', 'Limit grupy osiągnięty ({n} {var} max)', ['elementy', 'element']], 30 | selectAllText: 'Zaznacz wszystkie', 31 | deselectAllText: 'Odznacz wszystkie', 32 | multipleSeparator: ', ' 33 | }; 34 | })(jQuery); 35 | 36 | 37 | })); 38 | -------------------------------------------------------------------------------- /phantomapp/static/vendor/bootstrap-select/js/i18n/defaults-pl_PL.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap-select v1.12.4 (http://silviomoreto.github.io/bootstrap-select) 3 | * 4 | * Copyright 2013-2017 bootstrap-select 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 6 | */ 7 | !function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(a){return b(a)}):"object"==typeof module&&module.exports?module.exports=b(require("jquery")):b(a.jQuery)}(this,function(a){!function(a){a.fn.selectpicker.defaults={noneSelectedText:"Nic nie zaznaczono",noneResultsText:"Brak wyników wyszukiwania {0}",countSelectedText:"Zaznaczono {0} z {1}",maxOptionsText:["Osiągnięto limit ({n} {var} max)","Limit grupy osiągnięty ({n} {var} max)",["elementy","element"]],selectAllText:"Zaznacz wszystkie",deselectAllText:"Odznacz wszystkie",multipleSeparator:", "}}(a)}); -------------------------------------------------------------------------------- /phantomapp/static/vendor/bootstrap-select/js/i18n/defaults-pt_BR.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap-select v1.12.4 (http://silviomoreto.github.io/bootstrap-select) 3 | * 4 | * Copyright 2013-2017 bootstrap-select 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 6 | */ 7 | 8 | (function (root, factory) { 9 | if (typeof define === 'function' && define.amd) { 10 | // AMD. Register as an anonymous module unless amdModuleId is set 11 | define(["jquery"], function (a0) { 12 | return (factory(a0)); 13 | }); 14 | } else if (typeof module === 'object' && module.exports) { 15 | // Node. Does not work with strict CommonJS, but 16 | // only CommonJS-like environments that support module.exports, 17 | // like Node. 18 | module.exports = factory(require("jquery")); 19 | } else { 20 | factory(root["jQuery"]); 21 | } 22 | }(this, function (jQuery) { 23 | 24 | (function ($) { 25 | $.fn.selectpicker.defaults = { 26 | noneSelectedText: 'Nada selecionado', 27 | noneResultsText: 'Nada encontrado contendo {0}', 28 | countSelectedText: 'Selecionado {0} de {1}', 29 | maxOptionsText: ['Limite excedido (máx. {n} {var})', 'Limite do grupo excedido (máx. {n} {var})', ['itens', 'item']], 30 | multipleSeparator: ', ', 31 | selectAllText: 'Selecionar Todos', 32 | deselectAllText: 'Desmarcar Todos' 33 | }; 34 | })(jQuery); 35 | 36 | 37 | })); 38 | -------------------------------------------------------------------------------- /phantomapp/static/vendor/bootstrap-select/js/i18n/defaults-pt_BR.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap-select v1.12.4 (http://silviomoreto.github.io/bootstrap-select) 3 | * 4 | * Copyright 2013-2017 bootstrap-select 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 6 | */ 7 | !function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(a){return b(a)}):"object"==typeof module&&module.exports?module.exports=b(require("jquery")):b(a.jQuery)}(this,function(a){!function(a){a.fn.selectpicker.defaults={noneSelectedText:"Nada selecionado",noneResultsText:"Nada encontrado contendo {0}",countSelectedText:"Selecionado {0} de {1}",maxOptionsText:["Limite excedido (máx. {n} {var})","Limite do grupo excedido (máx. {n} {var})",["itens","item"]],multipleSeparator:", ",selectAllText:"Selecionar Todos",deselectAllText:"Desmarcar Todos"}}(a)}); -------------------------------------------------------------------------------- /phantomapp/static/vendor/bootstrap-select/js/i18n/defaults-pt_PT.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap-select v1.12.4 (http://silviomoreto.github.io/bootstrap-select) 3 | * 4 | * Copyright 2013-2017 bootstrap-select 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 6 | */ 7 | 8 | (function (root, factory) { 9 | if (typeof define === 'function' && define.amd) { 10 | // AMD. Register as an anonymous module unless amdModuleId is set 11 | define(["jquery"], function (a0) { 12 | return (factory(a0)); 13 | }); 14 | } else if (typeof module === 'object' && module.exports) { 15 | // Node. Does not work with strict CommonJS, but 16 | // only CommonJS-like environments that support module.exports, 17 | // like Node. 18 | module.exports = factory(require("jquery")); 19 | } else { 20 | factory(root["jQuery"]); 21 | } 22 | }(this, function (jQuery) { 23 | 24 | (function ($) { 25 | $.fn.selectpicker.defaults = { 26 | noneSelectedText: 'Nenhum seleccionado', 27 | noneResultsText: 'Sem resultados contendo {0}', 28 | countSelectedText: 'Selecionado {0} de {1}', 29 | maxOptionsText: ['Limite ultrapassado (máx. {n} {var})', 'Limite de seleções ultrapassado (máx. {n} {var})', ['itens', 'item']], 30 | multipleSeparator: ', ', 31 | selectAllText: 'Selecionar Tudo', 32 | deselectAllText: 'Desmarcar Todos' 33 | }; 34 | })(jQuery); 35 | 36 | 37 | })); 38 | -------------------------------------------------------------------------------- /phantomapp/static/vendor/bootstrap-select/js/i18n/defaults-pt_PT.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap-select v1.12.4 (http://silviomoreto.github.io/bootstrap-select) 3 | * 4 | * Copyright 2013-2017 bootstrap-select 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 6 | */ 7 | !function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(a){return b(a)}):"object"==typeof module&&module.exports?module.exports=b(require("jquery")):b(a.jQuery)}(this,function(a){!function(a){a.fn.selectpicker.defaults={noneSelectedText:"Nenhum seleccionado",noneResultsText:"Sem resultados contendo {0}",countSelectedText:"Selecionado {0} de {1}",maxOptionsText:["Limite ultrapassado (máx. {n} {var})","Limite de seleções ultrapassado (máx. {n} {var})",["itens","item"]],multipleSeparator:", ",selectAllText:"Selecionar Tudo",deselectAllText:"Desmarcar Todos"}}(a)}); -------------------------------------------------------------------------------- /phantomapp/static/vendor/bootstrap-select/js/i18n/defaults-ro_RO.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap-select v1.12.4 (http://silviomoreto.github.io/bootstrap-select) 3 | * 4 | * Copyright 2013-2017 bootstrap-select 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 6 | */ 7 | 8 | (function (root, factory) { 9 | if (typeof define === 'function' && define.amd) { 10 | // AMD. Register as an anonymous module unless amdModuleId is set 11 | define(["jquery"], function (a0) { 12 | return (factory(a0)); 13 | }); 14 | } else if (typeof module === 'object' && module.exports) { 15 | // Node. Does not work with strict CommonJS, but 16 | // only CommonJS-like environments that support module.exports, 17 | // like Node. 18 | module.exports = factory(require("jquery")); 19 | } else { 20 | factory(root["jQuery"]); 21 | } 22 | }(this, function (jQuery) { 23 | 24 | (function ($) { 25 | $.fn.selectpicker.defaults = { 26 | doneButtonText: 'Închide', 27 | noneSelectedText: 'Nu a fost selectat nimic', 28 | noneResultsText: 'Nu există niciun rezultat {0}', 29 | countSelectedText: '{0} din {1} selectat(e)', 30 | maxOptionsText: ['Limita a fost atinsă ({n} {var} max)', 'Limita de grup a fost atinsă ({n} {var} max)', ['iteme', 'item']], 31 | selectAllText: 'Selectează toate', 32 | deselectAllText: 'Deselectează toate', 33 | multipleSeparator: ', ' 34 | }; 35 | })(jQuery); 36 | 37 | 38 | })); 39 | -------------------------------------------------------------------------------- /phantomapp/static/vendor/bootstrap-select/js/i18n/defaults-ro_RO.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap-select v1.12.4 (http://silviomoreto.github.io/bootstrap-select) 3 | * 4 | * Copyright 2013-2017 bootstrap-select 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 6 | */ 7 | !function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(a){return b(a)}):"object"==typeof module&&module.exports?module.exports=b(require("jquery")):b(a.jQuery)}(this,function(a){!function(a){a.fn.selectpicker.defaults={doneButtonText:"Închide",noneSelectedText:"Nu a fost selectat nimic",noneResultsText:"Nu există niciun rezultat {0}",countSelectedText:"{0} din {1} selectat(e)",maxOptionsText:["Limita a fost atinsă ({n} {var} max)","Limita de grup a fost atinsă ({n} {var} max)",["iteme","item"]],selectAllText:"Selectează toate",deselectAllText:"Deselectează toate",multipleSeparator:", "}}(a)}); -------------------------------------------------------------------------------- /phantomapp/static/vendor/bootstrap-select/js/i18n/defaults-ru_RU.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap-select v1.12.4 (http://silviomoreto.github.io/bootstrap-select) 3 | * 4 | * Copyright 2013-2017 bootstrap-select 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 6 | */ 7 | 8 | (function (root, factory) { 9 | if (typeof define === 'function' && define.amd) { 10 | // AMD. Register as an anonymous module unless amdModuleId is set 11 | define(["jquery"], function (a0) { 12 | return (factory(a0)); 13 | }); 14 | } else if (typeof module === 'object' && module.exports) { 15 | // Node. Does not work with strict CommonJS, but 16 | // only CommonJS-like environments that support module.exports, 17 | // like Node. 18 | module.exports = factory(require("jquery")); 19 | } else { 20 | factory(root["jQuery"]); 21 | } 22 | }(this, function (jQuery) { 23 | 24 | (function ($) { 25 | $.fn.selectpicker.defaults = { 26 | noneSelectedText: 'Ничего не выбрано', 27 | noneResultsText: 'Совпадений не найдено {0}', 28 | countSelectedText: 'Выбрано {0} из {1}', 29 | maxOptionsText: ['Достигнут предел ({n} {var} максимум)', 'Достигнут предел в группе ({n} {var} максимум)', ['шт.', 'шт.']], 30 | doneButtonText: 'Закрыть', 31 | selectAllText: 'Выбрать все', 32 | deselectAllText: 'Отменить все', 33 | multipleSeparator: ', ' 34 | }; 35 | })(jQuery); 36 | 37 | 38 | })); 39 | -------------------------------------------------------------------------------- /phantomapp/static/vendor/bootstrap-select/js/i18n/defaults-ru_RU.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap-select v1.12.4 (http://silviomoreto.github.io/bootstrap-select) 3 | * 4 | * Copyright 2013-2017 bootstrap-select 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 6 | */ 7 | !function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(a){return b(a)}):"object"==typeof module&&module.exports?module.exports=b(require("jquery")):b(a.jQuery)}(this,function(a){!function(a){a.fn.selectpicker.defaults={noneSelectedText:"Ничего не выбрано",noneResultsText:"Совпадений не найдено {0}",countSelectedText:"Выбрано {0} из {1}",maxOptionsText:["Достигнут предел ({n} {var} максимум)","Достигнут предел в группе ({n} {var} максимум)",["шт.","шт."]],doneButtonText:"Закрыть",selectAllText:"Выбрать все",deselectAllText:"Отменить все",multipleSeparator:", "}}(a)}); -------------------------------------------------------------------------------- /phantomapp/static/vendor/bootstrap-select/js/i18n/defaults-sk_SK.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap-select v1.12.4 (http://silviomoreto.github.io/bootstrap-select) 3 | * 4 | * Copyright 2013-2017 bootstrap-select 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 6 | */ 7 | 8 | (function (root, factory) { 9 | if (typeof define === 'function' && define.amd) { 10 | // AMD. Register as an anonymous module unless amdModuleId is set 11 | define(["jquery"], function (a0) { 12 | return (factory(a0)); 13 | }); 14 | } else if (typeof module === 'object' && module.exports) { 15 | // Node. Does not work with strict CommonJS, but 16 | // only CommonJS-like environments that support module.exports, 17 | // like Node. 18 | module.exports = factory(require("jquery")); 19 | } else { 20 | factory(root["jQuery"]); 21 | } 22 | }(this, function (jQuery) { 23 | 24 | (function ($) { 25 | $.fn.selectpicker.defaults = { 26 | noneSelectedText: 'Vyberte zo zoznamu', 27 | noneResultsText: 'Pre výraz {0} neboli nájdené žiadne výsledky', 28 | countSelectedText: 'Vybrané {0} z {1}', 29 | maxOptionsText: ['Limit prekročený ({n} {var} max)', 'Limit skupiny prekročený ({n} {var} max)', ['položiek', 'položka']], 30 | selectAllText: 'Vybrať všetky', 31 | deselectAllText: 'Zrušiť výber', 32 | multipleSeparator: ', ' 33 | }; 34 | })(jQuery); 35 | 36 | 37 | })); 38 | -------------------------------------------------------------------------------- /phantomapp/static/vendor/bootstrap-select/js/i18n/defaults-sk_SK.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap-select v1.12.4 (http://silviomoreto.github.io/bootstrap-select) 3 | * 4 | * Copyright 2013-2017 bootstrap-select 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 6 | */ 7 | !function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(a){return b(a)}):"object"==typeof module&&module.exports?module.exports=b(require("jquery")):b(a.jQuery)}(this,function(a){!function(a){a.fn.selectpicker.defaults={noneSelectedText:"Vyberte zo zoznamu",noneResultsText:"Pre výraz {0} neboli nájdené žiadne výsledky",countSelectedText:"Vybrané {0} z {1}",maxOptionsText:["Limit prekročený ({n} {var} max)","Limit skupiny prekročený ({n} {var} max)",["položiek","položka"]],selectAllText:"Vybrať všetky",deselectAllText:"Zrušiť výber",multipleSeparator:", "}}(a)}); -------------------------------------------------------------------------------- /phantomapp/static/vendor/bootstrap-select/js/i18n/defaults-sl_SI.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap-select v1.12.4 (http://silviomoreto.github.io/bootstrap-select) 3 | * 4 | * Copyright 2013-2017 bootstrap-select 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 6 | */ 7 | 8 | (function (root, factory) { 9 | if (typeof define === 'function' && define.amd) { 10 | // AMD. Register as an anonymous module unless amdModuleId is set 11 | define(["jquery"], function (a0) { 12 | return (factory(a0)); 13 | }); 14 | } else if (typeof module === 'object' && module.exports) { 15 | // Node. Does not work with strict CommonJS, but 16 | // only CommonJS-like environments that support module.exports, 17 | // like Node. 18 | module.exports = factory(require("jquery")); 19 | } else { 20 | factory(root["jQuery"]); 21 | } 22 | }(this, function (jQuery) { 23 | 24 | (function ($) { 25 | $.fn.selectpicker.defaults = { 26 | noneSelectedText: 'Nič izbranega', 27 | noneResultsText: 'Ni zadetkov za {0}', 28 | countSelectedText: '{0} od {1} izbranih', 29 | maxOptionsText: function (numAll, numGroup) { 30 | return [ 31 | 'Omejitev dosežena (max. izbranih: {n})', 32 | 'Omejitev skupine dosežena (max. izbranih: {n})' 33 | ]; 34 | }, 35 | selectAllText: 'Izberi vse', 36 | deselectAllText: 'Počisti izbor', 37 | multipleSeparator: ', ' 38 | }; 39 | })(jQuery); 40 | 41 | 42 | })); 43 | -------------------------------------------------------------------------------- /phantomapp/static/vendor/bootstrap-select/js/i18n/defaults-sl_SI.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap-select v1.12.4 (http://silviomoreto.github.io/bootstrap-select) 3 | * 4 | * Copyright 2013-2017 bootstrap-select 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 6 | */ 7 | !function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(a){return b(a)}):"object"==typeof module&&module.exports?module.exports=b(require("jquery")):b(a.jQuery)}(this,function(a){!function(a){a.fn.selectpicker.defaults={noneSelectedText:"Nič izbranega",noneResultsText:"Ni zadetkov za {0}",countSelectedText:"{0} od {1} izbranih",maxOptionsText:function(a,b){return["Omejitev dosežena (max. izbranih: {n})","Omejitev skupine dosežena (max. izbranih: {n})"]},selectAllText:"Izberi vse",deselectAllText:"Počisti izbor",multipleSeparator:", "}}(a)}); -------------------------------------------------------------------------------- /phantomapp/static/vendor/bootstrap-select/js/i18n/defaults-sv_SE.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap-select v1.12.4 (http://silviomoreto.github.io/bootstrap-select) 3 | * 4 | * Copyright 2013-2017 bootstrap-select 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 6 | */ 7 | 8 | (function (root, factory) { 9 | if (typeof define === 'function' && define.amd) { 10 | // AMD. Register as an anonymous module unless amdModuleId is set 11 | define(["jquery"], function (a0) { 12 | return (factory(a0)); 13 | }); 14 | } else if (typeof module === 'object' && module.exports) { 15 | // Node. Does not work with strict CommonJS, but 16 | // only CommonJS-like environments that support module.exports, 17 | // like Node. 18 | module.exports = factory(require("jquery")); 19 | } else { 20 | factory(root["jQuery"]); 21 | } 22 | }(this, function (jQuery) { 23 | 24 | (function ($) { 25 | $.fn.selectpicker.defaults = { 26 | noneSelectedText: 'Inget valt', 27 | noneResultsText: 'Inget sökresultat matchar {0}', 28 | countSelectedText: function (numSelected, numTotal) { 29 | return (numSelected === 1) ? "{0} alternativ valt" : "{0} alternativ valda"; 30 | }, 31 | maxOptionsText: function (numAll, numGroup) { 32 | return [ 33 | 'Gräns uppnåd (max {n} alternativ)', 34 | 'Gräns uppnåd (max {n} gruppalternativ)' 35 | ]; 36 | }, 37 | selectAllText: 'Markera alla', 38 | deselectAllText: 'Avmarkera alla', 39 | multipleSeparator: ', ' 40 | }; 41 | })(jQuery); 42 | 43 | 44 | })); 45 | -------------------------------------------------------------------------------- /phantomapp/static/vendor/bootstrap-select/js/i18n/defaults-sv_SE.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap-select v1.12.4 (http://silviomoreto.github.io/bootstrap-select) 3 | * 4 | * Copyright 2013-2017 bootstrap-select 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 6 | */ 7 | !function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(a){return b(a)}):"object"==typeof module&&module.exports?module.exports=b(require("jquery")):b(a.jQuery)}(this,function(a){!function(a){a.fn.selectpicker.defaults={noneSelectedText:"Inget valt",noneResultsText:"Inget sökresultat matchar {0}",countSelectedText:function(a,b){return 1===a?"{0} alternativ valt":"{0} alternativ valda"},maxOptionsText:function(a,b){return["Gräns uppnåd (max {n} alternativ)","Gräns uppnåd (max {n} gruppalternativ)"]},selectAllText:"Markera alla",deselectAllText:"Avmarkera alla",multipleSeparator:", "}}(a)}); -------------------------------------------------------------------------------- /phantomapp/static/vendor/bootstrap-select/js/i18n/defaults-tr_TR.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap-select v1.12.4 (http://silviomoreto.github.io/bootstrap-select) 3 | * 4 | * Copyright 2013-2017 bootstrap-select 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 6 | */ 7 | 8 | (function (root, factory) { 9 | if (typeof define === 'function' && define.amd) { 10 | // AMD. Register as an anonymous module unless amdModuleId is set 11 | define(["jquery"], function (a0) { 12 | return (factory(a0)); 13 | }); 14 | } else if (typeof module === 'object' && module.exports) { 15 | // Node. Does not work with strict CommonJS, but 16 | // only CommonJS-like environments that support module.exports, 17 | // like Node. 18 | module.exports = factory(require("jquery")); 19 | } else { 20 | factory(root["jQuery"]); 21 | } 22 | }(this, function (jQuery) { 23 | 24 | (function ($) { 25 | $.fn.selectpicker.defaults = { 26 | noneSelectedText: 'Hiçbiri seçilmedi', 27 | noneResultsText: 'Hiçbir sonuç bulunamadı {0}', 28 | countSelectedText: function (numSelected, numTotal) { 29 | return (numSelected == 1) ? "{0} öğe seçildi" : "{0} öğe seçildi"; 30 | }, 31 | maxOptionsText: function (numAll, numGroup) { 32 | return [ 33 | (numAll == 1) ? 'Limit aşıldı (maksimum {n} sayıda öğe )' : 'Limit aşıldı (maksimum {n} sayıda öğe)', 34 | (numGroup == 1) ? 'Grup limiti aşıldı (maksimum {n} sayıda öğe)' : 'Grup limiti aşıldı (maksimum {n} sayıda öğe)' 35 | ]; 36 | }, 37 | selectAllText: 'Tümünü Seç', 38 | deselectAllText: 'Seçiniz', 39 | multipleSeparator: ', ' 40 | }; 41 | })(jQuery); 42 | 43 | 44 | })); 45 | -------------------------------------------------------------------------------- /phantomapp/static/vendor/bootstrap-select/js/i18n/defaults-tr_TR.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap-select v1.12.4 (http://silviomoreto.github.io/bootstrap-select) 3 | * 4 | * Copyright 2013-2017 bootstrap-select 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 6 | */ 7 | !function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(a){return b(a)}):"object"==typeof module&&module.exports?module.exports=b(require("jquery")):b(a.jQuery)}(this,function(a){!function(a){a.fn.selectpicker.defaults={noneSelectedText:"Hiçbiri seçilmedi",noneResultsText:"Hiçbir sonuç bulunamadı {0}",countSelectedText:function(a,b){return"{0} öğe seçildi"},maxOptionsText:function(a,b){return[1==a?"Limit aşıldı (maksimum {n} sayıda öğe )":"Limit aşıldı (maksimum {n} sayıda öğe)","Grup limiti aşıldı (maksimum {n} sayıda öğe)"]},selectAllText:"Tümünü Seç",deselectAllText:"Seçiniz",multipleSeparator:", "}}(a)}); -------------------------------------------------------------------------------- /phantomapp/static/vendor/bootstrap-select/js/i18n/defaults-ua_UA.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap-select v1.12.4 (http://silviomoreto.github.io/bootstrap-select) 3 | * 4 | * Copyright 2013-2017 bootstrap-select 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 6 | */ 7 | 8 | (function (root, factory) { 9 | if (typeof define === 'function' && define.amd) { 10 | // AMD. Register as an anonymous module unless amdModuleId is set 11 | define(["jquery"], function (a0) { 12 | return (factory(a0)); 13 | }); 14 | } else if (typeof module === 'object' && module.exports) { 15 | // Node. Does not work with strict CommonJS, but 16 | // only CommonJS-like environments that support module.exports, 17 | // like Node. 18 | module.exports = factory(require("jquery")); 19 | } else { 20 | factory(root["jQuery"]); 21 | } 22 | }(this, function (jQuery) { 23 | 24 | (function ($) { 25 | $.fn.selectpicker.defaults = { 26 | noneSelectedText: 'Нічого не вибрано', 27 | noneResultsText: 'Збігів не знайдено {0}', 28 | countSelectedText: 'Вибрано {0} із {1}', 29 | maxOptionsText: ['Досягнута межа ({n} {var} максимум)', 'Досягнута межа в групі ({n} {var} максимум)', ['items', 'item']], 30 | multipleSeparator: ', ', 31 | selectAllText: 'Вибрати все', 32 | deselectAllText: 'Скасувати вибір усі' 33 | }; 34 | })(jQuery); 35 | 36 | 37 | })); 38 | -------------------------------------------------------------------------------- /phantomapp/static/vendor/bootstrap-select/js/i18n/defaults-ua_UA.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap-select v1.12.4 (http://silviomoreto.github.io/bootstrap-select) 3 | * 4 | * Copyright 2013-2017 bootstrap-select 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 6 | */ 7 | !function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(a){return b(a)}):"object"==typeof module&&module.exports?module.exports=b(require("jquery")):b(a.jQuery)}(this,function(a){!function(a){a.fn.selectpicker.defaults={noneSelectedText:"Нічого не вибрано",noneResultsText:"Збігів не знайдено {0}",countSelectedText:"Вибрано {0} із {1}",maxOptionsText:["Досягнута межа ({n} {var} максимум)","Досягнута межа в групі ({n} {var} максимум)",["items","item"]],multipleSeparator:", ",selectAllText:"Вибрати все",deselectAllText:"Скасувати вибір усі"}}(a)}); -------------------------------------------------------------------------------- /phantomapp/static/vendor/bootstrap-select/js/i18n/defaults-vi_VN.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap-select v1.12.4 (http://silviomoreto.github.io/bootstrap-select) 3 | * 4 | * Copyright 2013-2017 bootstrap-select 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 6 | */ 7 | 8 | (function (root, factory) { 9 | if (typeof define === 'function' && define.amd) { 10 | // AMD. Register as an anonymous module unless amdModuleId is set 11 | define(["jquery"], function (a0) { 12 | return (factory(a0)); 13 | }); 14 | } else if (typeof module === 'object' && module.exports) { 15 | // Node. Does not work with strict CommonJS, but 16 | // only CommonJS-like environments that support module.exports, 17 | // like Node. 18 | module.exports = factory(require("jquery")); 19 | } else { 20 | factory(root["jQuery"]); 21 | } 22 | }(this, function (jQuery) { 23 | 24 | (function ($) { 25 | $.fn.selectpicker.defaults = { 26 | noneSelectedText: 'Chưa chọn', 27 | noneResultsText: 'Không có kết quả cho {0}', 28 | countSelectedText: function (numSelected, numTotal) { 29 | return "{0} mục đã chọn"; 30 | }, 31 | maxOptionsText: function (numAll, numGroup) { 32 | return [ 33 | 'Không thể chọn (giới hạn {n} mục)', 34 | 'Không thể chọn (giới hạn {n} mục)' 35 | ]; 36 | }, 37 | selectAllText: 'Chọn tất cả', 38 | deselectAllText: 'Bỏ chọn', 39 | multipleSeparator: ', ' 40 | }; 41 | })(jQuery); 42 | 43 | 44 | })); 45 | -------------------------------------------------------------------------------- /phantomapp/static/vendor/bootstrap-select/js/i18n/defaults-vi_VN.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap-select v1.12.4 (http://silviomoreto.github.io/bootstrap-select) 3 | * 4 | * Copyright 2013-2017 bootstrap-select 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 6 | */ 7 | !function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(a){return b(a)}):"object"==typeof module&&module.exports?module.exports=b(require("jquery")):b(a.jQuery)}(this,function(a){!function(a){a.fn.selectpicker.defaults={noneSelectedText:"Chưa chọn",noneResultsText:"Không có kết quả cho {0}",countSelectedText:function(a,b){return"{0} mục đã chọn"},maxOptionsText:function(a,b){return["Không thể chọn (giới hạn {n} mục)","Không thể chọn (giới hạn {n} mục)"]},selectAllText:"Chọn tất cả",deselectAllText:"Bỏ chọn",multipleSeparator:", "}}(a)}); -------------------------------------------------------------------------------- /phantomapp/static/vendor/bootstrap-select/js/i18n/defaults-zh_CN.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap-select v1.12.4 (http://silviomoreto.github.io/bootstrap-select) 3 | * 4 | * Copyright 2013-2017 bootstrap-select 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 6 | */ 7 | 8 | (function (root, factory) { 9 | if (typeof define === 'function' && define.amd) { 10 | // AMD. Register as an anonymous module unless amdModuleId is set 11 | define(["jquery"], function (a0) { 12 | return (factory(a0)); 13 | }); 14 | } else if (typeof module === 'object' && module.exports) { 15 | // Node. Does not work with strict CommonJS, but 16 | // only CommonJS-like environments that support module.exports, 17 | // like Node. 18 | module.exports = factory(require("jquery")); 19 | } else { 20 | factory(root["jQuery"]); 21 | } 22 | }(this, function (jQuery) { 23 | 24 | (function ($) { 25 | $.fn.selectpicker.defaults = { 26 | noneSelectedText: '没有选中任何项', 27 | noneResultsText: '没有找到匹配项', 28 | countSelectedText: '选中{1}中的{0}项', 29 | maxOptionsText: ['超出限制 (最多选择{n}项)', '组选择超出限制(最多选择{n}组)'], 30 | multipleSeparator: ', ', 31 | selectAllText: '全选', 32 | deselectAllText: '取消全选' 33 | }; 34 | })(jQuery); 35 | 36 | 37 | })); 38 | -------------------------------------------------------------------------------- /phantomapp/static/vendor/bootstrap-select/js/i18n/defaults-zh_CN.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap-select v1.12.4 (http://silviomoreto.github.io/bootstrap-select) 3 | * 4 | * Copyright 2013-2017 bootstrap-select 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 6 | */ 7 | !function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(a){return b(a)}):"object"==typeof module&&module.exports?module.exports=b(require("jquery")):b(a.jQuery)}(this,function(a){!function(a){a.fn.selectpicker.defaults={noneSelectedText:"没有选中任何项",noneResultsText:"没有找到匹配项",countSelectedText:"选中{1}中的{0}项",maxOptionsText:["超出限制 (最多选择{n}项)","组选择超出限制(最多选择{n}组)"],multipleSeparator:", ",selectAllText:"全选",deselectAllText:"取消全选"}}(a)}); -------------------------------------------------------------------------------- /phantomapp/static/vendor/bootstrap-select/js/i18n/defaults-zh_TW.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap-select v1.12.4 (http://silviomoreto.github.io/bootstrap-select) 3 | * 4 | * Copyright 2013-2017 bootstrap-select 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 6 | */ 7 | 8 | (function (root, factory) { 9 | if (typeof define === 'function' && define.amd) { 10 | // AMD. Register as an anonymous module unless amdModuleId is set 11 | define(["jquery"], function (a0) { 12 | return (factory(a0)); 13 | }); 14 | } else if (typeof module === 'object' && module.exports) { 15 | // Node. Does not work with strict CommonJS, but 16 | // only CommonJS-like environments that support module.exports, 17 | // like Node. 18 | module.exports = factory(require("jquery")); 19 | } else { 20 | factory(root["jQuery"]); 21 | } 22 | }(this, function (jQuery) { 23 | 24 | (function ($) { 25 | $.fn.selectpicker.defaults = { 26 | noneSelectedText: '沒有選取任何項目', 27 | noneResultsText: '沒有找到符合的結果', 28 | countSelectedText: '已經選取{0}個項目', 29 | maxOptionsText: ['超過限制 (最多選擇{n}項)', '超過限制(最多選擇{n}組)'], 30 | selectAllText: '選取全部', 31 | deselectAllText: '全部取消', 32 | multipleSeparator: ', ' 33 | }; 34 | })(jQuery); 35 | 36 | 37 | })); 38 | -------------------------------------------------------------------------------- /phantomapp/static/vendor/bootstrap-select/js/i18n/defaults-zh_TW.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap-select v1.12.4 (http://silviomoreto.github.io/bootstrap-select) 3 | * 4 | * Copyright 2013-2017 bootstrap-select 5 | * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) 6 | */ 7 | !function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(a){return b(a)}):"object"==typeof module&&module.exports?module.exports=b(require("jquery")):b(a.jQuery)}(this,function(a){!function(a){a.fn.selectpicker.defaults={noneSelectedText:"沒有選取任何項目",noneResultsText:"沒有找到符合的結果",countSelectedText:"已經選取{0}個項目",maxOptionsText:["超過限制 (最多選擇{n}項)","超過限制(最多選擇{n}組)"],selectAllText:"選取全部",deselectAllText:"全部取消",multipleSeparator:", "}}(a)}); -------------------------------------------------------------------------------- /phantomapp/static/vendor/bootstrap/css/bootstrap-reboot.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap Reboot v4.1.0 (https://getbootstrap.com/) 3 | * Copyright 2011-2018 The Bootstrap Authors 4 | * Copyright 2011-2018 Twitter, Inc. 5 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 6 | * Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md) 7 | */*,::after,::before{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:transparent}@-ms-viewport{width:device-width}article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:1rem;font-weight:400;line-height:1.5;color:#212529;text-align:left;background-color:#fff}[tabindex="-1"]:focus{outline:0!important}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem}p{margin-top:0;margin-bottom:1rem}abbr[data-original-title],abbr[title]{text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;border-bottom:0}address{margin-bottom:1rem;font-style:normal;line-height:inherit}dl,ol,ul{margin-top:0;margin-bottom:1rem}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:#007bff;text-decoration:none;background-color:transparent;-webkit-text-decoration-skip:objects}a:hover{color:#0056b3;text-decoration:underline}a:not([href]):not([tabindex]){color:inherit;text-decoration:none}a:not([href]):not([tabindex]):focus,a:not([href]):not([tabindex]):hover{color:inherit;text-decoration:none}a:not([href]):not([tabindex]):focus{outline:0}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}pre{margin-top:0;margin-bottom:1rem;overflow:auto;-ms-overflow-style:scrollbar}figure{margin:0 0 1rem}img{vertical-align:middle;border-style:none}svg:not(:root){overflow:hidden}table{border-collapse:collapse}caption{padding-top:.75rem;padding-bottom:.75rem;color:#6c757d;text-align:left;caption-side:bottom}th{text-align:inherit}label{display:inline-block;margin-bottom:.5rem}button{border-radius:0}button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}button,input,optgroup,select,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{padding:0;border-style:none}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=date],input[type=datetime-local],input[type=month],input[type=time]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{display:block;width:100%;max-width:100%;padding:0;margin-bottom:.5rem;font-size:1.5rem;line-height:inherit;color:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item;cursor:pointer}template{display:none}[hidden]{display:none!important} 8 | /*# sourceMappingURL=bootstrap-reboot.min.css.map */ -------------------------------------------------------------------------------- /phantomapp/static/vendor/font-awesome/HELP-US-OUT.txt: -------------------------------------------------------------------------------- 1 | I hope you love Font Awesome. If you've found it useful, please do me a favor and check out my latest project, 2 | Fort Awesome (https://fortawesome.com). It makes it easy to put the perfect icons on your website. Choose from our awesome, 3 | comprehensive icon sets or copy and paste your own. 4 | 5 | Please. Check it out. 6 | 7 | -Dave Gandy 8 | -------------------------------------------------------------------------------- /phantomapp/static/vendor/font-awesome/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/vendor/font-awesome/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /phantomapp/static/vendor/font-awesome/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/vendor/font-awesome/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /phantomapp/static/vendor/font-awesome/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/vendor/font-awesome/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /phantomapp/static/vendor/font-awesome/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/vendor/font-awesome/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /phantomapp/static/vendor/font-awesome/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomapp/static/vendor/font-awesome/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /phantomapp/static/vendor/jquery.cookie/MIT-LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright 2014 Klaus Hartl 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining 4 | a copy of this software and associated documentation files (the 5 | "Software"), to deal in the Software without restriction, including 6 | without limitation the rights to use, copy, modify, merge, publish, 7 | distribute, sublicense, and/or sell copies of the Software, and to 8 | permit persons to whom the Software is furnished to do so, subject to 9 | the following conditions: 10 | 11 | The above copyright notice and this permission notice shall be 12 | included in all copies or substantial portions of the Software. 13 | 14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 15 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 16 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 17 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 18 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 19 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 20 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 21 | -------------------------------------------------------------------------------- /phantomapp/static/vendor/jquery.cookie/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "jquery.cookie", 3 | "repo": "carhartl/jquery-cookie", 4 | "description": "A simple, lightweight jQuery plugin for reading, writing and deleting cookies", 5 | "version": "1.4.1", 6 | "keywords": [], 7 | "dependencies": {}, 8 | "development": {}, 9 | "license": "MIT", 10 | "main": "jquery.cookie.js", 11 | "scripts": [ 12 | "jquery.cookie.js" 13 | ] 14 | } 15 | -------------------------------------------------------------------------------- /phantomapp/static/vendor/jquery.cookie/cookie.jquery.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "cookie", 3 | "version": "1.4.1", 4 | "title": "jQuery Cookie", 5 | "description": "A simple, lightweight jQuery plugin for reading, writing and deleting cookies.", 6 | "author": { 7 | "name": "Klaus Hartl", 8 | "url": "https://github.com/carhartl" 9 | }, 10 | "maintainers": [ 11 | { 12 | "name": "Klaus Hartl", 13 | "url": "https://github.com/carhartl" 14 | }, 15 | { 16 | "name": "Fagner Martins", 17 | "url": "https://github.com/FagnerMartinsBrack" 18 | } 19 | ], 20 | "licenses": [ 21 | { 22 | "type": "MIT", 23 | "url": "https://raw.github.com/carhartl/jquery-cookie/master/MIT-LICENSE.txt" 24 | } 25 | ], 26 | "dependencies": { 27 | "jquery": ">=1.2" 28 | }, 29 | "bugs": "https://github.com/carhartl/jquery-cookie/issues", 30 | "homepage": "https://github.com/carhartl/jquery-cookie", 31 | "docs": "https://github.com/carhartl/jquery-cookie#readme" 32 | } 33 | -------------------------------------------------------------------------------- /phantomapp/static/vendor/jquery.cookie/jquery.cookie.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * jQuery Cookie Plugin v1.4.1 3 | * https://github.com/carhartl/jquery-cookie 4 | * 5 | * Copyright 2013 Klaus Hartl 6 | * Released under the MIT license 7 | */ 8 | (function (factory) { 9 | if (typeof define === 'function' && define.amd) { 10 | // AMD 11 | define(['jquery'], factory); 12 | } else if (typeof exports === 'object') { 13 | // CommonJS 14 | factory(require('jquery')); 15 | } else { 16 | // Browser globals 17 | factory(jQuery); 18 | } 19 | }(function ($) { 20 | 21 | var pluses = /\+/g; 22 | 23 | function encode(s) { 24 | return config.raw ? s : encodeURIComponent(s); 25 | } 26 | 27 | function decode(s) { 28 | return config.raw ? s : decodeURIComponent(s); 29 | } 30 | 31 | function stringifyCookieValue(value) { 32 | return encode(config.json ? JSON.stringify(value) : String(value)); 33 | } 34 | 35 | function parseCookieValue(s) { 36 | if (s.indexOf('"') === 0) { 37 | // This is a quoted cookie as according to RFC2068, unescape... 38 | s = s.slice(1, -1).replace(/\\"/g, '"').replace(/\\\\/g, '\\'); 39 | } 40 | 41 | try { 42 | // Replace server-side written pluses with spaces. 43 | // If we can't decode the cookie, ignore it, it's unusable. 44 | // If we can't parse the cookie, ignore it, it's unusable. 45 | s = decodeURIComponent(s.replace(pluses, ' ')); 46 | return config.json ? JSON.parse(s) : s; 47 | } catch(e) {} 48 | } 49 | 50 | function read(s, converter) { 51 | var value = config.raw ? s : parseCookieValue(s); 52 | return $.isFunction(converter) ? converter(value) : value; 53 | } 54 | 55 | var config = $.cookie = function (key, value, options) { 56 | 57 | // Write 58 | 59 | if (value !== undefined && !$.isFunction(value)) { 60 | options = $.extend({}, config.defaults, options); 61 | 62 | if (typeof options.expires === 'number') { 63 | var days = options.expires, t = options.expires = new Date(); 64 | t.setTime(+t + days * 864e+5); 65 | } 66 | 67 | return (document.cookie = [ 68 | encode(key), '=', stringifyCookieValue(value), 69 | options.expires ? '; expires=' + options.expires.toUTCString() : '', // use expires attribute, max-age is not supported by IE 70 | options.path ? '; path=' + options.path : '', 71 | options.domain ? '; domain=' + options.domain : '', 72 | options.secure ? '; secure' : '' 73 | ].join('')); 74 | } 75 | 76 | // Read 77 | 78 | var result = key ? undefined : {}; 79 | 80 | // To prevent the for loop in the first place assign an empty array 81 | // in case there are no cookies at all. Also prevents odd result when 82 | // calling $.cookie(). 83 | var cookies = document.cookie ? document.cookie.split('; ') : []; 84 | 85 | for (var i = 0, l = cookies.length; i < l; i++) { 86 | var parts = cookies[i].split('='); 87 | var name = decode(parts.shift()); 88 | var cookie = parts.join('='); 89 | 90 | if (key && key === name) { 91 | // If second argument (value) is a function it's a converter... 92 | result = read(cookie, value); 93 | break; 94 | } 95 | 96 | // Prevent storing a cookie that we couldn't decode. 97 | if (!key && (cookie = read(cookie)) !== undefined) { 98 | result[name] = cookie; 99 | } 100 | } 101 | 102 | return result; 103 | }; 104 | 105 | config.defaults = {}; 106 | 107 | $.removeCookie = function (key, options) { 108 | if ($.cookie(key) === undefined) { 109 | return false; 110 | } 111 | 112 | // Must not alter options, thus extending a fresh object... 113 | $.cookie(key, '', $.extend({}, options, { expires: -1 })); 114 | return !$.cookie(key); 115 | }; 116 | 117 | })); 118 | -------------------------------------------------------------------------------- /phantomapp/static/vendor/jquery.counterup/counterup.jquery.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "jquery.counterup", 3 | "version": "2.1.0", 4 | "title": "jquery.counterup", 5 | "description": "A lightweight jQuery plugin that counts up to a targeted number when the number becomes visible.", 6 | "keywords": [ 7 | "jquery", 8 | "plugin", 9 | "counter", 10 | "count", 11 | "up", 12 | "number", 13 | "figure", 14 | "numeric", 15 | "int", 16 | "float", 17 | "animation" 18 | ], 19 | "homepage": "https://github.com/ciromattia/jquery.counterup", 20 | "author": { 21 | "name": "Benjamin Intal", 22 | "url": "https://github.com/bfintal/" 23 | }, 24 | "bugs": "https://github.com/ciromattia/jquery.counterup/issues", 25 | "licenses": [ 26 | { 27 | "type": "GPL2", 28 | "url": "https://raw.github.com/ciromattia/jquery.counterup/master/LICENSE" 29 | } 30 | ], 31 | "dependencies": { 32 | "jquery": ">=1.5", 33 | "waypoints": ">=4.0" 34 | }, 35 | "demo": "http://ciromattia.github.io//jquery.counterup/demo/index.html" 36 | } -------------------------------------------------------------------------------- /phantomapp/static/vendor/jquery.counterup/jquery.counterup.min.js: -------------------------------------------------------------------------------- 1 | (function($){"use strict";$.fn.counterUp=function(options){var settings=$.extend({time:400,delay:10,offset:100,beginAt:0,formatter:false,context:"window",callback:function(){}},options),s;return this.each(function(){var $this=$(this),counter={time:$(this).data("counterup-time")||settings.time,delay:$(this).data("counterup-delay")||settings.delay,offset:$(this).data("counterup-offset")||settings.offset,beginAt:$(this).data("counterup-beginat")||settings.beginAt,context:$(this).data("counterup-context")||settings.context};var counterUpper=function(){var nums=[];var divisions=counter.time/counter.delay;var num=$(this).attr("data-num")?$(this).attr("data-num"):$this.text();var isComma=/[0-9]+,[0-9]+/.test(num);num=num.replace(/,/g,"");var decimalPlaces=(num.split(".")[1]||[]).length;if(counter.beginAt>num)counter.beginAt=num;var isTime=/[0-9]+:[0-9]+:[0-9]+/.test(num);if(isTime){var times=num.split(":"),m=1;s=0;while(times.length>0){s+=m*parseInt(times.pop(),10);m*=60}}for(var i=divisions;i>=counter.beginAt/num*divisions;i--){var newNum=parseFloat(num/divisions*i).toFixed(decimalPlaces);if(isTime){newNum=parseInt(s/divisions*i);var hours=parseInt(newNum/3600)%24;var minutes=parseInt(newNum/60)%60;var seconds=parseInt(newNum%60,10);newNum=(hours<10?"0"+hours:hours)+":"+(minutes<10?"0"+minutes:minutes)+":"+(seconds<10?"0"+seconds:seconds)}if(isComma){while(/(\d+)(\d{3})/.test(newNum.toString())){newNum=newNum.toString().replace(/(\d+)(\d{3})/,"$1"+","+"$2")}}if(settings.formatter){newNum=settings.formatter.call(this,newNum)}nums.unshift(newNum)}$this.data("counterup-nums",nums);$this.text(counter.beginAt);var f=function(){if(!$this.data("counterup-nums")){settings.callback.call(this);return}$this.html($this.data("counterup-nums").shift());if($this.data("counterup-nums").length){setTimeout($this.data("counterup-func"),counter.delay)}else{$this.data("counterup-nums",null);$this.data("counterup-func",null);settings.callback.call(this)}};$this.data("counterup-func",f);setTimeout($this.data("counterup-func"),counter.delay)};$this.waypoint(function(direction){counterUpper();this.destroy()},{offset:counter.offset+"%",context:counter.context})})}})(jQuery); 2 | -------------------------------------------------------------------------------- /phantomapp/static/vendor/jquery.scrollto/jquery.scrollTo.min.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2007-2015 Ariel Flesler - afleslergmailcom | http://flesler.blogspot.com 3 | * Licensed under MIT 4 | * @author Ariel Flesler 5 | * @version 2.1.2 6 | */ 7 | ;(function(f){"use strict";"function"===typeof define&&define.amd?define(["jquery"],f):"undefined"!==typeof module&&module.exports?module.exports=f(require("jquery")):f(jQuery)})(function($){"use strict";function n(a){return!a.nodeName||-1!==$.inArray(a.nodeName.toLowerCase(),["iframe","#document","html","body"])}function h(a){return $.isFunction(a)||$.isPlainObject(a)?a:{top:a,left:a}}var p=$.scrollTo=function(a,d,b){return $(window).scrollTo(a,d,b)};p.defaults={axis:"xy",duration:0,limit:!0};$.fn.scrollTo=function(a,d,b){"object"=== typeof d&&(b=d,d=0);"function"===typeof b&&(b={onAfter:b});"max"===a&&(a=9E9);b=$.extend({},p.defaults,b);d=d||b.duration;var u=b.queue&&1=f[g]?0:Math.min(f[g],n));!a&&1").addClass(b.thumbContainerClass).appendTo(this.$element);var c;if(b.thumbImage)for(c=0;c');else for(c=0;c"+this._thumbcontent[c]+"")},e.prototype.setActive=function(){this.owl_currentitem=this.owl._current-this.owl._clones.length/2,this.owl_currentitem===this.owl._items.length&&(this.owl_currentitem=0);var b=this.owl.options,c=b.thumbsPrerendered?a("."+b.thumbContainerClass+'[data-slider-id="'+this._identifier+'"]'):this._thumbcontent._thumbcontainer;c.children().filter(".active").removeClass("active"),c.children().eq(this.owl_currentitem).addClass("active")},e.prototype.destroy=function(){var a,b;for(a in this._handlers)this.owl.$element.off(a,this._handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.Thumbs=e}(window.Zepto||window.jQuery,window,document); -------------------------------------------------------------------------------- /phantomapp/static/vendor/waypoints/lib/shortcuts/infinite.js: -------------------------------------------------------------------------------- 1 | /*! 2 | Waypoints Infinite Scroll Shortcut - 4.0.1 3 | Copyright © 2011-2016 Caleb Troughton 4 | Licensed under the MIT license. 5 | https://github.com/imakewebthings/waypoints/blob/master/licenses.txt 6 | */ 7 | (function() { 8 | 'use strict' 9 | 10 | var $ = window.jQuery 11 | var Waypoint = window.Waypoint 12 | 13 | /* http://imakewebthings.com/waypoints/shortcuts/infinite-scroll */ 14 | function Infinite(options) { 15 | this.options = $.extend({}, Infinite.defaults, options) 16 | this.container = this.options.element 17 | if (this.options.container !== 'auto') { 18 | this.container = this.options.container 19 | } 20 | this.$container = $(this.container) 21 | this.$more = $(this.options.more) 22 | 23 | if (this.$more.length) { 24 | this.setupHandler() 25 | this.waypoint = new Waypoint(this.options) 26 | } 27 | } 28 | 29 | /* Private */ 30 | Infinite.prototype.setupHandler = function() { 31 | this.options.handler = $.proxy(function() { 32 | this.options.onBeforePageLoad() 33 | this.destroy() 34 | this.$container.addClass(this.options.loadingClass) 35 | 36 | $.get($(this.options.more).attr('href'), $.proxy(function(data) { 37 | var $data = $($.parseHTML(data)) 38 | var $newMore = $data.find(this.options.more) 39 | 40 | var $items = $data.find(this.options.items) 41 | if (!$items.length) { 42 | $items = $data.filter(this.options.items) 43 | } 44 | 45 | this.$container.append($items) 46 | this.$container.removeClass(this.options.loadingClass) 47 | 48 | if (!$newMore.length) { 49 | $newMore = $data.filter(this.options.more) 50 | } 51 | if ($newMore.length) { 52 | this.$more.replaceWith($newMore) 53 | this.$more = $newMore 54 | this.waypoint = new Waypoint(this.options) 55 | } 56 | else { 57 | this.$more.remove() 58 | } 59 | 60 | this.options.onAfterPageLoad($items) 61 | }, this)) 62 | }, this) 63 | } 64 | 65 | /* Public */ 66 | Infinite.prototype.destroy = function() { 67 | if (this.waypoint) { 68 | this.waypoint.destroy() 69 | } 70 | } 71 | 72 | Infinite.defaults = { 73 | container: 'auto', 74 | items: '.infinite-item', 75 | more: '.infinite-more-link', 76 | offset: 'bottom-in-view', 77 | loadingClass: 'infinite-loading', 78 | onBeforePageLoad: $.noop, 79 | onAfterPageLoad: $.noop 80 | } 81 | 82 | Waypoint.Infinite = Infinite 83 | }()) 84 | ; -------------------------------------------------------------------------------- /phantomapp/static/vendor/waypoints/lib/shortcuts/infinite.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | Waypoints Infinite Scroll Shortcut - 4.0.1 3 | Copyright © 2011-2016 Caleb Troughton 4 | Licensed under the MIT license. 5 | https://github.com/imakewebthings/waypoints/blob/master/licenses.txt 6 | */ 7 | !function(){"use strict";function t(n){this.options=i.extend({},t.defaults,n),this.container=this.options.element,"auto"!==this.options.container&&(this.container=this.options.container),this.$container=i(this.container),this.$more=i(this.options.more),this.$more.length&&(this.setupHandler(),this.waypoint=new o(this.options))}var i=window.jQuery,o=window.Waypoint;t.prototype.setupHandler=function(){this.options.handler=i.proxy(function(){this.options.onBeforePageLoad(),this.destroy(),this.$container.addClass(this.options.loadingClass),i.get(i(this.options.more).attr("href"),i.proxy(function(t){var n=i(i.parseHTML(t)),e=n.find(this.options.more),s=n.find(this.options.items);s.length||(s=n.filter(this.options.items)),this.$container.append(s),this.$container.removeClass(this.options.loadingClass),e.length||(e=n.filter(this.options.more)),e.length?(this.$more.replaceWith(e),this.$more=e,this.waypoint=new o(this.options)):this.$more.remove(),this.options.onAfterPageLoad(s)},this))},this)},t.prototype.destroy=function(){this.waypoint&&this.waypoint.destroy()},t.defaults={container:"auto",items:".infinite-item",more:".infinite-more-link",offset:"bottom-in-view",loadingClass:"infinite-loading",onBeforePageLoad:i.noop,onAfterPageLoad:i.noop},o.Infinite=t}(); -------------------------------------------------------------------------------- /phantomapp/static/vendor/waypoints/lib/shortcuts/inview.js: -------------------------------------------------------------------------------- 1 | /*! 2 | Waypoints Inview Shortcut - 4.0.1 3 | Copyright © 2011-2016 Caleb Troughton 4 | Licensed under the MIT license. 5 | https://github.com/imakewebthings/waypoints/blob/master/licenses.txt 6 | */ 7 | (function() { 8 | 'use strict' 9 | 10 | function noop() {} 11 | 12 | var Waypoint = window.Waypoint 13 | 14 | /* http://imakewebthings.com/waypoints/shortcuts/inview */ 15 | function Inview(options) { 16 | this.options = Waypoint.Adapter.extend({}, Inview.defaults, options) 17 | this.axis = this.options.horizontal ? 'horizontal' : 'vertical' 18 | this.waypoints = [] 19 | this.element = this.options.element 20 | this.createWaypoints() 21 | } 22 | 23 | /* Private */ 24 | Inview.prototype.createWaypoints = function() { 25 | var configs = { 26 | vertical: [{ 27 | down: 'enter', 28 | up: 'exited', 29 | offset: '100%' 30 | }, { 31 | down: 'entered', 32 | up: 'exit', 33 | offset: 'bottom-in-view' 34 | }, { 35 | down: 'exit', 36 | up: 'entered', 37 | offset: 0 38 | }, { 39 | down: 'exited', 40 | up: 'enter', 41 | offset: function() { 42 | return -this.adapter.outerHeight() 43 | } 44 | }], 45 | horizontal: [{ 46 | right: 'enter', 47 | left: 'exited', 48 | offset: '100%' 49 | }, { 50 | right: 'entered', 51 | left: 'exit', 52 | offset: 'right-in-view' 53 | }, { 54 | right: 'exit', 55 | left: 'entered', 56 | offset: 0 57 | }, { 58 | right: 'exited', 59 | left: 'enter', 60 | offset: function() { 61 | return -this.adapter.outerWidth() 62 | } 63 | }] 64 | } 65 | 66 | for (var i = 0, end = configs[this.axis].length; i < end; i++) { 67 | var config = configs[this.axis][i] 68 | this.createWaypoint(config) 69 | } 70 | } 71 | 72 | /* Private */ 73 | Inview.prototype.createWaypoint = function(config) { 74 | var self = this 75 | this.waypoints.push(new Waypoint({ 76 | context: this.options.context, 77 | element: this.options.element, 78 | enabled: this.options.enabled, 79 | handler: (function(config) { 80 | return function(direction) { 81 | self.options[config[direction]].call(self, direction) 82 | } 83 | }(config)), 84 | offset: config.offset, 85 | horizontal: this.options.horizontal 86 | })) 87 | } 88 | 89 | /* Public */ 90 | Inview.prototype.destroy = function() { 91 | for (var i = 0, end = this.waypoints.length; i < end; i++) { 92 | this.waypoints[i].destroy() 93 | } 94 | this.waypoints = [] 95 | } 96 | 97 | Inview.prototype.disable = function() { 98 | for (var i = 0, end = this.waypoints.length; i < end; i++) { 99 | this.waypoints[i].disable() 100 | } 101 | } 102 | 103 | Inview.prototype.enable = function() { 104 | for (var i = 0, end = this.waypoints.length; i < end; i++) { 105 | this.waypoints[i].enable() 106 | } 107 | } 108 | 109 | Inview.defaults = { 110 | context: window, 111 | enabled: true, 112 | enter: noop, 113 | entered: noop, 114 | exit: noop, 115 | exited: noop 116 | } 117 | 118 | Waypoint.Inview = Inview 119 | }()) 120 | ; -------------------------------------------------------------------------------- /phantomapp/static/vendor/waypoints/lib/shortcuts/inview.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | Waypoints Inview Shortcut - 4.0.1 3 | Copyright © 2011-2016 Caleb Troughton 4 | Licensed under the MIT license. 5 | https://github.com/imakewebthings/waypoints/blob/master/licenses.txt 6 | */ 7 | !function(){"use strict";function t(){}function e(t){this.options=i.Adapter.extend({},e.defaults,t),this.axis=this.options.horizontal?"horizontal":"vertical",this.waypoints=[],this.element=this.options.element,this.createWaypoints()}var i=window.Waypoint;e.prototype.createWaypoints=function(){for(var t={vertical:[{down:"enter",up:"exited",offset:"100%"},{down:"entered",up:"exit",offset:"bottom-in-view"},{down:"exit",up:"entered",offset:0},{down:"exited",up:"enter",offset:function(){return-this.adapter.outerHeight()}}],horizontal:[{right:"enter",left:"exited",offset:"100%"},{right:"entered",left:"exit",offset:"right-in-view"},{right:"exit",left:"entered",offset:0},{right:"exited",left:"enter",offset:function(){return-this.adapter.outerWidth()}}]},e=0,i=t[this.axis].length;i>e;e++){var n=t[this.axis][e];this.createWaypoint(n)}},e.prototype.createWaypoint=function(t){var e=this;this.waypoints.push(new i({context:this.options.context,element:this.options.element,enabled:this.options.enabled,handler:function(t){return function(i){e.options[t[i]].call(e,i)}}(t),offset:t.offset,horizontal:this.options.horizontal}))},e.prototype.destroy=function(){for(var t=0,e=this.waypoints.length;e>t;t++)this.waypoints[t].destroy();this.waypoints=[]},e.prototype.disable=function(){for(var t=0,e=this.waypoints.length;e>t;t++)this.waypoints[t].disable()},e.prototype.enable=function(){for(var t=0,e=this.waypoints.length;e>t;t++)this.waypoints[t].enable()},e.defaults={context:window,enabled:!0,enter:t,entered:t,exit:t,exited:t},i.Inview=e}(); -------------------------------------------------------------------------------- /phantomapp/static/vendor/waypoints/lib/shortcuts/sticky.js: -------------------------------------------------------------------------------- 1 | /*! 2 | Waypoints Sticky Element Shortcut - 4.0.1 3 | Copyright © 2011-2016 Caleb Troughton 4 | Licensed under the MIT license. 5 | https://github.com/imakewebthings/waypoints/blob/master/licenses.txt 6 | */ 7 | (function() { 8 | 'use strict' 9 | 10 | var $ = window.jQuery 11 | var Waypoint = window.Waypoint 12 | 13 | /* http://imakewebthings.com/waypoints/shortcuts/sticky-elements */ 14 | function Sticky(options) { 15 | this.options = $.extend({}, Waypoint.defaults, Sticky.defaults, options) 16 | this.element = this.options.element 17 | this.$element = $(this.element) 18 | this.createWrapper() 19 | this.createWaypoint() 20 | } 21 | 22 | /* Private */ 23 | Sticky.prototype.createWaypoint = function() { 24 | var originalHandler = this.options.handler 25 | 26 | this.waypoint = new Waypoint($.extend({}, this.options, { 27 | element: this.wrapper, 28 | handler: $.proxy(function(direction) { 29 | var shouldBeStuck = this.options.direction.indexOf(direction) > -1 30 | var wrapperHeight = shouldBeStuck ? this.$element.outerHeight(true) : '' 31 | 32 | this.$wrapper.height(wrapperHeight) 33 | this.$element.toggleClass(this.options.stuckClass, shouldBeStuck) 34 | 35 | if (originalHandler) { 36 | originalHandler.call(this, direction) 37 | } 38 | }, this) 39 | })) 40 | } 41 | 42 | /* Private */ 43 | Sticky.prototype.createWrapper = function() { 44 | if (this.options.wrapper) { 45 | this.$element.wrap(this.options.wrapper) 46 | } 47 | this.$wrapper = this.$element.parent() 48 | this.wrapper = this.$wrapper[0] 49 | } 50 | 51 | /* Public */ 52 | Sticky.prototype.destroy = function() { 53 | if (this.$element.parent()[0] === this.wrapper) { 54 | this.waypoint.destroy() 55 | this.$element.removeClass(this.options.stuckClass) 56 | if (this.options.wrapper) { 57 | this.$element.unwrap() 58 | } 59 | } 60 | } 61 | 62 | Sticky.defaults = { 63 | wrapper: '
', 64 | stuckClass: 'stuck', 65 | direction: 'down right' 66 | } 67 | 68 | Waypoint.Sticky = Sticky 69 | }()) 70 | ; -------------------------------------------------------------------------------- /phantomapp/static/vendor/waypoints/lib/shortcuts/sticky.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | Waypoints Sticky Element Shortcut - 4.0.1 3 | Copyright © 2011-2016 Caleb Troughton 4 | Licensed under the MIT license. 5 | https://github.com/imakewebthings/waypoints/blob/master/licenses.txt 6 | */ 7 | !function(){"use strict";function t(s){this.options=e.extend({},i.defaults,t.defaults,s),this.element=this.options.element,this.$element=e(this.element),this.createWrapper(),this.createWaypoint()}var e=window.jQuery,i=window.Waypoint;t.prototype.createWaypoint=function(){var t=this.options.handler;this.waypoint=new i(e.extend({},this.options,{element:this.wrapper,handler:e.proxy(function(e){var i=this.options.direction.indexOf(e)>-1,s=i?this.$element.outerHeight(!0):"";this.$wrapper.height(s),this.$element.toggleClass(this.options.stuckClass,i),t&&t.call(this,e)},this)}))},t.prototype.createWrapper=function(){this.options.wrapper&&this.$element.wrap(this.options.wrapper),this.$wrapper=this.$element.parent(),this.wrapper=this.$wrapper[0]},t.prototype.destroy=function(){this.$element.parent()[0]===this.wrapper&&(this.waypoint.destroy(),this.$element.removeClass(this.options.stuckClass),this.options.wrapper&&this.$element.unwrap())},t.defaults={wrapper:'
',stuckClass:"stuck",direction:"down right"},i.Sticky=t}(); -------------------------------------------------------------------------------- /phantomapp/static/vendor/waypoints/lib/waypoints.debug.js: -------------------------------------------------------------------------------- 1 | /*! 2 | Waypoints Debug - 4.0.1 3 | Copyright © 2011-2016 Caleb Troughton 4 | Licensed under the MIT license. 5 | https://github.com/imakewebthings/waypoints/blob/master/licenses.txt 6 | */ 7 | (function() { 8 | 'use strict' 9 | 10 | var displayNoneMessage = [ 11 | 'You have a Waypoint element with display none. For more information on ', 12 | 'why this is a bad idea read ', 13 | 'http://imakewebthings.com/waypoints/guides/debugging/#display-none' 14 | ].join('') 15 | var fixedMessage = [ 16 | 'You have a Waypoint element with fixed positioning. For more ', 17 | 'information on why this is a bad idea read ', 18 | 'http://imakewebthings.com/waypoints/guides/debugging/#fixed-position' 19 | ].join('') 20 | 21 | function checkWaypointStyles() { 22 | var originalRefresh = window.Waypoint.Context.prototype.refresh 23 | 24 | window.Waypoint.Context.prototype.refresh = function() { 25 | for (var axis in this.waypoints) { 26 | for (var key in this.waypoints[axis]) { 27 | var waypoint = this.waypoints[axis][key] 28 | var style = window.getComputedStyle(waypoint.element) 29 | if (!waypoint.enabled) { 30 | continue 31 | } 32 | if (style && style.display === 'none') { 33 | console.error(displayNoneMessage) 34 | } 35 | if (style && style.position === 'fixed') { 36 | console.error(fixedMessage) 37 | } 38 | } 39 | } 40 | return originalRefresh.call(this) 41 | } 42 | } 43 | 44 | checkWaypointStyles() 45 | }()) 46 | ; -------------------------------------------------------------------------------- /phantomapp/static/vendor/waypoints/licenses.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 2011-2012 Caleb Troughton 2 | 3 | ----------------------------------------------------------------------- 4 | 5 | The MIT License 6 | 7 | Permission is hereby granted, free of charge, to any person obtaining a copy 8 | of this software and associated documentation files (the "Software"), to deal 9 | in the Software without restriction, including without limitation the rights 10 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | copies of the Software, and to permit persons to whom the Software is 12 | furnished to do so, subject to the following conditions: 13 | 14 | The above copyright notice and this permission notice shall be included in 15 | all copies or substantial portions of the Software. 16 | 17 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 23 | THE SOFTWARE. -------------------------------------------------------------------------------- /phantomapp/static/vendor/waypoints/testem.json: -------------------------------------------------------------------------------- 1 | { 2 | "framework": "jasmine", 3 | "launch_in_dev": [ 4 | "PhantomJS" 5 | ], 6 | "launch_in_ci": [ 7 | "PhantomJS" 8 | ], 9 | "src_files": [ 10 | "bower_components/jquery/dist/jquery.js", 11 | "bower_components/jasmine-jquery/lib/jasmine-jquery.js", 12 | "bower_components/zepto/zepto.js", 13 | 14 | "src/waypoint.js", 15 | "src/context.js", 16 | "src/group.js", 17 | "src/debug.js", 18 | "src/adapters/*.js", 19 | "src/shortcuts/*.js", 20 | 21 | "test/settings.js", 22 | "test/*-spec.js" 23 | ] 24 | } 25 | -------------------------------------------------------------------------------- /phantomapp/templates/404.html: -------------------------------------------------------------------------------- 1 | {% extends 'base.html' %} 2 | {% load staticfiles %} 3 | {% block content %} 4 |
5 |
6 |
7 |
8 |

Obaju template

9 |

We are sorry - this page is not here anymore

10 |

Error 404 - Page not found

11 |

Go to Homepage

12 |
13 |
14 |
15 |
16 | {% endblock %} -------------------------------------------------------------------------------- /phantomapp/templates/505.html: -------------------------------------------------------------------------------- 1 | {% extends 'base.html' %} 2 | {% load static %} 3 | {% block content %} 4 |
5 |
6 |
7 |
8 |

Obaju template

9 |

We are sorry - this page is not here anymore

10 |

Error 500 - Server Error

11 |

Go to Homepage

12 |
13 |
14 |
15 |
16 | {% endblock %} -------------------------------------------------------------------------------- /phantomapp/templates/chart.html: -------------------------------------------------------------------------------- 1 | {% extends 'base.html' %} 2 | {% load static %} 3 | {% block content %} 4 |
5 |
6 |
7 |
8 |

Chart

9 |
10 |
11 | 15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 | 30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 | {% csrf_token %} 41 | 42 |
43 | {% if result %} 44 |

{{ result }}

45 | {% endif %} 46 |
47 |
48 |
49 |
50 |
51 | {% endblock %} -------------------------------------------------------------------------------- /phantomapp/templates/login.html: -------------------------------------------------------------------------------- 1 | {% extends 'base.html' %} 2 | {% block content %} 3 |
4 |
5 |
6 |
7 |

Sign In

8 |
9 |
10 | 14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |

Login

24 |

Not our customer?

25 |

Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.

26 |
27 |
28 | {% csrf_token %} 29 |
30 | {{ form.non_field_errors }} 31 | 32 | 33 |
34 |
35 | 36 | 37 |
38 |
39 | 40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 | {% endblock %} -------------------------------------------------------------------------------- /phantomapp/templates/mail.html: -------------------------------------------------------------------------------- 1 |
2 |
3 |
4 |
5 |
6 |
7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | {% for item in cart %} 19 | 20 | {% csrf_token %} 21 | 22 | 23 | 24 | 28 | 29 | 30 | 31 | 32 | {% endfor %} 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 |
ProductQuantityUnit priceDiscountTotal
{{ cart.product.name }} 25 | 26 | 27 | ${{ item.unit_price }}$0.00${{ item.total_price }}
Total${{ cart.summary }}
42 |
43 |
44 |
45 |
46 |
47 |
-------------------------------------------------------------------------------- /phantomapp/templates/rss.html: -------------------------------------------------------------------------------- 1 | {% extends 'base.html' %} 2 | {% load static %} 3 | {% block content %} 4 |
5 |
6 |
7 |
8 |

Feed RSS

9 |
10 |
11 | 15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |

Feed RSS

26 |
27 | {% if feeds %} 28 |
    29 | {% for web in feeds.entries %} 30 |
  1. {{ web.title }}
  2. 31 | {% endfor %} 32 |
33 | {% endif %} 34 |
35 |
36 |
37 |
38 |
39 | {% endblock %} -------------------------------------------------------------------------------- /phantomapp/tests.py: -------------------------------------------------------------------------------- 1 | from django.test import TestCase 2 | 3 | # Create your tests here. 4 | -------------------------------------------------------------------------------- /phantomapp/urls.py: -------------------------------------------------------------------------------- 1 | from phantomapp import views 2 | from django.urls import path 3 | from django.contrib import auth 4 | from django.conf.urls import url 5 | from django.conf.urls import include 6 | from django.contrib.auth.views import LoginView 7 | from django.contrib.auth.views import LogoutView 8 | 9 | urlpatterns = [ 10 | url(r'^$',views.index,name="index"), 11 | url(r'^about/$',views.about,name="about"), 12 | url(r'^blog/$',views.blog,name="blog"), 13 | url(r'^blog/post/(\d+)/$',views.blog_post,name="blog_post"), 14 | url(r'^contact/$',views.contact,name="contact"), 15 | url(r'^login/$',LoginView.as_view(template_name="login.html"),name="login"), 16 | url(r'^logout/$', LogoutView.as_view(), name='logout'), 17 | url(r'^register/$',views.register,name="register"), 18 | url(r'^portfolio/$',views.portfolio,name="portfolio"), 19 | url(r'^users/profile/(?P[a-zA-Z0-9]+)$',views.user_profile,name="user_profile"), 20 | url(r'^shop/category/(?P[a-zA-Z0-9]+)$',views.shop,name="shop"), 21 | url(r'^shop/product/(\d+)',views.product_detail,name="product_detail"), 22 | url(r'^shop/checkout/$',views.checkout,name="checkout"), 23 | url(r'^cart_add/(\d+)/$',views.cart_add,name="cart_add"), 24 | url(r'^cart/remove/(\d+)/$',views.cart_remove,name="cart_remove"), 25 | url(r'^cart/detail/$',views.cart_detail,name="cart_detail"), 26 | url(r'^cart/update/(\d+)/$',views.cart_update,name="cart_update"), 27 | url(r'^rss/$',views.rss,name="rss"), 28 | url(r'^chart/$',views.view_chart,name="chart"), 29 | ] -------------------------------------------------------------------------------- /phantomsec/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomsec/__init__.py -------------------------------------------------------------------------------- /phantomsec/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomsec/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /phantomsec/__pycache__/settings.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomsec/__pycache__/settings.cpython-37.pyc -------------------------------------------------------------------------------- /phantomsec/__pycache__/urls.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomsec/__pycache__/urls.cpython-37.pyc -------------------------------------------------------------------------------- /phantomsec/__pycache__/wsgi.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/phantomsec/__pycache__/wsgi.cpython-37.pyc -------------------------------------------------------------------------------- /phantomsec/urls.py: -------------------------------------------------------------------------------- 1 | """phantomsec URL Configuration 2 | 3 | The `urlpatterns` list routes URLs to views. For more information please see: 4 | https://docs.djangoproject.com/en/2.1/topics/http/urls/ 5 | Examples: 6 | Function views 7 | 1. Add an import: from my_app import views 8 | 2. Add a URL to urlpatterns: path('', views.home, name='home') 9 | Class-based views 10 | 1. Add an import: from other_app.views import Home 11 | 2. Add a URL to urlpatterns: path('', Home.as_view(), name='home') 12 | Including another URLconf 13 | 1. Import the include() function: from django.urls import include, path 14 | 2. Add a URL to urlpatterns: path('blog/', include('blog.urls')) 15 | """ 16 | from phantomapp import views 17 | from django.conf import settings 18 | from django.contrib import admin 19 | from django.conf.urls import url 20 | from django.conf.urls import include 21 | from django.conf.urls.static import static 22 | 23 | urlpatterns = [ 24 | url(r'^admin/',admin.site.urls), 25 | url(r'',include("phantomapp.urls")), 26 | ] + static(settings.MEDIA_URL,document_root=settings.MEDIA_ROOT) 27 | 28 | handler404 = views.error404 29 | handler500 = views.error500 30 | handler505 = views.error500 -------------------------------------------------------------------------------- /phantomsec/wsgi.py: -------------------------------------------------------------------------------- 1 | """ 2 | WSGI config for phantomsec project. 3 | 4 | It exposes the WSGI callable as a module-level variable named ``application``. 5 | 6 | For more information on this file, see 7 | https://docs.djangoproject.com/en/2.1/howto/deployment/wsgi/ 8 | """ 9 | 10 | import os 11 | 12 | from django.core.wsgi import get_wsgi_application 13 | 14 | os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'phantomsec.settings') 15 | 16 | application = get_wsgi_application() 17 | -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | django 2 | Pillow 3 | feedparser 4 | xlsxwriter 5 | -------------------------------------------------------------------------------- /shop_products/51O-GzoZi5L._SX376_BO1204203200_.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/shop_products/51O-GzoZi5L._SX376_BO1204203200_.jpg -------------------------------------------------------------------------------- /shop_products/612ybpJEisL._SX348_BO1204203200_.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/shop_products/612ybpJEisL._SX348_BO1204203200_.jpg -------------------------------------------------------------------------------- /shop_products/TWAHHB2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/shop_products/TWAHHB2.jpg -------------------------------------------------------------------------------- /shop_products/TWAHHB2_TYRWkIj.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/shop_products/TWAHHB2_TYRWkIj.jpg -------------------------------------------------------------------------------- /shop_products/mi-notebook-pro-2-600x600.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/shop_products/mi-notebook-pro-2-600x600.jpg -------------------------------------------------------------------------------- /shop_products/nano1_1bb4f835-cdc1-424b-9d4f-3a03863fde71_800x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/shop_products/nano1_1bb4f835-cdc1-424b-9d4f-3a03863fde71_800x.jpg -------------------------------------------------------------------------------- /shop_products/network-implant-bundle_800x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/shop_products/network-implant-bundle_800x.jpg -------------------------------------------------------------------------------- /shop_products/s430.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/shop_products/s430.jpg -------------------------------------------------------------------------------- /shop_products/ticwatche.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/shop_products/ticwatche.jpg -------------------------------------------------------------------------------- /shop_products/xps13.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mach1el/my-django/cf1a86a5134a86af510f9392a748f129954d1c76/shop_products/xps13.jpg --------------------------------------------------------------------------------