diff --git a/data/themes/default/mobile.css b/data/themes/default/mobile.css new file mode 100644 index 000000000..e69de29bb diff --git a/data/themes/default/template.mobile.ezt b/data/themes/default/template.mobile.ezt new file mode 100644 index 000000000..90c6a62dd --- /dev/null +++ b/data/themes/default/template.mobile.ezt @@ -0,0 +1,61 @@ + + + + [page_title] + + + [script] + + + + + + +
+ + [if-any links] + + [end] + + +
+ +
+ [if-any title]

[title]

[end] + [body] +
+ +
+ +
+ + +
+ + diff --git a/wcs/qommon/static/css/mobile.css b/wcs/qommon/static/css/mobile.css new file mode 100644 index 000000000..ae3836583 --- /dev/null +++ b/wcs/qommon/static/css/mobile.css @@ -0,0 +1,309 @@ +@import url(qommon.css); + +html { + background: white; + color: black; +} + +html, body, ul, li { + margin: 0; + padding: 0; + list-style: none; + font-family: sans-serif; + font-size: 15px; +} + +div#top { + position: relative; + height: 50px; + border-bottom: 1px solid #777; + background: #222; + background: linear-gradient(to bottom, #666, #222); +} + +div#top h1 { + font-size: 20px; +} + +a#menu { + position: absolute; + top: 0; + left: 0; +} + +a#gear { + position: absolute; + top: 0; + right: 0; +} + +#top h1 { + margin: 0; + text-align: center; + line-height: 50px; +} + +#top h1 a { + text-decoration: none; + color: white; +} + +#nav-site h3 { display: none; } + +ul.catforms li a, +#nav-site li a, +#nav-user li a { + padding: 2ex; + display: block; + border-bottom: 1px solid #888; + text-decoration: none; +} + +#nav-site li a:hover, +#nav-user li a:hover { + background: #eee; +} + +ul#categories { + margin-top: 1ex; +} + +ul#categories li { + width: 50%; + float: left; + height: 100px; + text-align: center; + vertical-align: bottom; + display: table; + background: url(mobile/58303-42.png) center center no-repeat; +} + +ul#categories li a { + padding: 1ex; +} + +ul#categories li a { + display: table-cell; + vertical-align: bottom; +} + +div#main-content { + padding: 0 10px; +} + +div#login form { + text-align: center; +} + +div#login form input { + width: 80%; +} + +form div.buttons { + clear: both; + margin-top: 1em; +} + +form div.buttons input { + padding: 1ex; + font-family: sans-serif; /* makes sure buttons all go through the same code path in firefox */ + width: 45%; +} + +form div.buttons div.savedraft-button input { + width: 93%; +} + +div.back-home-button a { + width: 90%; + display: block; + padding: 1ex; + text-align: center; +} + +div.TextWidget textarea, +div.RankedItemsWidget input, +div.StringWidget input, +div.IntWidget input, +div.DateWidget input, +div.WcsExtraStringWidget input, +div.RegexStringWidget input, +div.EmailWidget input, +div.PasswordWidget input, +div.PrefillSelectionWidget input[type=text] { + width: 90%; +} + +div.category h3 { + font-size: 150%; +} + +#content > h2, div.category h3 { + margin: 0 -10px 1em -10px; + border-bottom: 1px solid black; + padding: 1ex; + text-align: center; +} + +div.error { + text-align: left; +} + +div#services h3 { + display: none; +} + +div#services > ul > li { + width: 50%; + float: left; + height: 100px; + background: white; + text-align: center; + vertical-align: bottom; + display: table; + transition: all .2s ease-in-out; + -moz-transition: all .2s ease-in-out; + -webkit-transition: all .2s ease-in-out; +} + +@media screen and (min-width: 361px) { + div#services > ul > li { + width: 33%; + } +} + +@media screen and (min-width: 960px) { + div#services > ul > li { + width: 25%; + } +} + + +div#services > ul > li.active { + width: 100%; + position: absolute; + height: 100%; + left: 0; +} + +div#services > ul strong a { + text-decoration: none; + color: black; +} + +div#services > ul strong a:focus { + outline: none; +} + +div#services > ul > li:active { + -moz-transform: scale(1.3); + -webkit-transform: scale(1.3); +} + +div#services > ul > li.active:active { + -moz-transform: none; + -webkit-transform: none; +} + +div#services > ul > li.active > strong { + display: block; + height: 50px; + line-height: 50px; +} + +div#services > ul > li.active > ul { + text-align: center; + background: white; + display: block; +} + +div#services > ul > li.active > ul a { + padding: 1ex; + display: block; + text-decoration: none; + border-bottom: 1px solid #aaa; +} + +div#services ul li.active strong { + background-position: 1ex 50%; +} + +div#services ul p, div#services ul ul { + display: none; +} + +div#droite { + display: none; +} + +li.required-authentication span { + display: none; +} + +ul#categories { + margin: 0 -1ex; +} + + +div#services > ul > li, +ul#categories li { + background-color: #eee; +} + +div#services > ul strong { + cursor: pointer; +} + +div#services > ul strong a { + color: #008; +} + +div#services ul strong { + display: table-cell; + vertical-align: bottom; + padding-bottom: 1ex; + border: 1px solid white; + background: url(../images/categories/icon_placeholder_58303.png) center center no-repeat; +} + +div#services #category-emploi strong, +div#services #category-formalites-pour-les-entreprises strong { + background-image: url(../images/categories/icon_businessperson_1673.png); +} + +div#services #category-eau-et-assainissement strong, +div#services #category-hygiene-salubrite-environnement strong { + background-image: url(../images/categories/icon_sanitation_4335.png); +} + +div#services #category-vie-pratique strong { + background-image: url(../images/categories/icon_crosswalk_23557.png); +} + +div#services #category-culture strong { + background-image: url(../images/categories/icon_culture_13644.png); +} + +div#services #category-etat-civil strong { + background-image: url(../images/categories/icon_document_14004.png); +} + +div#services #category-formalites-administratives strong { + background-image: url(../images/categories/icon_document_32231.png); +} + +div#services #category-vos-enfants strong { + background-image: url(../images/categories/icon_people_39826.png); +} + +div#services #category-sport strong { + background-image: url(../images/categories/icon_triathlon_10860.png); +} + +div#services #category-telealarme strong { + background-image: url(../images/categories/icon_mobile-alarm_6412.png); +} + +div#services #category-collecte-des-dechets-menagers strong { + background-image: url(../images/categories/icon_trash_207.png); +} diff --git a/wcs/qommon/static/images/categories/README b/wcs/qommon/static/images/categories/README new file mode 100644 index 000000000..c25c4db56 --- /dev/null +++ b/wcs/qommon/static/images/categories/README @@ -0,0 +1,5 @@ +This directory holds icons downloaded from thenounproject.com; individual +license files are available in src/*/license.txt. + +generate.py is a small script using Inkscape to convert the source SVG files +into PNG files of appropriate size. diff --git a/wcs/qommon/static/images/categories/generate.py b/wcs/qommon/static/images/categories/generate.py new file mode 100644 index 000000000..0b5a871b8 --- /dev/null +++ b/wcs/qommon/static/images/categories/generate.py @@ -0,0 +1,50 @@ +#! /usr/bin/env python + +from optparse import OptionParser +import subprocess +import tempfile +import xml.etree.ElementTree as ET + +mapping = { + '207': 'trash', + '1673': 'businessperson', + '4335': 'sanitation', + '6412': 'mobile-alarm', + '10860': 'triathlon', + '12513': 'email', + '12581': 'park', + '13644': 'culture', + '14004': 'document', + '14292': 'polling-place', + '23557': 'crosswalk', + '32231': 'document', + '38588': 'shopping-cart', + '39826': 'people', + '39567': 'tools', + '49638': 'event', + '58303': 'placeholder', + '62444': 'fireworks', +} + +parser = OptionParser() +parser.add_option('-c', '--colour', dest='colour', metavar='COLOUR') +(options, args) = parser.parse_args() + +for icon_id, icon_name in mapping.items(): + svg_path = 'src/icon_%s/icon_%s.svg' % (icon_id, icon_id) + if options.colour: + tree = ET.fromstring(file(svg_path).read().replace('#000000', '#%s' % options.colour)) + for elem in tree.findall('*'): + if not elem.attrib.get('style'): + elem.attrib['style'] = 'fill:#%s' % options.colour + f = tempfile.NamedTemporaryFile(suffix='.svg', delete=False) + f.write(ET.tostring(tree)) + f.close() + svg_path = f.name + output_filename = 'icon_%s_%s_%s.png' % (icon_name, icon_id, options.colour) + else: + output_filename = 'icon_%s_%s.png' % (icon_name, icon_id) + subprocess.call(['inkscape', '--without-gui', + '--file', svg_path, + '--export-png', output_filename, + '--export-width', '42']) diff --git a/wcs/qommon/static/images/categories/icon_businessperson_1673.png b/wcs/qommon/static/images/categories/icon_businessperson_1673.png new file mode 100644 index 000000000..0727df449 Binary files /dev/null and b/wcs/qommon/static/images/categories/icon_businessperson_1673.png differ diff --git a/wcs/qommon/static/images/categories/icon_crosswalk_23557.png b/wcs/qommon/static/images/categories/icon_crosswalk_23557.png new file mode 100644 index 000000000..551c7d20d Binary files /dev/null and b/wcs/qommon/static/images/categories/icon_crosswalk_23557.png differ diff --git a/wcs/qommon/static/images/categories/icon_culture_13644.png b/wcs/qommon/static/images/categories/icon_culture_13644.png new file mode 100644 index 000000000..70faa462f Binary files /dev/null and b/wcs/qommon/static/images/categories/icon_culture_13644.png differ diff --git a/wcs/qommon/static/images/categories/icon_document_14004.png b/wcs/qommon/static/images/categories/icon_document_14004.png new file mode 100644 index 000000000..55e0c2950 Binary files /dev/null and b/wcs/qommon/static/images/categories/icon_document_14004.png differ diff --git a/wcs/qommon/static/images/categories/icon_document_32231.png b/wcs/qommon/static/images/categories/icon_document_32231.png new file mode 100644 index 000000000..887bcf0ac Binary files /dev/null and b/wcs/qommon/static/images/categories/icon_document_32231.png differ diff --git a/wcs/qommon/static/images/categories/icon_email_12513.png b/wcs/qommon/static/images/categories/icon_email_12513.png new file mode 100644 index 000000000..fd31743ab Binary files /dev/null and b/wcs/qommon/static/images/categories/icon_email_12513.png differ diff --git a/wcs/qommon/static/images/categories/icon_event_49638.png b/wcs/qommon/static/images/categories/icon_event_49638.png new file mode 100644 index 000000000..9a551531d Binary files /dev/null and b/wcs/qommon/static/images/categories/icon_event_49638.png differ diff --git a/wcs/qommon/static/images/categories/icon_fireworks_62444.png b/wcs/qommon/static/images/categories/icon_fireworks_62444.png new file mode 100644 index 000000000..e9c0131c4 Binary files /dev/null and b/wcs/qommon/static/images/categories/icon_fireworks_62444.png differ diff --git a/wcs/qommon/static/images/categories/icon_mobile-alarm_6412.png b/wcs/qommon/static/images/categories/icon_mobile-alarm_6412.png new file mode 100644 index 000000000..ae86bffaf Binary files /dev/null and b/wcs/qommon/static/images/categories/icon_mobile-alarm_6412.png differ diff --git a/wcs/qommon/static/images/categories/icon_park_12581.png b/wcs/qommon/static/images/categories/icon_park_12581.png new file mode 100644 index 000000000..252d53f2e Binary files /dev/null and b/wcs/qommon/static/images/categories/icon_park_12581.png differ diff --git a/wcs/qommon/static/images/categories/icon_people_39826.png b/wcs/qommon/static/images/categories/icon_people_39826.png new file mode 100644 index 000000000..8be74b92a Binary files /dev/null and b/wcs/qommon/static/images/categories/icon_people_39826.png differ diff --git a/wcs/qommon/static/images/categories/icon_placeholder_58303.png b/wcs/qommon/static/images/categories/icon_placeholder_58303.png new file mode 100644 index 000000000..399a85d02 Binary files /dev/null and b/wcs/qommon/static/images/categories/icon_placeholder_58303.png differ diff --git a/wcs/qommon/static/images/categories/icon_polling-place_14292.png b/wcs/qommon/static/images/categories/icon_polling-place_14292.png new file mode 100644 index 000000000..37ae8ac37 Binary files /dev/null and b/wcs/qommon/static/images/categories/icon_polling-place_14292.png differ diff --git a/wcs/qommon/static/images/categories/icon_sanitation_4335.png b/wcs/qommon/static/images/categories/icon_sanitation_4335.png new file mode 100644 index 000000000..050984350 Binary files /dev/null and b/wcs/qommon/static/images/categories/icon_sanitation_4335.png differ diff --git a/wcs/qommon/static/images/categories/icon_shopping-cart_38588.png b/wcs/qommon/static/images/categories/icon_shopping-cart_38588.png new file mode 100644 index 000000000..890daa1ad Binary files /dev/null and b/wcs/qommon/static/images/categories/icon_shopping-cart_38588.png differ diff --git a/wcs/qommon/static/images/categories/icon_tools_39567.png b/wcs/qommon/static/images/categories/icon_tools_39567.png new file mode 100644 index 000000000..480be47f9 Binary files /dev/null and b/wcs/qommon/static/images/categories/icon_tools_39567.png differ diff --git a/wcs/qommon/static/images/categories/icon_trash_207.png b/wcs/qommon/static/images/categories/icon_trash_207.png new file mode 100644 index 000000000..2783b7148 Binary files /dev/null and b/wcs/qommon/static/images/categories/icon_trash_207.png differ diff --git a/wcs/qommon/static/images/categories/icon_triathlon_10860.png b/wcs/qommon/static/images/categories/icon_triathlon_10860.png new file mode 100644 index 000000000..dbd29f9f8 Binary files /dev/null and b/wcs/qommon/static/images/categories/icon_triathlon_10860.png differ diff --git a/wcs/qommon/static/images/categories/src/icon_10860/icon_10860.svg b/wcs/qommon/static/images/categories/src/icon_10860/icon_10860.svg new file mode 100644 index 000000000..f2447c0a3 --- /dev/null +++ b/wcs/qommon/static/images/categories/src/icon_10860/icon_10860.svg @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file diff --git a/wcs/qommon/static/images/categories/src/icon_10860/license.txt b/wcs/qommon/static/images/categories/src/icon_10860/license.txt new file mode 100644 index 000000000..ab423ff0e --- /dev/null +++ b/wcs/qommon/static/images/categories/src/icon_10860/license.txt @@ -0,0 +1,3 @@ +Thank you for using The Noun Project. This icon is in the Public Domain and +can be used for any project, including commercial, without any attribution +requirements. diff --git a/wcs/qommon/static/images/categories/src/icon_11723/icon_11723.svg b/wcs/qommon/static/images/categories/src/icon_11723/icon_11723.svg new file mode 100644 index 000000000..cd7b894dc --- /dev/null +++ b/wcs/qommon/static/images/categories/src/icon_11723/icon_11723.svg @@ -0,0 +1,9 @@ +image/svg+xml + + + + + + + + \ No newline at end of file diff --git a/wcs/qommon/static/images/categories/src/icon_11723/license.txt b/wcs/qommon/static/images/categories/src/icon_11723/license.txt new file mode 100644 index 000000000..e75016191 --- /dev/null +++ b/wcs/qommon/static/images/categories/src/icon_11723/license.txt @@ -0,0 +1,8 @@ +Thank you for using The Noun Project. This icon is licensed under Creative +Commons Attribution and must be attributed as: + + Running by Kevin Laity from The Noun Project + +If you have a Premium Account or have purchased a license for this icon, you +don't need to worry about attribution! We will share the profits from your +purchase with this icon's designer. diff --git a/wcs/qommon/static/images/categories/src/icon_12513/icon_12513.svg b/wcs/qommon/static/images/categories/src/icon_12513/icon_12513.svg new file mode 100644 index 000000000..12b1998f9 --- /dev/null +++ b/wcs/qommon/static/images/categories/src/icon_12513/icon_12513.svg @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/wcs/qommon/static/images/categories/src/icon_12513/license.txt b/wcs/qommon/static/images/categories/src/icon_12513/license.txt new file mode 100644 index 000000000..9d49ddc86 --- /dev/null +++ b/wcs/qommon/static/images/categories/src/icon_12513/license.txt @@ -0,0 +1,8 @@ +Thank you for using The Noun Project. This icon is licensed under Creative +Commons Attribution and must be attributed as: + + Email by Adam Mullin from The Noun Project + +If you have a Premium Account or have purchased a license for this icon, you +don't need to worry about attribution! We will share the profits from your +purchase with this icon's designer. diff --git a/wcs/qommon/static/images/categories/src/icon_12581/icon_12581.svg b/wcs/qommon/static/images/categories/src/icon_12581/icon_12581.svg new file mode 100644 index 000000000..2c3fe48a5 --- /dev/null +++ b/wcs/qommon/static/images/categories/src/icon_12581/icon_12581.svg @@ -0,0 +1,47 @@ + + + + + + + + + + + + + + + + + + + diff --git a/wcs/qommon/static/images/categories/src/icon_12581/license.txt b/wcs/qommon/static/images/categories/src/icon_12581/license.txt new file mode 100644 index 000000000..ab423ff0e --- /dev/null +++ b/wcs/qommon/static/images/categories/src/icon_12581/license.txt @@ -0,0 +1,3 @@ +Thank you for using The Noun Project. This icon is in the Public Domain and +can be used for any project, including commercial, without any attribution +requirements. diff --git a/wcs/qommon/static/images/categories/src/icon_13644/icon_13644.svg b/wcs/qommon/static/images/categories/src/icon_13644/icon_13644.svg new file mode 100644 index 000000000..0c7d8abe2 --- /dev/null +++ b/wcs/qommon/static/images/categories/src/icon_13644/icon_13644.svg @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/wcs/qommon/static/images/categories/src/icon_13644/license.txt b/wcs/qommon/static/images/categories/src/icon_13644/license.txt new file mode 100644 index 000000000..e1ea8e676 --- /dev/null +++ b/wcs/qommon/static/images/categories/src/icon_13644/license.txt @@ -0,0 +1,8 @@ +Thank you for using The Noun Project. This icon is licensed under Creative +Commons Attribution and must be attributed as: + + Arts and Culture by Pete Fecteau from The Noun Project + +If you have a Premium Account or have purchased a license for this icon, you +don't need to worry about attribution! We will share the profits from your +purchase with this icon's designer. diff --git a/wcs/qommon/static/images/categories/src/icon_14004/icon_14004.svg b/wcs/qommon/static/images/categories/src/icon_14004/icon_14004.svg new file mode 100644 index 000000000..361726ef0 --- /dev/null +++ b/wcs/qommon/static/images/categories/src/icon_14004/icon_14004.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/wcs/qommon/static/images/categories/src/icon_14004/license.txt b/wcs/qommon/static/images/categories/src/icon_14004/license.txt new file mode 100644 index 000000000..cdbeac420 --- /dev/null +++ b/wcs/qommon/static/images/categories/src/icon_14004/license.txt @@ -0,0 +1,8 @@ +Thank you for using The Noun Project. This icon is licensed under Creative +Commons Attribution and must be attributed as: + + Document by Ilsur Aptukov from The Noun Project + +If you have a Premium Account or have purchased a license for this icon, you +don't need to worry about attribution! We will share the profits from your +purchase with this icon's designer. diff --git a/wcs/qommon/static/images/categories/src/icon_14292/icon_14292.svg b/wcs/qommon/static/images/categories/src/icon_14292/icon_14292.svg new file mode 100644 index 000000000..eebcd52c4 --- /dev/null +++ b/wcs/qommon/static/images/categories/src/icon_14292/icon_14292.svg @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/wcs/qommon/static/images/categories/src/icon_14292/license.txt b/wcs/qommon/static/images/categories/src/icon_14292/license.txt new file mode 100644 index 000000000..ab423ff0e --- /dev/null +++ b/wcs/qommon/static/images/categories/src/icon_14292/license.txt @@ -0,0 +1,3 @@ +Thank you for using The Noun Project. This icon is in the Public Domain and +can be used for any project, including commercial, without any attribution +requirements. diff --git a/wcs/qommon/static/images/categories/src/icon_14847/icon_14847.svg b/wcs/qommon/static/images/categories/src/icon_14847/icon_14847.svg new file mode 100644 index 000000000..6a619db48 --- /dev/null +++ b/wcs/qommon/static/images/categories/src/icon_14847/icon_14847.svg @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/wcs/qommon/static/images/categories/src/icon_14847/license.txt b/wcs/qommon/static/images/categories/src/icon_14847/license.txt new file mode 100644 index 000000000..d63aaa5bc --- /dev/null +++ b/wcs/qommon/static/images/categories/src/icon_14847/license.txt @@ -0,0 +1,8 @@ +Thank you for using The Noun Project. This icon is licensed under Creative +Commons Attribution and must be attributed as: + + Running by Eli Kleppe from The Noun Project + +If you have a Premium Account or have purchased a license for this icon, you +don't need to worry about attribution! We will share the profits from your +purchase with this icon's designer. diff --git a/wcs/qommon/static/images/categories/src/icon_1673/icon_1673.svg b/wcs/qommon/static/images/categories/src/icon_1673/icon_1673.svg new file mode 100644 index 000000000..e7d7326d5 --- /dev/null +++ b/wcs/qommon/static/images/categories/src/icon_1673/icon_1673.svg @@ -0,0 +1,24 @@ + + + + + + + + + + + + diff --git a/wcs/qommon/static/images/categories/src/icon_1673/license.txt b/wcs/qommon/static/images/categories/src/icon_1673/license.txt new file mode 100644 index 000000000..ab423ff0e --- /dev/null +++ b/wcs/qommon/static/images/categories/src/icon_1673/license.txt @@ -0,0 +1,3 @@ +Thank you for using The Noun Project. This icon is in the Public Domain and +can be used for any project, including commercial, without any attribution +requirements. diff --git a/wcs/qommon/static/images/categories/src/icon_207/icon_207.svg b/wcs/qommon/static/images/categories/src/icon_207/icon_207.svg new file mode 100644 index 000000000..6e41ae425 --- /dev/null +++ b/wcs/qommon/static/images/categories/src/icon_207/icon_207.svg @@ -0,0 +1,21 @@ + + + + + + + + + + + diff --git a/wcs/qommon/static/images/categories/src/icon_207/license.txt b/wcs/qommon/static/images/categories/src/icon_207/license.txt new file mode 100644 index 000000000..ab423ff0e --- /dev/null +++ b/wcs/qommon/static/images/categories/src/icon_207/license.txt @@ -0,0 +1,3 @@ +Thank you for using The Noun Project. This icon is in the Public Domain and +can be used for any project, including commercial, without any attribution +requirements. diff --git a/wcs/qommon/static/images/categories/src/icon_23557/icon_23557.svg b/wcs/qommon/static/images/categories/src/icon_23557/icon_23557.svg new file mode 100644 index 000000000..5ad5d7eab --- /dev/null +++ b/wcs/qommon/static/images/categories/src/icon_23557/icon_23557.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/wcs/qommon/static/images/categories/src/icon_23557/license.txt b/wcs/qommon/static/images/categories/src/icon_23557/license.txt new file mode 100644 index 000000000..a11f73bcb --- /dev/null +++ b/wcs/qommon/static/images/categories/src/icon_23557/license.txt @@ -0,0 +1,8 @@ +Thank you for using The Noun Project. This icon is licensed under Creative +Commons Attribution and must be attributed as: + + Crosswalk by Juan Pablo Bravo from The Noun Project + +If you have a Premium Account or have purchased a license for this icon, you +don't need to worry about attribution! We will share the profits from your +purchase with this icon's designer. diff --git a/wcs/qommon/static/images/categories/src/icon_26169/icon_26169.svg b/wcs/qommon/static/images/categories/src/icon_26169/icon_26169.svg new file mode 100644 index 000000000..33d7f80d6 --- /dev/null +++ b/wcs/qommon/static/images/categories/src/icon_26169/icon_26169.svg @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/wcs/qommon/static/images/categories/src/icon_26169/license.txt b/wcs/qommon/static/images/categories/src/icon_26169/license.txt new file mode 100644 index 000000000..b9b071d93 --- /dev/null +++ b/wcs/qommon/static/images/categories/src/icon_26169/license.txt @@ -0,0 +1,8 @@ +Thank you for using The Noun Project. This icon is licensed under Creative +Commons Attribution and must be attributed as: + + Euro by Pathfinders from The Noun Project + +If you have a Premium Account or have purchased a license for this icon, you +don't need to worry about attribution! We will share the profits from your +purchase with this icon's designer. diff --git a/wcs/qommon/static/images/categories/src/icon_29996/icon_29996.svg b/wcs/qommon/static/images/categories/src/icon_29996/icon_29996.svg new file mode 100644 index 000000000..3d27271a7 --- /dev/null +++ b/wcs/qommon/static/images/categories/src/icon_29996/icon_29996.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/wcs/qommon/static/images/categories/src/icon_29996/license.txt b/wcs/qommon/static/images/categories/src/icon_29996/license.txt new file mode 100644 index 000000000..94204b6ef --- /dev/null +++ b/wcs/qommon/static/images/categories/src/icon_29996/license.txt @@ -0,0 +1,8 @@ +Thank you for using The Noun Project. This icon is licensed under Creative +Commons Attribution and must be attributed as: + + Asterisk by Lisa Staudinger from The Noun Project + +If you have a Premium Account or have purchased a license for this icon, you +don't need to worry about attribution! We will share the profits from your +purchase with this icon's designer. diff --git a/wcs/qommon/static/images/categories/src/icon_32231/icon_32231.svg b/wcs/qommon/static/images/categories/src/icon_32231/icon_32231.svg new file mode 100644 index 000000000..1ee999c87 --- /dev/null +++ b/wcs/qommon/static/images/categories/src/icon_32231/icon_32231.svg @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/wcs/qommon/static/images/categories/src/icon_32231/license.txt b/wcs/qommon/static/images/categories/src/icon_32231/license.txt new file mode 100644 index 000000000..1227c68cd --- /dev/null +++ b/wcs/qommon/static/images/categories/src/icon_32231/license.txt @@ -0,0 +1,8 @@ +Thank you for using The Noun Project. This icon is licensed under Creative +Commons Attribution and must be attributed as: + + Document by Simple Icons from The Noun Project + +If you have a Premium Account or have purchased a license for this icon, you +don't need to worry about attribution! We will share the profits from your +purchase with this icon's designer. diff --git a/wcs/qommon/static/images/categories/src/icon_38588/icon_38588.svg b/wcs/qommon/static/images/categories/src/icon_38588/icon_38588.svg new file mode 100644 index 000000000..0a76e4e7e --- /dev/null +++ b/wcs/qommon/static/images/categories/src/icon_38588/icon_38588.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/wcs/qommon/static/images/categories/src/icon_38588/license.txt b/wcs/qommon/static/images/categories/src/icon_38588/license.txt new file mode 100644 index 000000000..49bd76d16 --- /dev/null +++ b/wcs/qommon/static/images/categories/src/icon_38588/license.txt @@ -0,0 +1,8 @@ +Thank you for using The Noun Project. This icon is licensed under Creative +Commons Attribution and must be attributed as: + + Shopping Cart by José Manuel de Laá from The Noun Project + +If you have a Premium Account or have purchased a license for this icon, you +don't need to worry about attribution! We will share the profits from your +purchase with this icon's designer. diff --git a/wcs/qommon/static/images/categories/src/icon_39567/icon_39567.svg b/wcs/qommon/static/images/categories/src/icon_39567/icon_39567.svg new file mode 100644 index 000000000..7cf5f4396 --- /dev/null +++ b/wcs/qommon/static/images/categories/src/icon_39567/icon_39567.svg @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/wcs/qommon/static/images/categories/src/icon_39567/license.txt b/wcs/qommon/static/images/categories/src/icon_39567/license.txt new file mode 100644 index 000000000..36da0d43f --- /dev/null +++ b/wcs/qommon/static/images/categories/src/icon_39567/license.txt @@ -0,0 +1,8 @@ +Thank you for using The Noun Project. This icon is licensed under Creative +Commons Attribution and must be attributed as: + + Tools by Matthew Hawdon from The Noun Project + +If you have a Premium Account or have purchased a license for this icon, you +don't need to worry about attribution! We will share the profits from your +purchase with this icon's designer. diff --git a/wcs/qommon/static/images/categories/src/icon_39826/icon_39826.svg b/wcs/qommon/static/images/categories/src/icon_39826/icon_39826.svg new file mode 100644 index 000000000..5699a84fd --- /dev/null +++ b/wcs/qommon/static/images/categories/src/icon_39826/icon_39826.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/wcs/qommon/static/images/categories/src/icon_39826/license.txt b/wcs/qommon/static/images/categories/src/icon_39826/license.txt new file mode 100644 index 000000000..6b3a43388 --- /dev/null +++ b/wcs/qommon/static/images/categories/src/icon_39826/license.txt @@ -0,0 +1,8 @@ +Thank you for using The Noun Project. This icon is licensed under Creative +Commons Attribution and must be attributed as: + + People by Ahmed Trochilidae from The Noun Project + +If you have a Premium Account or have purchased a license for this icon, you +don't need to worry about attribution! We will share the profits from your +purchase with this icon's designer. diff --git a/wcs/qommon/static/images/categories/src/icon_41964/icon_41964.svg b/wcs/qommon/static/images/categories/src/icon_41964/icon_41964.svg new file mode 100644 index 000000000..c2dae02c8 --- /dev/null +++ b/wcs/qommon/static/images/categories/src/icon_41964/icon_41964.svg @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/wcs/qommon/static/images/categories/src/icon_41964/license.txt b/wcs/qommon/static/images/categories/src/icon_41964/license.txt new file mode 100644 index 000000000..bcd871fcb --- /dev/null +++ b/wcs/qommon/static/images/categories/src/icon_41964/license.txt @@ -0,0 +1,8 @@ +Thank you for using The Noun Project. This icon is licensed under Creative +Commons Attribution and must be attributed as: + + Businessman by hunotika from The Noun Project + +If you have a Premium Account or have purchased a license for this icon, you +don't need to worry about attribution! We will share the profits from your +purchase with this icon's designer. diff --git a/wcs/qommon/static/images/categories/src/icon_4335/icon_4335.svg b/wcs/qommon/static/images/categories/src/icon_4335/icon_4335.svg new file mode 100644 index 000000000..caca9015d --- /dev/null +++ b/wcs/qommon/static/images/categories/src/icon_4335/icon_4335.svg @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/wcs/qommon/static/images/categories/src/icon_4335/license.txt b/wcs/qommon/static/images/categories/src/icon_4335/license.txt new file mode 100644 index 000000000..ab423ff0e --- /dev/null +++ b/wcs/qommon/static/images/categories/src/icon_4335/license.txt @@ -0,0 +1,3 @@ +Thank you for using The Noun Project. This icon is in the Public Domain and +can be used for any project, including commercial, without any attribution +requirements. diff --git a/wcs/qommon/static/images/categories/src/icon_43460/icon_43460.svg b/wcs/qommon/static/images/categories/src/icon_43460/icon_43460.svg new file mode 100644 index 000000000..bf426df7a --- /dev/null +++ b/wcs/qommon/static/images/categories/src/icon_43460/icon_43460.svg @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/wcs/qommon/static/images/categories/src/icon_43460/license.txt b/wcs/qommon/static/images/categories/src/icon_43460/license.txt new file mode 100644 index 000000000..4fd15d1e7 --- /dev/null +++ b/wcs/qommon/static/images/categories/src/icon_43460/license.txt @@ -0,0 +1,8 @@ +Thank you for using The Noun Project. This icon is licensed under Creative +Commons Attribution and must be attributed as: + + Architect by Yazmin Alanis from The Noun Project + +If you have a Premium Account or have purchased a license for this icon, you +don't need to worry about attribution! We will share the profits from your +purchase with this icon's designer. diff --git a/wcs/qommon/static/images/categories/src/icon_47225/icon_47225.svg b/wcs/qommon/static/images/categories/src/icon_47225/icon_47225.svg new file mode 100644 index 000000000..aa7532ccc --- /dev/null +++ b/wcs/qommon/static/images/categories/src/icon_47225/icon_47225.svg @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/wcs/qommon/static/images/categories/src/icon_47225/license.txt b/wcs/qommon/static/images/categories/src/icon_47225/license.txt new file mode 100644 index 000000000..930790c18 --- /dev/null +++ b/wcs/qommon/static/images/categories/src/icon_47225/license.txt @@ -0,0 +1,8 @@ +Thank you for using The Noun Project. This icon is licensed under Creative +Commons Attribution and must be attributed as: + + Document by Stefan Parnarov from The Noun Project + +If you have a Premium Account or have purchased a license for this icon, you +don't need to worry about attribution! We will share the profits from your +purchase with this icon's designer. diff --git a/wcs/qommon/static/images/categories/src/icon_49638/icon_49638.svg b/wcs/qommon/static/images/categories/src/icon_49638/icon_49638.svg new file mode 100644 index 000000000..40160d990 --- /dev/null +++ b/wcs/qommon/static/images/categories/src/icon_49638/icon_49638.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/wcs/qommon/static/images/categories/src/icon_49638/license.txt b/wcs/qommon/static/images/categories/src/icon_49638/license.txt new file mode 100644 index 000000000..37f67e652 --- /dev/null +++ b/wcs/qommon/static/images/categories/src/icon_49638/license.txt @@ -0,0 +1,8 @@ +Thank you for using The Noun Project. This icon is licensed under Creative +Commons Attribution and must be attributed as: + + Event by Tommy Lau from The Noun Project + +If you have a Premium Account or have purchased a license for this icon, you +don't need to worry about attribution! We will share the profits from your +purchase with this icon's designer. diff --git a/wcs/qommon/static/images/categories/src/icon_50770/icon_50770.svg b/wcs/qommon/static/images/categories/src/icon_50770/icon_50770.svg new file mode 100644 index 000000000..2ada57635 --- /dev/null +++ b/wcs/qommon/static/images/categories/src/icon_50770/icon_50770.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/wcs/qommon/static/images/categories/src/icon_50770/license.txt b/wcs/qommon/static/images/categories/src/icon_50770/license.txt new file mode 100644 index 000000000..392fb4ae6 --- /dev/null +++ b/wcs/qommon/static/images/categories/src/icon_50770/license.txt @@ -0,0 +1,8 @@ +Thank you for using The Noun Project. This icon is licensed under Creative +Commons Attribution and must be attributed as: + + Email by Christopher Holm-Hansen from The Noun Project + +If you have a Premium Account or have purchased a license for this icon, you +don't need to worry about attribution! We will share the profits from your +purchase with this icon's designer. diff --git a/wcs/qommon/static/images/categories/src/icon_52531/icon_52531.svg b/wcs/qommon/static/images/categories/src/icon_52531/icon_52531.svg new file mode 100644 index 000000000..e25889afd --- /dev/null +++ b/wcs/qommon/static/images/categories/src/icon_52531/icon_52531.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/wcs/qommon/static/images/categories/src/icon_52531/license.txt b/wcs/qommon/static/images/categories/src/icon_52531/license.txt new file mode 100644 index 000000000..6df03eff8 --- /dev/null +++ b/wcs/qommon/static/images/categories/src/icon_52531/license.txt @@ -0,0 +1,8 @@ +Thank you for using The Noun Project. This icon is licensed under Creative +Commons Attribution and must be attributed as: + + Open email by Marcus Michaels from The Noun Project + +If you have a Premium Account or have purchased a license for this icon, you +don't need to worry about attribution! We will share the profits from your +purchase with this icon's designer. diff --git a/wcs/qommon/static/images/categories/src/icon_54809/icon_54809.svg b/wcs/qommon/static/images/categories/src/icon_54809/icon_54809.svg new file mode 100644 index 000000000..ccae6ff0a --- /dev/null +++ b/wcs/qommon/static/images/categories/src/icon_54809/icon_54809.svg @@ -0,0 +1,11 @@ +image/svg+xml + + + + + + + + + + \ No newline at end of file diff --git a/wcs/qommon/static/images/categories/src/icon_54809/license.txt b/wcs/qommon/static/images/categories/src/icon_54809/license.txt new file mode 100644 index 000000000..e3a796047 --- /dev/null +++ b/wcs/qommon/static/images/categories/src/icon_54809/license.txt @@ -0,0 +1,8 @@ +Thank you for using The Noun Project. This icon is licensed under Creative +Commons Attribution and must be attributed as: + + confirm-date by Muneer A.Safiah from The Noun Project + +If you have a Premium Account or have purchased a license for this icon, you +don't need to worry about attribution! We will share the profits from your +purchase with this icon's designer. diff --git a/wcs/qommon/static/images/categories/src/icon_58303/icon_58303.svg b/wcs/qommon/static/images/categories/src/icon_58303/icon_58303.svg new file mode 100644 index 000000000..c19068330 --- /dev/null +++ b/wcs/qommon/static/images/categories/src/icon_58303/icon_58303.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/wcs/qommon/static/images/categories/src/icon_58303/license.txt b/wcs/qommon/static/images/categories/src/icon_58303/license.txt new file mode 100644 index 000000000..c57188446 --- /dev/null +++ b/wcs/qommon/static/images/categories/src/icon_58303/license.txt @@ -0,0 +1,8 @@ +Thank you for using The Noun Project. This icon is licensed under Creative +Commons Attribution and must be attributed as: + + Image by Nono Martínez Alonso from The Noun Project + +If you have a Premium Account or have purchased a license for this icon, you +don't need to worry about attribution! We will share the profits from your +purchase with this icon's designer. diff --git a/wcs/qommon/static/images/categories/src/icon_607/icon_607.svg b/wcs/qommon/static/images/categories/src/icon_607/icon_607.svg new file mode 100644 index 000000000..696c62524 --- /dev/null +++ b/wcs/qommon/static/images/categories/src/icon_607/icon_607.svg @@ -0,0 +1,10 @@ + + + + + + + diff --git a/wcs/qommon/static/images/categories/src/icon_607/license.txt b/wcs/qommon/static/images/categories/src/icon_607/license.txt new file mode 100644 index 000000000..ab423ff0e --- /dev/null +++ b/wcs/qommon/static/images/categories/src/icon_607/license.txt @@ -0,0 +1,3 @@ +Thank you for using The Noun Project. This icon is in the Public Domain and +can be used for any project, including commercial, without any attribution +requirements. diff --git a/wcs/qommon/static/images/categories/src/icon_62444/icon_62444.svg b/wcs/qommon/static/images/categories/src/icon_62444/icon_62444.svg new file mode 100644 index 000000000..77e4b23a6 --- /dev/null +++ b/wcs/qommon/static/images/categories/src/icon_62444/icon_62444.svg @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/wcs/qommon/static/images/categories/src/icon_62444/license.txt b/wcs/qommon/static/images/categories/src/icon_62444/license.txt new file mode 100644 index 000000000..e43605b81 --- /dev/null +++ b/wcs/qommon/static/images/categories/src/icon_62444/license.txt @@ -0,0 +1,8 @@ +Thank you for using The Noun Project. This icon is licensed under Creative +Commons Attribution and must be attributed as: + + Firework by Yazmin Alanis from The Noun Project + +If you have a Premium Account or have purchased a license for this icon, you +don't need to worry about attribution! We will share the profits from your +purchase with this icon's designer. diff --git a/wcs/qommon/static/images/categories/src/icon_6412/icon_6412.svg b/wcs/qommon/static/images/categories/src/icon_6412/icon_6412.svg new file mode 100644 index 000000000..aa67e1347 --- /dev/null +++ b/wcs/qommon/static/images/categories/src/icon_6412/icon_6412.svg @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/wcs/qommon/static/images/categories/src/icon_6412/license.txt b/wcs/qommon/static/images/categories/src/icon_6412/license.txt new file mode 100644 index 000000000..486c34a95 --- /dev/null +++ b/wcs/qommon/static/images/categories/src/icon_6412/license.txt @@ -0,0 +1,8 @@ +Thank you for using The Noun Project. This icon is licensed under Creative +Commons Attribution and must be attributed as: + + Mobile Alarm by Mateo Zlatar from The Noun Project + +If you have a Premium Account or have purchased a license for this icon, you +don't need to worry about attribution! We will share the profits from your +purchase with this icon's designer. diff --git a/wcs/qommon/static/images/categories/src/icon_66954/icon_66954.svg b/wcs/qommon/static/images/categories/src/icon_66954/icon_66954.svg new file mode 100644 index 000000000..b0fc38cc5 --- /dev/null +++ b/wcs/qommon/static/images/categories/src/icon_66954/icon_66954.svg @@ -0,0 +1,47 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/wcs/qommon/static/images/categories/src/icon_66954/license.txt b/wcs/qommon/static/images/categories/src/icon_66954/license.txt new file mode 100644 index 000000000..b7ed77d5b --- /dev/null +++ b/wcs/qommon/static/images/categories/src/icon_66954/license.txt @@ -0,0 +1,8 @@ +Thank you for using The Noun Project. This icon is licensed under Creative +Commons Attribution and must be attributed as: + + business man by gilbert bages from The Noun Project + +If you have a Premium Account or have purchased a license for this icon, you +don't need to worry about attribution! We will share the profits from your +purchase with this icon's designer. diff --git a/wcs/qommon/static/images/mobile/gear.png b/wcs/qommon/static/images/mobile/gear.png new file mode 100644 index 000000000..4e7f56e3f Binary files /dev/null and b/wcs/qommon/static/images/mobile/gear.png differ diff --git a/wcs/qommon/static/images/mobile/menu.png b/wcs/qommon/static/images/mobile/menu.png new file mode 100644 index 000000000..44459fd1c Binary files /dev/null and b/wcs/qommon/static/images/mobile/menu.png differ diff --git a/wcs/qommon/static/js/wcs.mobile.js b/wcs/qommon/static/js/wcs.mobile.js new file mode 100644 index 000000000..f3704f70c --- /dev/null +++ b/wcs/qommon/static/js/wcs.mobile.js @@ -0,0 +1,37 @@ +$(function() { + $(window).on('popstate', function(event) { + var data = event.state; + $('#services ul > li.active').removeClass('active'); + }); + $(window).on('hashchange', function(event) { + if (location.hash && location.hash.length > 1) { + $('#services ul > li.active').removeClass('active'); + $(location.hash).addClass('active'); + } else { + $('#services ul > li.active').removeClass('active'); + } + }); + $(window).on('load', function(event) { + if (location.hash && location.hash.length > 1) { + $(window).trigger('hashchange'); + } + }); + + $('a#menu').click(function() { $('#nav-user').hide(); $('#nav-site').toggle('slide'); }); + $('a#gear').click(function() { $('#nav-site').hide(); $('#nav-user').toggle('slide'); }); + $('#services li').click(function() { + $(this).find('strong').click(); + }); + $('#services ul strong').click(function() { + var is_already_active = $(this).parent().hasClass('active'); + var title = $(this).text(); + $('#services ul > li.active').removeClass('active'); + if (is_already_active) { + history.pushState(document.title, document.title, '#'); + } else { + history.pushState(title, title, '#'+$(this).parent().attr('id')); + $(this).parent().addClass('active'); + } + return false; + }); +});