Merge branch 'dev_aliyun' of https://bdgit.educoder.net/Hjqreturn/educoder into dev_aliyun
@ -1,22 +0,0 @@
|
||||
defaults: &defaults
|
||||
access_key_id: 'test'
|
||||
access_key_secret: 'test'
|
||||
base_url: 'http://vod.cn-shanghai.aliyuncs.com'
|
||||
cate_id: '-1'
|
||||
callback_url: 'http://47.96.87.25:48080/api/callbacks/aliyun_vod.json'
|
||||
signature_key: 'test12345678'
|
||||
|
||||
development:
|
||||
<<: *defaults
|
||||
access_key_id: 'LTAI4kRL1DxQPdM2'
|
||||
access_key_secret: 'yiz68rxE6imziBTITggWcOeSqjUeUu'
|
||||
cate_id: '1000068305'
|
||||
base_url: 'http://vod.cn-shanghai.aliyuncs.com'
|
||||
callback_url: 'http://47.96.87.25:48080/api/callbacks/aliyun_vod.json'
|
||||
signature_key: 'sdgdfDGH14DHD5g465123'
|
||||
|
||||
test:
|
||||
<<: *defaults
|
||||
|
||||
production:
|
||||
<<: *defaults
|
@ -1,16 +0,0 @@
|
||||
defaults: &defaults
|
||||
access_key_id: 'test'
|
||||
access_key_secret: 'test'
|
||||
base_url: 'http://vod.cn-shanghai.aliyuncs.com'
|
||||
cate_id: '-1'
|
||||
callback_url: 'http://47.96.87.25:48080/api/callbacks/aliyun_vod.json'
|
||||
signature_key: 'test12345678'
|
||||
|
||||
development:
|
||||
<<: *defaults
|
||||
|
||||
test:
|
||||
<<: *defaults
|
||||
|
||||
production:
|
||||
<<: *defaults
|
@ -0,0 +1,17 @@
|
||||
defaults: &defaults
|
||||
aliyun_vod:
|
||||
access_key_id: 'test'
|
||||
access_key_secret: 'test'
|
||||
base_url: 'http://vod.cn-shanghai.aliyuncs.com'
|
||||
cate_id: '-1'
|
||||
callback_url: 'http://47.96.87.25:48080/api/callbacks/aliyun_vod.json'
|
||||
signature_key: 'test12345678'
|
||||
|
||||
development:
|
||||
<<: *defaults
|
||||
|
||||
test:
|
||||
<<: *defaults
|
||||
|
||||
production:
|
||||
<<: *defaults
|
@ -1,7 +1,20 @@
|
||||
config = Rails.application.config_for(:aliyun_vod)
|
||||
AliyunVod.access_key_id = config['access_key_id']
|
||||
AliyunVod.access_key_secret = config['access_key_secret']
|
||||
AliyunVod.base_url = config['base_url'] || 'http://vod.cn-shanghai.aliyuncs.com'.freeze
|
||||
AliyunVod.cate_id = config['cate_id']
|
||||
AliyunVod.callback_url = config['callback_url']
|
||||
AliyunVod.signature_key = config['signature_key']
|
||||
|
||||
aliyun_vod_config = {}
|
||||
|
||||
begin
|
||||
config = Rails.application.config_for(:configuration)
|
||||
aliyun_vod_config = config['aliyun_vod']
|
||||
raise 'oauth wechat config missing' if aliyun_vod_config.blank?
|
||||
rescue => ex
|
||||
raise ex if Rails.env.production?
|
||||
|
||||
puts %Q{\033[33m [warning] aliyun vod config or configuration.yml missing,
|
||||
please add it or execute 'cp config/configuration.yml.example config/configuration.yml' \033[0m}
|
||||
end
|
||||
|
||||
AliyunVod.access_key_id = aliyun_vod_config['access_key_id']
|
||||
AliyunVod.access_key_secret = aliyun_vod_config['access_key_secret']
|
||||
AliyunVod.base_url = aliyun_vod_config['base_url'] || 'http://vod.cn-shanghai.aliyuncs.com'.freeze
|
||||
AliyunVod.cate_id = aliyun_vod_config['cate_id']
|
||||
AliyunVod.callback_url = aliyun_vod_config['callback_url']
|
||||
AliyunVod.signature_key = aliyun_vod_config['signature_key']
|
||||
|
@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="RUBY_MODULE" version="4">
|
||||
<component name="ModuleRunConfigurationManager">
|
||||
<shared />
|
||||
</component>
|
||||
<component name="NewModuleRootManager">
|
||||
<content url="file://$USER_HOME$/eduplus2/public/admin/Coco" />
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
</component>
|
||||
</module>
|
@ -1,4 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="Encoding" addBOMForNewFiles="with NO BOM" />
|
||||
</project>
|
@ -1,7 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="JavaScriptSettings">
|
||||
<option name="languageLevel" value="ES6" />
|
||||
</component>
|
||||
<component name="ProjectRootManager" version="2" project-jdk-name="ruby-2.3.7-p456" project-jdk-type="RUBY_SDK" />
|
||||
</project>
|
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectModuleManager">
|
||||
<modules>
|
||||
<module fileurl="file://$PROJECT_DIR$/.idea/Coco.iml" filepath="$PROJECT_DIR$/.idea/Coco.iml" />
|
||||
</modules>
|
||||
</component>
|
||||
</project>
|
@ -1,6 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="$PROJECT_DIR$/../.." vcs="Git" />
|
||||
</component>
|
||||
</project>
|
@ -1,492 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ChangeListManager">
|
||||
<list default="true" id="bbfdfebc-59ed-4b64-8f87-8e0b450714d6" name="Default Changelist" comment="">
|
||||
<change beforePath="$PROJECT_DIR$/404.html" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/500.html" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/advanced-forms.html" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/alerts.html" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/css/style-responsive.css" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/css/style.css" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/img/apple-touch-icon-114x114.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/img/apple-touch-icon-120x120.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/img/apple-touch-icon-144x144.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/img/apple-touch-icon-152x152.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/img/apple-touch-icon-57x57.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/img/apple-touch-icon-72x72.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/img/apple-touch-icon-76x76.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/img/apple-touch-icon.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/img/favicon.ico" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/img/gmap/m1.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/img/gmap/m2.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/img/gmap/m3.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/img/inv-logo.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/img/login-logo.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/img/logo.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/js/apps/calculator.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/js/apps/notes.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/js/apps/todo.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/js/init.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/js/pages/advanced-forms.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/js/pages/calendar.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/js/pages/datatables.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/js/pages/form-validation.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/js/pages/form-wizard.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/js/pages/forms.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/js/pages/google-maps.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/js/pages/index.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/js/pages/index2.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/js/pages/lockscreen.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/js/pages/morris-charts.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/js/pages/nested-list.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/js/pages/new-message.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/js/pages/notifications.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/js/pages/other-charts.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/js/pages/rickshaw-charts.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/js/pages/sparkline-charts.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/js/pages/tabs-accordions.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/js/pages/vector-maps.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/animate-css/animate.min.css" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/bootstrap-bootbox/bootbox.min.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/bootstrap-calendar/css/bic_calendar.css" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/bootstrap-calendar/js/bic_calendar.min.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/bootstrap-datepicker/css/datepicker.css" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/bootstrap-datepicker/js/bootstrap-datepicker.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/bootstrap-fileinput/bootstrap.file-input.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/bootstrap-inputmask/inputmask.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/bootstrap-select/bootstrap-select.min.css" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/bootstrap-select/bootstrap-select.min.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/bootstrap-select2/select2-spinner.gif" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/bootstrap-select2/select2.css" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/bootstrap-select2/select2.min.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/bootstrap-select2/select2.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/bootstrap-typeahead/bootstrap3-typeahead.min.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/bootstrap-validator/css/bootstrapValidator.min.css" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/bootstrap-validator/js/bootstrapValidator.min.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/bootstrap-xeditable/css/bootstrap-editable.css" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/bootstrap-xeditable/demo/demo-mock.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/bootstrap-xeditable/demo/jquery.mockjax.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/bootstrap-xeditable/img/clear.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/bootstrap-xeditable/img/loading.gif" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/bootstrap-xeditable/js/bootstrap-editable.min.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/bootstrap/css/bootstrap.min.css" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/bootstrap/fonts/glyphicons-halflings-regular.eot" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/bootstrap/fonts/glyphicons-halflings-regular.svg" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/bootstrap/fonts/glyphicons-halflings-regular.ttf" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/bootstrap/fonts/glyphicons-halflings-regular.woff" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/bootstrap/js/bootstrap.min.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/ckeditor/adapters/jquery.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/ckeditor/ckeditor.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/d3/d3.v3.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/dropzone/css/dropzone.css" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/dropzone/dropzone.min.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/dropzone/images/spritemap.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/dropzone/images/spritemap@2x.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/fastclick/fastclick.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/font-awesome/css/font-awesome.min.css" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/font-awesome/fonts/FontAwesome.otf" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/font-awesome/fonts/fontawesome-webfont.eot" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/font-awesome/fonts/fontawesome-webfont.svg" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/font-awesome/fonts/fontawesome-webfont.ttf" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/font-awesome/fonts/fontawesome-webfont.woff" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/fontello/css/fontello.css" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/fullcalendar/fullcalendar.css" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/fullcalendar/fullcalendar.min.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/ios7-switch/ios7-switch.css" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/ios7-switch/ios7.switch.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-animate-numbers/jquery.animateNumbers.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-blockui/jquery.blockUI.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-clndr/moment-2.5.1.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-clock/clock.css" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-clock/clock.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-datatables/css/dataTables.bootstrap.css" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-datatables/extensions/TableTools/css/dataTables.tableTools.css" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-datatables/extensions/TableTools/images/background.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-datatables/extensions/TableTools/images/collection.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-datatables/extensions/TableTools/images/collection_hover.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-datatables/extensions/TableTools/js/dataTables.tableTools.min.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-datatables/images/sort_asc.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-datatables/images/sort_asc_disabled.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-datatables/images/sort_both.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-datatables/images/sort_desc.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-datatables/images/sort_desc_disabled.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-datatables/js/dataTables.bootstrap.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-datatables/js/jquery.dataTables.min.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-detectmobile/detect.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-easypiechart/jquery.easy-pie-chart.css" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-easypiechart/jquery.easypiechart.min.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-gmap3/gmap3.min.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-icheck/icheck.min.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-icheck/skins/all.css" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-icheck/skins/flat/_all.css" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-icheck/skins/flat/aero.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-icheck/skins/flat/aero@2x.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-icheck/skins/flat/blue.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-icheck/skins/flat/blue@2x.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-icheck/skins/flat/flat.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-icheck/skins/flat/flat@2x.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-icheck/skins/flat/green.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-icheck/skins/flat/green@2x.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-icheck/skins/flat/grey.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-icheck/skins/flat/grey@2x.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-icheck/skins/flat/orange.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-icheck/skins/flat/orange@2x.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-icheck/skins/flat/pink.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-icheck/skins/flat/pink@2x.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-icheck/skins/flat/purple.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-icheck/skins/flat/purple@2x.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-icheck/skins/flat/red.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-icheck/skins/flat/red@2x.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-icheck/skins/flat/yellow.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-icheck/skins/flat/yellow@2x.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-icheck/skins/futurico/futurico.css" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-icheck/skins/futurico/futurico.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-icheck/skins/futurico/futurico@2x.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-icheck/skins/line/_all.css" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-icheck/skins/line/line.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-icheck/skins/line/line@2x.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-icheck/skins/minimal/_all.css" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-icheck/skins/minimal/aero.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-icheck/skins/minimal/aero@2x.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-icheck/skins/minimal/blue.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-icheck/skins/minimal/blue@2x.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-icheck/skins/minimal/green.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-icheck/skins/minimal/green@2x.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-icheck/skins/minimal/grey.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-icheck/skins/minimal/grey@2x.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-icheck/skins/minimal/minimal.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-icheck/skins/minimal/minimal@2x.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-icheck/skins/minimal/orange.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-icheck/skins/minimal/orange@2x.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-icheck/skins/minimal/pink.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-icheck/skins/minimal/pink@2x.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-icheck/skins/minimal/purple.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-icheck/skins/minimal/purple@2x.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-icheck/skins/minimal/red.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-icheck/skins/minimal/red@2x.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-icheck/skins/minimal/yellow.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-icheck/skins/minimal/yellow@2x.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-icheck/skins/polaris/polaris.css" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-icheck/skins/polaris/polaris.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-icheck/skins/polaris/polaris@2x.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-icheck/skins/square/_all.css" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-icheck/skins/square/aero.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-icheck/skins/square/aero@2x.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-icheck/skins/square/blue.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-icheck/skins/square/blue@2x.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-icheck/skins/square/green.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-icheck/skins/square/green@2x.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-icheck/skins/square/grey.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-icheck/skins/square/grey@2x.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-icheck/skins/square/orange.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-icheck/skins/square/orange@2x.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-icheck/skins/square/pink.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-icheck/skins/square/pink@2x.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-icheck/skins/square/purple.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-icheck/skins/square/purple@2x.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-icheck/skins/square/red.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-icheck/skins/square/red@2x.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-icheck/skins/square/square.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-icheck/skins/square/square@2x.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-icheck/skins/square/yellow.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-icheck/skins/square/yellow@2x.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-jvectormap/css/jquery-jvectormap-1.2.2.css" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-jvectormap/js/jquery-jvectormap-1.2.2.min.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-jvectormap/js/jquery-jvectormap-europe-mill-en.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-jvectormap/js/jquery-jvectormap-uk-mill-en.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-jvectormap/js/jquery-jvectormap-us-aea-en.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-jvectormap/js/jquery-jvectormap-us-il-chicago-mill-en.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-jvectormap/js/jquery-jvectormap-world-mill-en.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-knob/jquery.knob.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-knob/jquery.knob.min.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-nestable/jquery.nestable.css" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-nestable/jquery.nestable.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-notifyjs/notify.min.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-notifyjs/styles/metro/notify-metro.css" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-notifyjs/styles/metro/notify-metro.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-slimscroll/jquery.slimscroll.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-sparkline/jquery-sparkline.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-ui-touch/jquery.ui.touch-punch.min.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-weather/artill_clean_icons-webfont.eot" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-weather/artill_clean_icons-webfont.svg" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-weather/artill_clean_icons-webfont.ttf" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-weather/artill_clean_icons-webfont.woff" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-weather/jquery.simpleWeather-2.6.min.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-weather/simpleweather.css" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery-wizard/jquery.easyWizard.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jquery/jquery-1.11.1.min.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jqueryui/jquery-ui-1.10.4.custom.min.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jqueryui/ui-lightness/images/animated-overlay.gif" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jqueryui/ui-lightness/images/ui-icons_222222_256x240.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jqueryui/ui-lightness/images/ui-icons_ffffff_256x240.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/jqueryui/ui-lightness/jquery-ui-1.10.4.custom.min.css" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/magnific-popup/jquery.magnific-popup.min.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/magnific-popup/magnific-popup.css" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/morrischart/morris.css" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/morrischart/morris.min.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/nifty-modal/css/component.css" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/nifty-modal/js/classie.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/nifty-modal/js/modalEffects.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/pace/pace.css" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/pace/pace.min.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/prettify/github.css" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/prettify/prettify.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/raphael/raphael-min.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/rickshaw/rickshaw.min.css" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/rickshaw/rickshaw.min.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/sortable/sortable-theme-bootstrap.css" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/sortable/sortable.min.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/summernote/summernote.css" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/assets/libs/summernote/summernote.js" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/blank.html" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/buttons.html" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/calendar.html" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/datatables.html" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/form-uploads.html" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/form-validation.html" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/form-wizard.html" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/forms.html" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/gallery.html" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/google-maps.html" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/grid.html" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/icons.html" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/images/big/img001.jpg" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/images/big/img002.jpg" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/images/big/img003.jpg" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/images/big/img004.jpg" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/images/big/img005.jpg" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/images/big/img006.jpg" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/images/big/img007.jpg" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/images/big/img008.jpg" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/images/big/img009.jpg" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/images/big/img010.jpg" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/images/small/img001_small.jpg" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/images/small/img002_small.jpg" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/images/small/img003_small.jpg" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/images/small/img004_small.jpg" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/images/small/img005_small.jpg" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/images/small/img006_small.jpg" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/images/small/img007_small.jpg" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/images/small/img008_small.jpg" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/images/small/img009_small.jpg" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/images/small/img010_small.jpg" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/images/stock/1epgUO0.jpg" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/images/users/chat/1.jpg" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/images/users/chat/19.jpg" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/images/users/chat/2.jpg" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/images/users/chat/3.jpg" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/images/users/chat/4.jpg" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/images/users/chat/5.jpg" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/images/users/chat/6.jpg" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/images/users/default-user.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/images/users/user-100.jpg" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/images/users/user-256.jpg" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/images/users/user-35.jpg" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/images/weather/weather-bg.jpg" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/inbox.html" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/index.html" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/index2.html" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/invoice.html" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/lockscreen.html" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/login.html" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/maintenance.html" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/modals.html" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/morris-charts.html" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/nested-list.html" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/new-message.html" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/notifications.html" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/other-charts.html" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/portlets.html" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/profile.html" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/progress-bars.html" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/read-message.html" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/register.html" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/rickshaw-charts.html" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/screenshot.png" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/sparkline-charts.html" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/tables.html" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/tabs-accordions.html" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/typography.html" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/vector-maps.html" beforeDir="false" />
|
||||
</list>
|
||||
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
|
||||
<option name="SHOW_DIALOG" value="false" />
|
||||
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||||
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
||||
<option name="LAST_RESOLUTION" value="IGNORE" />
|
||||
</component>
|
||||
<component name="FileEditorManager">
|
||||
<leaf>
|
||||
<file pinned="false" current-in-tab="false">
|
||||
<entry file="file://$USER_HOME$/eduplus2/public/admin/Coco/404.html">
|
||||
<provider selected="true" editor-type-id="text-editor" />
|
||||
</entry>
|
||||
</file>
|
||||
<file pinned="false" current-in-tab="false">
|
||||
<entry file="file://$USER_HOME$/eduplus2/public/admin/Coco/login.html">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="375">
|
||||
<caret line="20" column="26" selection-start-line="20" selection-start-column="20" selection-end-line="20" selection-end-column="26" />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
</file>
|
||||
<file pinned="false" current-in-tab="false">
|
||||
<entry file="file://$USER_HOME$/eduplus2/public/admin/Coco/sparkline-charts.html">
|
||||
<provider selected="true" editor-type-id="text-editor" />
|
||||
</entry>
|
||||
</file>
|
||||
<file pinned="false" current-in-tab="false">
|
||||
<entry file="file://$USER_HOME$/eduplus2/public/admin/Coco/tables.html">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="-931" />
|
||||
</provider>
|
||||
</entry>
|
||||
</file>
|
||||
<file pinned="false" current-in-tab="true">
|
||||
<entry file="file://$USER_HOME$/eduplus2/public/admin/Coco/other-charts.html">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="-1318">
|
||||
<caret line="29" column="38" selection-start-line="29" selection-start-column="38" selection-end-line="29" selection-end-column="38" />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
</file>
|
||||
<file pinned="false" current-in-tab="false">
|
||||
<entry file="file://$USER_HOME$/eduplus2/public/admin/Coco/invoice.html">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="-1024" />
|
||||
</provider>
|
||||
</entry>
|
||||
</file>
|
||||
<file pinned="false" current-in-tab="false">
|
||||
<entry file="file://$USER_HOME$/eduplus2/public/admin/Coco/lockscreen.html">
|
||||
<provider selected="true" editor-type-id="text-editor" />
|
||||
</entry>
|
||||
</file>
|
||||
</leaf>
|
||||
</component>
|
||||
<component name="Git.Settings">
|
||||
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$/../.." />
|
||||
</component>
|
||||
<component name="JsFlowSettings">
|
||||
<service-enabled>true</service-enabled>
|
||||
<exe-path />
|
||||
<other-services-enabled>true</other-services-enabled>
|
||||
<auto-save>true</auto-save>
|
||||
</component>
|
||||
<component name="ProjectFrameBounds" extendedState="6">
|
||||
<option name="x" value="190" />
|
||||
<option name="y" value="103" />
|
||||
<option name="width" value="1440" />
|
||||
<option name="height" value="810" />
|
||||
</component>
|
||||
<component name="ProjectLevelVcsManager" settingsEditedManually="true" />
|
||||
<component name="ProjectView">
|
||||
<navigator proportions="" version="1">
|
||||
<foldersAlwaysOnTop value="true" />
|
||||
</navigator>
|
||||
<panes>
|
||||
<pane id="ProjectPane" />
|
||||
<pane id="Scope" />
|
||||
</panes>
|
||||
</component>
|
||||
<component name="PropertiesComponent">
|
||||
<property name="WebServerToolWindowFactoryState" value="false" />
|
||||
<property name="last_opened_file_path" value="$PROJECT_DIR$" />
|
||||
<property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
|
||||
<property name="nodejs_npm_path_reset_for_default_project" value="true" />
|
||||
<property name="settings.editor.selected.configurable" value="Settings.JavaScript" />
|
||||
</component>
|
||||
<component name="RunDashboard">
|
||||
<option name="ruleStates">
|
||||
<list>
|
||||
<RuleState>
|
||||
<option name="name" value="ConfigurationTypeDashboardGroupingRule" />
|
||||
</RuleState>
|
||||
<RuleState>
|
||||
<option name="name" value="StatusDashboardGroupingRule" />
|
||||
</RuleState>
|
||||
</list>
|
||||
</option>
|
||||
</component>
|
||||
<component name="SvnConfiguration">
|
||||
<configuration />
|
||||
</component>
|
||||
<component name="TaskManager">
|
||||
<task active="true" id="Default" summary="Default task">
|
||||
<changelist id="bbfdfebc-59ed-4b64-8f87-8e0b450714d6" name="Default Changelist" comment="" />
|
||||
<created>1564991764284</created>
|
||||
<option name="number" value="Default" />
|
||||
<option name="presentableId" value="Default" />
|
||||
<updated>1564991764284</updated>
|
||||
<workItem from="1564991765742" duration="1047000" />
|
||||
</task>
|
||||
<servers />
|
||||
</component>
|
||||
<component name="TimeTrackingManager">
|
||||
<option name="totallyTimeSpent" value="1047000" />
|
||||
</component>
|
||||
<component name="ToolWindowManager">
|
||||
<frame x="0" y="23" width="1440" height="810" extended-state="6" />
|
||||
<layout>
|
||||
<window_info id="Favorites" side_tool="true" />
|
||||
<window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.14306152" />
|
||||
<window_info id="Structure" order="1" side_tool="true" weight="0.25" />
|
||||
<window_info anchor="bottom" id="Docker" show_stripe_button="false" />
|
||||
<window_info anchor="bottom" id="Database Changes" />
|
||||
<window_info anchor="bottom" id="Version Control" />
|
||||
<window_info active="true" anchor="bottom" id="Terminal" visible="true" weight="0.3286908" />
|
||||
<window_info anchor="bottom" id="Event Log" side_tool="true" />
|
||||
<window_info anchor="bottom" id="Message" order="0" />
|
||||
<window_info anchor="bottom" id="Find" order="1" />
|
||||
<window_info anchor="bottom" id="Run" order="2" />
|
||||
<window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
|
||||
<window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
|
||||
<window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
|
||||
<window_info anchor="bottom" id="TODO" order="6" />
|
||||
<window_info anchor="right" id="Database" />
|
||||
<window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
|
||||
<window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
|
||||
<window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
|
||||
</layout>
|
||||
</component>
|
||||
<component name="TypeScriptGeneratedFilesManager">
|
||||
<option name="version" value="1" />
|
||||
</component>
|
||||
<component name="editorHistoryManager">
|
||||
<entry file="file://$USER_HOME$/eduplus2/public/admin/Coco/404.html">
|
||||
<provider selected="true" editor-type-id="text-editor" />
|
||||
</entry>
|
||||
<entry file="file://$USER_HOME$/eduplus2/public/admin/Coco/invoice.html">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="-1024" />
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$USER_HOME$/eduplus2/public/admin/Coco/lockscreen.html">
|
||||
<provider selected="true" editor-type-id="text-editor" />
|
||||
</entry>
|
||||
<entry file="file://$USER_HOME$/eduplus2/public/admin/Coco/login.html">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="375">
|
||||
<caret line="20" column="26" selection-start-line="20" selection-start-column="20" selection-end-line="20" selection-end-column="26" />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$USER_HOME$/eduplus2/public/admin/Coco/sparkline-charts.html">
|
||||
<provider selected="true" editor-type-id="text-editor" />
|
||||
</entry>
|
||||
<entry file="file://$USER_HOME$/eduplus2/public/admin/Coco/tables.html">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="-931" />
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$USER_HOME$/eduplus2/public/admin/Coco/other-charts.html">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="-1318">
|
||||
<caret line="29" column="38" selection-start-line="29" selection-start-column="38" selection-end-line="29" selection-end-column="38" />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
</component>
|
||||
</project>
|
@ -1,156 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>404 Not Found | Coco - Responsive Bootstrap Admin Template</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
|
||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
||||
<meta name="description" content="">
|
||||
<meta name="keywords" content="coco bootstrap template, coco admin, bootstrap,admin template, bootstrap admin,">
|
||||
<meta name="author" content="Huban Creative">
|
||||
|
||||
<!-- Base Css Files -->
|
||||
<link href="assets/libs/jqueryui/ui-lightness/jquery-ui-1.10.4.custom.min.css" rel="stylesheet" />
|
||||
<link href="assets/libs/bootstrap/css/bootstrap.min.css" rel="stylesheet" />
|
||||
<link href="assets/libs/font-awesome/css/font-awesome.min.css" rel="stylesheet" />
|
||||
<link href="assets/libs/fontello/css/fontello.css" rel="stylesheet" />
|
||||
<link href="assets/libs/animate-css/animate.min.css" rel="stylesheet" />
|
||||
<link href="assets/libs/nifty-modal/css/component.css" rel="stylesheet" />
|
||||
<link href="assets/libs/magnific-popup/magnific-popup.css" rel="stylesheet" />
|
||||
<link href="assets/libs/ios7-switch/ios7-switch.css" rel="stylesheet" />
|
||||
<link href="assets/libs/pace/pace.css" rel="stylesheet" />
|
||||
<link href="assets/libs/sortable/sortable-theme-bootstrap.css" rel="stylesheet" />
|
||||
<link href="assets/libs/bootstrap-datepicker/css/datepicker.css" rel="stylesheet" />
|
||||
<link href="assets/libs/jquery-icheck/skins/all.css" rel="stylesheet" />
|
||||
<!-- Code Highlighter for Demo -->
|
||||
<link href="assets/libs/prettify/github.css" rel="stylesheet" />
|
||||
|
||||
<!-- Extra CSS Libraries Start -->
|
||||
<link href="assets/css/style.css" rel="stylesheet" type="text/css" />
|
||||
<!-- Extra CSS Libraries End -->
|
||||
<link href="assets/css/style-responsive.css" rel="stylesheet" />
|
||||
|
||||
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
||||
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
|
||||
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
|
||||
<link rel="shortcut icon" href="assets/img/favicon.ico">
|
||||
<link rel="apple-touch-icon" href="assets/img/apple-touch-icon.png" />
|
||||
<link rel="apple-touch-icon" sizes="57x57" href="assets/img/apple-touch-icon-57x57.png" />
|
||||
<link rel="apple-touch-icon" sizes="72x72" href="assets/img/apple-touch-icon-72x72.png" />
|
||||
<link rel="apple-touch-icon" sizes="76x76" href="assets/img/apple-touch-icon-76x76.png" />
|
||||
<link rel="apple-touch-icon" sizes="114x114" href="assets/img/apple-touch-icon-114x114.png" />
|
||||
<link rel="apple-touch-icon" sizes="120x120" href="assets/img/apple-touch-icon-120x120.png" />
|
||||
<link rel="apple-touch-icon" sizes="144x144" href="assets/img/apple-touch-icon-144x144.png" />
|
||||
<link rel="apple-touch-icon" sizes="152x152" href="assets/img/apple-touch-icon-152x152.png" />
|
||||
</head>
|
||||
<body class="fixed-left full-content">
|
||||
<!-- Modal Start -->
|
||||
<!-- Modal Task Progress -->
|
||||
<div class="md-modal md-3d-flip-vertical" id="task-progress">
|
||||
<div class="md-content">
|
||||
<h3><strong>Task Progress</strong> Information</h3>
|
||||
<div>
|
||||
<p>CLEANING BUGS</p>
|
||||
<div class="progress progress-xs for-modal">
|
||||
<div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="80" aria-valuemin="0" aria-valuemax="100" style="width: 80%">
|
||||
<span class="sr-only">80% Complete</span>
|
||||
</div>
|
||||
</div>
|
||||
<p>POSTING SOME STUFF</p>
|
||||
<div class="progress progress-xs for-modal">
|
||||
<div class="progress-bar progress-bar-warning" role="progressbar" aria-valuenow="80" aria-valuemin="0" aria-valuemax="100" style="width: 65%">
|
||||
<span class="sr-only">65% Complete</span>
|
||||
</div>
|
||||
</div>
|
||||
<p>BACKUP DATA FROM SERVER</p>
|
||||
<div class="progress progress-xs for-modal">
|
||||
<div class="progress-bar progress-bar-info" role="progressbar" aria-valuenow="80" aria-valuemin="0" aria-valuemax="100" style="width: 95%">
|
||||
<span class="sr-only">95% Complete</span>
|
||||
</div>
|
||||
</div>
|
||||
<p>RE-DESIGNING WEB APPLICATION</p>
|
||||
<div class="progress progress-xs for-modal">
|
||||
<div class="progress-bar progress-bar-primary" role="progressbar" aria-valuenow="80" aria-valuemin="0" aria-valuemax="100" style="width: 100%">
|
||||
<span class="sr-only">100% Complete</span>
|
||||
</div>
|
||||
</div>
|
||||
<p class="text-center">
|
||||
<button class="btn btn-danger btn-sm md-close">Close</button>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Modal Logout -->
|
||||
<div class="md-modal md-just-me" id="logout-modal">
|
||||
<div class="md-content">
|
||||
<h3><strong>Logout</strong> Confirmation</h3>
|
||||
<div>
|
||||
<p class="text-center">Are you sure want to logout from this awesome system?</p>
|
||||
<p class="text-center">
|
||||
<button class="btn btn-danger md-close">Nope!</button>
|
||||
<a href="login.html" class="btn btn-success md-close">Yeah, I'm sure</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div> <!-- Modal End -->
|
||||
|
||||
<!-- Begin page -->
|
||||
<div class="container">
|
||||
<div class="full-content-center animated flipInX">
|
||||
<h1>404</h1>
|
||||
<h2>The page you are looking for is definitely not this!</h2><br>
|
||||
<p class="text-lightblue-2">You better try our awesome search:</p>
|
||||
<div class="row">
|
||||
<div class="icon-added input-group col-sm-8 col-sm-offset-2">
|
||||
<i class="fa fa-search"></i>
|
||||
<input type="text" class="form-control">
|
||||
<span class="input-group-btn">
|
||||
<button class="btn btn-success" type="button">Search</button>
|
||||
</span>
|
||||
</div>
|
||||
</div><br>
|
||||
<a class="btn btn-primary btn-sm" href="index.html"><i class="fa fa-angle-left"></i> Back to Dashboard</a>
|
||||
</div>
|
||||
</div>
|
||||
<!-- End of page -->
|
||||
<!-- the overlay modal element -->
|
||||
<div class="md-overlay"></div>
|
||||
<!-- End of eoverlay modal -->
|
||||
<script>
|
||||
var resizefunc = [];
|
||||
</script>
|
||||
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
|
||||
<script src="assets/libs/jquery/jquery-1.11.1.min.js"></script>
|
||||
<script src="assets/libs/bootstrap/js/bootstrap.min.js"></script>
|
||||
<script src="assets/libs/jqueryui/jquery-ui-1.10.4.custom.min.js"></script>
|
||||
<script src="assets/libs/jquery-ui-touch/jquery.ui.touch-punch.min.js"></script>
|
||||
<script src="assets/libs/jquery-detectmobile/detect.js"></script>
|
||||
<script src="assets/libs/jquery-animate-numbers/jquery.animateNumbers.js"></script>
|
||||
<script src="assets/libs/ios7-switch/ios7.switch.js"></script>
|
||||
<script src="assets/libs/fastclick/fastclick.js"></script>
|
||||
<script src="assets/libs/jquery-blockui/jquery.blockUI.js"></script>
|
||||
<script src="assets/libs/bootstrap-bootbox/bootbox.min.js"></script>
|
||||
<script src="assets/libs/jquery-slimscroll/jquery.slimscroll.js"></script>
|
||||
<script src="assets/libs/jquery-sparkline/jquery-sparkline.js"></script>
|
||||
<script src="assets/libs/nifty-modal/js/classie.js"></script>
|
||||
<script src="assets/libs/nifty-modal/js/modalEffects.js"></script>
|
||||
<script src="assets/libs/sortable/sortable.min.js"></script>
|
||||
<script src="assets/libs/bootstrap-fileinput/bootstrap.file-input.js"></script>
|
||||
<script src="assets/libs/bootstrap-select/bootstrap-select.min.js"></script>
|
||||
<script src="assets/libs/bootstrap-select2/select2.min.js"></script>
|
||||
<script src="assets/libs/magnific-popup/jquery.magnific-popup.min.js"></script>
|
||||
<script src="assets/libs/pace/pace.min.js"></script>
|
||||
<script src="assets/libs/bootstrap-datepicker/js/bootstrap-datepicker.js"></script>
|
||||
<script src="assets/libs/jquery-icheck/icheck.min.js"></script>
|
||||
|
||||
<!-- Demo Specific JS Libraries -->
|
||||
<script src="assets/libs/prettify/prettify.js"></script>
|
||||
|
||||
<script src="assets/js/init.js"></script>
|
||||
</body>
|
||||
</html>
|
@ -1,156 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>500 Internal Server Error | Coco - Responsive Bootstrap Admin Template</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
|
||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
||||
<meta name="description" content="">
|
||||
<meta name="keywords" content="coco bootstrap template, coco admin, bootstrap,admin template, bootstrap admin,">
|
||||
<meta name="author" content="Huban Creative">
|
||||
|
||||
<!-- Base Css Files -->
|
||||
<link href="assets/libs/jqueryui/ui-lightness/jquery-ui-1.10.4.custom.min.css" rel="stylesheet" />
|
||||
<link href="assets/libs/bootstrap/css/bootstrap.min.css" rel="stylesheet" />
|
||||
<link href="assets/libs/font-awesome/css/font-awesome.min.css" rel="stylesheet" />
|
||||
<link href="assets/libs/fontello/css/fontello.css" rel="stylesheet" />
|
||||
<link href="assets/libs/animate-css/animate.min.css" rel="stylesheet" />
|
||||
<link href="assets/libs/nifty-modal/css/component.css" rel="stylesheet" />
|
||||
<link href="assets/libs/magnific-popup/magnific-popup.css" rel="stylesheet" />
|
||||
<link href="assets/libs/ios7-switch/ios7-switch.css" rel="stylesheet" />
|
||||
<link href="assets/libs/pace/pace.css" rel="stylesheet" />
|
||||
<link href="assets/libs/sortable/sortable-theme-bootstrap.css" rel="stylesheet" />
|
||||
<link href="assets/libs/bootstrap-datepicker/css/datepicker.css" rel="stylesheet" />
|
||||
<link href="assets/libs/jquery-icheck/skins/all.css" rel="stylesheet" />
|
||||
<!-- Code Highlighter for Demo -->
|
||||
<link href="assets/libs/prettify/github.css" rel="stylesheet" />
|
||||
|
||||
<!-- Extra CSS Libraries Start -->
|
||||
<link href="assets/css/style.css" rel="stylesheet" type="text/css" />
|
||||
<!-- Extra CSS Libraries End -->
|
||||
<link href="assets/css/style-responsive.css" rel="stylesheet" />
|
||||
|
||||
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
||||
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
|
||||
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
|
||||
<link rel="shortcut icon" href="assets/img/favicon.ico">
|
||||
<link rel="apple-touch-icon" href="assets/img/apple-touch-icon.png" />
|
||||
<link rel="apple-touch-icon" sizes="57x57" href="assets/img/apple-touch-icon-57x57.png" />
|
||||
<link rel="apple-touch-icon" sizes="72x72" href="assets/img/apple-touch-icon-72x72.png" />
|
||||
<link rel="apple-touch-icon" sizes="76x76" href="assets/img/apple-touch-icon-76x76.png" />
|
||||
<link rel="apple-touch-icon" sizes="114x114" href="assets/img/apple-touch-icon-114x114.png" />
|
||||
<link rel="apple-touch-icon" sizes="120x120" href="assets/img/apple-touch-icon-120x120.png" />
|
||||
<link rel="apple-touch-icon" sizes="144x144" href="assets/img/apple-touch-icon-144x144.png" />
|
||||
<link rel="apple-touch-icon" sizes="152x152" href="assets/img/apple-touch-icon-152x152.png" />
|
||||
</head>
|
||||
<body class="fixed-left full-content internal-error">
|
||||
<!-- Modal Start -->
|
||||
<!-- Modal Task Progress -->
|
||||
<div class="md-modal md-3d-flip-vertical" id="task-progress">
|
||||
<div class="md-content">
|
||||
<h3><strong>Task Progress</strong> Information</h3>
|
||||
<div>
|
||||
<p>CLEANING BUGS</p>
|
||||
<div class="progress progress-xs for-modal">
|
||||
<div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="80" aria-valuemin="0" aria-valuemax="100" style="width: 80%">
|
||||
<span class="sr-only">80% Complete</span>
|
||||
</div>
|
||||
</div>
|
||||
<p>POSTING SOME STUFF</p>
|
||||
<div class="progress progress-xs for-modal">
|
||||
<div class="progress-bar progress-bar-warning" role="progressbar" aria-valuenow="80" aria-valuemin="0" aria-valuemax="100" style="width: 65%">
|
||||
<span class="sr-only">65% Complete</span>
|
||||
</div>
|
||||
</div>
|
||||
<p>BACKUP DATA FROM SERVER</p>
|
||||
<div class="progress progress-xs for-modal">
|
||||
<div class="progress-bar progress-bar-info" role="progressbar" aria-valuenow="80" aria-valuemin="0" aria-valuemax="100" style="width: 95%">
|
||||
<span class="sr-only">95% Complete</span>
|
||||
</div>
|
||||
</div>
|
||||
<p>RE-DESIGNING WEB APPLICATION</p>
|
||||
<div class="progress progress-xs for-modal">
|
||||
<div class="progress-bar progress-bar-primary" role="progressbar" aria-valuenow="80" aria-valuemin="0" aria-valuemax="100" style="width: 100%">
|
||||
<span class="sr-only">100% Complete</span>
|
||||
</div>
|
||||
</div>
|
||||
<p class="text-center">
|
||||
<button class="btn btn-danger btn-sm md-close">Close</button>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Modal Logout -->
|
||||
<div class="md-modal md-just-me" id="logout-modal">
|
||||
<div class="md-content">
|
||||
<h3><strong>Logout</strong> Confirmation</h3>
|
||||
<div>
|
||||
<p class="text-center">Are you sure want to logout from this awesome system?</p>
|
||||
<p class="text-center">
|
||||
<button class="btn btn-danger md-close">Nope!</button>
|
||||
<a href="login.html" class="btn btn-success md-close">Yeah, I'm sure</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div> <!-- Modal End -->
|
||||
|
||||
<!-- Begin page -->
|
||||
<div class="container">
|
||||
<div class="full-content-center animated flipInX">
|
||||
<h1>500</h1>
|
||||
<h2>We are unable to show this page to you correctly!</h2><br>
|
||||
<p class="text-lightblue-2">You better try our awesome search:</p>
|
||||
<div class="row">
|
||||
<div class="icon-added input-group col-sm-8 col-sm-offset-2">
|
||||
<i class="fa fa-search"></i>
|
||||
<input type="text" class="form-control">
|
||||
<span class="input-group-btn">
|
||||
<button class="btn btn-success searchbtn" type="button">Search</button>
|
||||
</span>
|
||||
</div>
|
||||
</div><br>
|
||||
<a class="btn btn-primary btn-sm backbtn" href="index.html"><i class="fa fa-angle-left"></i> Back to Dashboard</a>
|
||||
</div>
|
||||
</div>
|
||||
<!-- End of page -->
|
||||
<!-- the overlay modal element -->
|
||||
<div class="md-overlay"></div>
|
||||
<!-- End of eoverlay modal -->
|
||||
<script>
|
||||
var resizefunc = [];
|
||||
</script>
|
||||
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
|
||||
<script src="assets/libs/jquery/jquery-1.11.1.min.js"></script>
|
||||
<script src="assets/libs/bootstrap/js/bootstrap.min.js"></script>
|
||||
<script src="assets/libs/jqueryui/jquery-ui-1.10.4.custom.min.js"></script>
|
||||
<script src="assets/libs/jquery-ui-touch/jquery.ui.touch-punch.min.js"></script>
|
||||
<script src="assets/libs/jquery-detectmobile/detect.js"></script>
|
||||
<script src="assets/libs/jquery-animate-numbers/jquery.animateNumbers.js"></script>
|
||||
<script src="assets/libs/ios7-switch/ios7.switch.js"></script>
|
||||
<script src="assets/libs/fastclick/fastclick.js"></script>
|
||||
<script src="assets/libs/jquery-blockui/jquery.blockUI.js"></script>
|
||||
<script src="assets/libs/bootstrap-bootbox/bootbox.min.js"></script>
|
||||
<script src="assets/libs/jquery-slimscroll/jquery.slimscroll.js"></script>
|
||||
<script src="assets/libs/jquery-sparkline/jquery-sparkline.js"></script>
|
||||
<script src="assets/libs/nifty-modal/js/classie.js"></script>
|
||||
<script src="assets/libs/nifty-modal/js/modalEffects.js"></script>
|
||||
<script src="assets/libs/sortable/sortable.min.js"></script>
|
||||
<script src="assets/libs/bootstrap-fileinput/bootstrap.file-input.js"></script>
|
||||
<script src="assets/libs/bootstrap-select/bootstrap-select.min.js"></script>
|
||||
<script src="assets/libs/bootstrap-select2/select2.min.js"></script>
|
||||
<script src="assets/libs/magnific-popup/jquery.magnific-popup.min.js"></script>
|
||||
<script src="assets/libs/pace/pace.min.js"></script>
|
||||
<script src="assets/libs/bootstrap-datepicker/js/bootstrap-datepicker.js"></script>
|
||||
<script src="assets/libs/jquery-icheck/icheck.min.js"></script>
|
||||
|
||||
<!-- Demo Specific JS Libraries -->
|
||||
<script src="assets/libs/prettify/prettify.js"></script>
|
||||
|
||||
<script src="assets/js/init.js"></script>
|
||||
</body>
|
||||
</html>
|
@ -1,864 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Advanced Forms | Coco - Responsive Bootstrap Admin Template</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
|
||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
||||
<meta name="description" content="">
|
||||
<meta name="keywords" content="coco bootstrap template, coco admin, bootstrap,admin template, bootstrap admin,">
|
||||
<meta name="author" content="Huban Creative">
|
||||
|
||||
<!-- Base Css Files -->
|
||||
<link href="assets/libs/jqueryui/ui-lightness/jquery-ui-1.10.4.custom.min.css" rel="stylesheet" />
|
||||
<link href="assets/libs/bootstrap/css/bootstrap.min.css" rel="stylesheet" />
|
||||
<link href="assets/libs/font-awesome/css/font-awesome.min.css" rel="stylesheet" />
|
||||
<link href="assets/libs/fontello/css/fontello.css" rel="stylesheet" />
|
||||
<link href="assets/libs/animate-css/animate.min.css" rel="stylesheet" />
|
||||
<link href="assets/libs/nifty-modal/css/component.css" rel="stylesheet" />
|
||||
<link href="assets/libs/magnific-popup/magnific-popup.css" rel="stylesheet" />
|
||||
<link href="assets/libs/ios7-switch/ios7-switch.css" rel="stylesheet" />
|
||||
<link href="assets/libs/pace/pace.css" rel="stylesheet" />
|
||||
<link href="assets/libs/sortable/sortable-theme-bootstrap.css" rel="stylesheet" />
|
||||
<link href="assets/libs/bootstrap-datepicker/css/datepicker.css" rel="stylesheet" />
|
||||
<link href="assets/libs/jquery-icheck/skins/all.css" rel="stylesheet" />
|
||||
<!-- Code Highlighter for Demo -->
|
||||
<link href="assets/libs/prettify/github.css" rel="stylesheet" />
|
||||
|
||||
<!-- Extra CSS Libraries Start -->
|
||||
<link href="assets/libs/bootstrap-select/bootstrap-select.min.css" rel="stylesheet" type="text/css" />
|
||||
<link href="assets/libs/bootstrap-select2/select2.css" rel="stylesheet" type="text/css" />
|
||||
<link href="assets/libs/bootstrap-xeditable/css/bootstrap-editable.css" rel="stylesheet" type="text/css" />
|
||||
<link href="assets/libs/bootstrap-select2/select2.css" rel="stylesheet" type="text/css" />
|
||||
<link href="assets/css/style.css" rel="stylesheet" type="text/css" />
|
||||
<!-- Extra CSS Libraries End -->
|
||||
<link href="assets/css/style-responsive.css" rel="stylesheet" />
|
||||
|
||||
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
||||
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
|
||||
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
|
||||
<link rel="shortcut icon" href="assets/img/favicon.ico">
|
||||
<link rel="apple-touch-icon" href="assets/img/apple-touch-icon.png" />
|
||||
<link rel="apple-touch-icon" sizes="57x57" href="assets/img/apple-touch-icon-57x57.png" />
|
||||
<link rel="apple-touch-icon" sizes="72x72" href="assets/img/apple-touch-icon-72x72.png" />
|
||||
<link rel="apple-touch-icon" sizes="76x76" href="assets/img/apple-touch-icon-76x76.png" />
|
||||
<link rel="apple-touch-icon" sizes="114x114" href="assets/img/apple-touch-icon-114x114.png" />
|
||||
<link rel="apple-touch-icon" sizes="120x120" href="assets/img/apple-touch-icon-120x120.png" />
|
||||
<link rel="apple-touch-icon" sizes="144x144" href="assets/img/apple-touch-icon-144x144.png" />
|
||||
<link rel="apple-touch-icon" sizes="152x152" href="assets/img/apple-touch-icon-152x152.png" />
|
||||
</head>
|
||||
<body class="fixed-left">
|
||||
<!-- Modal Start -->
|
||||
<!-- Modal Task Progress -->
|
||||
<div class="md-modal md-3d-flip-vertical" id="task-progress">
|
||||
<div class="md-content">
|
||||
<h3><strong>Task Progress</strong> Information</h3>
|
||||
<div>
|
||||
<p>CLEANING BUGS</p>
|
||||
<div class="progress progress-xs for-modal">
|
||||
<div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="80" aria-valuemin="0" aria-valuemax="100" style="width: 80%">
|
||||
<span class="sr-only">80% Complete</span>
|
||||
</div>
|
||||
</div>
|
||||
<p>POSTING SOME STUFF</p>
|
||||
<div class="progress progress-xs for-modal">
|
||||
<div class="progress-bar progress-bar-warning" role="progressbar" aria-valuenow="80" aria-valuemin="0" aria-valuemax="100" style="width: 65%">
|
||||
<span class="sr-only">65% Complete</span>
|
||||
</div>
|
||||
</div>
|
||||
<p>BACKUP DATA FROM SERVER</p>
|
||||
<div class="progress progress-xs for-modal">
|
||||
<div class="progress-bar progress-bar-info" role="progressbar" aria-valuenow="80" aria-valuemin="0" aria-valuemax="100" style="width: 95%">
|
||||
<span class="sr-only">95% Complete</span>
|
||||
</div>
|
||||
</div>
|
||||
<p>RE-DESIGNING WEB APPLICATION</p>
|
||||
<div class="progress progress-xs for-modal">
|
||||
<div class="progress-bar progress-bar-primary" role="progressbar" aria-valuenow="80" aria-valuemin="0" aria-valuemax="100" style="width: 100%">
|
||||
<span class="sr-only">100% Complete</span>
|
||||
</div>
|
||||
</div>
|
||||
<p class="text-center">
|
||||
<button class="btn btn-danger btn-sm md-close">Close</button>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Modal Logout -->
|
||||
<div class="md-modal md-just-me" id="logout-modal">
|
||||
<div class="md-content">
|
||||
<h3><strong>Logout</strong> Confirmation</h3>
|
||||
<div>
|
||||
<p class="text-center">Are you sure want to logout from this awesome system?</p>
|
||||
<p class="text-center">
|
||||
<button class="btn btn-danger md-close">Nope!</button>
|
||||
<a href="login.html" class="btn btn-success md-close">Yeah, I'm sure</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div> <!-- Modal End -->
|
||||
<!-- Begin page -->
|
||||
<div id="wrapper">
|
||||
|
||||
<!-- Top Bar Start -->
|
||||
<div class="topbar">
|
||||
<div class="topbar-left">
|
||||
<div class="logo">
|
||||
<h1><a href="#"><img src="assets/img/logo.png" alt="Logo"></a></h1>
|
||||
</div>
|
||||
<button class="button-menu-mobile open-left">
|
||||
<i class="fa fa-bars"></i>
|
||||
</button>
|
||||
</div>
|
||||
<!-- Button mobile view to collapse sidebar menu -->
|
||||
<div class="navbar navbar-default" role="navigation">
|
||||
<div class="container">
|
||||
<div class="navbar-collapse2">
|
||||
<ul class="nav navbar-nav hidden-xs">
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="icon-th"></i></a>
|
||||
<div class="dropdown-menu grid-dropdown">
|
||||
<div class="row stacked">
|
||||
<div class="col-xs-4">
|
||||
<a href="javascript:;" data-app="notes-app" data-status="active"><i class="icon-edit"></i>Notes</a>
|
||||
</div>
|
||||
<div class="col-xs-4">
|
||||
<a href="javascript:;" data-app="todo-app" data-status="active"><i class="icon-check"></i>Todo List</a>
|
||||
</div>
|
||||
<div class="col-xs-4">
|
||||
<a href="javascript:;" data-app="calc" data-status="inactive"><i class="fa fa-calculator"></i>Calculator</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row stacked">
|
||||
<div class="col-xs-4">
|
||||
<a href="javascript:;" data-app="weather-widget" data-status="active"><i class="icon-cloud-3"></i>Weather</a>
|
||||
</div>
|
||||
<div class="col-xs-4">
|
||||
<a href="javascript:;" data-app="calendar-widget2" data-status="active"><i class="icon-calendar"></i>Calendar</a>
|
||||
</div>
|
||||
<div class="col-xs-4">
|
||||
<a href="javascript:;" data-app="stock-app" data-status="inactive"><i class="icon-chart-line"></i>Stocks</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clearfix"></div>
|
||||
</div>
|
||||
</li>
|
||||
<li class="language_bar dropdown hidden-xs">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">English (US) <i class="fa fa-caret-down"></i></a>
|
||||
<ul class="dropdown-menu pull-right">
|
||||
<li><a href="#">German</a></li>
|
||||
<li><a href="#">French</a></li>
|
||||
<li><a href="#">Italian</a></li>
|
||||
<li><a href="#">Spanish</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<ul class="nav navbar-nav navbar-right top-navbar">
|
||||
<li class="dropdown iconify hide-phone">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-globe"></i><span class="label label-danger absolute">4</span></a>
|
||||
<ul class="dropdown-menu dropdown-message">
|
||||
<li class="dropdown-header notif-header"><i class="icon-bell-2"></i> New Notifications<a class="pull-right" href="#"><i class="fa fa-cog"></i></a></li>
|
||||
<li class="unread">
|
||||
<a href="#">
|
||||
<p><strong>John Doe</strong> Uploaded a photo <strong>"DSC000254.jpg"</strong>
|
||||
<br /><i>2 minutes ago</i>
|
||||
</p>
|
||||
</a>
|
||||
</li>
|
||||
<li class="unread">
|
||||
<a href="#">
|
||||
<p><strong>John Doe</strong> Created an photo album <strong>"Fappening"</strong>
|
||||
<br /><i>8 minutes ago</i>
|
||||
</p>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#">
|
||||
<p><strong>John Malkovich</strong> Added 3 products
|
||||
<br /><i>3 hours ago</i>
|
||||
</p>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#">
|
||||
<p><strong>Sonata Arctica</strong> Send you a message <strong>"Lorem ipsum dolor..."</strong>
|
||||
<br /><i>12 hours ago</i>
|
||||
</p>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#">
|
||||
<p><strong>Johnny Depp</strong> Updated his avatar
|
||||
<br /><i>Yesterday</i>
|
||||
</p>
|
||||
</a>
|
||||
</li>
|
||||
<li class="dropdown-footer">
|
||||
<div class="btn-group btn-group-justified">
|
||||
<div class="btn-group">
|
||||
<a href="#" class="btn btn-sm btn-primary"><i class="icon-ccw-1"></i> Refresh</a>
|
||||
</div>
|
||||
<div class="btn-group">
|
||||
<a href="#" class="btn btn-sm btn-danger"><i class="icon-trash-3"></i> Clear All</a>
|
||||
</div>
|
||||
<div class="btn-group">
|
||||
<a href="#" class="btn btn-sm btn-success">See All <i class="icon-right-open-2"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="dropdown iconify hide-phone">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-envelope"></i><span class="label label-danger absolute">3</span></a>
|
||||
<ul class="dropdown-menu dropdown-message">
|
||||
<li class="dropdown-header notif-header"><i class="icon-mail-2"></i> New Messages</li>
|
||||
<li class="unread">
|
||||
<a href="#" class="clearfix">
|
||||
<img src="images/users/chat/2.jpg" class="xs-avatar ava-dropdown" alt="Avatar">
|
||||
<strong>John Doe</strong><i class="pull-right msg-time">5 minutes ago</i><br />
|
||||
<p>Duis autem vel eum iriure dolor in hendrerit ...</p>
|
||||
</a>
|
||||
</li>
|
||||
<li class="unread">
|
||||
<a href="#" class="clearfix">
|
||||
<img src="images/users/chat/1.jpg" class="xs-avatar ava-dropdown" alt="Avatar">
|
||||
<strong>Sandra Kraken</strong><i class="pull-right msg-time">22 minutes ago</i><br />
|
||||
<p>Duis autem vel eum iriure dolor in hendrerit ...</p>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#" class="clearfix">
|
||||
<img src="images/users/chat/3.jpg" class="xs-avatar ava-dropdown" alt="Avatar">
|
||||
<strong>Zoey Lombardo</strong><i class="pull-right msg-time">41 minutes ago</i><br />
|
||||
<p>Duis autem vel eum iriure dolor in hendrerit ...</p>
|
||||
</a>
|
||||
</li>
|
||||
<li class="dropdown-footer"><div class=""><a href="#" class="btn btn-sm btn-block btn-primary"><i class="fa fa-share"></i> See all messages</a></div></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="dropdown iconify hide-phone"><a href="#" onclick="javascript:toggle_fullscreen()"><i class="icon-resize-full-2"></i></a></li>
|
||||
<li class="dropdown topbar-profile">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><span class="rounded-image topbar-profile-image"><img src="images/users/user-35.jpg"></span> Jane <strong>Doe</strong> <i class="fa fa-caret-down"></i></a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="#">My Profile</a></li>
|
||||
<li><a href="#">Change Password</a></li>
|
||||
<li><a href="#">Account Setting</a></li>
|
||||
<li class="divider"></li>
|
||||
<li><a href="#"><i class="icon-help-2"></i> Help</a></li>
|
||||
<li><a href="lockscreen.html"><i class="icon-lock-1"></i> Lock me</a></li>
|
||||
<li><a class="md-trigger" data-modal="logout-modal"><i class="icon-logout-1"></i> Logout</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="right-opener">
|
||||
<a href="javascript:;" class="open-right"><i class="fa fa-angle-double-left"></i><i class="fa fa-angle-double-right"></i></a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!--/.nav-collapse -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Top Bar End -->
|
||||
<!-- Left Sidebar Start -->
|
||||
<div class="left side-menu">
|
||||
<div class="sidebar-inner slimscrollleft">
|
||||
<!-- Search form -->
|
||||
<form role="search" class="navbar-form">
|
||||
<div class="form-group">
|
||||
<input type="text" placeholder="Search" class="form-control">
|
||||
<button type="submit" class="btn search-button"><i class="fa fa-search"></i></button>
|
||||
</div>
|
||||
</form>
|
||||
<div class="clearfix"></div>
|
||||
<!--- Profile -->
|
||||
<div class="profile-info">
|
||||
<div class="col-xs-4">
|
||||
<a href="profile.html" class="rounded-image profile-image"><img src="images/users/user-100.jpg"></a>
|
||||
</div>
|
||||
<div class="col-xs-8">
|
||||
<div class="profile-text">Welcome <b>Jane</b></div>
|
||||
<div class="profile-buttons">
|
||||
<a href="javascript:;"><i class="fa fa-envelope-o pulse"></i></a>
|
||||
<a href="#connect" class="open-right"><i class="fa fa-comments"></i></a>
|
||||
<a href="javascript:;" title="Sign Out"><i class="fa fa-power-off text-red-1"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--- Divider -->
|
||||
<div class="clearfix"></div>
|
||||
<hr class="divider" />
|
||||
<div class="clearfix"></div>
|
||||
<!--- Divider -->
|
||||
<div id="sidebar-menu">
|
||||
<ul><li class='has_sub'><a href='javascript:void(0);'><i class='icon-home-3'></i><span>Dashboard</span> <span class="pull-right"><i class="fa fa-angle-down"></i></span></a><ul><li><a href='index.html'><span>Dashboard v1</span></a></li><li><a href='index2.html'><span>Dashboard v2</span></a></li></ul></li><li class='has_sub'><a href='javascript:void(0);'><i class='icon-feather'></i><span>UI Elements</span> <span class="pull-right"><i class="fa fa-angle-down"></i></span></a><ul><li><a href='alerts.html'><span>Alerts</span></a></li><li><a href='buttons.html'><span>Buttons</span></a></li><li><a href='calendar.html'><span>Calendar</span></a></li><li><a href='grid.html'><span>Grid</span></a></li><li><a href='icons.html'><span>Icons</span></a></li><li><a href='modals.html'><span>Modals</span></a></li><li><a href='nested-list.html'><span>Nested List</span></a></li><li><a href='notifications.html'><span>Notifications</span></a></li><li><a href='portlets.html'><span>Portlets</span></a></li><li><a href='progress-bars.html'><span>Progress Bars</span></a></li><li><a href='tabs-accordions.html'><span>Tabs & Accordions</span></a></li><li><a href='typography.html'><span>Typography</span></a></li></ul></li><li class='has_sub'><a href='javascript:void(0);'><i class='icon-pencil-3'></i><span>Forms</span> <span class="pull-right"><i class="fa fa-angle-down"></i></span></a><ul><li><a href='forms.html'><span>Form Elements</span></a></li><li><a href='advanced-forms.html' class='active'><span>Advanced Forms</span></a></li><li><a href='form-wizard.html'><span>Form Wizard</span></a></li><li><a href='form-validation.html'><span>Form Validation</span></a></li><li><a href='form-uploads.html'><span>File Uploads</span></a></li></ul></li><li class='has_sub'><a href='javascript:void(0);'><i class='fa fa-table'></i><span>Tables</span> <span class="pull-right"><i class="fa fa-angle-down"></i></span></a><ul><li><a href='tables.html'><span>Basic Tables</span></a></li><li><a href='datatables.html'><span>Datatables</span></a></li></ul></li><li class='has_sub'><a href='javascript:void(0);'><i class='fa fa-map-marker'></i><span>Maps</span> <span class="pull-right"><i class="fa fa-angle-down"></i></span></a><ul><li><a href='google-maps.html'><span>Google Maps</span></a></li><li><a href='vector-maps.html'><span>Vector Maps</span></a></li></ul></li><li class='has_sub'><a href='javascript:void(0);'><i class='fa fa-envelope'></i><span>Email</span> <span class="pull-right"><i class="fa fa-angle-down"></i></span></a><ul><li><a href='inbox.html'><span>Inbox</span></a></li><li><a href='read-message.html'><span>View Email</span></a></li><li><a href='new-message.html'><span>New Message</span></a></li></ul></li><li class='has_sub'><a href='javascript:void(0);'><i class='icon-chart-line'></i><span>Charts</span> <span class="pull-right"><i class="fa fa-angle-down"></i></span></a><ul><li><a href='sparkline-charts.html'><span>Sparkline Charts</span></a></li><li><a href='morris-charts.html'><span>Morris Charts</span></a></li><li><a href='rickshaw-charts.html'><span>Rickshaw Charts</span></a></li><li><a href='other-charts.html'><span>Other Charts</span></a></li></ul></li><li class='has_sub'><a href='javascript:void(0);'><i class='icon-megaphone'></i><span>Extras</span> <span class="pull-right"><i class="fa fa-angle-down"></i></span></a><ul><li><a href='blank.html'><span>Blank Page</span></a></li><li><a href='login.html'><span>Login</span></a></li><li><a href='register.html'><span>Register</span></a></li><li><a href='lockscreen.html'><span>Lock Screen</span></a></li><li><a href='404.html'><span>404 Error</span></a></li><li><a href='500.html'><span>500 Error</span></a></li><li><a href='profile.html'><span>User Profile</span></a></li><li><a href='invoice.html'><span>Invoice</span></a></li><li><a href='gallery.html'><span>Gallery</span></a></li><li><a href='maintenance.html'><span>Maintenance</span></a></li><li class='has_sub'><a href='javascript:void(0);'><span>3 Level menu</span> <span class="pull-right"><i class="fa fa-angle-down"></i></span></a><ul><li><a href='javascript:void(0);'><span>Sub Item</span></a></li></ul></li><li class='has_sub'><a href='javascript:void(0);'><span>4 Level Menu</span> <span class="pull-right"><i class="fa fa-angle-down"></i></span></a><ul><li class='has_sub'><a href='javascript:void(0);'><span>Sub Item - level 3</span> <span class="pull-right"><i class="fa fa-angle-down"></i></span></a><ul><li><a href='javascript:void(0);'><span>Sub Item - level 4</span></a></li></ul></li></ul></li><li class='has_sub'><a href='javascript:void(0);'><span>Submenu with icons</span> <span class="pull-right"><i class="fa fa-angle-down"></i></span></a><ul><li><a href='javascript:void(0);'><i class='fa fa-camera'></i><span>Item with icon</span></a></li><li><a href='javascript:void(0);'><i class='entypo entypo-users'></i><span>Another Item</span></a></li></ul></li></ul></li></ul> <div class="clearfix"></div>
|
||||
</div>
|
||||
<div class="clearfix"></div>
|
||||
<div class="portlets">
|
||||
<div id="chat_groups" class="widget transparent nomargin">
|
||||
<h2>Chat Groups</h2>
|
||||
<div class="widget-content">
|
||||
<ul class="list-unstyled">
|
||||
<li><a href="javascript:;"><i class="fa fa-circle-o text-red-1"></i> Colleagues</a></li>
|
||||
<li><a href="javascript:;"><i class="fa fa-circle-o text-blue-1"></i> Family</a></li>
|
||||
<li><a href="javascript:;"><i class="fa fa-circle-o text-green-1"></i> Friends</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="recent_tickets" class="widget transparent nomargin">
|
||||
<h2>Recent Tickets</h2>
|
||||
<div class="widget-content">
|
||||
<ul class="list-unstyled">
|
||||
<li>
|
||||
<a href="javascript:;">My wordpress blog is broken <span>I was trying to save my page and...</span></a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="javascript:;">Server down, need help!<span>My server is not responding for the last...</span></a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clearfix"></div><br><br><br>
|
||||
</div>
|
||||
<div class="left-footer">
|
||||
<div class="progress progress-xs">
|
||||
<div class="progress-bar bg-green-1" role="progressbar" aria-valuenow="80" aria-valuemin="0" aria-valuemax="100" style="width: 80%">
|
||||
<span class="progress-precentage">80%</span>
|
||||
</div>
|
||||
|
||||
<a data-toggle="tooltip" title="See task progress" class="btn btn-default md-trigger" data-modal="task-progress"><i class="fa fa-inbox"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Left Sidebar End --> <!-- Right Sidebar Start -->
|
||||
<div class="right side-menu">
|
||||
<ul class="nav nav-tabs nav-justified" id="right-tabs">
|
||||
<li class="active"><a href="#feed" data-toggle="tab" title="Live Feed"><i class="icon-rss-2"></i></a></li>
|
||||
<li><a href="#connect" data-toggle="tab" title="Chat"><i class="icon-chat"></i></a></li>
|
||||
<li><a href="#settings" data-toggle="tab" title="Preferences"><i class="icon-wrench"></i></a></li>
|
||||
</ul>
|
||||
<div class="clearfix"></div>
|
||||
<div class="tab-content">
|
||||
<div class="tab-pane active" id="feed">
|
||||
<div class="tab-inner slimscroller">
|
||||
<div class="search-right">
|
||||
<input type="text" class="form-control" placeholder="Search">
|
||||
</div>
|
||||
<div class="right-toolbar">
|
||||
<a href="javascript:;" class="pull-right">Settings <i class="icon-cog"></i></a>
|
||||
<div class="clearfix"></div>
|
||||
</div>
|
||||
<div class="clearfix"></div>
|
||||
<div class="panel-group" id="collapse">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading bg-orange-1">
|
||||
<h4 class="panel-title">
|
||||
<a data-toggle="collapse" data-parent="#accordion" href="#rnotifications">
|
||||
<i class="icon-bell-2"></i> Notifications
|
||||
<span class="label bg-darkblue-1 pull-right">4</span>
|
||||
</a>
|
||||
</h4>
|
||||
</div>
|
||||
<div id="rnotifications" class="panel-collapse collapse in">
|
||||
<div class="panel-body">
|
||||
<ul class="list-unstyled" id="notification-list">
|
||||
<li><a href="javascript:;"><span class="icon-wrapper"><i class="icon-video"></i></span> 1 Video Uploaded <span class="muted">12 minutes ago</span></a></li>
|
||||
<li><a href="javascript:;"><span class="icon-wrapper"><i class="icon-users-1"></i></span> 3 Users signed up <span class="muted">16 minutes ago</span></a></li>
|
||||
<li><a href="javascript:;"><span class="icon-wrapper"><i class="icon-picture-1"></i></span> 1 Video Uploaded <span class="muted">12 minutes ago</span></a></li>
|
||||
<li><a href="javascript:;"><span class="icon-wrapper"><i class="icon-hourglass-1"></i></span> Deadline for 1 project <span class="muted">12 minutes ago</span></a></li>
|
||||
</ul>
|
||||
<a class="btn btn-block btn-sm btn-warning">See all notifications</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading bg-green-3">
|
||||
<h4 class="panel-title">
|
||||
<a data-toggle="collapse" data-parent="#accordion" href="#remails">
|
||||
<i class="icon-mail"></i> E-mails
|
||||
<span class="label bg-darkblue-1 pull-right">3</span>
|
||||
</a>
|
||||
</h4>
|
||||
</div>
|
||||
<div id="remails" class="panel-collapse collapse in">
|
||||
<div class="panel-body">
|
||||
<ul class="list-unstyled" id="inbox-list">
|
||||
<li><a href="javascript:;"><span class="sender"><i class="icon-star text-yellow-2"></i> Kim Wilde</span> <span class="datetime">6 mins ago</span>
|
||||
<span class="title">You keep me hangin on</span>
|
||||
<span class="content">Where are you? I am waiting for 3 hours in the restaurant. I ate 3 hamburgers.</span>
|
||||
</a></li>
|
||||
<li><a href="javascript:;"><span class="sender">Tyler Durden</span> <span class="datetime">13 hours ago</span>
|
||||
<span class="title">Buy some soap from market before</span>
|
||||
<span class="content">We are crowded here. We need some more soap at home. Buy some before you come home.</span>
|
||||
</a></li>
|
||||
<li><a href="javascript:;"><span class="sender">John Bonomo</span> <span class="datetime">Yesterday</span>
|
||||
<span class="title">Late delivery</span>
|
||||
<span class="content">Hello, I ordered 15 box of viagra for a friend of mine but he still hasn't receive them.</span>
|
||||
</a></li>
|
||||
</ul>
|
||||
<a class="btn btn-block btn-sm btn-primary">Go to inbox</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading bg-blue-1">
|
||||
<h4 class="panel-title">
|
||||
<a data-toggle="collapse" data-parent="#accordion" href="#rupdates">
|
||||
<i class="icon-signal-2"></i> Updates
|
||||
<span class="label bg-darkblue-1 pull-right">5</span>
|
||||
</a>
|
||||
</h4>
|
||||
</div>
|
||||
<div id="rupdates" class="panel-collapse collapse in">
|
||||
<div class="panel-body">
|
||||
<ul class="list-unstyled" id="updates-list">
|
||||
<li><a href="javascript:;"><span class="icon-wrapper bg-green-1"><i class="icon-comment-1"></i></span> <b>David Guetta</b> came online <abbr title="15 seconds ago">just now</abbr>.</a></li>
|
||||
<li><a href="javascript:;"><span class="icon-wrapper bg-red-1"><i class="icon-user-3"></i></span> <b>Katy Perry</b> updated her profile <abbr title="4 mins ago">4 mins ago</abbr>.</a></li>
|
||||
<li><a href="javascript:;"><span class="icon-wrapper bg-blue-1"><i class="icon-twitter-2"></i></span> <b>4 tweets posted</b> with cronjob <abbr title="22 mins ago">22 mins ago</abbr>.</a></li>
|
||||
<li><a href="javascript:;"><span class="icon-wrapper bg-orange-3"><i class="icon-water"></i></span> <b>Adele</b> set fire to the rain <abbr title="43 mins ago">43 mins ago</abbr>.</a></li>
|
||||
<li><a href="javascript:;"><span class="icon-wrapper bg-pink-2"><i class="icon-heart-broken"></i></span> <b>Taylor Swift</b> learned that you are trouble <abbr title="3 hours ago">3 days ago</abbr>.</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="tab-pane" id="connect">
|
||||
<div class="tab-inner slimscroller">
|
||||
<div class="search-right">
|
||||
<input type="text" class="form-control" placeholder="Search">
|
||||
</div>
|
||||
<div class="panel-group" id="collapse">
|
||||
<div class="panel panel-default" id="chat-panel">
|
||||
<div class="panel-heading bg-darkblue-2">
|
||||
<h4 class="panel-title">
|
||||
<a data-toggle="collapse" href="#chat-coll">
|
||||
<i class="icon-briefcase-1"></i> Colleagues
|
||||
<span class="label bg-darkblue-1 pull-right">14</span>
|
||||
</a>
|
||||
</h4>
|
||||
</div>
|
||||
<div id="chat-coll" class="panel-collapse collapse in">
|
||||
<div class="panel-body">
|
||||
<ul class="list-unstyled" id="chat-list">
|
||||
<li><a href="javascript:;" class="online"><span class="chat-user-avatar"><img src="images/users/chat/1.jpg"></span> <span class="chat-user-name">Dorothy Simons</span><span class="chat-user-msg">I wish I was a bird in the sky</span></a></li>
|
||||
<li><a href="javascript:;" class="online"><span class="chat-user-avatar"><img src="images/users/chat/2.jpg"></span> <span class="chat-user-name">John Malkovich</span><span class="chat-user-msg">You were the traitor</span></a></li>
|
||||
<li><a href="javascript:;" class="online"><span class="chat-user-avatar"><img src="images/users/chat/3.jpg"></span> <span class="chat-user-name">Jessica Simons</span><span class="chat-user-msg">Where is my mind</span></a></li>
|
||||
<li><a href="javascript:;" class="away"><span class="chat-user-avatar"><img src="images/users/chat/4.jpg"></span> <span class="chat-user-name">Jack Stallman</span><span class="chat-user-msg">Away since 13:32</span></a></li>
|
||||
<li><a href="javascript:;" class="offline"><span class="chat-user-avatar"><img src="images/users/chat/5.jpg"></span> <span class="chat-user-name">Neil Armstrong</span><span class="chat-user-msg" title="I am flying to the moon and back">I am flying to the moon and back</span></a></li>
|
||||
<li><a href="javascript:;" class="offline"><span class="chat-user-avatar"><img src="images/users/chat/6.jpg"></span> <span class="chat-user-name">Hollywood Studios</span><span class="chat-user-msg">Yes he definitely is!</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel panel-default" id="chat-panel">
|
||||
<div class="panel-heading bg-darkblue-2">
|
||||
<h4 class="panel-title">
|
||||
<a data-toggle="collapse" data-parent="#accordion" href="#collapseTwo">
|
||||
<i class="icon-heart-3"></i> Friends
|
||||
<span class="label bg-darkblue-1 pull-right">3</span>
|
||||
</a>
|
||||
</h4>
|
||||
</div>
|
||||
<div id="collapseTwo" class="panel-collapse collapse in">
|
||||
<div class="panel-body">
|
||||
<ul class="list-unstyled" id="chat-list">
|
||||
<li><a href="javascript:;" class="online"><span class="chat-user-avatar"><img src="images/users/chat/1.jpg"></span> <span class="chat-user-name">Dorothy Simons</span><span class="chat-user-msg">I wish I was a bird in the sky</span></a></li>
|
||||
<li><a href="javascript:;" class="online"><span class="chat-user-avatar"><img src="images/users/chat/2.jpg"></span> <span class="chat-user-name">John Malkovich</span><span class="chat-user-msg">You were the traitor</span></a></li>
|
||||
<li><a href="javascript:;" class="online"><span class="chat-user-avatar"><img src="images/users/chat/3.jpg"></span> <span class="chat-user-name">Jessica Simons</span><span class="chat-user-msg" title="Eminem - The Monster ft. Rihanna"><i class="icon-play"></i> Eminem - The Monster ft. Rihanna</span></a></li>
|
||||
<li><a href="javascript:;" class="away"><span class="chat-user-avatar"><img src="images/users/chat/4.jpg"></span> <span class="chat-user-name">Jack Stallman</span><span class="chat-user-msg">Away since 13:32</span></a></li>
|
||||
<li><a href="javascript:;" class="offline"><span class="chat-user-avatar"><img src="images/users/chat/5.jpg"></span> <span class="chat-user-name">Neil Armstrong</span><span class="chat-user-msg" title="I am flying to the moon and back">I am flying to the moon and back</span></a></li>
|
||||
<li><a href="javascript:;" class="offline"><span class="chat-user-avatar"><img src="images/users/chat/6.jpg"></span> <span class="chat-user-name">Hollywood Studios</span><span class="chat-user-msg">Yes he definitely is!</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="tab-pane" id="settings">
|
||||
<div class="tab-inner slimscroller">
|
||||
<div class="col-sm-12">
|
||||
<h3>Preferences</h3>
|
||||
<div class="row">
|
||||
<div class="col-xs-8">
|
||||
Live data updates
|
||||
</div>
|
||||
<div class="col-xs-4">
|
||||
<input type="checkbox" class="ios-switch ios-switch-success ios-switch-sm" checked />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-8">
|
||||
Live feeds
|
||||
</div>
|
||||
<div class="col-xs-4">
|
||||
<input type="checkbox" class="ios-switch ios-switch-success ios-switch-sm" checked />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-8">
|
||||
Sync data to cloud
|
||||
</div>
|
||||
<div class="col-xs-4">
|
||||
<input type="checkbox" class="ios-switch ios-switch-success ios-switch-sm" checked />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-8">
|
||||
Keep activity record
|
||||
</div>
|
||||
<div class="col-xs-4">
|
||||
<input type="checkbox" class="ios-switch ios-switch-danger ios-switch-sm" checked />
|
||||
</div>
|
||||
</div>
|
||||
<h4>Other Settings</h4>
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<label class="checkboxw"><input type="checkbox" checked> Autosave settings</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<label class="checkboxw"><input type="checkbox"> Always online</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Right Sidebar End -->
|
||||
<!-- Start right content -->
|
||||
<div class="content-page">
|
||||
<!-- ============================================================== -->
|
||||
<!-- Start Content here -->
|
||||
<!-- ============================================================== -->
|
||||
<div class="content">
|
||||
<!-- Page Heading Start -->
|
||||
<div class="page-heading">
|
||||
<h1><i class='fa fa-check'></i> Advanced Forms</h1>
|
||||
</div>
|
||||
<!-- Page Heading End-->
|
||||
|
||||
<!-- Your awesome content goes here -->
|
||||
<div class="row">
|
||||
|
||||
<div class="col-sm-12 portlets">
|
||||
|
||||
<div class="widget">
|
||||
<div class="widget-header">
|
||||
<h2><strong>Inline</strong> Editing</h2>
|
||||
<div class="additional-btn">
|
||||
<a href="#" class="hidden reload"><i class="icon-ccw-1"></i></a>
|
||||
<a href="#" class="widget-toggle"><i class="icon-down-open-2"></i></a>
|
||||
<a href="#" class="widget-close"><i class="icon-cancel-3"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="widget-content padding">
|
||||
<p>Click to edit</p>
|
||||
<table id="user" class="table table-bordered table-striped" style="clear: both">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td width="35%">Simple text field</td>
|
||||
<td width="65%"><a href="#" id="username" data-type="text" data-pk="1" data-title="Enter username">superuser</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Empty text field, required</td>
|
||||
<td><a href="#" id="firstname" data-type="text" data-pk="1" data-placement="right" data-placeholder="Required" data-title="Enter your firstname"></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Select, local array, custom display</td>
|
||||
<td><a href="#" id="sex" data-type="select" data-pk="1" data-value="" data-title="Select sex"></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Select, remote array, no buttons</td>
|
||||
<td><a href="#" id="group" data-type="select" data-pk="1" data-value="5" data-source="/groups" data-title="Select group">Admin</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Select, error while loading</td>
|
||||
<td><a href="#" id="status" data-type="select" data-pk="1" data-value="0" data-source="/status" data-title="Select status">Active</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Datepicker</td>
|
||||
<td>
|
||||
|
||||
<span class="notready">not implemented for Bootstrap 3 yet</span>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Combodate (date)</td>
|
||||
<td><a href="#" id="dob" data-type="combodate" data-value="1984-05-15" data-format="YYYY-MM-DD" data-viewformat="DD/MM/YYYY" data-template="D / MMM / YYYY" data-pk="1" data-title="Select Date of birth"></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Combodate (datetime)</td>
|
||||
<td><a href="#" id="event" data-type="combodate" data-template="D MMM YYYY HH:mm" data-format="YYYY-MM-DD HH:mm" data-viewformat="MMM D, YYYY, HH:mm" data-pk="1" data-title="Setup event date and time"></a></td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
<tr>
|
||||
<td>Textarea, buttons below. Submit by <i>ctrl+enter</i></td>
|
||||
<td><a href="#" id="comments" data-type="textarea" data-pk="1" data-placeholder="Your comments here..." data-title="Enter comments">awesome user!</a></td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<td>Checklist</td>
|
||||
<td><a href="#" id="fruits" data-type="checklist" data-value="2,3" data-title="Select fruits"></a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Select2 (tags mode)</td>
|
||||
<td><a href="#" id="tags" data-type="select2" data-pk="1" data-title="Enter tags">html, javascript</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Select2 (dropdown mode)</td>
|
||||
<td><a href="#" id="country" data-type="select2" data-pk="1" data-value="BS" data-title="Select country"></a></td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="widget">
|
||||
<div class="widget-header">
|
||||
<h2><strong>IOS 7</strong> Switches</h2>
|
||||
<div class="additional-btn">
|
||||
<a href="#" class="hidden reload"><i class="icon-ccw-1"></i></a>
|
||||
<a href="#" class="widget-toggle"><i class="icon-down-open-2"></i></a>
|
||||
<a href="#" class="widget-close"><i class="icon-cancel-3"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="widget-content padding">
|
||||
<h4>Large Size</h4>
|
||||
<input type="checkbox" class="ios-switch ios-switch-default ios-switch-lg" checked />
|
||||
<input type="checkbox" class="ios-switch ios-switch-primary ios-switch-lg" checked />
|
||||
<input type="checkbox" class="ios-switch ios-switch-success ios-switch-lg" checked />
|
||||
<input type="checkbox" class="ios-switch ios-switch-danger ios-switch-lg" checked />
|
||||
<input type="checkbox" class="ios-switch ios-switch-warning ios-switch-lg" checked />
|
||||
<input type="checkbox" class="ios-switch ios-switch-info ios-switch-lg" checked />
|
||||
|
||||
<h4>Default Size</h4>
|
||||
<input type="checkbox" class="ios-switch ios-switch-default" checked />
|
||||
<input type="checkbox" class="ios-switch ios-switch-primary" checked />
|
||||
<input type="checkbox" class="ios-switch ios-switch-success" checked />
|
||||
<input type="checkbox" class="ios-switch ios-switch-danger" checked />
|
||||
<input type="checkbox" class="ios-switch ios-switch-warning" checked />
|
||||
<input type="checkbox" class="ios-switch ios-switch-info" checked />
|
||||
|
||||
<h4>Small Size</h4>
|
||||
<input type="checkbox" class="ios-switch ios-switch-default ios-switch-sm" checked />
|
||||
<input type="checkbox" class="ios-switch ios-switch-primary ios-switch-sm" checked />
|
||||
<input type="checkbox" class="ios-switch ios-switch-success ios-switch-sm" checked />
|
||||
<input type="checkbox" class="ios-switch ios-switch-danger ios-switch-sm" checked />
|
||||
<input type="checkbox" class="ios-switch ios-switch-warning ios-switch-sm" checked />
|
||||
<input type="checkbox" class="ios-switch ios-switch-info ios-switch-sm" checked />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="widget">
|
||||
<div class="widget-header">
|
||||
<h2><strong>WYSIWYG</strong> Editor</h2>
|
||||
<div class="additional-btn">
|
||||
<a href="#" class="hidden reload"><i class="icon-ccw-1"></i></a>
|
||||
<a href="#" class="widget-toggle"><i class="icon-down-open-2"></i></a>
|
||||
<a href="#" class="widget-close"><i class="icon-cancel-3"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="widget-content">
|
||||
<textarea id="ckeditor"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="widget">
|
||||
<div class="widget-header">
|
||||
<h2><strong>Inline</strong> WYSIWYG Editor</h2>
|
||||
<div class="additional-btn">
|
||||
<a href="#" class="hidden reload"><i class="icon-ccw-1"></i></a>
|
||||
<a href="#" class="widget-toggle"><i class="icon-down-open-2"></i></a>
|
||||
<a href="#" class="widget-close"><i class="icon-cancel-3"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="widget-content padding">
|
||||
<div id="container">
|
||||
<div id="header">
|
||||
<div id="headerLeft">
|
||||
<h2 id="sampleTitle" contenteditable="true">
|
||||
CKEditor<br> Goes Inline!
|
||||
</h2>
|
||||
<h3 contenteditable="true">
|
||||
Lorem ipsum dolor sit amet dolor duis blandit vestibulum faucibus a, tortor.
|
||||
</h3>
|
||||
</div>
|
||||
<div id="headerRight">
|
||||
<div contenteditable="true">
|
||||
<p>
|
||||
Lorem ipsum dolor sit amet enim. Etiam ullamcorper. Suspendisse a pellentesque dui, non felis. Maecenas malesuada elit lectus felis, malesuada ultricies.
|
||||
</p>
|
||||
<p>
|
||||
Curabitur et ligula. Ut molestie a, ultricies porta urna. Vestibulum commodo volutpat a, convallis ac, laoreet enim. Phasellus fermentum in, dolor. Pellentesque facilisis. Nulla imperdiet sit amet magna. Vestibulum dapibus, mauris nec malesuada fames ac.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="columns">
|
||||
<div id="column1">
|
||||
<div contenteditable="true">
|
||||
<h3>
|
||||
Fusce vitae porttitor
|
||||
</h3>
|
||||
<p>
|
||||
<strong>
|
||||
Lorem ipsum dolor sit amet dolor. Duis blandit vestibulum faucibus a, tortor.
|
||||
</strong>
|
||||
</p>
|
||||
<p>
|
||||
Proin nunc justo felis mollis tincidunt, risus risus pede, posuere cubilia Curae, Nullam euismod, enim. Etiam nibh ultricies dolor ac dignissim erat volutpat. Vivamus fermentum <a href="http://ckeditor.com/">nisl nulla sem in</a> metus. Maecenas wisi. Donec nec erat volutpat.
|
||||
</p>
|
||||
<blockquote>
|
||||
<p>
|
||||
Fusce vitae porttitor a, euismod convallis nisl, blandit risus tortor, pretium.
|
||||
Vehicula vitae, imperdiet vel, ornare enim vel sodales rutrum
|
||||
</p>
|
||||
</blockquote>
|
||||
<blockquote>
|
||||
<p>
|
||||
Libero nunc, rhoncus ante ipsum non ipsum. Nunc eleifend pede turpis id sollicitudin fringilla. Phasellus ultrices, velit ac arcu.
|
||||
</p>
|
||||
</blockquote>
|
||||
<p>Pellentesque nunc. Donec suscipit erat. Pellentesque habitant morbi tristique ullamcorper.</p>
|
||||
<p><s>Mauris mattis feugiat lectus nec mauris. Nullam vitae ante.</s></p>
|
||||
</div>
|
||||
</div>
|
||||
<div id="column2">
|
||||
<div contenteditable="true">
|
||||
<h3>
|
||||
Integer condimentum sit amet
|
||||
</h3>
|
||||
<p>
|
||||
<strong>Aenean nonummy a, mattis varius. Cras aliquet.</strong>
|
||||
Praesent <a href="http://ckeditor.com/">magna non mattis ac, rhoncus nunc</a>, rhoncus eget, cursus pulvinar mollis.</p>
|
||||
<p>Proin id nibh. Sed eu libero posuere sed, lectus. Phasellus dui gravida gravida feugiat mattis ac, felis.</p>
|
||||
<p>Integer condimentum sit amet, tempor elit odio, a dolor non ante at sapien. Sed ac lectus. Nulla ligula quis eleifend mi, id leo velit pede cursus arcu id nulla ac lectus. Phasellus vestibulum. Nunc viverra enim quis diam.</p>
|
||||
</div>
|
||||
<div contenteditable="true">
|
||||
<h3>
|
||||
Praesent wisi accumsan sit amet nibh
|
||||
</h3>
|
||||
<p>Donec ullamcorper, risus tortor, pretium porttitor. Morbi quam quis lectus non leo.</p>
|
||||
<p style="margin-left: 40px; ">Integer faucibus scelerisque. Proin faucibus at, aliquet vulputate, odio at eros. Fusce <a href="http://ckeditor.com/">gravida, erat vitae augue</a>. Fusce urna fringilla gravida.</p>
|
||||
<p>In hac habitasse platea dictumst. Praesent wisi accumsan sit amet nibh. Maecenas orci luctus a, lacinia quam sem, posuere commodo, odio condimentum tempor, pede semper risus. Suspendisse pede. In hac habitasse platea dictumst. Nam sed laoreet sit amet erat. Integer.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div id="column3">
|
||||
<div contenteditable="true">
|
||||
<p>
|
||||
<img src="assets/inlineall/logo.png" alt="CKEditor logo" style="float:left">
|
||||
</p>
|
||||
<p>Quisque justo neque, mattis sed, fermentum ultrices <strong>posuere cubilia Curae</strong>, Vestibulum elit metus, quis placerat ut, lectus. Ut sagittis, nunc libero, egestas consequat lobortis velit rutrum ut, faucibus turpis. Fusce porttitor, nulla quis turpis. Nullam laoreet vel, consectetuer tellus suscipit ultricies, hendrerit wisi. Donec odio nec velit ac nunc sit amet, accumsan cursus aliquet. Vestibulum ante sit amet sagittis mi.</p>
|
||||
<h3>
|
||||
Nullam laoreet vel consectetuer tellus suscipit
|
||||
</h3>
|
||||
<ul>
|
||||
<li>Ut sagittis, nunc libero, egestas consequat lobortis velit rutrum ut, faucibus turpis.</li>
|
||||
<li>Fusce porttitor, nulla quis turpis. Nullam laoreet vel, consectetuer tellus suscipit ultricies, hendrerit wisi.</li>
|
||||
<li>Mauris eget tellus. Donec non felis. Nam eget dolor. Vestibulum enim. Donec.</li>
|
||||
</ul>
|
||||
<p>Quisque justo neque, mattis sed, <a href="http://ckeditor.com/">fermentum ultrices posuere cubilia</a> Curae, Vestibulum elit metus, quis placerat ut, lectus.</p>
|
||||
<p>Nullam laoreet vel, consectetuer tellus suscipit ultricies, hendrerit wisi. Ut sagittis, nunc libero, egestas consequat lobortis velit rutrum ut, faucibus turpis. Fusce porttitor, nulla quis turpis.</p>
|
||||
<p>Donec odio nec velit ac nunc sit amet, accumsan cursus aliquet. Vestibulum ante sit amet sagittis mi. Sed in nonummy faucibus turpis. Mauris eget tellus. Donec non felis. Nam eget dolor. Vestibulum enim. Donec.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="tagLine">
|
||||
Tags of this article:
|
||||
<p id="taglist" contenteditable="true">
|
||||
inline, editing, floating, CKEditor
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- End of your awesome content -->
|
||||
|
||||
<!-- Footer Start -->
|
||||
<footer>
|
||||
Huban Creative © 2014
|
||||
<div class="footer-links pull-right">
|
||||
<a href="#">About</a><a href="#">Support</a><a href="#">Terms of Service</a><a href="#">Legal</a><a href="#">Help</a><a href="#">Contact Us</a>
|
||||
</div>
|
||||
</footer>
|
||||
<!-- Footer End -->
|
||||
</div>
|
||||
<!-- ============================================================== -->
|
||||
<!-- End content here -->
|
||||
<!-- ============================================================== -->
|
||||
|
||||
</div>
|
||||
<!-- End right content -->
|
||||
|
||||
</div>
|
||||
<!-- End of page -->
|
||||
<!-- the overlay modal element -->
|
||||
<div class="md-overlay"></div>
|
||||
<!-- End of eoverlay modal -->
|
||||
<script>
|
||||
var resizefunc = [];
|
||||
</script>
|
||||
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
|
||||
<script src="assets/libs/jquery/jquery-1.11.1.min.js"></script>
|
||||
<script src="assets/libs/bootstrap/js/bootstrap.min.js"></script>
|
||||
<script src="assets/libs/jqueryui/jquery-ui-1.10.4.custom.min.js"></script>
|
||||
<script src="assets/libs/jquery-ui-touch/jquery.ui.touch-punch.min.js"></script>
|
||||
<script src="assets/libs/jquery-detectmobile/detect.js"></script>
|
||||
<script src="assets/libs/jquery-animate-numbers/jquery.animateNumbers.js"></script>
|
||||
<script src="assets/libs/ios7-switch/ios7.switch.js"></script>
|
||||
<script src="assets/libs/fastclick/fastclick.js"></script>
|
||||
<script src="assets/libs/jquery-blockui/jquery.blockUI.js"></script>
|
||||
<script src="assets/libs/bootstrap-bootbox/bootbox.min.js"></script>
|
||||
<script src="assets/libs/jquery-slimscroll/jquery.slimscroll.js"></script>
|
||||
<script src="assets/libs/jquery-sparkline/jquery-sparkline.js"></script>
|
||||
<script src="assets/libs/nifty-modal/js/classie.js"></script>
|
||||
<script src="assets/libs/nifty-modal/js/modalEffects.js"></script>
|
||||
<script src="assets/libs/sortable/sortable.min.js"></script>
|
||||
<script src="assets/libs/bootstrap-fileinput/bootstrap.file-input.js"></script>
|
||||
<script src="assets/libs/bootstrap-select/bootstrap-select.min.js"></script>
|
||||
<script src="assets/libs/bootstrap-select2/select2.min.js"></script>
|
||||
<script src="assets/libs/magnific-popup/jquery.magnific-popup.min.js"></script>
|
||||
<script src="assets/libs/pace/pace.min.js"></script>
|
||||
<script src="assets/libs/bootstrap-datepicker/js/bootstrap-datepicker.js"></script>
|
||||
<script src="assets/libs/jquery-icheck/icheck.min.js"></script>
|
||||
|
||||
<!-- Demo Specific JS Libraries -->
|
||||
<script src="assets/libs/prettify/prettify.js"></script>
|
||||
|
||||
<script src="assets/js/init.js"></script>
|
||||
<!-- Page Specific JS Libraries -->
|
||||
<script src="assets/libs/bootstrap-select/bootstrap-select.min.js"></script>
|
||||
<script src="assets/libs/bootstrap-inputmask/inputmask.js"></script>
|
||||
<script src="assets/libs/bootstrap-xeditable/js/bootstrap-editable.min.js"></script>
|
||||
<script src="assets/libs/bootstrap-xeditable/demo/jquery.mockjax.js"></script>
|
||||
<script src="assets/libs/bootstrap-xeditable/demo/demo-mock.js"></script>
|
||||
<script src="assets/libs/bootstrap-select2/select2.min.js"></script>
|
||||
<script src="assets/libs/jquery-clndr/moment-2.5.1.js"></script>
|
||||
<script src="assets/libs/bootstrap-typeahead/bootstrap3-typeahead.min.js"></script>
|
||||
<script src="assets/libs/ckeditor/ckeditor.js"></script>
|
||||
<script src="assets/libs/ckeditor/adapters/jquery.js"></script>
|
||||
<script src="assets/js/pages/advanced-forms.js"></script>
|
||||
</body>
|
||||
</html>
|
@ -1,263 +0,0 @@
|
||||
/*Large Desktop*/
|
||||
@media (min-width: 1200px) {
|
||||
|
||||
}
|
||||
|
||||
/*Desktop*/
|
||||
@media (min-width: 992px) and (max-width: 1199px) {
|
||||
|
||||
}
|
||||
|
||||
/*Small desktop or tablet*/
|
||||
@media (min-width: 768px) and (max-width: 991px) {
|
||||
body{overflow-x: hidden;}
|
||||
.table-responsive {
|
||||
width: 100%;
|
||||
margin-bottom: 15px;
|
||||
overflow-x: scroll;
|
||||
overflow-y: hidden;
|
||||
border: 1px solid #dddddd;
|
||||
-ms-overflow-style: -ms-autohiding-scrollbar;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
}
|
||||
.table-responsive > .table {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.table-responsive > .table > thead > tr > th,
|
||||
.table-responsive > .table > tbody > tr > th,
|
||||
.table-responsive > .table > tfoot > tr > th,
|
||||
.table-responsive > .table > thead > tr > td,
|
||||
.table-responsive > .table > tbody > tr > td,
|
||||
.table-responsive > .table > tfoot > tr > td {
|
||||
white-space: nowrap;
|
||||
}
|
||||
.table-responsive > .table-bordered {
|
||||
border: 0;
|
||||
}
|
||||
.table-responsive > .table-bordered > thead > tr > th:first-child,
|
||||
.table-responsive > .table-bordered > tbody > tr > th:first-child,
|
||||
.table-responsive > .table-bordered > tfoot > tr > th:first-child,
|
||||
.table-responsive > .table-bordered > thead > tr > td:first-child,
|
||||
.table-responsive > .table-bordered > tbody > tr > td:first-child,
|
||||
.table-responsive > .table-bordered > tfoot > tr > td:first-child {
|
||||
border-left: 0;
|
||||
}
|
||||
.table-responsive > .table-bordered > thead > tr > th:last-child,
|
||||
.table-responsive > .table-bordered > tbody > tr > th:last-child,
|
||||
.table-responsive > .table-bordered > tfoot > tr > th:last-child,
|
||||
.table-responsive > .table-bordered > thead > tr > td:last-child,
|
||||
.table-responsive > .table-bordered > tbody > tr > td:last-child,
|
||||
.table-responsive > .table-bordered > tfoot > tr > td:last-child {
|
||||
border-right: 0;
|
||||
}
|
||||
.table-responsive > .table-bordered > tbody > tr:last-child > th,
|
||||
.table-responsive > .table-bordered > tfoot > tr:last-child > th,
|
||||
.table-responsive > .table-bordered > tbody > tr:last-child > td,
|
||||
.table-responsive > .table-bordered > tfoot > tr:last-child > td {
|
||||
border-bottom: 0;
|
||||
}
|
||||
.button-menu-mobile{display: block;}
|
||||
.navbar{margin: 0 0 0 40px;}
|
||||
.mobile-sidebar{left: 0px;}
|
||||
.mobile-content{left: 225px;right: -225px;}
|
||||
.box-info .icon-box{
|
||||
width: 45px;
|
||||
font-size: 20px;
|
||||
margin-top: 5px
|
||||
}
|
||||
.box-info .text-box p{font-size: 11px;}
|
||||
.toolbar-btn-action{text-align: center;}
|
||||
.gallery-wrap .column .inner .img-wrap{
|
||||
height: 60px;
|
||||
overflow: hidden;
|
||||
background: #ddd;
|
||||
}
|
||||
.gallery-wrap .column-3 .inner .img-wrap{
|
||||
height: 140px;
|
||||
overflow: hidden;
|
||||
background: #ddd;
|
||||
}
|
||||
.gallery-wrap .column-4 .inner .img-wrap{
|
||||
height: 100px;
|
||||
overflow: hidden;
|
||||
background: #ddd;
|
||||
}
|
||||
.user-profile-sidebar{text-align: center;}
|
||||
|
||||
}
|
||||
|
||||
/*Phone*/
|
||||
@media (max-width: 767px) {
|
||||
body{overflow-x: hidden;}
|
||||
|
||||
.mobile-sidebar{left: 0px;}
|
||||
.mobile-content{left: 250px;right: -250px;}
|
||||
.box-info table{margin: 0 0 0 0;}
|
||||
.box-info .table-responsive{border: none;}
|
||||
.nav.navbar-nav.top-navbar li span.absolute {left: 25px;}
|
||||
.box-info .additional .list-group{margin-bottom: -10px;}
|
||||
.toolbar-btn-action{text-align: center;}
|
||||
.gallery-wrap .column{width: 25%;}
|
||||
.gallery-wrap .column-4{width: 33.33333333333333%;}
|
||||
.gallery-wrap .column-3{width: 50%;}
|
||||
.gallery-wrap .column .inner .img-wrap{
|
||||
height: 70px;
|
||||
overflow: hidden;
|
||||
background: #ddd;
|
||||
}
|
||||
.gallery-wrap .column-3 .inner .img-wrap{
|
||||
height: 140px;
|
||||
overflow: hidden;
|
||||
background: #ddd;
|
||||
}
|
||||
.gallery-wrap .column-4 .inner .img-wrap{
|
||||
height: 105px;
|
||||
overflow: hidden;
|
||||
background: #ddd;
|
||||
}
|
||||
.widget.box-messages{
|
||||
margin-top:0px;
|
||||
}
|
||||
|
||||
footer{text-align: center;}
|
||||
.navbar-nav{
|
||||
float:left;
|
||||
margin:0px;
|
||||
}
|
||||
.navbar{
|
||||
border:none;
|
||||
}
|
||||
|
||||
.navbar-nav .open .dropdown-menu{
|
||||
float:left;
|
||||
position: absolute;
|
||||
background:#fff;
|
||||
right:0px;
|
||||
left:auto;
|
||||
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.navbar-nav.navbar-right:last-child {
|
||||
margin-right: -15px;
|
||||
height:50px;
|
||||
}
|
||||
|
||||
.open > .dropdown-menu {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.nav-tabs.nav-justified > li {
|
||||
display: table-cell;
|
||||
width: 1%;
|
||||
}
|
||||
|
||||
.navbar-nav > li > a{
|
||||
padding-top: 15px;
|
||||
padding-bottom: 15px;
|
||||
}
|
||||
|
||||
.navbar-right{
|
||||
float: right;
|
||||
}
|
||||
.navbar-nav > li{
|
||||
display: inline-block;
|
||||
}
|
||||
.lock-screen{text-align: center;}
|
||||
|
||||
.profile-actions{
|
||||
bottom:auto;
|
||||
top:60px;
|
||||
}
|
||||
.widget-tabbed{
|
||||
margin-top:40px;
|
||||
}
|
||||
.widget-tabbed .nav-tabs a{
|
||||
font-size:0px !important;
|
||||
}
|
||||
.widget-tabbed .nav-tabs a i{
|
||||
font-size:18px !important;
|
||||
}
|
||||
.the-timeline ul li.the-year{
|
||||
font-size:30px;
|
||||
}
|
||||
.ava-lock-screen{text-align: center; margin-bottom: 20px;}
|
||||
.ava-lock-screen img{
|
||||
width: 100px;
|
||||
margin: 0;
|
||||
}
|
||||
.open-right-sidebar .hide-phone{
|
||||
display: none;
|
||||
}
|
||||
|
||||
.la-pricing-table .la-col-4{width: 50%;}
|
||||
.user-profile-sidebar{text-align: center;}
|
||||
}
|
||||
|
||||
@media (max-width: 480px){
|
||||
.box-info .icon-box{
|
||||
width: 100%;
|
||||
display: block;
|
||||
}
|
||||
.box-info .icon-box,.box-info .text-box{text-align: center;}
|
||||
.gallery-wrap .column,.gallery-wrap .column-3,.gallery-wrap .column-4{width: 33.33333333333333%;}
|
||||
.gallery-wrap .column .inner .img-wrap,.gallery-wrap .column-3 .inner .img-wrap,.gallery-wrap .column-4 .inner .img-wrap{height: 70px;}
|
||||
.login-wrap{margin: 20px 0 0 0;}
|
||||
|
||||
.navbar-default {
|
||||
border: none;
|
||||
}
|
||||
.open-right-sidebar .topbar-profile,.open-right-sidebar .hide-phone{
|
||||
display: none;
|
||||
}
|
||||
.the-timeline ul li.the-year{
|
||||
font-size:20px;
|
||||
margin-left: 37%;
|
||||
}
|
||||
#wrapper:not(.enlarged) .topbar-profile,#wrapper:not(.enlarged) .hide-phone{
|
||||
display: none;
|
||||
}
|
||||
#wrapper .content-page{
|
||||
margin-left:0px !important;
|
||||
padding-left:50px;
|
||||
width:100%;
|
||||
display: inline-block;
|
||||
}
|
||||
.open-right-sidebar .content-page > .content{
|
||||
opacity: 0;
|
||||
}
|
||||
.side-menu{
|
||||
z-index: 10 !important;
|
||||
}
|
||||
#weather h2{
|
||||
top:90px;
|
||||
}
|
||||
#weather .w-region{
|
||||
top:250px;
|
||||
}
|
||||
#stock-widget #stock-title{
|
||||
display: none;
|
||||
}
|
||||
#stock-widget .stock-options{
|
||||
margin-left: 15px;
|
||||
}
|
||||
.button-menu-mobile{display: block;}
|
||||
}
|
||||
|
||||
@media (max-width: 420px){
|
||||
.hide-phone{
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@media (max-width: 360px){
|
||||
.gallery-wrap .column,.gallery-wrap .column-3,.gallery-wrap .column-4{width: 50%;}
|
||||
.gallery-wrap .column .inner .img-wrap,.gallery-wrap .column-3 .inner .img-wrap,.gallery-wrap .column-4 .inner .img-wrap{height: 80px;}
|
||||
.la-pricing-table .la-col-4{width: 100%;}
|
||||
}
|
||||
|
||||
@media (max-width: 320px){
|
||||
.gallery-wrap .column,.gallery-wrap .column-3,.gallery-wrap .column-4{width: 50%;}
|
||||
.gallery-wrap .column .inner .img-wrap,.gallery-wrap .column-3 .inner .img-wrap,.gallery-wrap .column-4 .inner .img-wrap{height: 70px;}
|
||||
}
|
Before Width: | Height: | Size: 4.4 KiB |
Before Width: | Height: | Size: 4.6 KiB |
Before Width: | Height: | Size: 5.1 KiB |
Before Width: | Height: | Size: 6.5 KiB |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 2.4 KiB |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 34 KiB |
Before Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 3.9 KiB |
Before Width: | Height: | Size: 4.7 KiB |
Before Width: | Height: | Size: 4.1 KiB |
Before Width: | Height: | Size: 4.1 KiB |
@ -1,85 +0,0 @@
|
||||
// Get all the keys from document
|
||||
var keys = document.querySelectorAll('#calculator span');
|
||||
var operators = ['+', '-', 'x', '÷'];
|
||||
var decimalAdded = false;
|
||||
|
||||
// Add onclick event to all the keys and perform operations
|
||||
for(var i = 0; i < keys.length; i++) {
|
||||
keys[i].onclick = function(e) {
|
||||
// Get the input and button values
|
||||
var input = document.querySelector('.calc-screen');
|
||||
var inputVal = input.innerHTML;
|
||||
var btnVal = this.innerHTML;
|
||||
|
||||
// Now, just append the key values (btnValue) to the input string and finally use javascript's eval function to get the result
|
||||
// If clear key is pressed, erase everything
|
||||
if(btnVal == 'C') {
|
||||
input.innerHTML = '';
|
||||
decimalAdded = false;
|
||||
}
|
||||
|
||||
// If eval key is pressed, calculate and display the result
|
||||
else if(btnVal == '=') {
|
||||
var equation = inputVal;
|
||||
var lastChar = equation[equation.length - 1];
|
||||
|
||||
// Replace all instances of x and ÷ with * and / respectively. This can be done easily using regex and the 'g' tag which will replace all instances of the matched character/substring
|
||||
equation = equation.replace(/x/g, '*').replace(/÷/g, '/');
|
||||
|
||||
// Final thing left to do is checking the last character of the equation. If it's an operator or a decimal, remove it
|
||||
if(operators.indexOf(lastChar) > -1 || lastChar == '.')
|
||||
equation = equation.replace(/.$/, '');
|
||||
|
||||
if(equation)
|
||||
input.innerHTML = eval(equation);
|
||||
|
||||
decimalAdded = false;
|
||||
}
|
||||
|
||||
// Basic functionality of the calculator is complete. But there are some problems like
|
||||
// 1. No two operators should be added consecutively.
|
||||
// 2. The equation shouldn't start from an operator except minus
|
||||
// 3. not more than 1 decimal should be there in a number
|
||||
|
||||
// We'll fix these issues using some simple checks
|
||||
|
||||
// indexOf works only in IE9+
|
||||
else if(operators.indexOf(btnVal) > -1) {
|
||||
// Operator is clicked
|
||||
// Get the last character from the equation
|
||||
var lastChar = inputVal[inputVal.length - 1];
|
||||
|
||||
// Only add operator if input is not empty and there is no operator at the last
|
||||
if(inputVal != '' && operators.indexOf(lastChar) == -1)
|
||||
input.innerHTML += btnVal;
|
||||
|
||||
// Allow minus if the string is empty
|
||||
else if(inputVal == '' && btnVal == '-')
|
||||
input.innerHTML += btnVal;
|
||||
|
||||
// Replace the last operator (if exists) with the newly pressed operator
|
||||
if(operators.indexOf(lastChar) > -1 && inputVal.length > 1) {
|
||||
// Here, '.' matches any character while $ denotes the end of string, so anything (will be an operator in this case) at the end of string will get replaced by new operator
|
||||
input.innerHTML = inputVal.replace(/.$/, btnVal);
|
||||
}
|
||||
|
||||
decimalAdded =false;
|
||||
}
|
||||
|
||||
// Now only the decimal problem is left. We can solve it easily using a flag 'decimalAdded' which we'll set once the decimal is added and prevent more decimals to be added once it's set. It will be reset when an operator, eval or clear key is pressed.
|
||||
else if(btnVal == '.') {
|
||||
if(!decimalAdded) {
|
||||
input.innerHTML += btnVal;
|
||||
decimalAdded = true;
|
||||
}
|
||||
}
|
||||
|
||||
// if any other key is pressed, just append it
|
||||
else {
|
||||
input.innerHTML += btnVal;
|
||||
}
|
||||
|
||||
// prevent page jumps
|
||||
e.preventDefault();
|
||||
}
|
||||
}
|
@ -1,104 +0,0 @@
|
||||
var autosave;
|
||||
var autosave_time = 5000; // miliseconds
|
||||
|
||||
$(document).ready(function(){
|
||||
load_list();
|
||||
|
||||
$("#notes-list .scroller").slimscroll({
|
||||
height: '330px',
|
||||
size: "5px"
|
||||
});
|
||||
|
||||
$(".add-note").click(function(){
|
||||
save_note();
|
||||
$("#notes-app").addClass("new-item");
|
||||
$("#note-text").val("");
|
||||
$("#note-text").attr("rel",guidGenerator());
|
||||
});
|
||||
|
||||
$(".back-note-list").click(function(){
|
||||
save_note();
|
||||
$("#notes-app").removeClass("new-item");
|
||||
});
|
||||
|
||||
$(document).on("click", "#notes-list .note-trunc", function(e){
|
||||
e.preventDefault();
|
||||
var id = $(this).attr("rel");
|
||||
$("#note-text").attr("rel",id);
|
||||
$("#note-text").val(localStorage.getItem(id));
|
||||
$("#notes-app").addClass("new-item");
|
||||
});
|
||||
|
||||
$(document).on("blur change", "#note-text", function(){
|
||||
save_note();
|
||||
});
|
||||
|
||||
$(document).on("click", "#notes-list .kill-note", function(e){
|
||||
e.preventDefault();
|
||||
var id = $(this).attr("rel");
|
||||
bootbox.confirm("Are you sure to remove this note?", function(result) {
|
||||
if(result === true){
|
||||
localStorage.removeItem(id);
|
||||
load_list();
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
autosave = window.setInterval(function(){
|
||||
if($("#notes-app").hasClass("new-item")){
|
||||
save_note();
|
||||
}
|
||||
},autosave_time);
|
||||
});
|
||||
|
||||
function save_note(){
|
||||
if($("#note-text").val() != ""){
|
||||
$("#notes-app").addClass("saved");
|
||||
localStorage.setItem($("#note-text").attr("rel"),$("#note-text").val());
|
||||
console.log("Note saved!");
|
||||
load_list();
|
||||
window.setTimeout(function(){
|
||||
$("#notes-app").removeClass("saved");
|
||||
},1000);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function load_list(){
|
||||
$("#notes-list ul").html("");
|
||||
var ids = [];
|
||||
for (var i = 0; i < localStorage.length; i++) {
|
||||
var id = localStorage.length-i-1;
|
||||
if(localStorage.key(id).startsWith("coco-note-")){
|
||||
ids.push(id);
|
||||
}
|
||||
}
|
||||
ids = ids.sort();
|
||||
for (var x = 0;x < ids.length;x++){
|
||||
var note = localStorage.getItem(localStorage.key(ids[x])).truncate(40);
|
||||
$("#notes-list ul").append("<li><a href='javascript:;' class='note-trunc' rel='"+localStorage.key(ids[x])+"'>"+note+"</a><div class='btn-group pull-right'><a class='btn btn-sm btn-link kill-note' rel='"+localStorage.key(ids[x])+"'><i class='icon-trash'></i></a></div></li>");
|
||||
}
|
||||
}
|
||||
|
||||
function guidGenerator() {
|
||||
var d = new Date().getTime();
|
||||
d = 9999999999999-d;
|
||||
var S4 = function() {
|
||||
return (((1+Math.random())*0x10000)|0).toString(16).substring(1);
|
||||
};
|
||||
return "coco-note-"+(d+"-"+S4()+"-"+S4()+"-"+S4()+"-"+S4()+S4()+S4());
|
||||
}
|
||||
|
||||
if (typeof String.prototype.startsWith != 'function') {
|
||||
// see below for better implementation!
|
||||
String.prototype.startsWith = function (str){
|
||||
return this.indexOf(str) == 0;
|
||||
};
|
||||
}
|
||||
|
||||
String.prototype.truncate = function(m) {
|
||||
return (this.length > m)
|
||||
? jQuery.trim(this).substring(0, m) + "..."
|
||||
: this;
|
||||
};
|
@ -1,80 +0,0 @@
|
||||
$(document).ready(function(){
|
||||
$.fn.editable.defaults.mode = 'inline';
|
||||
$(".todo-list").sortable({
|
||||
cancel: ".done",
|
||||
axis: "y",
|
||||
cursor: "move",
|
||||
forcePlaceholderSize: true
|
||||
});
|
||||
|
||||
$(document).on("ifChecked", ".check-icon input", function(){
|
||||
var parent = $(this).parents("li:first");
|
||||
$(parent).addClass("done");
|
||||
$(parent).data("orig-order",$(parent).index()).insertAfter($(".todo-list li:last"));
|
||||
$('.todo-item',parent).editable("toggleDisabled");
|
||||
});
|
||||
|
||||
$(document).on("ifUnchecked", ".check-icon input", function(){
|
||||
var parent = $(this).parents("li:first");
|
||||
$(parent).removeClass("done");
|
||||
if($(parent).data("orig-order")){
|
||||
$(parent).insertAfter($(".todo-list li:eq("+($(parent).data("orig-order")-1)+")"));
|
||||
}
|
||||
$('.todo-item',parent).editable("toggleDisabled");
|
||||
});
|
||||
|
||||
$(document).on("click",".add-todo", function(){
|
||||
var $item = '<li class="animated bounceInDown">'+
|
||||
'<span class="check-icon"><input type="checkbox" /></span>'+
|
||||
'<span class="todo-item">New item</span>'+
|
||||
'<span class="todo-options pull-right">'+
|
||||
'<a href="javascript:;" class="todo-delete"><i class="icon-cancel-3"></i></a>'+
|
||||
'</span>'+
|
||||
'</li>';
|
||||
$(".todo-list").append($item);
|
||||
|
||||
$('input').iCheck({
|
||||
checkboxClass: 'icheckbox_square-aero',
|
||||
radioClass: 'iradio_square-aero',
|
||||
increaseArea: '20%'
|
||||
});
|
||||
|
||||
$('.todo-list .todo-item').editable({
|
||||
type: 'text'
|
||||
});
|
||||
window.setTimeout(function () {
|
||||
$(".todo-list li").removeClass("animated");
|
||||
}, 500);
|
||||
});
|
||||
|
||||
$(document).on("click", ".todo-delete", function(){
|
||||
var parent = $(this).parents("li:first");
|
||||
$(parent).hide(200);
|
||||
})
|
||||
|
||||
var $contextMenu = $("#contextMenu");
|
||||
var $rowClicked;
|
||||
|
||||
$(document).on("contextmenu", ".todo-list li", function (e) {
|
||||
$rowClicked = $(this)
|
||||
$contextMenu.css({
|
||||
display: "block",
|
||||
left: e.pageX,
|
||||
top: e.pageY
|
||||
});
|
||||
return false;
|
||||
});
|
||||
|
||||
$contextMenu.on("click", "a", function () {
|
||||
$rowClicked.removeAttr("class").addClass($(this).data("priority"));
|
||||
$contextMenu.hide();
|
||||
});
|
||||
|
||||
$(document).click(function () {
|
||||
$contextMenu.hide();
|
||||
});
|
||||
|
||||
$('.todo-list .todo-item').editable({
|
||||
type: 'text'
|
||||
});
|
||||
});
|
@ -1,408 +0,0 @@
|
||||
var w;
|
||||
var h;
|
||||
var dw;
|
||||
var dh;
|
||||
|
||||
function executeFunctionByName(functionName, context /*, args */) {
|
||||
var args = [].slice.call(arguments).splice(2);
|
||||
var namespaces = functionName.split(".");
|
||||
var func = namespaces.pop();
|
||||
for(var i = 0; i < namespaces.length; i++) {
|
||||
context = context[namespaces[i]];
|
||||
}
|
||||
return context[func].apply(this, args);
|
||||
}
|
||||
|
||||
var changeptype = function(){
|
||||
w = $(window).width();
|
||||
h = $(window).height();
|
||||
dw = $(document).width();
|
||||
dh = $(document).height();
|
||||
|
||||
if(jQuery.browser.mobile === true){
|
||||
$("body").addClass("mobile").removeClass("fixed-left");
|
||||
}
|
||||
|
||||
if(!$("#wrapper").hasClass("forced")){
|
||||
if(w > 990){
|
||||
$("body").removeClass("smallscreen").addClass("widescreen");
|
||||
$("#wrapper").removeClass("enlarged");
|
||||
}else{
|
||||
$("body").removeClass("widescreen").addClass("smallscreen");
|
||||
$("#wrapper").addClass("enlarged");
|
||||
$(".left ul").removeAttr("style");
|
||||
}
|
||||
if($("#wrapper").hasClass("enlarged") && $("body").hasClass("fixed-left")){
|
||||
$("body").removeClass("fixed-left").addClass("fixed-left-void");
|
||||
}else if(!$("#wrapper").hasClass("enlarged") && $("body").hasClass("fixed-left-void")){
|
||||
$("body").removeClass("fixed-left-void").addClass("fixed-left");
|
||||
}
|
||||
|
||||
}
|
||||
toggle_slimscroll(".slimscrollleft");
|
||||
}
|
||||
|
||||
$(document).ready(function(){
|
||||
FastClick.attach(document.body);
|
||||
resizefunc.push("initscrolls");
|
||||
resizefunc.push("changeptype");
|
||||
$('.sparkline').sparkline('html', { enableTagOptions: true });
|
||||
|
||||
$('.animate-number').each(function(){
|
||||
$(this).animateNumbers($(this).attr("data-value"), true, parseInt($(this).attr("data-duration")));
|
||||
})
|
||||
|
||||
//TOOLTIP
|
||||
$('body').tooltip({
|
||||
selector: "[data-toggle=tooltip]",
|
||||
container: "body"
|
||||
});
|
||||
|
||||
//RESPONSIVE SIDEBAR
|
||||
|
||||
|
||||
$(".open-right").click(function(e){
|
||||
$("#wrapper").toggleClass("open-right-sidebar");
|
||||
e.stopPropagation();
|
||||
$("body").trigger("resize");
|
||||
});
|
||||
|
||||
|
||||
$(".open-left").click(function(e){
|
||||
e.stopPropagation();
|
||||
$("#wrapper").toggleClass("enlarged");
|
||||
$("#wrapper").addClass("forced");
|
||||
|
||||
if($("#wrapper").hasClass("enlarged") && $("body").hasClass("fixed-left")){
|
||||
$("body").removeClass("fixed-left").addClass("fixed-left-void");
|
||||
}else if(!$("#wrapper").hasClass("enlarged") && $("body").hasClass("fixed-left-void")){
|
||||
$("body").removeClass("fixed-left-void").addClass("fixed-left");
|
||||
}
|
||||
if($("#wrapper").hasClass("enlarged")){
|
||||
$(".left ul").removeAttr("style");
|
||||
}else{
|
||||
$(".subdrop").siblings("ul:first").show();
|
||||
}
|
||||
toggle_slimscroll(".slimscrollleft");
|
||||
$("body").trigger("resize");
|
||||
});
|
||||
|
||||
// LEFT SIDE MAIN NAVIGATION
|
||||
$("#sidebar-menu a").on('click',function(e){
|
||||
if(!$("#wrapper").hasClass("enlarged")){
|
||||
|
||||
if($(this).parent().hasClass("has_sub")) {
|
||||
e.preventDefault();
|
||||
}
|
||||
|
||||
if(!$(this).hasClass("subdrop")) {
|
||||
// hide any open menus and remove all other classes
|
||||
$("ul",$(this).parents("ul:first")).slideUp(350);
|
||||
$("a",$(this).parents("ul:first")).removeClass("subdrop");
|
||||
$("#sidebar-menu .pull-right i").removeClass("fa-angle-up").addClass("fa-angle-down");
|
||||
|
||||
// open our new menu and add the open class
|
||||
$(this).next("ul").slideDown(350);
|
||||
$(this).addClass("subdrop");
|
||||
$(".pull-right i",$(this).parents(".has_sub:last")).removeClass("fa-angle-down").addClass("fa-angle-up");
|
||||
$(".pull-right i",$(this).siblings("ul")).removeClass("fa-angle-up").addClass("fa-angle-down");
|
||||
}else if($(this).hasClass("subdrop")) {
|
||||
$(this).removeClass("subdrop");
|
||||
$(this).next("ul").slideUp(350);
|
||||
$(".pull-right i",$(this).parent()).removeClass("fa-angle-up").addClass("fa-angle-down");
|
||||
//$(".pull-right i",$(this).parents("ul:eq(1)")).removeClass("fa-chevron-down").addClass("fa-chevron-left");
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
// NAVIGATION HIGHLIGHT & OPEN PARENT
|
||||
$("#sidebar-menu ul li.has_sub a.active").parents("li:last").children("a:first").addClass("active").trigger("click");
|
||||
|
||||
//WIDGET ACTIONS
|
||||
$(".widget-header .widget-close").on("click",function(event){
|
||||
event.preventDefault();
|
||||
$item = $(this).parents(".widget:first");
|
||||
bootbox.confirm("Are you sure to remove this widget?", function(result) {
|
||||
if(result === true){
|
||||
$item.addClass("animated bounceOutUp");
|
||||
window.setTimeout(function () {
|
||||
if($item.data("is-app")){
|
||||
|
||||
$item.removeClass("animated bounceOutUp");
|
||||
if($item.hasClass("ui-draggable")){
|
||||
$item.find(".widget-popout").click();
|
||||
}
|
||||
$item.hide();
|
||||
$("a[data-app='"+$item.attr("id")+"']").addClass("clickable");
|
||||
}else{
|
||||
$item.remove();
|
||||
}
|
||||
}, 300);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
$(document).on("click", ".widget-header .widget-toggle", function(event){
|
||||
event.preventDefault();
|
||||
$(this).toggleClass("closed").parents(".widget:first").find(".widget-content").slideToggle();
|
||||
});
|
||||
|
||||
$(document).on("click", ".widget-header .widget-popout", function(event){
|
||||
event.preventDefault();
|
||||
var widget = $(this).parents(".widget:first");
|
||||
if(widget.hasClass("modal-widget")){
|
||||
$("i",this).removeClass("icon-window").addClass("icon-publish");
|
||||
widget.removeAttr("style").removeClass("modal-widget");
|
||||
widget.find(".widget-maximize,.widget-toggle").removeClass("nevershow");
|
||||
widget.draggable("destroy").resizable("destroy");
|
||||
}else{
|
||||
widget.removeClass("maximized");
|
||||
widget.find(".widget-maximize,.widget-toggle").addClass("nevershow");
|
||||
$("i",this).removeClass("icon-publish").addClass("icon-window");
|
||||
var w = widget.width();
|
||||
var h = widget.height();
|
||||
widget.addClass("modal-widget").removeAttr("style").width(w).height(h);
|
||||
$(widget).draggable({ handle: ".widget-header",containment: ".content-page" }).css({"left":widget.position().left-2,"top":widget.position().top-2}).resizable({minHeight: 150,minWidth: 200});
|
||||
}
|
||||
window.setTimeout(function () {
|
||||
$("body").trigger("resize");
|
||||
},300);
|
||||
});
|
||||
|
||||
$("a[data-app]").each(function(e){
|
||||
var app = $(this).data("app");
|
||||
var status = $(this).data("status");
|
||||
$("#"+app).data("is-app",true);
|
||||
if(status == "inactive"){
|
||||
$("#"+app).hide();
|
||||
$(this).addClass("clickable");
|
||||
}
|
||||
});
|
||||
|
||||
$(document).on("click", "a[data-app].clickable", function(event){
|
||||
event.preventDefault();
|
||||
$(this).removeClass("clickable");
|
||||
var app = $(this).data("app");
|
||||
$("#"+app).show();
|
||||
$("#"+app+" .widget-popout").click();
|
||||
topd = $("#"+app).offset().top - $(window).scrollTop();
|
||||
$("#"+app).css({"left":"10","top":-(topd-60)+"px"}).addClass("fadeInDown animated");
|
||||
window.setTimeout(function () {
|
||||
$("#"+app).removeClass("fadeInDown animated");
|
||||
}, 300);
|
||||
});
|
||||
|
||||
$(document).on("click", ".widget", function(){
|
||||
if($(this).hasClass("modal-widget")){
|
||||
$(".modal-widget").css("z-index",5);
|
||||
$(this).css("z-index",6);
|
||||
}
|
||||
});
|
||||
|
||||
$(document).on("click", '.widget .reload', function (event) {
|
||||
event.preventDefault();
|
||||
var el = $(this).parents(".widget:first");
|
||||
blockUI(el);
|
||||
window.setTimeout(function () {
|
||||
unblockUI(el);
|
||||
}, 1000);
|
||||
});
|
||||
|
||||
$(document).on("click", ".widget-header .widget-maximize", function(event){
|
||||
event.preventDefault();
|
||||
$(this).parents(".widget:first").removeAttr("style").toggleClass("maximized");
|
||||
$("i",this).toggleClass("icon-resize-full-1").toggleClass("icon-resize-small-1");
|
||||
$(this).parents(".widget:first").find(".widget-toggle").toggleClass("nevershow");
|
||||
$("body").trigger("resize");
|
||||
return false;
|
||||
});
|
||||
|
||||
$( ".portlets" ).sortable({
|
||||
connectWith: ".portlets",
|
||||
handle: ".widget-header",
|
||||
cancel: ".modal-widget",
|
||||
opacity: 0.5,
|
||||
dropOnEmpty: true,
|
||||
forcePlaceholderSize: true,
|
||||
receive: function(event, ui) {$("body").trigger("resize")}
|
||||
});
|
||||
|
||||
// Init Code Highlighter
|
||||
prettyPrint();
|
||||
|
||||
//RUN RESIZE ITEMS
|
||||
$(window).resize(debounce(resizeitems,100));
|
||||
$("body").trigger("resize");
|
||||
|
||||
//SELECT
|
||||
$('.selectpicker').selectpicker();
|
||||
|
||||
|
||||
//FILE INPUT
|
||||
$('input[type=file]').bootstrapFileInput();
|
||||
|
||||
|
||||
//DATE PICKER
|
||||
$('.datepicker-input').datepicker();
|
||||
|
||||
|
||||
//ICHECK
|
||||
$('input:not(.ios-switch)').iCheck({
|
||||
checkboxClass: 'icheckbox_square-aero',
|
||||
radioClass: 'iradio_square-aero',
|
||||
increaseArea: '20%' // optional
|
||||
});
|
||||
|
||||
// IOS7 SWITCH
|
||||
$(".ios-switch").each(function(){
|
||||
mySwitch = new Switch(this);
|
||||
});
|
||||
|
||||
//GALLERY
|
||||
$('.gallery-wrap').each(function() { // the containers for all your galleries
|
||||
$(this).magnificPopup({
|
||||
delegate: 'a.zooming', // the selector for gallery item
|
||||
type: 'image',
|
||||
removalDelay: 300,
|
||||
mainClass: 'mfp-fade',
|
||||
gallery: {
|
||||
enabled:true
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
|
||||
});
|
||||
|
||||
var debounce = function(func, wait, immediate) {
|
||||
var timeout, result;
|
||||
return function() {
|
||||
var context = this, args = arguments;
|
||||
var later = function() {
|
||||
timeout = null;
|
||||
if (!immediate) result = func.apply(context, args);
|
||||
};
|
||||
var callNow = immediate && !timeout;
|
||||
clearTimeout(timeout);
|
||||
timeout = setTimeout(later, wait);
|
||||
if (callNow) result = func.apply(context, args);
|
||||
return result;
|
||||
};
|
||||
}
|
||||
|
||||
function resizeitems(){
|
||||
if($.isArray(resizefunc)){
|
||||
for (i = 0; i < resizefunc.length; i++) {
|
||||
window[resizefunc[i]]();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function initscrolls(){
|
||||
if(jQuery.browser.mobile !== true){
|
||||
//SLIM SCROLL
|
||||
$('.slimscroller').slimscroll({
|
||||
height: 'auto',
|
||||
size: "5px"
|
||||
});
|
||||
|
||||
$('.slimscrollleft').slimScroll({
|
||||
height: 'auto',
|
||||
position: 'left',
|
||||
size: "5px",
|
||||
color: '#7A868F'
|
||||
});
|
||||
}
|
||||
}
|
||||
function toggle_slimscroll(item){
|
||||
if($("#wrapper").hasClass("enlarged")){
|
||||
$(item).css("overflow","inherit").parent().css("overflow","inherit");
|
||||
$(item). siblings(".slimScrollBar").css("visibility","hidden");
|
||||
}else{
|
||||
$(item).css("overflow","hidden").parent().css("overflow","hidden");
|
||||
$(item). siblings(".slimScrollBar").css("visibility","visible");
|
||||
}
|
||||
}
|
||||
|
||||
function nifty_modal_alert(effect,header,text){
|
||||
|
||||
var randLetter = String.fromCharCode(65 + Math.floor(Math.random() * 26));
|
||||
var uniqid = randLetter + Date.now();
|
||||
|
||||
$modal = '<div class="md-modal md-effect-'+effect+'" id="'+uniqid+'">';
|
||||
$modal += '<div class="md-content">';
|
||||
$modal += '<h3>'+header+'</h3>';
|
||||
$modal += '<div class="md-modal-body">'+text;
|
||||
$modal += '</div>';
|
||||
$modal += '</div>';
|
||||
$modal += '</div>';
|
||||
|
||||
$("body").prepend($modal);
|
||||
|
||||
window.setTimeout(function () {
|
||||
$("#"+uniqid).addClass("md-show");
|
||||
$(".md-overlay,.md-close").click(function(){
|
||||
$("#"+uniqid).removeClass("md-show");
|
||||
window.setTimeout(function () {$("#"+uniqid).remove();},500);
|
||||
});
|
||||
},100);
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
function blockUI(item) {
|
||||
$(item).block({
|
||||
message: '<div class="loading"></div>',
|
||||
css: {
|
||||
border: 'none',
|
||||
width: '14px',
|
||||
backgroundColor: 'none'
|
||||
},
|
||||
overlayCSS: {
|
||||
backgroundColor: '#fff',
|
||||
opacity: 0.4,
|
||||
cursor: 'wait'
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function unblockUI(item) {
|
||||
$(item).unblock();
|
||||
}
|
||||
|
||||
function toggle_fullscreen(){
|
||||
var fullscreenEnabled = document.fullscreenEnabled || document.mozFullScreenEnabled || document.webkitFullscreenEnabled;
|
||||
if(fullscreenEnabled){
|
||||
if(!document.fullscreenElement && !document.mozFullScreenElement && !document.webkitFullscreenElement && !document.msFullscreenElement) {
|
||||
launchIntoFullscreen(document.documentElement);
|
||||
}else{
|
||||
exitFullscreen();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Thanks to http://davidwalsh.name/fullscreen
|
||||
|
||||
function launchIntoFullscreen(element) {
|
||||
if(element.requestFullscreen) {
|
||||
element.requestFullscreen();
|
||||
} else if(element.mozRequestFullScreen) {
|
||||
element.mozRequestFullScreen();
|
||||
} else if(element.webkitRequestFullscreen) {
|
||||
element.webkitRequestFullscreen();
|
||||
} else if(element.msRequestFullscreen) {
|
||||
element.msRequestFullscreen();
|
||||
}
|
||||
}
|
||||
|
||||
function exitFullscreen() {
|
||||
if(document.exitFullscreen) {
|
||||
document.exitFullscreen();
|
||||
} else if(document.mozCancelFullScreen) {
|
||||
document.mozCancelFullScreen();
|
||||
} else if(document.webkitExitFullscreen) {
|
||||
document.webkitExitFullscreen();
|
||||
}
|
||||
}
|
@ -1,126 +0,0 @@
|
||||
$(function () {
|
||||
|
||||
function runCalendar() {
|
||||
var $modal = $('#event-modal');
|
||||
$('#draggable-events div.draggable-event').each(function () {
|
||||
// create an Event Object (http://arshaw.com/fullcalendar/docs/event_data/Event_Object/)
|
||||
// it doesn't need to have a start or end
|
||||
var eventObject = {
|
||||
title: $.trim($(this).text()) // use the element's text as the event title
|
||||
};
|
||||
// store the Event Object in the DOM element so we can get to it later
|
||||
$(this).data('eventObject', eventObject);
|
||||
// make the event draggable using jQuery UI
|
||||
$(this).draggable({
|
||||
zIndex: 999,
|
||||
revert: true, // will cause the event to go back to its
|
||||
revertDuration: 20 // original position after the drag
|
||||
});
|
||||
});
|
||||
/* Initialize the calendar */
|
||||
var date = new Date();
|
||||
var d = date.getDate();
|
||||
var m = date.getMonth();
|
||||
var y = date.getFullYear();
|
||||
var form = '';
|
||||
var calendar = $('#calendar').fullCalendar({
|
||||
slotDuration: '00:15:00', /* If we want to split day time each 15minutes */
|
||||
minTime: '08:00:00',
|
||||
maxTime: '19:00:00',
|
||||
header: {
|
||||
left: 'prev,next today',
|
||||
center: 'title',
|
||||
right: 'month,agendaWeek,agendaDay'
|
||||
},
|
||||
events: [{
|
||||
title: 'Take your pills!',
|
||||
start: new Date(y, m, 2),
|
||||
className: 'bg-darkblue-2'
|
||||
}, {
|
||||
title: 'Visit Doctor',
|
||||
start: '2014-05-15 14:00:00',
|
||||
start: '2014-05-15 15:00:00',
|
||||
className: 'bg-red-1'
|
||||
}],
|
||||
editable: true,
|
||||
droppable: true, // this allows things to be dropped onto the calendar !!!
|
||||
drop: function (date, allDay) { // this function is called when something is dropped
|
||||
// retrieve the dropped element's stored Event Object
|
||||
var originalEventObject = $(this).data('eventObject');
|
||||
var $categoryClass = $(this).attr('data-class');
|
||||
// we need to copy it, so that multiple events don't have a reference to the same object
|
||||
var copiedEventObject = $.extend({}, originalEventObject);
|
||||
// assign it the date that was reported
|
||||
copiedEventObject.start = date;
|
||||
copiedEventObject.allDay = allDay;
|
||||
if ($categoryClass)
|
||||
copiedEventObject['className'] = [$categoryClass];
|
||||
// render the event on the calendar
|
||||
// the last `true` argument determines if the event "sticks" (http://arshaw.com/fullcalendar/docs/event_rendering/renderEvent/)
|
||||
$('#calendar').fullCalendar('renderEvent', copiedEventObject, true);
|
||||
// is the "remove after drop" checkbox checked?
|
||||
if ($('#drop-remove').is(':checked')) {
|
||||
// if so, remove the element from the "Draggable Events" list
|
||||
$(this).remove();
|
||||
}
|
||||
},
|
||||
|
||||
selectable: true,
|
||||
eventClick: function (calEvent, jsEvent, view) {
|
||||
var form = $("<form></form>");
|
||||
form.append("<label>Change event name</label>");
|
||||
form.append("<div class='input-group'><input class='form-control' type=text value='" + calEvent.title + "' /><span class='input-group-btn'><button type='submit' class='btn btn-success'><i class='fa fa-check'></i> Save Changes</button></span></div>");
|
||||
$modal.modal({
|
||||
backdrop: 'static'
|
||||
});
|
||||
$modal.find('.delete-event').show().end().find('.save-event').hide().end().find('.modal-body').empty().prepend(form).end().find('.delete-event').unbind('click').click(function () {
|
||||
calendar.fullCalendar('removeEvents', function (ev) {
|
||||
return (ev._id == calEvent._id);
|
||||
});
|
||||
$modal.modal('hide');
|
||||
});
|
||||
$modal.find('form').on('submit', function () {
|
||||
calEvent.title = form.find("input[type=text]").val();
|
||||
calendar.fullCalendar('updateEvent', calEvent);
|
||||
$modal.modal('hide');
|
||||
return false;
|
||||
});
|
||||
},
|
||||
select: function (start, end, allDay) {
|
||||
$modal.modal({
|
||||
backdrop: 'static'
|
||||
});
|
||||
form = $("<form></form>");
|
||||
form.append("<div class='row'></div>");
|
||||
form.find(".row").append("<div class='col-md-6'><div class='form-group'><label class='control-label'>Event Name</label><input class='form-control' placeholder='Insert Event Name' type='text' name='title'/></div></div>").append("<div class='col-md-6'><div class='form-group'><label class='control-label'>Category</label><select class='form-control' name='category'></select></div></div>").find("select[name='category']").append("<option value='bg-red'>Work</option>")
|
||||
.append("<option value='bg-green-1'>Entertainment</option>").append("<option value='bg-pink-1'>Meeting</option>").append("<option value='bg-lightblue-1'>Lunch</option>").append("<option value='bg-red-1'>Work</option>").append("<option value='bg-blue-1'>Sport</option>");
|
||||
$modal.find('.delete-event').hide().end().find('.save-event').show().end().find('.modal-body').empty().prepend(form).end().find('.save-event').unbind('click').click(function () {
|
||||
form.submit();
|
||||
});
|
||||
$modal.find('form').on('submit', function () {
|
||||
title = form.find("input[name='title']").val();
|
||||
$categoryClass = form.find("select[name='category'] option:checked").val();
|
||||
if (title !== null && title.length != 0) {
|
||||
calendar.fullCalendar('renderEvent', {
|
||||
title: title,
|
||||
start: start,
|
||||
end: end,
|
||||
allDay: false,
|
||||
className: $categoryClass
|
||||
}, true);
|
||||
}
|
||||
else{
|
||||
alert('You need a title for the event!');
|
||||
}
|
||||
$modal.modal('hide');
|
||||
return false;
|
||||
});
|
||||
calendar.fullCalendar('unselect');
|
||||
}
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
runCalendar();
|
||||
|
||||
});
|
@ -1,60 +0,0 @@
|
||||
$(function(){
|
||||
$("#datatables-1").dataTable();
|
||||
|
||||
var table = $('#datatables-2').DataTable();
|
||||
|
||||
$("#datatables-2 tfoot th").each( function ( i ) {
|
||||
var select = $('<select class="form-control input-sm"><option value=""></option></select>')
|
||||
.appendTo( $(this).empty() )
|
||||
.on( 'change', function () {
|
||||
table.column( i )
|
||||
.search( '^'+$(this).val()+'$', true, false )
|
||||
.draw();
|
||||
} );
|
||||
|
||||
table.column( i ).data().unique().sort().each( function ( d, j ) {
|
||||
select.append( '<option value="'+d+'">'+d+'</option>' )
|
||||
} );
|
||||
} );
|
||||
|
||||
$('#datatables-3').dataTable( {
|
||||
"footerCallback": function ( row, data, start, end, display ) {
|
||||
var api = this.api(), data;
|
||||
|
||||
// Remove the formatting to get integer data for summation
|
||||
var intVal = function ( i ) {
|
||||
return typeof i === 'string' ?
|
||||
i.replace(/[\$,]/g, '')*1 :
|
||||
typeof i === 'number' ?
|
||||
i : 0;
|
||||
};
|
||||
|
||||
// Total over all pages
|
||||
data = api.column( 4 ).data();
|
||||
total = data.length ?
|
||||
data.reduce( function (a, b) {
|
||||
return intVal(a) + intVal(b);
|
||||
} ) :
|
||||
0;
|
||||
|
||||
// Total over this page
|
||||
data = api.column( 4, { page: 'current'} ).data();
|
||||
pageTotal = data.length ?
|
||||
data.reduce( function (a, b) {
|
||||
return intVal(a) + intVal(b);
|
||||
} ) :
|
||||
0;
|
||||
|
||||
// Update footer
|
||||
$( api.column( 4 ).footer() ).html(
|
||||
'$'+pageTotal +' ( $'+ total +' total)'
|
||||
);
|
||||
}
|
||||
} );
|
||||
$('#datatables-4').DataTable( {
|
||||
dom: 'T<"clear">lfrtip',
|
||||
tableTools: {
|
||||
"sSwfPath": "./assets/libs/jquery-datatables/extensions/TableTools/swf/copy_csv_xls_pdf.swf"
|
||||
}
|
||||
} );
|
||||
})
|
@ -1,290 +0,0 @@
|
||||
$(document).ready(function() {
|
||||
// Generate a simple captcha
|
||||
function randomNumber(min, max) {
|
||||
return Math.floor(Math.random() * (max - min + 1) + min);
|
||||
};
|
||||
$('#captchaOperation').html([randomNumber(1, 20), '+', randomNumber(1, 30), '='].join(' '));
|
||||
|
||||
|
||||
//EXAMPLE REGISTER FORM
|
||||
$('#registerForm').bootstrapValidator({
|
||||
message: 'This value is not valid',
|
||||
fields: {
|
||||
username: {
|
||||
message: 'The username is not valid',
|
||||
validators: {
|
||||
notEmpty: {
|
||||
message: 'The username is required and can\'t be empty'
|
||||
},
|
||||
stringLength: {
|
||||
min: 6,
|
||||
max: 30,
|
||||
message: 'The username must be more than 6 and less than 30 characters long'
|
||||
},
|
||||
regexp: {
|
||||
regexp: /^[a-zA-Z0-9_\.]+$/,
|
||||
message: 'The username can only consist of alphabetical, number, dot and underscore'
|
||||
},
|
||||
different: {
|
||||
field: 'password',
|
||||
message: 'The username and password can\'t be the same as each other'
|
||||
}
|
||||
}
|
||||
},
|
||||
email: {
|
||||
validators: {
|
||||
notEmpty: {
|
||||
message: 'The email address is required and can\'t be empty'
|
||||
},
|
||||
emailAddress: {
|
||||
message: 'The input is not a valid email address'
|
||||
}
|
||||
}
|
||||
},
|
||||
password: {
|
||||
validators: {
|
||||
notEmpty: {
|
||||
message: 'The password is required and can\'t be empty'
|
||||
},
|
||||
identical: {
|
||||
field: 'confirmPassword',
|
||||
message: 'The password and its confirm are not the same'
|
||||
},
|
||||
different: {
|
||||
field: 'username',
|
||||
message: 'The password can\'t be the same as username'
|
||||
}
|
||||
}
|
||||
},
|
||||
confirmPassword: {
|
||||
validators: {
|
||||
notEmpty: {
|
||||
message: 'The confirm password is required and can\'t be empty'
|
||||
},
|
||||
identical: {
|
||||
field: 'password',
|
||||
message: 'The password and its confirm are not the same'
|
||||
},
|
||||
different: {
|
||||
field: 'username',
|
||||
message: 'The password can\'t be the same as username'
|
||||
}
|
||||
}
|
||||
},
|
||||
phoneNumber: {
|
||||
validators: {
|
||||
digits: {
|
||||
message: 'The value can contain only digits'
|
||||
}
|
||||
}
|
||||
},
|
||||
acceptTerms: {
|
||||
validators: {
|
||||
notEmpty: {
|
||||
message: 'You have to accept the terms and policies'
|
||||
}
|
||||
}
|
||||
},
|
||||
captcha: {
|
||||
validators: {
|
||||
callback: {
|
||||
message: 'Wrong answer',
|
||||
callback: function(value, validator) {
|
||||
var items = $('#captchaOperation').html().split(' '), sum = parseInt(items[0]) + parseInt(items[2]);
|
||||
return value == sum;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
//EXAMPLE CONTACT FORM
|
||||
$('#contactForm').bootstrapValidator({
|
||||
message: 'This value is not valid',
|
||||
fields: {
|
||||
name: {
|
||||
message: 'Name is not valid',
|
||||
validators: {
|
||||
notEmpty: {
|
||||
message: 'Name is required and can\'t be empty'
|
||||
},
|
||||
regexp: {
|
||||
regexp: /^[a-zA-Z0-9_\.]+$/,
|
||||
message: 'Name can only consist of alphabetical, number, dot and underscore'
|
||||
}
|
||||
}
|
||||
},
|
||||
email: {
|
||||
validators: {
|
||||
notEmpty: {
|
||||
message: 'The email address is required and can\'t be empty'
|
||||
},
|
||||
emailAddress: {
|
||||
message: 'The input is not a valid email address'
|
||||
}
|
||||
}
|
||||
},
|
||||
website: {
|
||||
validators: {
|
||||
uri: {
|
||||
message: 'The input is not a valid URL'
|
||||
}
|
||||
}
|
||||
},
|
||||
Contactmessage: {
|
||||
validators: {
|
||||
notEmpty: {
|
||||
message: 'Message is required and can\'t be empty'
|
||||
},
|
||||
stringLength: {
|
||||
min: 6,
|
||||
message: 'Message must be more than 6 characters long'
|
||||
}
|
||||
}
|
||||
},
|
||||
captcha: {
|
||||
validators: {
|
||||
callback: {
|
||||
message: 'Wrong answer',
|
||||
callback: function(value, validator) {
|
||||
var items = $('#captchaOperation').html().split(' '), sum = parseInt(items[0]) + parseInt(items[2]);
|
||||
return value == sum;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
//Regular expression based validators
|
||||
$('#ExpressionValidator').bootstrapValidator({
|
||||
message: 'This value is not valid',
|
||||
fields: {
|
||||
email: {
|
||||
validators: {
|
||||
notEmpty: {
|
||||
message: 'The email address is required and can\'t be empty'
|
||||
},
|
||||
emailAddress: {
|
||||
message: 'The input is not a valid email address'
|
||||
}
|
||||
}
|
||||
},
|
||||
website: {
|
||||
validators: {
|
||||
uri: {
|
||||
message: 'The input is not a valid URL'
|
||||
}
|
||||
}
|
||||
},
|
||||
phoneNumber: {
|
||||
validators: {
|
||||
digits: {
|
||||
message: 'The value can contain only digits'
|
||||
}
|
||||
}
|
||||
},
|
||||
color: {
|
||||
validators: {
|
||||
hexColor: {
|
||||
message: 'The input is not a valid hex color'
|
||||
}
|
||||
}
|
||||
},
|
||||
zipCode: {
|
||||
validators: {
|
||||
usZipCode: {
|
||||
message: 'The input is not a valid US zip code'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
//Regular expression based validators
|
||||
$('#NotEmptyValidator').bootstrapValidator({
|
||||
message: 'This value is not valid',
|
||||
fields: {
|
||||
username: {
|
||||
message: 'The username is not valid',
|
||||
validators: {
|
||||
notEmpty: {
|
||||
message: 'The username is required and can\'t be empty'
|
||||
},
|
||||
stringLength: {
|
||||
min: 6,
|
||||
max: 30,
|
||||
message: 'The username must be more than 6 and less than 30 characters long'
|
||||
},
|
||||
regexp: {
|
||||
regexp: /^[a-zA-Z0-9_\.]+$/,
|
||||
message: 'The username can only consist of alphabetical, number, dot and underscore'
|
||||
}
|
||||
}
|
||||
},
|
||||
country: {
|
||||
validators: {
|
||||
notEmpty: {
|
||||
message: 'The country is required and can\'t be empty'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
//Regular expression based validators
|
||||
$('#IdenticalValidator').bootstrapValidator({
|
||||
message: 'This value is not valid',
|
||||
fields: {
|
||||
password: {
|
||||
validators: {
|
||||
notEmpty: {
|
||||
message: 'The password is required and can\'t be empty'
|
||||
},
|
||||
identical: {
|
||||
field: 'confirmPassword',
|
||||
message: 'The password and its confirm are not the same'
|
||||
}
|
||||
}
|
||||
},
|
||||
confirmPassword: {
|
||||
validators: {
|
||||
notEmpty: {
|
||||
message: 'The confirm password is required and can\'t be empty'
|
||||
},
|
||||
identical: {
|
||||
field: 'password',
|
||||
message: 'The password and its confirm are not the same'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
//Regular expression based validators
|
||||
$('#OtherValidator').bootstrapValidator({
|
||||
message: 'This value is not valid',
|
||||
fields: {
|
||||
ages: {
|
||||
validators: {
|
||||
lessThan: {
|
||||
value: 100,
|
||||
inclusive: true,
|
||||
message: 'The ages has to be less than 100'
|
||||
},
|
||||
greaterThan: {
|
||||
value: 10,
|
||||
inclusive: false,
|
||||
message: 'The ages has to be greater than or equals to 10'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
});
|
@ -1,6 +0,0 @@
|
||||
$(function() {
|
||||
$('#myWizard').easyWizard({
|
||||
buttonsClass: 'btn btn-default',
|
||||
submitButtonClass: 'btn btn-primary'
|
||||
});
|
||||
});
|
@ -1,5 +0,0 @@
|
||||
$(function() {
|
||||
$('.summernote').summernote({
|
||||
height: 500
|
||||
});
|
||||
});
|
@ -1,168 +0,0 @@
|
||||
$(function(){
|
||||
|
||||
$("#gmap-1").gmap3({
|
||||
marker:{
|
||||
latLng: [46.578498,2.457275],
|
||||
options:{
|
||||
draggable:true
|
||||
},
|
||||
events:{
|
||||
dragend: function(marker){
|
||||
$(this).gmap3({
|
||||
getaddress:{
|
||||
latLng:marker.getPosition(),
|
||||
callback:function(results){
|
||||
var map = $(this).gmap3("get"),
|
||||
infowindow = $(this).gmap3({get:"infowindow"}),
|
||||
content = results && results[1] ? results && results[1].formatted_address : "no address";
|
||||
if (infowindow){
|
||||
infowindow.open(map, marker);
|
||||
infowindow.setContent(content);
|
||||
} else {
|
||||
$(this).gmap3({
|
||||
infowindow:{
|
||||
anchor:marker,
|
||||
options:{content: content}
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
},
|
||||
map:{
|
||||
options:{
|
||||
zoom: 5
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
$("#gmap-2").gmap3({
|
||||
map:{
|
||||
options:{
|
||||
center:[46.578498,2.457275],
|
||||
zoom: 4,
|
||||
mapTypeId: google.maps.MapTypeId.TERRAIN
|
||||
}
|
||||
},
|
||||
marker:{
|
||||
values: [
|
||||
[49.28952958093682, 6.152559438984804],
|
||||
{
|
||||
latLng:[44.28952958093682, 6.152559438984804],
|
||||
options:{
|
||||
icon: "http://maps.google.com/mapfiles/marker_green.png"
|
||||
}
|
||||
},
|
||||
[49.28952958093682, -1.1501188139848408],
|
||||
{
|
||||
latLng:[44.28952958093682, -1.1501188139848408],
|
||||
events:{
|
||||
click:function(){
|
||||
alert("I'm the last one, and i have my own click event");
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
events:{ // events trigged by markers
|
||||
click: function(){
|
||||
alert("Here is the default click event");
|
||||
}
|
||||
},
|
||||
cluster:{
|
||||
radius: 100,
|
||||
0: {
|
||||
content: "<div class='cluster cluster-1'>CLUSTER_COUNT</div>",
|
||||
width: 53,
|
||||
height: 52
|
||||
},
|
||||
20: {
|
||||
content: "<div class='cluster cluster-2'>CLUSTER_COUNT</div>",
|
||||
width: 56,
|
||||
height: 55
|
||||
},
|
||||
50: {
|
||||
content: "<div class='cluster cluster-3'>CLUSTER_COUNT</div>",
|
||||
width: 66,
|
||||
height: 65
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
var fenway = new google.maps.LatLng(42.345573,-71.098326);
|
||||
$("#gmap-3").gmap3({
|
||||
map:{
|
||||
options:{
|
||||
zoom: 14,
|
||||
mapTypeId: google.maps.MapTypeId.ROADMAP,
|
||||
streetViewControl: true,
|
||||
center: fenway
|
||||
}
|
||||
},
|
||||
streetviewpanorama:{
|
||||
options:{
|
||||
container: $("#gmap-4"),
|
||||
opts:{
|
||||
position: fenway,
|
||||
pov: {
|
||||
heading: 34,
|
||||
pitch: 10,
|
||||
zoom: 1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
$("#gmap-5").gmap3({
|
||||
map:{
|
||||
address:"ISTABBUL, TURKEY",
|
||||
options:{
|
||||
zoom:4,
|
||||
mapTypeId: google.maps.MapTypeId.SATELLITE,
|
||||
mapTypeControl: true,
|
||||
mapTypeControlOptions: {
|
||||
style: google.maps.MapTypeControlStyle.DROPDOWN_MENU
|
||||
},
|
||||
navigationControl: true,
|
||||
scrollwheel: true,
|
||||
streetViewControl: true
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
$("#gmap-6").gmap3({
|
||||
map:{
|
||||
options:{
|
||||
center:[33, -111],
|
||||
zoom:10,
|
||||
mapTypeControlOptions: {
|
||||
mapTypeIds: [google.maps.MapTypeId.ROADMAP,
|
||||
google.maps.MapTypeId.SATELLITE,
|
||||
google.maps.MapTypeId.HYBRID,
|
||||
google.maps.MapTypeId.TERRAIN,
|
||||
"sectional"]
|
||||
}
|
||||
}
|
||||
},
|
||||
imagemaptype:{
|
||||
id: "sectional",
|
||||
options:{
|
||||
getTileUrl: function(coord, zoom) {
|
||||
return "http://www.fourpeaksnavigation.com/sectionals/phx" + "/" + zoom + "/" + coord.x + "/" + coord.y + ".png";
|
||||
},
|
||||
tileSize: new google.maps.Size(256, 256),
|
||||
isPng: true,
|
||||
name: "Chart",
|
||||
minZoom: 1,
|
||||
maxZoom: 111
|
||||
},
|
||||
callback: function(){
|
||||
$(this).gmap3("get").setMapTypeId("sectional");
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
@ -1,373 +0,0 @@
|
||||
var timer;
|
||||
var graph;
|
||||
var graph2;
|
||||
|
||||
$(document).ready(function(){
|
||||
$(".dial").knob();
|
||||
var cityAreaData = [
|
||||
500.70,
|
||||
410.16,
|
||||
210.69,
|
||||
120.17,
|
||||
64.31,
|
||||
150.35,
|
||||
130.22,
|
||||
120.71,
|
||||
300.32
|
||||
]
|
||||
$('#vector-map').vectorMap({
|
||||
map: 'us_aea_en',
|
||||
normalizeFunction: 'polynomial',
|
||||
zoomOnScroll:true,
|
||||
focusOn:{
|
||||
x: 0,
|
||||
y: 0,
|
||||
scale: 0.9
|
||||
},
|
||||
zoomMin:0.9,
|
||||
hoverColor: false,
|
||||
regionStyle:{
|
||||
initial: {
|
||||
fill: '#bbbbbb',
|
||||
"fill-opacity": 1,
|
||||
stroke: '#a5ded9',
|
||||
"stroke-width": 0,
|
||||
"stroke-opacity": 0
|
||||
},
|
||||
hover: {
|
||||
"fill-opacity": 0.8
|
||||
}
|
||||
},
|
||||
markerStyle: {
|
||||
initial: {
|
||||
fill: '#F57A82',
|
||||
stroke: 'rgba(230,140,110,.8)',
|
||||
"fill-opacity": 1,
|
||||
"stroke-width": 9,
|
||||
"stroke-opacity": 0.5,
|
||||
r: 3
|
||||
},
|
||||
hover: {
|
||||
stroke: 'black',
|
||||
"stroke-width": 2
|
||||
},
|
||||
selected: {
|
||||
fill: 'blue'
|
||||
},
|
||||
selectedHover: {
|
||||
}
|
||||
},
|
||||
backgroundColor: '#ffffff',
|
||||
markers :[
|
||||
|
||||
{latLng: [35.85, -77.88], name: 'Rocky Mt,NC'},
|
||||
{latLng: [32.90, -97.03], name: 'Dallas/FW,TX'},
|
||||
{latLng: [39.37, -75.07], name: 'Millville,NJ'}
|
||||
|
||||
],
|
||||
series: {
|
||||
markers: [{
|
||||
attribute: 'r',
|
||||
scale: [3, 7],
|
||||
values: cityAreaData
|
||||
}]
|
||||
}
|
||||
});
|
||||
if ("geolocation" in navigator) {
|
||||
$('.js-geolocation').show();
|
||||
} else {
|
||||
$('.js-geolocation').hide();
|
||||
}
|
||||
|
||||
/* Where in the world are you? */
|
||||
$(document).on('click', '.js-geolocation', function() {
|
||||
navigator.geolocation.getCurrentPosition(function(position) {
|
||||
loadWeather(position.coords.latitude+','+position.coords.longitude); //load weather using your lat/lng coordinates
|
||||
});
|
||||
});
|
||||
|
||||
resizefunc.push("reload_charts");
|
||||
//$(".content-page").resize(debounce(reload_charts,100));
|
||||
|
||||
load_charts();
|
||||
loadWeather('Seattle','');
|
||||
monthNames = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"];
|
||||
dayNames = ["S", "M", "T", "W", "T", "F", "S"];
|
||||
|
||||
var cTime = new Date(), month = cTime.getMonth()+1, year = cTime.getFullYear();
|
||||
|
||||
var events = [
|
||||
{
|
||||
"date": "4/"+month+"/"+year,
|
||||
"title": 'Meet a friend',
|
||||
"link": 'javascript:;',
|
||||
"color": 'rgba(255,255,255,0.2)',
|
||||
"content": 'Contents here'
|
||||
},
|
||||
{
|
||||
"date": "7/"+month+"/"+year,
|
||||
"title": 'Kick off meeting!',
|
||||
"link": 'javascript:;',
|
||||
"color": 'rgba(255,255,255,0.2)',
|
||||
"content": 'Have a kick off meeting with .inc company'
|
||||
},
|
||||
{
|
||||
"date": "19/"+month+"/"+year,
|
||||
"title": 'Link to Google',
|
||||
"link": 'http://www.google.com',
|
||||
"color": 'rgba(255,255,255,0.2)',
|
||||
}
|
||||
];
|
||||
|
||||
$('#calendar-box2').bic_calendar({
|
||||
events: events,
|
||||
dayNames: dayNames,
|
||||
monthNames: monthNames,
|
||||
showDays: true,
|
||||
displayMonthController: true,
|
||||
displayYearController: false,
|
||||
popoverOptions:{
|
||||
placement: 'top',
|
||||
trigger: 'hover',
|
||||
html: true
|
||||
},
|
||||
tooltipOptions:{
|
||||
placement: 'top',
|
||||
html: true
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
function loadWeather(location, woeid) {
|
||||
$.simpleWeather({
|
||||
location: location,
|
||||
woeid: woeid,
|
||||
unit: 'c',
|
||||
success: function(weather) {
|
||||
html = '<h2><i class="wicon-'+weather.code+'"></i> '+weather.temp+'°'+weather.units.temp+' <span class="w-temp2">/ '+weather.tempAlt+'°F</span></h2>';
|
||||
html += '<span class="w-region">'+weather.city+', '+weather.region+'</li>';
|
||||
html += '<span class="w-currently">'+weather.currently+'</span>';
|
||||
html += '';
|
||||
|
||||
$("#weather").html(html);
|
||||
},
|
||||
error: function(error) {
|
||||
$("#weather").html('<p>'+error+'</p>');
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function reload_charts(){
|
||||
graph.configure({
|
||||
width: $("#home-chart-3").width()
|
||||
});
|
||||
graph.render();
|
||||
|
||||
graph2.configure({
|
||||
width: $("#home-chart-2").width()
|
||||
});
|
||||
graph2.render();
|
||||
window.morris1.redraw();
|
||||
window.morris2.redraw();
|
||||
}
|
||||
|
||||
function load_charts(){
|
||||
//MORRIS
|
||||
|
||||
window.morris1 = Morris.Bar({
|
||||
element: 'morris-bar-home',
|
||||
data: [
|
||||
{ y: 'Indonesia', a: 952},
|
||||
{ y: 'India', a: 985},
|
||||
{ y: 'Malaysia', a: 955},
|
||||
{ y: 'China', a: 785 },
|
||||
{ y: 'Philipina', a: 700 },
|
||||
{ y: 'Autralia', a: 601 },
|
||||
{ y: 'United Kingdom', a: 421 },
|
||||
{ y: 'United States', a: 725 },
|
||||
{ y: 'Taiwan', a: 350 },
|
||||
{ y: 'New Zealand', a: 120 },
|
||||
{ y: 'Singapore', a: 124}
|
||||
],
|
||||
xkey: 'y',
|
||||
ykeys: ['a'],
|
||||
redraw: true,
|
||||
labels: ['Visitor'],
|
||||
resize: true,
|
||||
barColors: ['#45B29D'],
|
||||
gridTextColor: ['#777'],
|
||||
gridTextSize: 11,
|
||||
hideHover: 'auto',
|
||||
grid :false
|
||||
});
|
||||
|
||||
//MORRIS
|
||||
window.morris2 = Morris.Area({
|
||||
element: 'morris-home',
|
||||
padding: 10,
|
||||
behaveLikeLine: true,
|
||||
gridEnabled: false,
|
||||
gridLineColor: '#dddddd',
|
||||
axes: true,
|
||||
resize: true,
|
||||
smooth:true,
|
||||
pointSize: 0,
|
||||
lineWidth: 0,
|
||||
fillOpacity:0.85,
|
||||
data: [
|
||||
{period: '2010 Q1', iphone: 4666, ipad: 3666, itouch: 2666},
|
||||
{period: '2010 Q2', iphone: 4441, ipad: 3441, itouch: 2441},
|
||||
{period: '2010 Q3', iphone: 6501, ipad: 4501, itouch: 2501},
|
||||
{period: '2010 Q4', iphone: 7689, ipad: 6689, itouch: 5689},
|
||||
{period: '2011 Q1', iphone: 4293, ipad: 3293, itouch: 2293},
|
||||
{period: '2011 Q2', iphone: 5881, ipad: 3881, itouch: 1881},
|
||||
{period: '2011 Q3', iphone: 5588, ipad: 3588, itouch: 1588},
|
||||
{period: '2011 Q4', iphone: 15073, ipad: 8967, itouch: 5175},
|
||||
{period: '2012 Q1', iphone: 10687, ipad: 4460, itouch: 2028},
|
||||
{period: '2012 Q2', iphone: 12432, ipad: 5713, itouch: 3791}
|
||||
],
|
||||
lineColors:['#869d9d','#EFC94C','#45B29D'],
|
||||
xkey: 'period',
|
||||
redraw: true,
|
||||
ykeys: ['iphone', 'ipad', 'itouch'],
|
||||
labels: ['All Visitors', 'Returning Visitors', 'Unique Visitors'],
|
||||
hideHover: 'auto'
|
||||
|
||||
});
|
||||
/*
|
||||
Morris.Donut({
|
||||
element: 'morris-donut',
|
||||
data: [
|
||||
{label: "Download Sales", value: 12},
|
||||
{label: "In-Store Sales", value: 30},
|
||||
{label: "Mail-Order Sales", value: 20}
|
||||
]
|
||||
});
|
||||
*/
|
||||
var seriesData = [ [], [], []];
|
||||
var random = new Rickshaw.Fixtures.RandomData(50);
|
||||
|
||||
for (var i = 0; i < 40; i++) {
|
||||
random.addData(seriesData);
|
||||
}
|
||||
|
||||
graph = new Rickshaw.Graph( {
|
||||
element: document.querySelector("#home-chart-3"),
|
||||
height: 150,
|
||||
renderer: 'line',
|
||||
interpolation: 'linear',
|
||||
series: [
|
||||
{
|
||||
data: seriesData[0],
|
||||
color: 'rgba(0,0,0,0.4)',
|
||||
name:'S&P'
|
||||
},{
|
||||
data: seriesData[1],
|
||||
color: 'rgba(0,0,0,0.3)',
|
||||
name:'Dow jones'
|
||||
},{
|
||||
data: seriesData[2],
|
||||
color: 'rgba(0,0,0,0.2)',
|
||||
name:'Nasdaq'
|
||||
}
|
||||
]
|
||||
} );
|
||||
var hoverDetail = new Rickshaw.Graph.HoverDetail({
|
||||
graph: graph
|
||||
});
|
||||
|
||||
graph.render();
|
||||
|
||||
setInterval( function() {
|
||||
random.removeData(seriesData);
|
||||
random.addData(seriesData);
|
||||
for (lastitem in seriesData[0]);
|
||||
var cur = parseInt($("#sp-status").text());
|
||||
|
||||
if(cur > seriesData[0][lastitem].y.toFixed(2)){
|
||||
$("#sp-status").addClass("text-danger").html("<i class='fa fa-caret-down'></i> "+seriesData[0][lastitem].y.toFixed(2));
|
||||
}else{
|
||||
$("#sp-status").removeClass("text-danger").html("<i class='fa fa-caret-up'></i> "+seriesData[0][lastitem].y.toFixed(2));
|
||||
}
|
||||
for (lastitem in seriesData[1]);
|
||||
var cur = parseInt($("#dow-status").text());
|
||||
|
||||
if(cur > seriesData[1][lastitem].y.toFixed(2)){
|
||||
$("#dow-status").addClass("text-danger").html("<i class='fa fa-caret-down'></i> "+seriesData[1][lastitem].y.toFixed(2));
|
||||
}else{
|
||||
$("#dow-status").removeClass("text-danger").html("<i class='fa fa-caret-up'></i> "+seriesData[1][lastitem].y.toFixed(2));
|
||||
}
|
||||
for (lastitem in seriesData[2]);
|
||||
var cur = parseInt($("#nasdaq-status").text());
|
||||
|
||||
if(cur > seriesData[2][lastitem].y.toFixed(2)){
|
||||
$("#nasdaq-status").addClass("text-danger").html("<i class='fa fa-caret-down'></i> "+seriesData[2][lastitem].y.toFixed(2));
|
||||
}else{
|
||||
$("#nasdaq-status").removeClass("text-danger").html("<i class='fa fa-caret-up'></i> "+seriesData[2][lastitem].y.toFixed(2));
|
||||
}
|
||||
graph.update();
|
||||
|
||||
},5000);
|
||||
|
||||
var seriesData2 = [ [], []];
|
||||
var random2 = new Rickshaw.Fixtures.RandomData(50);
|
||||
|
||||
for (var i = 0; i < 50; i++) {
|
||||
random2.addData(seriesData2);
|
||||
}
|
||||
graph2 = new Rickshaw.Graph( {
|
||||
element: document.querySelector("#home-chart-2"),
|
||||
height: 150,
|
||||
interpolation: 'linear',
|
||||
renderer: 'area',
|
||||
series: [
|
||||
{
|
||||
data: seriesData2[0],
|
||||
color: 'rgba(255,255,255,0.3)',
|
||||
name:'Web Server'
|
||||
},{
|
||||
data: seriesData2[1],
|
||||
color: 'rgba(255,255,255,0.1)',
|
||||
name:'Database Server'
|
||||
}
|
||||
]
|
||||
} );
|
||||
var hoverDetail = new Rickshaw.Graph.HoverDetail( {
|
||||
graph: graph2
|
||||
});
|
||||
|
||||
graph2.render();
|
||||
clearInterval(timer);
|
||||
timer = setInterval( function() {
|
||||
random2.removeData(seriesData2);
|
||||
random2.addData(seriesData2);
|
||||
for (lastitem in seriesData2[0]);
|
||||
$('.ws-load').data('easyPieChart').update(seriesData2[0][lastitem].y);
|
||||
//for (lastitem in seriesData2[1]);
|
||||
//$('.ds-load').data('easyPieChart').update(seriesData2[1][lastitem].y);
|
||||
graph2.update();
|
||||
|
||||
},2000);
|
||||
|
||||
$('.ws-load').easyPieChart({
|
||||
animate: 1000,
|
||||
trackColor: "rgba(0,0,0,0.1)",
|
||||
barColor: "#68C39F",
|
||||
scaleColor: false,
|
||||
size: 90,
|
||||
onStep: function(from, to, percent) {
|
||||
$(this.el).find('.percent').text(Math.round(percent));
|
||||
}
|
||||
});
|
||||
/*$('.ds-load').easyPieChart({
|
||||
animate: 1000,
|
||||
scaleColor: false,
|
||||
trackColor: "rgba(0,0,0,0.1)",
|
||||
barColor: "#68C39F",
|
||||
size: 50,
|
||||
onStep: function(from, to, percent) {
|
||||
$(this.el).find('.percent').text(Math.round(percent));
|
||||
}
|
||||
});*/
|
||||
}
|
||||
//http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20csv%20where%20url%3D%27http%3A%2F%2Fdownload.finance.yahoo.com%2Fd%2Fquotes.csv%3Fs%3dDOW%2CNASDAQ%2CSP%26f%3Dsl1d1t1c1ohgv%26e%3D.csv%27%20and%20columns%3D%27symbol%2Cprice%2Cdate%2Ctime%2Cchange%2Ccol1%2Chigh%2Clow%2Ccol2%27&format=json&diagnostics=true&callback=
|
@ -1,378 +0,0 @@
|
||||
var timer;
|
||||
var graph;
|
||||
var graph2;
|
||||
|
||||
$(document).ready(function(){
|
||||
$(".dial").knob();
|
||||
var cityAreaData = [
|
||||
500.70,
|
||||
410.16,
|
||||
210.69,
|
||||
120.17,
|
||||
64.31,
|
||||
150.35,
|
||||
130.22,
|
||||
120.71,
|
||||
300.32
|
||||
]
|
||||
$('#vector-map').vectorMap({
|
||||
map: 'world_mill_en',
|
||||
normalizeFunction: 'polynomial',
|
||||
zoomOnScroll:true,
|
||||
focusOn:{
|
||||
x: 0,
|
||||
y: 0,
|
||||
scale: 0.9
|
||||
},
|
||||
zoomMin:0.9,
|
||||
hoverColor: false,
|
||||
regionStyle:{
|
||||
initial: {
|
||||
fill: '#bbbbbb',
|
||||
"fill-opacity": 1,
|
||||
stroke: '#a5ded9',
|
||||
"stroke-width": 0,
|
||||
"stroke-opacity": 0
|
||||
},
|
||||
hover: {
|
||||
"fill-opacity": 0.8
|
||||
}
|
||||
},
|
||||
markerStyle: {
|
||||
initial: {
|
||||
fill: '#F57A82',
|
||||
stroke: 'rgba(230,140,110,.8)',
|
||||
"fill-opacity": 1,
|
||||
"stroke-width": 9,
|
||||
"stroke-opacity": 0.5,
|
||||
r: 3
|
||||
},
|
||||
hover: {
|
||||
stroke: 'black',
|
||||
"stroke-width": 2
|
||||
},
|
||||
selected: {
|
||||
fill: 'blue'
|
||||
},
|
||||
selectedHover: {
|
||||
}
|
||||
},
|
||||
backgroundColor: '#ffffff',
|
||||
markers :[
|
||||
|
||||
{latLng: [35.85, -77.88], name: 'Rocky Mt,NC'},
|
||||
{latLng: [32.90, -97.03], name: 'Dallas/FW,TX'},
|
||||
{latLng: [41.00, 28.96], name: 'Istanbul, TR'},
|
||||
{latLng: [39.37, -75.07], name: 'Millville,NJ'}
|
||||
|
||||
],
|
||||
series: {
|
||||
markers: [{
|
||||
attribute: 'r',
|
||||
scale: [3, 7],
|
||||
values: cityAreaData
|
||||
}]
|
||||
}
|
||||
});
|
||||
if ("geolocation" in navigator) {
|
||||
$('.js-geolocation').show();
|
||||
} else {
|
||||
$('.js-geolocation').hide();
|
||||
}
|
||||
|
||||
/* Where in the world are you? */
|
||||
$(document).on('click', '.js-geolocation', function() {
|
||||
navigator.geolocation.getCurrentPosition(function(position) {
|
||||
loadWeather(position.coords.latitude+','+position.coords.longitude); //load weather using your lat/lng coordinates
|
||||
});
|
||||
});
|
||||
|
||||
resizefunc.push("reload_charts");
|
||||
//$(".content-page").resize(debounce(reload_charts,100));
|
||||
|
||||
load_charts();
|
||||
loadWeather('Seattle','');
|
||||
monthNames = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"];
|
||||
dayNames = ["S", "M", "T", "W", "T", "F", "S"];
|
||||
|
||||
var cTime = new Date(), month = cTime.getMonth()+1, year = cTime.getFullYear();
|
||||
|
||||
var events = [
|
||||
{
|
||||
"date": "4/"+month+"/"+year,
|
||||
"title": 'Meet a friend',
|
||||
"link": 'javascript:;',
|
||||
"color": 'rgba(255,255,255,0.2)',
|
||||
"content": 'Contents here'
|
||||
},
|
||||
{
|
||||
"date": "7/"+month+"/"+year,
|
||||
"title": 'Kick off meeting!',
|
||||
"link": 'javascript:;',
|
||||
"color": 'rgba(255,255,255,0.2)',
|
||||
"content": 'Have a kick off meeting with .inc company'
|
||||
},
|
||||
{
|
||||
"date": "19/"+month+"/"+year,
|
||||
"title": 'Link to Google',
|
||||
"link": 'http://www.google.com',
|
||||
"color": 'rgba(255,255,255,0.2)',
|
||||
}
|
||||
];
|
||||
|
||||
$('#calendar-box2').bic_calendar({
|
||||
events: events,
|
||||
dayNames: dayNames,
|
||||
monthNames: monthNames,
|
||||
showDays: true,
|
||||
displayMonthController: true,
|
||||
displayYearController: false,
|
||||
popoverOptions:{
|
||||
placement: 'top',
|
||||
trigger: 'hover',
|
||||
html: true
|
||||
},
|
||||
tooltipOptions:{
|
||||
placement: 'top',
|
||||
html: true
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
function loadWeather(location, woeid) {
|
||||
$.simpleWeather({
|
||||
location: location,
|
||||
woeid: woeid,
|
||||
unit: 'c',
|
||||
success: function(weather) {
|
||||
html = '<h2><i class="wicon-'+weather.code+'"></i> '+weather.temp+'°'+weather.units.temp+' <span class="w-temp2">/ '+weather.tempAlt+'°F</span></h2>';
|
||||
html += '<span class="w-region">'+weather.city+', '+weather.region+'</li>';
|
||||
html += '<span class="w-currently">'+weather.currently+'</span>';
|
||||
html += '';
|
||||
|
||||
$("#weather").html(html);
|
||||
},
|
||||
error: function(error) {
|
||||
$("#weather").html('<p>'+error+'</p>');
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function reload_charts(){
|
||||
graph.configure({
|
||||
width: $("#home-chart-3").width()
|
||||
});
|
||||
graph.render();
|
||||
|
||||
graph2.configure({
|
||||
width: $("#home-chart-2").width()
|
||||
});
|
||||
graph2.render();
|
||||
window.morris1.redraw();
|
||||
window.morris2.redraw();
|
||||
}
|
||||
|
||||
function load_charts(){
|
||||
//MORRIS
|
||||
|
||||
window.morris1 = Morris.Bar({
|
||||
element: 'morris-bar-home',
|
||||
data: [
|
||||
{ y: 'Indonesia', a: 952},
|
||||
{ y: 'India', a: 985},
|
||||
{ y: 'Malaysia', a: 955},
|
||||
{ y: 'China', a: 785 },
|
||||
{ y: 'Philipina', a: 700 },
|
||||
{ y: 'Autralia', a: 601 },
|
||||
{ y: 'United Kingdom', a: 421 },
|
||||
{ y: 'United States', a: 725 },
|
||||
{ y: 'Taiwan', a: 350 },
|
||||
{ y: 'New Zealand', a: 120 },
|
||||
{ y: 'Singapore', a: 124}
|
||||
],
|
||||
xkey: 'y',
|
||||
ykeys: ['a'],
|
||||
redraw: true,
|
||||
labels: ['Visitor'],
|
||||
resize: true,
|
||||
barColors: ['#45B29D'],
|
||||
gridTextColor: ['#777'],
|
||||
gridTextSize: 11,
|
||||
hideHover: 'auto',
|
||||
grid :false
|
||||
});
|
||||
|
||||
//MORRIS
|
||||
window.morris2 = Morris.Line({
|
||||
element: 'morris-home',
|
||||
padding: 20,
|
||||
behaveLikeLine: true,
|
||||
gridEnabled: false,
|
||||
gridLineColor: '#dddddd',
|
||||
axes: true,
|
||||
resize: true,
|
||||
smooth:false,
|
||||
pointSize: 3,
|
||||
lineWidth: 2,
|
||||
fillOpacity:0.85,
|
||||
data: [
|
||||
{period: '2009 Q1', iphone: 4666, ipad: 3666, itouch: 2666},
|
||||
{period: '2009 Q2', iphone: 4441, ipad: 3441, itouch: 2441},
|
||||
{period: '2009 Q3', iphone: 16501, ipad: 14501, itouch: 12501},
|
||||
{period: '2009 Q4', iphone: 7689, ipad: 6689, itouch: 5689},
|
||||
{period: '2010 Q1', iphone: 4666, ipad: 3666, itouch: 2666},
|
||||
{period: '2010 Q2', iphone: 4441, ipad: 3441, itouch: 2441},
|
||||
{period: '2010 Q3', iphone: 6501, ipad: 4501, itouch: 2501},
|
||||
{period: '2010 Q4', iphone: 7689, ipad: 6689, itouch: 5689},
|
||||
{period: '2011 Q1', iphone: 2293, ipad: 1293, itouch: 293},
|
||||
{period: '2011 Q2', iphone: 5881, ipad: 3881, itouch: 1881},
|
||||
{period: '2011 Q3', iphone: 5588, ipad: 3588, itouch: 1588},
|
||||
{period: '2011 Q4', iphone: 15073, ipad: 8967, itouch: 5175},
|
||||
{period: '2012 Q1', iphone: 10687, ipad: 4460, itouch: 2028},
|
||||
{period: '2012 Q2', iphone: 12432, ipad: 5713, itouch: 3791}
|
||||
],
|
||||
lineColors:['#abb7b7','#ABC8E2','#183152'],
|
||||
xkey: 'period',
|
||||
redraw: true,
|
||||
ykeys: ['iphone', 'ipad'],
|
||||
labels: ['All Visitors', 'Returning Visitors'],
|
||||
hideHover: 'auto'
|
||||
|
||||
});
|
||||
/*
|
||||
Morris.Donut({
|
||||
element: 'morris-donut',
|
||||
data: [
|
||||
{label: "Download Sales", value: 12},
|
||||
{label: "In-Store Sales", value: 30},
|
||||
{label: "Mail-Order Sales", value: 20}
|
||||
]
|
||||
});
|
||||
*/
|
||||
var seriesData = [ [], [], []];
|
||||
var random = new Rickshaw.Fixtures.RandomData(50);
|
||||
|
||||
for (var i = 0; i < 40; i++) {
|
||||
random.addData(seriesData);
|
||||
}
|
||||
|
||||
graph = new Rickshaw.Graph( {
|
||||
element: document.querySelector("#home-chart-3"),
|
||||
height: 150,
|
||||
renderer: 'line',
|
||||
interpolation: 'linear',
|
||||
series: [
|
||||
{
|
||||
data: seriesData[0],
|
||||
color: 'rgba(0,0,0,0.4)',
|
||||
name:'S&P'
|
||||
},{
|
||||
data: seriesData[1],
|
||||
color: 'rgba(0,0,0,0.3)',
|
||||
name:'Dow jones'
|
||||
},{
|
||||
data: seriesData[2],
|
||||
color: 'rgba(0,0,0,0.2)',
|
||||
name:'Nasdaq'
|
||||
}
|
||||
]
|
||||
} );
|
||||
var hoverDetail = new Rickshaw.Graph.HoverDetail({
|
||||
graph: graph
|
||||
});
|
||||
|
||||
graph.render();
|
||||
|
||||
setInterval( function() {
|
||||
random.removeData(seriesData);
|
||||
random.addData(seriesData);
|
||||
for (lastitem in seriesData[0]);
|
||||
var cur = parseInt($("#sp-status").text());
|
||||
|
||||
if(cur > seriesData[0][lastitem].y.toFixed(2)){
|
||||
$("#sp-status").addClass("text-danger").html("<i class='fa fa-caret-down'></i> "+seriesData[0][lastitem].y.toFixed(2));
|
||||
}else{
|
||||
$("#sp-status").removeClass("text-danger").html("<i class='fa fa-caret-up'></i> "+seriesData[0][lastitem].y.toFixed(2));
|
||||
}
|
||||
for (lastitem in seriesData[1]);
|
||||
var cur = parseInt($("#dow-status").text());
|
||||
|
||||
if(cur > seriesData[1][lastitem].y.toFixed(2)){
|
||||
$("#dow-status").addClass("text-danger").html("<i class='fa fa-caret-down'></i> "+seriesData[1][lastitem].y.toFixed(2));
|
||||
}else{
|
||||
$("#dow-status").removeClass("text-danger").html("<i class='fa fa-caret-up'></i> "+seriesData[1][lastitem].y.toFixed(2));
|
||||
}
|
||||
for (lastitem in seriesData[2]);
|
||||
var cur = parseInt($("#nasdaq-status").text());
|
||||
|
||||
if(cur > seriesData[2][lastitem].y.toFixed(2)){
|
||||
$("#nasdaq-status").addClass("text-danger").html("<i class='fa fa-caret-down'></i> "+seriesData[2][lastitem].y.toFixed(2));
|
||||
}else{
|
||||
$("#nasdaq-status").removeClass("text-danger").html("<i class='fa fa-caret-up'></i> "+seriesData[2][lastitem].y.toFixed(2));
|
||||
}
|
||||
graph.update();
|
||||
|
||||
},5000);
|
||||
|
||||
var seriesData2 = [ [], []];
|
||||
var random2 = new Rickshaw.Fixtures.RandomData(50);
|
||||
|
||||
for (var i = 0; i < 50; i++) {
|
||||
random2.addData(seriesData2);
|
||||
}
|
||||
graph2 = new Rickshaw.Graph( {
|
||||
element: document.querySelector("#home-chart-2"),
|
||||
height: 254,
|
||||
interpolation: 'linear',
|
||||
renderer: 'area',
|
||||
series: [
|
||||
{
|
||||
data: seriesData2[0],
|
||||
color: 'rgba(255,255,255,0.3)',
|
||||
name:'Web Server'
|
||||
},{
|
||||
data: seriesData2[1],
|
||||
color: 'rgba(255,255,255,0.1)',
|
||||
name:'Database Server'
|
||||
}
|
||||
]
|
||||
} );
|
||||
var hoverDetail = new Rickshaw.Graph.HoverDetail( {
|
||||
graph: graph2
|
||||
});
|
||||
|
||||
graph2.render();
|
||||
clearInterval(timer);
|
||||
timer = setInterval( function() {
|
||||
random2.removeData(seriesData2);
|
||||
random2.addData(seriesData2);
|
||||
for (lastitem in seriesData2[0]);
|
||||
$('.ws-load').data('easyPieChart').update(seriesData2[0][lastitem].y);
|
||||
//for (lastitem in seriesData2[1]);
|
||||
//$('.ds-load').data('easyPieChart').update(seriesData2[1][lastitem].y);
|
||||
graph2.update();
|
||||
|
||||
},2000);
|
||||
|
||||
$('.ws-load').easyPieChart({
|
||||
animate: 1000,
|
||||
trackColor: "rgba(0,0,0,0.1)",
|
||||
barColor: "#68C39F",
|
||||
scaleColor: false,
|
||||
size: 90,
|
||||
onStep: function(from, to, percent) {
|
||||
$(this.el).find('.percent').text(Math.round(percent));
|
||||
}
|
||||
});
|
||||
/*$('.ds-load').easyPieChart({
|
||||
animate: 1000,
|
||||
scaleColor: false,
|
||||
trackColor: "rgba(0,0,0,0.1)",
|
||||
barColor: "#68C39F",
|
||||
size: 50,
|
||||
onStep: function(from, to, percent) {
|
||||
$(this.el).find('.percent').text(Math.round(percent));
|
||||
}
|
||||
});*/
|
||||
}
|
||||
//http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20csv%20where%20url%3D%27http%3A%2F%2Fdownload.finance.yahoo.com%2Fd%2Fquotes.csv%3Fs%3dDOW%2CNASDAQ%2CSP%26f%3Dsl1d1t1c1ohgv%26e%3D.csv%27%20and%20columns%3D%27symbol%2Cprice%2Cdate%2Ctime%2Cchange%2Ccol1%2Chigh%2Clow%2Ccol2%27&format=json&diagnostics=true&callback=
|
@ -1,8 +0,0 @@
|
||||
$(function(){
|
||||
resizefunc.push("arrangesizeLockscreen");
|
||||
$(".lock-page .login-wrap").addClass("animated flipInX");
|
||||
});
|
||||
|
||||
function arrangesizeLockscreen(){
|
||||
$(".lock-page").height($(window).height());
|
||||
}
|
@ -1,61 +0,0 @@
|
||||
$(function(){
|
||||
Morris.Line({
|
||||
element: 'line-example',
|
||||
resize: true,
|
||||
data: [
|
||||
{ y: '2006', a: 100, b: 90 },
|
||||
{ y: '2007', a: 75, b: 65 },
|
||||
{ y: '2008', a: 50, b: 40 },
|
||||
{ y: '2009', a: 75, b: 65 },
|
||||
{ y: '2010', a: 50, b: 40 },
|
||||
{ y: '2011', a: 75, b: 65 },
|
||||
{ y: '2012', a: 100, b: 90 }
|
||||
],
|
||||
xkey: 'y',
|
||||
ykeys: ['a', 'b'],
|
||||
labels: ['Series A', 'Series B']
|
||||
});
|
||||
|
||||
Morris.Area({
|
||||
element: 'area-example',
|
||||
resize: true,
|
||||
data: [
|
||||
{ y: '2006', a: 100, b: 90 },
|
||||
{ y: '2007', a: 75, b: 65 },
|
||||
{ y: '2008', a: 50, b: 40 },
|
||||
{ y: '2009', a: 75, b: 65 },
|
||||
{ y: '2010', a: 50, b: 40 },
|
||||
{ y: '2011', a: 75, b: 65 },
|
||||
{ y: '2012', a: 100, b: 90 }
|
||||
],
|
||||
xkey: 'y',
|
||||
ykeys: ['a', 'b'],
|
||||
labels: ['Series A', 'Series B']
|
||||
});
|
||||
|
||||
Morris.Bar({
|
||||
element: 'bar-example',
|
||||
resize: true,
|
||||
data: [
|
||||
{ y: '2007', a: 75, b: 65 },
|
||||
{ y: '2008', a: 50, b: 40 },
|
||||
{ y: '2009', a: 75, b: 65 },
|
||||
{ y: '2010', a: 50, b: 40 },
|
||||
{ y: '2011', a: 75, b: 65 }
|
||||
],
|
||||
xkey: 'y',
|
||||
ykeys: ['a', 'b'],
|
||||
labels: ['Series A', 'Series B']
|
||||
});
|
||||
|
||||
Morris.Donut({
|
||||
element: 'donut-example',
|
||||
resize: true,
|
||||
data: [
|
||||
{label: "Download Sales", value: 12},
|
||||
{label: "In-Store Sales", value: 30},
|
||||
{label: "Mail-Order Sales", value: 20}
|
||||
]
|
||||
});
|
||||
|
||||
});
|
@ -1,22 +0,0 @@
|
||||
var output;
|
||||
$(document).ready(function(){
|
||||
var updateOutput = function(e)
|
||||
{
|
||||
var list = e.length ? e : $(e.target),
|
||||
output = list.data('output');
|
||||
if (window.JSON) {
|
||||
output.val(window.JSON.stringify(list.nestable('serialize')));//, null, 2));
|
||||
} else {
|
||||
output.val('JSON browser support required for this demo.');
|
||||
}
|
||||
};
|
||||
|
||||
// activate Nestable for list 1
|
||||
$('#nestable').nestable({
|
||||
group: 1
|
||||
}).on('change', updateOutput);
|
||||
|
||||
$('#nestable2').nestable().on('change', updateOutput);
|
||||
updateOutput($('#nestable').data('output', $('#nestable-output')));
|
||||
updateOutput($('#nestable2').data('output', $('#nestable2-output')));
|
||||
})
|
@ -1,11 +0,0 @@
|
||||
$(function(){
|
||||
$('.summernote-small').summernote({
|
||||
toolbar: [
|
||||
['style', ['bold', 'italic', 'underline', 'clear']],
|
||||
['fontsize', ['fontsize']],
|
||||
['color', ['color']],
|
||||
['para', ['ul', 'ol', 'paragraph']]
|
||||
],
|
||||
height: 200
|
||||
});
|
||||
});
|
@ -1,101 +0,0 @@
|
||||
function notify(style,position) {
|
||||
if(style == "error"){
|
||||
icon = "fa fa-exclamation";
|
||||
}else if(style == "warning"){
|
||||
icon = "fa fa-warning";
|
||||
}else if(style == "success"){
|
||||
icon = "fa fa-check";
|
||||
}else if(style == "info"){
|
||||
icon = "fa fa-question";
|
||||
}else{
|
||||
icon = "fa fa-circle-o";
|
||||
}
|
||||
$.notify({
|
||||
title: 'Sample Notification',
|
||||
text: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas vitae orci ut dolor scelerisque aliquam.',
|
||||
image: "<i class='"+icon+"'></i>"
|
||||
}, {
|
||||
style: 'metro',
|
||||
className: style,
|
||||
globalPosition:position,
|
||||
showAnimation: "show",
|
||||
showDuration: 0,
|
||||
hideDuration: 0,
|
||||
autoHide: false,
|
||||
clickToHide: true
|
||||
});
|
||||
}
|
||||
|
||||
function notify2(style,position) {
|
||||
$(".autohidebut").notify({
|
||||
text: '<i class="fa fa-comment-o"></i> Hi buddy. I\'m here!'
|
||||
}, {
|
||||
style: 'metro',
|
||||
className: 'nonspaced',
|
||||
elementPosition:position,
|
||||
showAnimation: "show",
|
||||
showDuration: 0,
|
||||
hideDuration: 0,
|
||||
autoHide: false,
|
||||
clickToHide: true
|
||||
});
|
||||
}
|
||||
|
||||
function autohidenotify(style,position) {
|
||||
if(style == "error"){
|
||||
icon = "fa fa-exclamation";
|
||||
}else if(style == "warning"){
|
||||
icon = "fa fa-warning";
|
||||
}else if(style == "success"){
|
||||
icon = "fa fa-check";
|
||||
}else if(style == "info"){
|
||||
icon = "fa fa-question";
|
||||
}else{
|
||||
icon = "fa fa-circle-o";
|
||||
}
|
||||
$.notify({
|
||||
title: 'I will be closed in 3 seconds...',
|
||||
text: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas vitae orci ut dolor scelerisque aliquam.',
|
||||
image: "<i class='fa fa-warning'></i>"
|
||||
}, {
|
||||
style: 'metro',
|
||||
className: style,
|
||||
globalPosition:position,
|
||||
showAnimation: "show",
|
||||
showDuration: 0,
|
||||
hideDuration: 0,
|
||||
autoHideDelay: 3000,
|
||||
autoHide: true,
|
||||
clickToHide: true
|
||||
});
|
||||
}
|
||||
|
||||
function nconfirm() {
|
||||
$.notify({
|
||||
title: 'Are you nuts?!',
|
||||
text: 'Are you sure you want to do nothing?<div class="clearfix"></div><br><a class="btn btn-sm btn-default yes">Yes</a> <a class="btn btn-sm btn-danger no">No</a>',
|
||||
image: "<i class='fa fa-warning'></i>"
|
||||
}, {
|
||||
style: 'metro',
|
||||
className: "cool",
|
||||
showAnimation: "show",
|
||||
showDuration: 0,
|
||||
hideDuration: 0,
|
||||
autoHide: false,
|
||||
clickToHide: false
|
||||
});
|
||||
}
|
||||
|
||||
$(function(){
|
||||
//listen for click events from this style
|
||||
$(document).on('click', '.notifyjs-metro-base .no', function() {
|
||||
//programmatically trigger propogating hide event
|
||||
$(this).trigger('notify-hide');
|
||||
});
|
||||
$(document).on('click', '.notifyjs-metro-base .yes', function() {
|
||||
//show button text
|
||||
alert($(this).text() + " clicked!");
|
||||
//hide notification
|
||||
$(this).trigger('notify-hide');
|
||||
});
|
||||
})
|
@ -1,25 +0,0 @@
|
||||
var initCharts = function() {
|
||||
var charts = $('.percentage');
|
||||
charts.easyPieChart({
|
||||
animate: 1000,
|
||||
lineWidth: 5,
|
||||
barColor: "#eb5055",
|
||||
lineCap: "butt",
|
||||
size: "150",
|
||||
scaleColor: "transparent",
|
||||
onStep: function(from, to, percent) {
|
||||
$(this.el).find('.cpercent').text(Math.round(percent));
|
||||
}
|
||||
});
|
||||
$('.updatePieCharts').on('click', function(e) {
|
||||
e.preventDefault();
|
||||
charts.each(function() {
|
||||
$(this).data('easyPieChart').update(Math.floor(100*Math.random()));
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
$(function(){
|
||||
$(".knob").knob();
|
||||
initCharts();
|
||||
})
|
@ -1,131 +0,0 @@
|
||||
$(function(){
|
||||
// Initiate graphs right after interface loaded
|
||||
rungraphs();
|
||||
|
||||
});
|
||||
|
||||
function rungraphs(){
|
||||
var graph = new Rickshaw.Graph( {
|
||||
element: document.querySelector("#chart-2"),
|
||||
width: $("#chart-2").parent().width(),
|
||||
height: 235,
|
||||
renderer: 'area',
|
||||
stroke: true,
|
||||
series: [ {
|
||||
data: [ { x: 0, y: 40 }, { x: 1, y: 49 }, { x: 2, y: 38 }, { x: 3, y: 20 }, { x: 4, y: 16 } ],
|
||||
color: 'rgba(70,130,180,0.5)',
|
||||
stroke: 'rgba(0,0,0,0.15)'
|
||||
}, {
|
||||
data: [ { x: 0, y: 22 }, { x: 1, y: 25 }, { x: 2, y: 38 }, { x: 3, y: 44 }, { x: 4, y: 46 } ],
|
||||
color: 'rgba(202,226,247,0.5)',
|
||||
stroke: 'rgba(0,0,0,0.15)'
|
||||
} ]
|
||||
} );
|
||||
|
||||
graph.renderer.unstack = true;
|
||||
graph.render();
|
||||
|
||||
var graph = new Rickshaw.Graph({
|
||||
element: document.querySelector("#chart-1"),
|
||||
width: $("#chart-1").parent().width(),
|
||||
height: 235,
|
||||
renderer: 'line',
|
||||
series: [{
|
||||
data: [ { x: 0, y: 40 }, { x: 1, y: 49 }, { x: 2, y: 38 }, { x: 3, y: 30 }, { x: 4, y: 32 } ],
|
||||
color: '#4682b4'
|
||||
}, {
|
||||
data: [ { x: 0, y: 20 }, { x: 1, y: 24 }, { x: 2, y: 19 }, { x: 3, y: 15 }, { x: 4, y: 16 } ],
|
||||
color: '#9cc1e0'
|
||||
}]
|
||||
});
|
||||
graph.render();
|
||||
|
||||
var graph = new Rickshaw.Graph( {
|
||||
element: document.querySelector("#chart-3"),
|
||||
height: 235,
|
||||
renderer: 'bar',
|
||||
stack: false,
|
||||
series: [
|
||||
{
|
||||
data: [ { x: 0, y: 40 }, { x: 1, y: 49 }, { x: 2, y: 38 }, { x: 3, y: 30 }, { x: 4, y: 32 } ],
|
||||
color: '#4682b4'
|
||||
}, {
|
||||
data: [ { x: 0, y: 20 }, { x: 1, y: 24 }, { x: 2, y: 19 }, { x: 3, y: 15 }, { x: 4, y: 16 } ],
|
||||
color: '#9cc1e0'
|
||||
|
||||
} ]
|
||||
} );
|
||||
|
||||
graph.render();
|
||||
|
||||
var graph = new Rickshaw.Graph( {
|
||||
element: document.querySelector("#chart-4"),
|
||||
renderer: 'bar',
|
||||
height: 235,
|
||||
stack: true,
|
||||
series: [
|
||||
{
|
||||
data: [ { x: 0, y: 40 }, { x: 1, y: 49 }, { x: 2, y: 38 }, { x: 3, y: 30 }, { x: 4, y: 32 } ],
|
||||
color: '#4682b4'
|
||||
}, {
|
||||
data: [ { x: 0, y: 20 }, { x: 1, y: 24 }, { x: 2, y: 19 }, { x: 3, y: 15 }, { x: 4, y: 16 } ],
|
||||
color: '#9cc1e0'
|
||||
|
||||
} ]
|
||||
} );
|
||||
|
||||
graph.render();
|
||||
// set up our data series with 50 random data points
|
||||
|
||||
var seriesData = [ [], [], [] ];
|
||||
var random = new Rickshaw.Fixtures.RandomData(150);
|
||||
|
||||
for (var i = 0; i < 150; i++) {
|
||||
random.addData(seriesData);
|
||||
}
|
||||
|
||||
// instantiate our graph!
|
||||
|
||||
var graph = new Rickshaw.Graph( {
|
||||
element: document.getElementById("chart-5"),
|
||||
height: 500,
|
||||
renderer: 'line',
|
||||
series: [
|
||||
{
|
||||
color: "#6FB07F",
|
||||
data: seriesData[0],
|
||||
name: 'New York'
|
||||
}, {
|
||||
color: "#FCB03C",
|
||||
data: seriesData[1],
|
||||
name: 'London'
|
||||
}, {
|
||||
color: "#FC5B3F",
|
||||
data: seriesData[2],
|
||||
name: 'Tokyo'
|
||||
}
|
||||
]
|
||||
} );
|
||||
|
||||
graph.render();
|
||||
|
||||
var hoverDetail = new Rickshaw.Graph.HoverDetail( {
|
||||
graph: graph
|
||||
} );
|
||||
|
||||
var legend = new Rickshaw.Graph.Legend( {
|
||||
graph: graph,
|
||||
element: document.getElementById('legend')
|
||||
|
||||
} );
|
||||
|
||||
var shelving = new Rickshaw.Graph.Behavior.Series.Toggle( {
|
||||
graph: graph,
|
||||
legend: legend
|
||||
} );
|
||||
|
||||
var axes = new Rickshaw.Graph.Axis.Time( {
|
||||
graph: graph
|
||||
} );
|
||||
axes.render();
|
||||
}
|
@ -1,76 +0,0 @@
|
||||
$(function(){
|
||||
// Bar + line composite charts
|
||||
$('#compositebar').sparkline('html', { type: 'bar', barColor: '#aaf' });
|
||||
$('#compositebar').sparkline([4,1,5,7,9,9,8,7,6,6,4,7,8,4,3,2,2,5,6,7],
|
||||
{ composite: true, fillColor: false, lineColor: 'red' });
|
||||
|
||||
// Larger line charts for the docs
|
||||
$('.largeline').sparkline('html',
|
||||
{ type: 'line', height: '2.5em', width: '4em' });
|
||||
|
||||
// Customized line chart
|
||||
$('#linecustom').sparkline('html',
|
||||
{height: '1.5em', width: '8em', lineColor: '#f00', fillColor: '#ffa',
|
||||
minSpotColor: false, maxSpotColor: false, spotColor: '#77f', spotRadius: 3});
|
||||
|
||||
// Bar charts using inline values
|
||||
$('.sparkbar').sparkline('html', {type: 'bar'});
|
||||
|
||||
$('.barformat').sparkline([1, 3, 5, 3, 8], {
|
||||
type: 'bar',
|
||||
tooltipFormat: '{{value:levels}} - {{value}}',
|
||||
tooltipValueLookups: {
|
||||
levels: $.range_map({ ':2': 'Low', '3:6': 'Medium', '7:': 'High' })
|
||||
}
|
||||
});
|
||||
|
||||
// Tri-state charts using inline values
|
||||
$('.sparktristate').sparkline('html', {type: 'tristate'});
|
||||
$('.sparktristatecols').sparkline('html',
|
||||
{type: 'tristate', colorMap: {'-2': '#fa7', '2': '#44f'} });
|
||||
|
||||
// Composite line charts, the second using values supplied via javascript
|
||||
$('#compositeline').sparkline('html', { fillColor: false, changeRangeMin: 0, chartRangeMax: 10 });
|
||||
$('#compositeline').sparkline([4,1,5,7,9,9,8,7,6,6,4,7,8,4,3,2,2,5,6,7],
|
||||
{ composite: true, fillColor: false, lineColor: 'red', changeRangeMin: 0, chartRangeMax: 10 });
|
||||
|
||||
// Line charts with normal range marker
|
||||
$('#normalline').sparkline('html',
|
||||
{ fillColor: false, normalRangeMin: -1, normalRangeMax: 8 });
|
||||
$('#normalExample').sparkline('html',
|
||||
{ fillColor: false, normalRangeMin: 80, normalRangeMax: 95, normalRangeColor: '#4f4' });
|
||||
|
||||
// Discrete charts
|
||||
$('.discrete1').sparkline('html',
|
||||
{ type: 'discrete', lineColor: 'blue', xwidth: 18 });
|
||||
$('#discrete2').sparkline('html',
|
||||
{ type: 'discrete', lineColor: 'blue', thresholdColor: 'red', thresholdValue: 4 });
|
||||
|
||||
// Bullet charts
|
||||
$('.sparkbullet').sparkline('html', { type: 'bullet' });
|
||||
|
||||
// Pie charts
|
||||
$('.sparkpie').sparkline('html', { type: 'pie', height: '1.0em' });
|
||||
|
||||
// Box plots
|
||||
$('.sparkboxplot').sparkline('html', { type: 'box'});
|
||||
$('.sparkboxplotraw').sparkline([ 1, 3, 5, 8, 10, 15, 18 ],
|
||||
{type:'box', raw: true, showOutliers:true, target: 6});
|
||||
|
||||
// Box plot with specific field order
|
||||
$('.boxfieldorder').sparkline('html', {
|
||||
type: 'box',
|
||||
tooltipFormatFieldlist: ['med', 'lq', 'uq'],
|
||||
tooltipFormatFieldlistKey: 'field'
|
||||
});
|
||||
|
||||
// click event demo sparkline
|
||||
$('.clickdemo').sparkline();
|
||||
$('.clickdemo').bind('sparklineClick', function(ev) {
|
||||
var sparkline = ev.sparklines[0],
|
||||
region = sparkline.getCurrentRegionFields();
|
||||
value = region.y;
|
||||
alert("Clicked on x="+region.x+" y="+region.y);
|
||||
});
|
||||
|
||||
});
|
@ -1,3 +0,0 @@
|
||||
$(document).ready(function(){
|
||||
|
||||
});
|
@ -1,32 +0,0 @@
|
||||
$(function(){
|
||||
$('#vmap-1').vectorMap({map: 'world_mill_en',backgroundColor: 'transparent',
|
||||
regionStyle: {
|
||||
initial: {
|
||||
fill: '#8d8d8d'
|
||||
}
|
||||
}});
|
||||
$('#vmap-3').vectorMap({map: 'europe_mill_en',backgroundColor: 'transparent',
|
||||
regionStyle: {
|
||||
initial: {
|
||||
fill: '#8d8d8d'
|
||||
}
|
||||
}});
|
||||
$('#vmap-4').vectorMap({map: 'us_aea_en',backgroundColor: 'transparent',
|
||||
regionStyle: {
|
||||
initial: {
|
||||
fill: '#8d8d8d'
|
||||
}
|
||||
}});
|
||||
$('#vmap-5').vectorMap({map: 'uk_mill_en',backgroundColor: 'transparent',
|
||||
regionStyle: {
|
||||
initial: {
|
||||
fill: '#8d8d8d'
|
||||
}
|
||||
}});
|
||||
$('#vmap-6').vectorMap({map: 'us-il-chicago_mill_en',backgroundColor: 'transparent',
|
||||
regionStyle: {
|
||||
initial: {
|
||||
fill: '#8d8d8d'
|
||||
}
|
||||
}});
|
||||
});
|
@ -1,86 +0,0 @@
|
||||
.bic_calendar{
|
||||
}
|
||||
.bic_calendar a{
|
||||
text-decoration: none;
|
||||
color: #333;
|
||||
display: block;
|
||||
cursor: pointer;
|
||||
}
|
||||
.bic_calendar .table tbody > tr > td{
|
||||
text-align: center;
|
||||
padding: 0px;
|
||||
}
|
||||
.bic_calendar td a{
|
||||
|
||||
}
|
||||
.bic_calendar .header{
|
||||
padding: 10px 0 10px 0;
|
||||
}
|
||||
.bic_calendar .button-month-previous{
|
||||
padding: 5px;
|
||||
float: left;
|
||||
}
|
||||
.bic_calendar .button-month-next{
|
||||
padding: 5px;
|
||||
float: right;
|
||||
}
|
||||
.bic_calendar .button-year-previous{
|
||||
padding: 5px;
|
||||
float: left;
|
||||
}
|
||||
.bic_calendar .button-year-next{
|
||||
padding: 5px;
|
||||
float: right;
|
||||
}
|
||||
.bic_calendar .monthAndYear{
|
||||
text-align: center;
|
||||
font-weight: 600;
|
||||
}
|
||||
.bic_calendar .days-month{
|
||||
font-weight: 600;
|
||||
}
|
||||
.bic_calendar .event{
|
||||
color: white;
|
||||
background: #3B5A97;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.bic_calendar .event:hover > a{
|
||||
background: #3B5A97;
|
||||
text-shadow: 0 0 4px #fff;
|
||||
}
|
||||
.bic_calendar .event a{
|
||||
color: white;
|
||||
}
|
||||
.bic_calendar .day:hover{
|
||||
background: rgba(0,0,0,0.04)
|
||||
}
|
||||
.bic_calendar .table{
|
||||
margin-bottom: 3px;
|
||||
}
|
||||
.bic_calendar .days-month td{
|
||||
background: #f0f0f0 ;
|
||||
}
|
||||
.bic_calendar .selection{
|
||||
background: rgba(141,200,230,0.5);
|
||||
}
|
||||
.bic_calendar .first-selection{
|
||||
border-radius: 6px 0 0 6px;
|
||||
border-right: 0;
|
||||
}
|
||||
.bic_calendar .last-selection{
|
||||
border-radius: 0 6px 6px 0;
|
||||
border-left: 0;
|
||||
}
|
||||
.bic_calendar .middle-selection{
|
||||
border-left: 0;
|
||||
border-right: 0;
|
||||
border-radius: 0;
|
||||
}
|
||||
.bic_calendar .popover{
|
||||
color: #000;
|
||||
text-shadow: none;
|
||||
}
|
||||
.bic_calendar .popover-content{
|
||||
font-weight: 300;
|
||||
}
|
@ -1,182 +0,0 @@
|
||||
/*!
|
||||
* Datepicker for Bootstrap
|
||||
*
|
||||
* Copyright 2012 Stefan Petre
|
||||
* Licensed under the Apache License v2.0
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*/
|
||||
.datepicker {
|
||||
top: 0;
|
||||
left: 0;
|
||||
padding: 4px;
|
||||
margin-top: 1px;
|
||||
-webkit-border-radius: 4px;
|
||||
-moz-border-radius: 4px;
|
||||
border-radius: 4px;
|
||||
/*.dow {
|
||||
border-top: 1px solid #ddd !important;
|
||||
}*/
|
||||
|
||||
}
|
||||
.datepicker:before {
|
||||
content: '';
|
||||
display: inline-block;
|
||||
border-left: 7px solid transparent;
|
||||
border-right: 7px solid transparent;
|
||||
border-bottom: 7px solid #ccc;
|
||||
border-bottom-color: rgba(0, 0, 0, 0.2);
|
||||
position: absolute;
|
||||
top: -7px;
|
||||
left: 6px;
|
||||
}
|
||||
.datepicker:after {
|
||||
content: '';
|
||||
display: inline-block;
|
||||
border-left: 6px solid transparent;
|
||||
border-right: 6px solid transparent;
|
||||
border-bottom: 6px solid #ffffff;
|
||||
position: absolute;
|
||||
top: -6px;
|
||||
left: 7px;
|
||||
}
|
||||
.datepicker > div {
|
||||
display: none;
|
||||
}
|
||||
.datepicker table {
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
}
|
||||
.datepicker td,
|
||||
.datepicker th {
|
||||
text-align: center;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
-webkit-border-radius: 4px;
|
||||
-moz-border-radius: 4px;
|
||||
border-radius: 4px;
|
||||
}
|
||||
.datepicker td.day:hover {
|
||||
background: #eeeeee;
|
||||
cursor: pointer;
|
||||
}
|
||||
.datepicker td.day.disabled {
|
||||
color: #eeeeee;
|
||||
}
|
||||
.datepicker td.old,
|
||||
.datepicker td.new {
|
||||
color: #999999;
|
||||
}
|
||||
.datepicker td.active,
|
||||
.datepicker td.active:hover {
|
||||
color: #ffffff;
|
||||
background-color: #006dcc;
|
||||
background-image: -moz-linear-gradient(top, #0088cc, #0044cc);
|
||||
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc));
|
||||
background-image: -webkit-linear-gradient(top, #0088cc, #0044cc);
|
||||
background-image: -o-linear-gradient(top, #0088cc, #0044cc);
|
||||
background-image: linear-gradient(to bottom, #0088cc, #0044cc);
|
||||
background-repeat: repeat-x;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0044cc', GradientType=0);
|
||||
border-color: #0044cc #0044cc #002a80;
|
||||
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
|
||||
*background-color: #0044cc;
|
||||
/* Darken IE7 buttons by default so they stand out more given they won't have borders */
|
||||
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
||||
color: #fff;
|
||||
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
|
||||
}
|
||||
.datepicker td.active:hover,
|
||||
.datepicker td.active:hover:hover,
|
||||
.datepicker td.active:focus,
|
||||
.datepicker td.active:hover:focus,
|
||||
.datepicker td.active:active,
|
||||
.datepicker td.active:hover:active,
|
||||
.datepicker td.active.active,
|
||||
.datepicker td.active:hover.active,
|
||||
.datepicker td.active.disabled,
|
||||
.datepicker td.active:hover.disabled,
|
||||
.datepicker td.active[disabled],
|
||||
.datepicker td.active:hover[disabled] {
|
||||
color: #ffffff;
|
||||
background-color: #0044cc;
|
||||
*background-color: #003bb3;
|
||||
}
|
||||
.datepicker td.active:active,
|
||||
.datepicker td.active:hover:active,
|
||||
.datepicker td.active.active,
|
||||
.datepicker td.active:hover.active {
|
||||
background-color: #003399 \9;
|
||||
}
|
||||
.datepicker td span {
|
||||
display: block;
|
||||
width: 47px;
|
||||
height: 54px;
|
||||
line-height: 54px;
|
||||
float: left;
|
||||
margin: 2px;
|
||||
cursor: pointer;
|
||||
-webkit-border-radius: 4px;
|
||||
-moz-border-radius: 4px;
|
||||
border-radius: 4px;
|
||||
}
|
||||
.datepicker td span:hover {
|
||||
background: #eeeeee;
|
||||
}
|
||||
.datepicker td span.active {
|
||||
color: #ffffff;
|
||||
background-color: #006dcc;
|
||||
background-image: -moz-linear-gradient(top, #0088cc, #0044cc);
|
||||
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc));
|
||||
background-image: -webkit-linear-gradient(top, #0088cc, #0044cc);
|
||||
background-image: -o-linear-gradient(top, #0088cc, #0044cc);
|
||||
background-image: linear-gradient(to bottom, #0088cc, #0044cc);
|
||||
background-repeat: repeat-x;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0044cc', GradientType=0);
|
||||
border-color: #0044cc #0044cc #002a80;
|
||||
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
|
||||
*background-color: #0044cc;
|
||||
/* Darken IE7 buttons by default so they stand out more given they won't have borders */
|
||||
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
||||
color: #fff;
|
||||
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
|
||||
}
|
||||
.datepicker td span.active:hover,
|
||||
.datepicker td span.active:focus,
|
||||
.datepicker td span.active:active,
|
||||
.datepicker td span.active.active,
|
||||
.datepicker td span.active.disabled,
|
||||
.datepicker td span.active[disabled] {
|
||||
color: #ffffff;
|
||||
background-color: #0044cc;
|
||||
*background-color: #003bb3;
|
||||
}
|
||||
.datepicker td span.active:active,
|
||||
.datepicker td span.active.active {
|
||||
background-color: #003399 \9;
|
||||
}
|
||||
.datepicker td span.old {
|
||||
color: #999999;
|
||||
}
|
||||
.datepicker th.switch {
|
||||
width: 145px;
|
||||
}
|
||||
.datepicker th.next,
|
||||
.datepicker th.prev {
|
||||
font-size: 21px;
|
||||
}
|
||||
.datepicker thead tr:first-child th {
|
||||
cursor: pointer;
|
||||
}
|
||||
.datepicker thead tr:first-child th:hover {
|
||||
background: #eeeeee;
|
||||
}
|
||||
.input-append.date .add-on i,
|
||||
.input-prepend.date .add-on i {
|
||||
display: block;
|
||||
cursor: pointer;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
@ -1,474 +0,0 @@
|
||||
/* =========================================================
|
||||
* bootstrap-datepicker.js
|
||||
* http://www.eyecon.ro/bootstrap-datepicker
|
||||
* =========================================================
|
||||
* Copyright 2012 Stefan Petre
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
* ========================================================= */
|
||||
|
||||
!function( $ ) {
|
||||
|
||||
// Picker object
|
||||
|
||||
var Datepicker = function(element, options){
|
||||
this.element = $(element);
|
||||
this.format = DPGlobal.parseFormat(options.format||this.element.data('date-format')||'mm/dd/yyyy');
|
||||
this.picker = $(DPGlobal.template)
|
||||
.appendTo('body')
|
||||
.on({
|
||||
click: $.proxy(this.click, this)//,
|
||||
//mousedown: $.proxy(this.mousedown, this)
|
||||
});
|
||||
this.isInput = this.element.is('input');
|
||||
this.component = this.element.is('.date') ? this.element.find('.add-on') : false;
|
||||
|
||||
if (this.isInput) {
|
||||
this.element.on({
|
||||
focus: $.proxy(this.show, this),
|
||||
//blur: $.proxy(this.hide, this),
|
||||
keyup: $.proxy(this.update, this)
|
||||
});
|
||||
} else {
|
||||
if (this.component){
|
||||
this.component.on('click', $.proxy(this.show, this));
|
||||
} else {
|
||||
this.element.on('click', $.proxy(this.show, this));
|
||||
}
|
||||
}
|
||||
|
||||
this.minViewMode = options.minViewMode||this.element.data('date-minviewmode')||0;
|
||||
if (typeof this.minViewMode === 'string') {
|
||||
switch (this.minViewMode) {
|
||||
case 'months':
|
||||
this.minViewMode = 1;
|
||||
break;
|
||||
case 'years':
|
||||
this.minViewMode = 2;
|
||||
break;
|
||||
default:
|
||||
this.minViewMode = 0;
|
||||
break;
|
||||
}
|
||||
}
|
||||
this.viewMode = options.viewMode||this.element.data('date-viewmode')||0;
|
||||
if (typeof this.viewMode === 'string') {
|
||||
switch (this.viewMode) {
|
||||
case 'months':
|
||||
this.viewMode = 1;
|
||||
break;
|
||||
case 'years':
|
||||
this.viewMode = 2;
|
||||
break;
|
||||
default:
|
||||
this.viewMode = 0;
|
||||
break;
|
||||
}
|
||||
}
|
||||
this.startViewMode = this.viewMode;
|
||||
this.weekStart = options.weekStart||this.element.data('date-weekstart')||0;
|
||||
this.weekEnd = this.weekStart === 0 ? 6 : this.weekStart - 1;
|
||||
this.onRender = options.onRender;
|
||||
this.fillDow();
|
||||
this.fillMonths();
|
||||
this.update();
|
||||
this.showMode();
|
||||
};
|
||||
|
||||
Datepicker.prototype = {
|
||||
constructor: Datepicker,
|
||||
|
||||
show: function(e) {
|
||||
this.picker.show();
|
||||
this.height = this.component ? this.component.outerHeight() : this.element.outerHeight();
|
||||
this.place();
|
||||
$(window).on('resize', $.proxy(this.place, this));
|
||||
if (e ) {
|
||||
e.stopPropagation();
|
||||
e.preventDefault();
|
||||
}
|
||||
if (!this.isInput) {
|
||||
}
|
||||
var that = this;
|
||||
$(document).on('mousedown', function(ev){
|
||||
if ($(ev.target).closest('.datepicker').length == 0) {
|
||||
that.hide();
|
||||
}
|
||||
});
|
||||
this.element.trigger({
|
||||
type: 'show',
|
||||
date: this.date
|
||||
});
|
||||
},
|
||||
|
||||
hide: function(){
|
||||
this.picker.hide();
|
||||
$(window).off('resize', this.place);
|
||||
this.viewMode = this.startViewMode;
|
||||
this.showMode();
|
||||
if (!this.isInput) {
|
||||
$(document).off('mousedown', this.hide);
|
||||
}
|
||||
//this.set();
|
||||
this.element.trigger({
|
||||
type: 'hide',
|
||||
date: this.date
|
||||
});
|
||||
},
|
||||
|
||||
set: function() {
|
||||
var formated = DPGlobal.formatDate(this.date, this.format);
|
||||
if (!this.isInput) {
|
||||
if (this.component){
|
||||
this.element.find('input').prop('value', formated);
|
||||
}
|
||||
this.element.data('date', formated);
|
||||
} else {
|
||||
this.element.prop('value', formated);
|
||||
}
|
||||
},
|
||||
|
||||
setValue: function(newDate) {
|
||||
if (typeof newDate === 'string') {
|
||||
this.date = DPGlobal.parseDate(newDate, this.format);
|
||||
} else {
|
||||
this.date = new Date(newDate);
|
||||
}
|
||||
this.set();
|
||||
this.viewDate = new Date(this.date.getFullYear(), this.date.getMonth(), 1, 0, 0, 0, 0);
|
||||
this.fill();
|
||||
},
|
||||
|
||||
place: function(){
|
||||
var offset = this.component ? this.component.offset() : this.element.offset();
|
||||
this.picker.css({
|
||||
top: offset.top + this.height,
|
||||
left: offset.left
|
||||
});
|
||||
},
|
||||
|
||||
update: function(newDate){
|
||||
this.date = DPGlobal.parseDate(
|
||||
typeof newDate === 'string' ? newDate : (this.isInput ? this.element.prop('value') : this.element.data('date')),
|
||||
this.format
|
||||
);
|
||||
this.viewDate = new Date(this.date.getFullYear(), this.date.getMonth(), 1, 0, 0, 0, 0);
|
||||
this.fill();
|
||||
},
|
||||
|
||||
fillDow: function(){
|
||||
var dowCnt = this.weekStart;
|
||||
var html = '<tr>';
|
||||
while (dowCnt < this.weekStart + 7) {
|
||||
html += '<th class="dow">'+DPGlobal.dates.daysMin[(dowCnt++)%7]+'</th>';
|
||||
}
|
||||
html += '</tr>';
|
||||
this.picker.find('.datepicker-days thead').append(html);
|
||||
},
|
||||
|
||||
fillMonths: function(){
|
||||
var html = '';
|
||||
var i = 0
|
||||
while (i < 12) {
|
||||
html += '<span class="month">'+DPGlobal.dates.monthsShort[i++]+'</span>';
|
||||
}
|
||||
this.picker.find('.datepicker-months td').append(html);
|
||||
},
|
||||
|
||||
fill: function() {
|
||||
var d = new Date(this.viewDate),
|
||||
year = d.getFullYear(),
|
||||
month = d.getMonth(),
|
||||
currentDate = this.date.valueOf();
|
||||
this.picker.find('.datepicker-days th:eq(1)')
|
||||
.text(DPGlobal.dates.months[month]+' '+year);
|
||||
var prevMonth = new Date(year, month-1, 28,0,0,0,0),
|
||||
day = DPGlobal.getDaysInMonth(prevMonth.getFullYear(), prevMonth.getMonth());
|
||||
prevMonth.setDate(day);
|
||||
prevMonth.setDate(day - (prevMonth.getDay() - this.weekStart + 7)%7);
|
||||
var nextMonth = new Date(prevMonth);
|
||||
nextMonth.setDate(nextMonth.getDate() + 42);
|
||||
nextMonth = nextMonth.valueOf();
|
||||
var html = [];
|
||||
var clsName,
|
||||
prevY,
|
||||
prevM;
|
||||
while(prevMonth.valueOf() < nextMonth) {
|
||||
if (prevMonth.getDay() === this.weekStart) {
|
||||
html.push('<tr>');
|
||||
}
|
||||
clsName = this.onRender(prevMonth);
|
||||
prevY = prevMonth.getFullYear();
|
||||
prevM = prevMonth.getMonth();
|
||||
if ((prevM < month && prevY === year) || prevY < year) {
|
||||
clsName += ' old';
|
||||
} else if ((prevM > month && prevY === year) || prevY > year) {
|
||||
clsName += ' new';
|
||||
}
|
||||
if (prevMonth.valueOf() === currentDate) {
|
||||
clsName += ' active';
|
||||
}
|
||||
html.push('<td class="day '+clsName+'">'+prevMonth.getDate() + '</td>');
|
||||
if (prevMonth.getDay() === this.weekEnd) {
|
||||
html.push('</tr>');
|
||||
}
|
||||
prevMonth.setDate(prevMonth.getDate()+1);
|
||||
}
|
||||
this.picker.find('.datepicker-days tbody').empty().append(html.join(''));
|
||||
var currentYear = this.date.getFullYear();
|
||||
|
||||
var months = this.picker.find('.datepicker-months')
|
||||
.find('th:eq(1)')
|
||||
.text(year)
|
||||
.end()
|
||||
.find('span').removeClass('active');
|
||||
if (currentYear === year) {
|
||||
months.eq(this.date.getMonth()).addClass('active');
|
||||
}
|
||||
|
||||
html = '';
|
||||
year = parseInt(year/10, 10) * 10;
|
||||
var yearCont = this.picker.find('.datepicker-years')
|
||||
.find('th:eq(1)')
|
||||
.text(year + '-' + (year + 9))
|
||||
.end()
|
||||
.find('td');
|
||||
year -= 1;
|
||||
for (var i = -1; i < 11; i++) {
|
||||
html += '<span class="year'+(i === -1 || i === 10 ? ' old' : '')+(currentYear === year ? ' active' : '')+'">'+year+'</span>';
|
||||
year += 1;
|
||||
}
|
||||
yearCont.html(html);
|
||||
},
|
||||
|
||||
click: function(e) {
|
||||
e.stopPropagation();
|
||||
e.preventDefault();
|
||||
var target = $(e.target).closest('span, td, th');
|
||||
if (target.length === 1) {
|
||||
switch(target[0].nodeName.toLowerCase()) {
|
||||
case 'th':
|
||||
switch(target[0].className) {
|
||||
case 'switch':
|
||||
this.showMode(1);
|
||||
break;
|
||||
case 'prev':
|
||||
case 'next':
|
||||
this.viewDate['set'+DPGlobal.modes[this.viewMode].navFnc].call(
|
||||
this.viewDate,
|
||||
this.viewDate['get'+DPGlobal.modes[this.viewMode].navFnc].call(this.viewDate) +
|
||||
DPGlobal.modes[this.viewMode].navStep * (target[0].className === 'prev' ? -1 : 1)
|
||||
);
|
||||
this.fill();
|
||||
this.set();
|
||||
break;
|
||||
}
|
||||
break;
|
||||
case 'span':
|
||||
if (target.is('.month')) {
|
||||
var month = target.parent().find('span').index(target);
|
||||
this.viewDate.setMonth(month);
|
||||
} else {
|
||||
var year = parseInt(target.text(), 10)||0;
|
||||
this.viewDate.setFullYear(year);
|
||||
}
|
||||
if (this.viewMode !== 0) {
|
||||
this.date = new Date(this.viewDate);
|
||||
this.element.trigger({
|
||||
type: 'changeDate',
|
||||
date: this.date,
|
||||
viewMode: DPGlobal.modes[this.viewMode].clsName
|
||||
});
|
||||
}
|
||||
this.showMode(-1);
|
||||
this.fill();
|
||||
this.set();
|
||||
break;
|
||||
case 'td':
|
||||
if (target.is('.day') && !target.is('.disabled')){
|
||||
var day = parseInt(target.text(), 10)||1;
|
||||
var month = this.viewDate.getMonth();
|
||||
if (target.is('.old')) {
|
||||
month -= 1;
|
||||
} else if (target.is('.new')) {
|
||||
month += 1;
|
||||
}
|
||||
var year = this.viewDate.getFullYear();
|
||||
this.date = new Date(year, month, day,0,0,0,0);
|
||||
this.viewDate = new Date(year, month, Math.min(28, day),0,0,0,0);
|
||||
this.fill();
|
||||
this.set();
|
||||
this.element.trigger({
|
||||
type: 'changeDate',
|
||||
date: this.date,
|
||||
viewMode: DPGlobal.modes[this.viewMode].clsName
|
||||
});
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
mousedown: function(e){
|
||||
e.stopPropagation();
|
||||
e.preventDefault();
|
||||
},
|
||||
|
||||
showMode: function(dir) {
|
||||
if (dir) {
|
||||
this.viewMode = Math.max(this.minViewMode, Math.min(2, this.viewMode + dir));
|
||||
}
|
||||
this.picker.find('>div').hide().filter('.datepicker-'+DPGlobal.modes[this.viewMode].clsName).show();
|
||||
}
|
||||
};
|
||||
|
||||
$.fn.datepicker = function ( option, val ) {
|
||||
return this.each(function () {
|
||||
var $this = $(this),
|
||||
data = $this.data('datepicker'),
|
||||
options = typeof option === 'object' && option;
|
||||
if (!data) {
|
||||
$this.data('datepicker', (data = new Datepicker(this, $.extend({}, $.fn.datepicker.defaults,options))));
|
||||
}
|
||||
if (typeof option === 'string') data[option](val);
|
||||
});
|
||||
};
|
||||
|
||||
$.fn.datepicker.defaults = {
|
||||
onRender: function(date) {
|
||||
return '';
|
||||
}
|
||||
};
|
||||
$.fn.datepicker.Constructor = Datepicker;
|
||||
|
||||
var DPGlobal = {
|
||||
modes: [
|
||||
{
|
||||
clsName: 'days',
|
||||
navFnc: 'Month',
|
||||
navStep: 1
|
||||
},
|
||||
{
|
||||
clsName: 'months',
|
||||
navFnc: 'FullYear',
|
||||
navStep: 1
|
||||
},
|
||||
{
|
||||
clsName: 'years',
|
||||
navFnc: 'FullYear',
|
||||
navStep: 10
|
||||
}],
|
||||
dates:{
|
||||
days: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"],
|
||||
daysShort: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"],
|
||||
daysMin: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa", "Su"],
|
||||
months: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"],
|
||||
monthsShort: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]
|
||||
},
|
||||
isLeapYear: function (year) {
|
||||
return (((year % 4 === 0) && (year % 100 !== 0)) || (year % 400 === 0))
|
||||
},
|
||||
getDaysInMonth: function (year, month) {
|
||||
return [31, (DPGlobal.isLeapYear(year) ? 29 : 28), 31, 30, 31, 30, 31, 31, 30, 31, 30, 31][month]
|
||||
},
|
||||
parseFormat: function(format){
|
||||
var separator = format.match(/[.\/\-\s].*?/),
|
||||
parts = format.split(/\W+/);
|
||||
if (!separator || !parts || parts.length === 0){
|
||||
throw new Error("Invalid date format.");
|
||||
}
|
||||
return {separator: separator, parts: parts};
|
||||
},
|
||||
parseDate: function(date, format) {
|
||||
var parts = date.split(format.separator),
|
||||
date = new Date(),
|
||||
val;
|
||||
date.setHours(0);
|
||||
date.setMinutes(0);
|
||||
date.setSeconds(0);
|
||||
date.setMilliseconds(0);
|
||||
if (parts.length === format.parts.length) {
|
||||
var year = date.getFullYear(), day = date.getDate(), month = date.getMonth();
|
||||
for (var i=0, cnt = format.parts.length; i < cnt; i++) {
|
||||
val = parseInt(parts[i], 10)||1;
|
||||
switch(format.parts[i]) {
|
||||
case 'dd':
|
||||
case 'd':
|
||||
day = val;
|
||||
date.setDate(val);
|
||||
break;
|
||||
case 'mm':
|
||||
case 'm':
|
||||
month = val - 1;
|
||||
date.setMonth(val - 1);
|
||||
break;
|
||||
case 'yy':
|
||||
year = 2000 + val;
|
||||
date.setFullYear(2000 + val);
|
||||
break;
|
||||
case 'yyyy':
|
||||
year = val;
|
||||
date.setFullYear(val);
|
||||
break;
|
||||
}
|
||||
}
|
||||
date = new Date(year, month, day, 0 ,0 ,0);
|
||||
}
|
||||
return date;
|
||||
},
|
||||
formatDate: function(date, format){
|
||||
var val = {
|
||||
d: date.getDate(),
|
||||
m: date.getMonth() + 1,
|
||||
yy: date.getFullYear().toString().substring(2),
|
||||
yyyy: date.getFullYear()
|
||||
};
|
||||
val.dd = (val.d < 10 ? '0' : '') + val.d;
|
||||
val.mm = (val.m < 10 ? '0' : '') + val.m;
|
||||
var date = [];
|
||||
for (var i=0, cnt = format.parts.length; i < cnt; i++) {
|
||||
date.push(val[format.parts[i]]);
|
||||
}
|
||||
return date.join(format.separator);
|
||||
},
|
||||
headTemplate: '<thead>'+
|
||||
'<tr>'+
|
||||
'<th class="prev">‹</th>'+
|
||||
'<th colspan="5" class="switch"></th>'+
|
||||
'<th class="next">›</th>'+
|
||||
'</tr>'+
|
||||
'</thead>',
|
||||
contTemplate: '<tbody><tr><td colspan="7"></td></tr></tbody>'
|
||||
};
|
||||
DPGlobal.template = '<div class="datepicker dropdown-menu">'+
|
||||
'<div class="datepicker-days">'+
|
||||
'<table class=" table-condensed">'+
|
||||
DPGlobal.headTemplate+
|
||||
'<tbody></tbody>'+
|
||||
'</table>'+
|
||||
'</div>'+
|
||||
'<div class="datepicker-months">'+
|
||||
'<table class="table-condensed">'+
|
||||
DPGlobal.headTemplate+
|
||||
DPGlobal.contTemplate+
|
||||
'</table>'+
|
||||
'</div>'+
|
||||
'<div class="datepicker-years">'+
|
||||
'<table class="table-condensed">'+
|
||||
DPGlobal.headTemplate+
|
||||
DPGlobal.contTemplate+
|
||||
'</table>'+
|
||||
'</div>'+
|
||||
'</div>';
|
||||
|
||||
}( window.jQuery );
|
@ -1,122 +0,0 @@
|
||||
/*
|
||||
Bootstrap - File Input
|
||||
======================
|
||||
|
||||
This is meant to convert all file input tags into a set of elements that displays consistently in all browsers.
|
||||
|
||||
Converts all
|
||||
<input type="file">
|
||||
into Bootstrap buttons
|
||||
<a class="btn">Browse</a>
|
||||
|
||||
*/
|
||||
$(function() {
|
||||
|
||||
$.fn.bootstrapFileInput = function() {
|
||||
|
||||
this.each(function(i,elem){
|
||||
|
||||
var $elem = $(elem);
|
||||
|
||||
// Maybe some fields don't need to be standardized.
|
||||
if (typeof $elem.attr('data-bfi-disabled') != 'undefined') {
|
||||
return;
|
||||
}
|
||||
|
||||
// Set the word to be displayed on the button
|
||||
var buttonWord = 'Browse';
|
||||
|
||||
if (typeof $elem.attr('title') != 'undefined') {
|
||||
buttonWord = $elem.attr('title');
|
||||
}
|
||||
|
||||
// Start by getting the HTML of the input element.
|
||||
// Thanks for the tip http://stackoverflow.com/a/1299069
|
||||
var input = $('<div>').append( $elem.eq(0).clone() ).html();
|
||||
var className = '';
|
||||
|
||||
if (!!$elem.attr('class')) {
|
||||
className = ' ' + $elem.attr('class');
|
||||
}
|
||||
|
||||
// Now we're going to replace that input field with a Bootstrap button.
|
||||
// The input will actually still be there, it will just be float above and transparent (done with the CSS).
|
||||
$elem.replaceWith('<a class="file-input-wrapper btn' + className + '">'+buttonWord+input+'</a>');
|
||||
})
|
||||
|
||||
// After we have found all of the file inputs let's apply a listener for tracking the mouse movement.
|
||||
// This is important because the in order to give the illusion that this is a button in FF we actually need to move the button from the file input under the cursor. Ugh.
|
||||
.promise().done( function(){
|
||||
|
||||
// As the cursor moves over our new Bootstrap button we need to adjust the position of the invisible file input Browse button to be under the cursor.
|
||||
// This gives us the pointer cursor that FF denies us
|
||||
$('.file-input-wrapper').mousemove(function(cursor) {
|
||||
|
||||
var input, wrapper,
|
||||
wrapperX, wrapperY,
|
||||
inputWidth, inputHeight,
|
||||
cursorX, cursorY;
|
||||
|
||||
// This wrapper element (the button surround this file input)
|
||||
wrapper = $(this);
|
||||
// The invisible file input element
|
||||
input = wrapper.find("input");
|
||||
// The left-most position of the wrapper
|
||||
wrapperX = wrapper.offset().left;
|
||||
// The top-most position of the wrapper
|
||||
wrapperY = wrapper.offset().top;
|
||||
// The with of the browsers input field
|
||||
inputWidth= input.width();
|
||||
// The height of the browsers input field
|
||||
inputHeight= input.height();
|
||||
//The position of the cursor in the wrapper
|
||||
cursorX = cursor.pageX;
|
||||
cursorY = cursor.pageY;
|
||||
|
||||
//The positions we are to move the invisible file input
|
||||
// The 20 at the end is an arbitrary number of pixels that we can shift the input such that cursor is not pointing at the end of the Browse button but somewhere nearer the middle
|
||||
moveInputX = cursorX - wrapperX - inputWidth + 20;
|
||||
// Slides the invisible input Browse button to be positioned middle under the cursor
|
||||
moveInputY = cursorY- wrapperY - (inputHeight/2);
|
||||
|
||||
// Apply the positioning styles to actually move the invisible file input
|
||||
input.css({
|
||||
left:moveInputX,
|
||||
top:moveInputY
|
||||
});
|
||||
});
|
||||
|
||||
$('.file-input-wrapper input[type=file]').change(function(){
|
||||
|
||||
var fileName;
|
||||
fileName = $(this).val();
|
||||
|
||||
// Remove any previous file names
|
||||
$(this).parent().next('.file-input-name').remove();
|
||||
if (!!$(this).prop('files') && $(this).prop('files').length > 1) {
|
||||
fileName = $(this)[0].files.length+' files';
|
||||
//$(this).parent().after('<span class="file-input-name">'+$(this)[0].files.length+' files</span>');
|
||||
}
|
||||
else {
|
||||
// var fakepath = 'C:\\fakepath\\';
|
||||
// fileName = $(this).val().replace('C:\\fakepath\\','');
|
||||
fileName = fileName.substring(fileName.lastIndexOf('\\')+1,fileName.length);
|
||||
}
|
||||
|
||||
$(this).parent().after('<span class="file-input-name">'+fileName+'</span>');
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
};
|
||||
|
||||
// Add the styles before the first stylesheet
|
||||
// This ensures they can be easily overridden with developer styles
|
||||
var cssHtml = '<style>'+
|
||||
'.file-input-wrapper { overflow: hidden; position: relative; cursor: pointer; z-index: 1; }'+
|
||||
'.file-input-wrapper input[type=file], .file-input-wrapper input[type=file]:focus, .file-input-wrapper input[type=file]:hover { position: absolute; top: 0; left: 0; cursor: pointer; opacity: 0; filter: alpha(opacity=0); z-index: 99; outline: 0; }'+
|
||||
'.file-input-name { margin-left: 8px; }'+
|
||||
'</style>';
|
||||
$('link[rel=stylesheet]').eq(0).before(cssHtml);
|
||||
|
||||
});
|
@ -1,360 +0,0 @@
|
||||
/* ===========================================================
|
||||
* Bootstrap: inputmask.js v3.1.0
|
||||
* http://jasny.github.io/bootstrap/javascript/#inputmask
|
||||
*
|
||||
* Based on Masked Input plugin by Josh Bush (digitalbush.com)
|
||||
* ===========================================================
|
||||
* Copyright 2012-2014 Arnold Daniels
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License")
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
* ========================================================== */
|
||||
|
||||
+function ($) { "use strict";
|
||||
|
||||
var isIphone = (window.orientation !== undefined)
|
||||
var isAndroid = navigator.userAgent.toLowerCase().indexOf("android") > -1
|
||||
var isIE = window.navigator.appName == 'Microsoft Internet Explorer'
|
||||
|
||||
// INPUTMASK PUBLIC CLASS DEFINITION
|
||||
// =================================
|
||||
|
||||
var Inputmask = function (element, options) {
|
||||
if (isAndroid) return // No support because caret positioning doesn't work on Android
|
||||
|
||||
this.$element = $(element)
|
||||
this.options = $.extend({}, Inputmask.DEFAULTS, options)
|
||||
this.mask = String(this.options.mask)
|
||||
|
||||
this.init()
|
||||
this.listen()
|
||||
|
||||
this.checkVal() //Perform initial check for existing values
|
||||
}
|
||||
|
||||
Inputmask.DEFAULTS = {
|
||||
mask: "",
|
||||
placeholder: "_",
|
||||
definitions: {
|
||||
'9': "[0-9]",
|
||||
'a': "[A-Za-z]",
|
||||
'w': "[A-Za-z0-9]",
|
||||
'*': "."
|
||||
}
|
||||
}
|
||||
|
||||
Inputmask.prototype.init = function() {
|
||||
var defs = this.options.definitions
|
||||
var len = this.mask.length
|
||||
|
||||
this.tests = []
|
||||
this.partialPosition = this.mask.length
|
||||
this.firstNonMaskPos = null
|
||||
|
||||
$.each(this.mask.split(""), $.proxy(function(i, c) {
|
||||
if (c == '?') {
|
||||
len--
|
||||
this.partialPosition = i
|
||||
} else if (defs[c]) {
|
||||
this.tests.push(new RegExp(defs[c]))
|
||||
if (this.firstNonMaskPos === null)
|
||||
this.firstNonMaskPos = this.tests.length - 1
|
||||
} else {
|
||||
this.tests.push(null)
|
||||
}
|
||||
}, this))
|
||||
|
||||
this.buffer = $.map(this.mask.split(""), $.proxy(function(c, i) {
|
||||
if (c != '?') return defs[c] ? this.options.placeholder : c
|
||||
}, this))
|
||||
|
||||
this.focusText = this.$element.val()
|
||||
|
||||
this.$element.data("rawMaskFn", $.proxy(function() {
|
||||
return $.map(this.buffer, function(c, i) {
|
||||
return this.tests[i] && c != this.options.placeholder ? c : null
|
||||
}).join('')
|
||||
}, this))
|
||||
}
|
||||
|
||||
Inputmask.prototype.listen = function() {
|
||||
if (this.$element.attr("readonly")) return
|
||||
|
||||
var pasteEventName = (isIE ? 'paste' : 'input') + ".mask"
|
||||
|
||||
this.$element
|
||||
.on("unmask.bs.inputmask", $.proxy(this.unmask, this))
|
||||
|
||||
.on("focus.bs.inputmask", $.proxy(this.focusEvent, this))
|
||||
.on("blur.bs.inputmask", $.proxy(this.blurEvent, this))
|
||||
|
||||
.on("keydown.bs.inputmask", $.proxy(this.keydownEvent, this))
|
||||
.on("keypress.bs.inputmask", $.proxy(this.keypressEvent, this))
|
||||
|
||||
.on(pasteEventName, $.proxy(this.pasteEvent, this))
|
||||
}
|
||||
|
||||
//Helper Function for Caret positioning
|
||||
Inputmask.prototype.caret = function(begin, end) {
|
||||
if (this.$element.length === 0) return
|
||||
if (typeof begin == 'number') {
|
||||
end = (typeof end == 'number') ? end : begin
|
||||
return this.$element.each(function() {
|
||||
if (this.setSelectionRange) {
|
||||
this.setSelectionRange(begin, end)
|
||||
} else if (this.createTextRange) {
|
||||
var range = this.createTextRange()
|
||||
range.collapse(true)
|
||||
range.moveEnd('character', end)
|
||||
range.moveStart('character', begin)
|
||||
range.select()
|
||||
}
|
||||
})
|
||||
} else {
|
||||
if (this.$element[0].setSelectionRange) {
|
||||
begin = this.$element[0].selectionStart
|
||||
end = this.$element[0].selectionEnd
|
||||
} else if (document.selection && document.selection.createRange) {
|
||||
var range = document.selection.createRange()
|
||||
begin = 0 - range.duplicate().moveStart('character', -100000)
|
||||
end = begin + range.text.length
|
||||
}
|
||||
return {
|
||||
begin: begin,
|
||||
end: end
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Inputmask.prototype.seekNext = function(pos) {
|
||||
var len = this.mask.length
|
||||
while (++pos <= len && !this.tests[pos]);
|
||||
|
||||
return pos
|
||||
}
|
||||
|
||||
Inputmask.prototype.seekPrev = function(pos) {
|
||||
while (--pos >= 0 && !this.tests[pos]);
|
||||
|
||||
return pos
|
||||
}
|
||||
|
||||
Inputmask.prototype.shiftL = function(begin,end) {
|
||||
var len = this.mask.length
|
||||
|
||||
if (begin < 0) return
|
||||
|
||||
for (var i = begin, j = this.seekNext(end); i < len; i++) {
|
||||
if (this.tests[i]) {
|
||||
if (j < len && this.tests[i].test(this.buffer[j])) {
|
||||
this.buffer[i] = this.buffer[j]
|
||||
this.buffer[j] = this.options.placeholder
|
||||
} else
|
||||
break
|
||||
j = this.seekNext(j)
|
||||
}
|
||||
}
|
||||
this.writeBuffer()
|
||||
this.caret(Math.max(this.firstNonMaskPos, begin))
|
||||
}
|
||||
|
||||
Inputmask.prototype.shiftR = function(pos) {
|
||||
var len = this.mask.length
|
||||
|
||||
for (var i = pos, c = this.options.placeholder; i < len; i++) {
|
||||
if (this.tests[i]) {
|
||||
var j = this.seekNext(i)
|
||||
var t = this.buffer[i]
|
||||
this.buffer[i] = c
|
||||
if (j < len && this.tests[j].test(t))
|
||||
c = t
|
||||
else
|
||||
break
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Inputmask.prototype.unmask = function() {
|
||||
this.$element
|
||||
.unbind(".mask")
|
||||
.removeData("inputmask")
|
||||
}
|
||||
|
||||
Inputmask.prototype.focusEvent = function() {
|
||||
this.focusText = this.$element.val()
|
||||
var len = this.mask.length
|
||||
var pos = this.checkVal()
|
||||
this.writeBuffer()
|
||||
|
||||
var that = this
|
||||
var moveCaret = function() {
|
||||
if (pos == len)
|
||||
that.caret(0, pos)
|
||||
else
|
||||
that.caret(pos)
|
||||
}
|
||||
|
||||
moveCaret()
|
||||
setTimeout(moveCaret, 50)
|
||||
}
|
||||
|
||||
Inputmask.prototype.blurEvent = function() {
|
||||
this.checkVal()
|
||||
if (this.$element.val() !== this.focusText)
|
||||
this.$element.trigger('change')
|
||||
}
|
||||
|
||||
Inputmask.prototype.keydownEvent = function(e) {
|
||||
var k = e.which
|
||||
|
||||
//backspace, delete, and escape get special treatment
|
||||
if (k == 8 || k == 46 || (isIphone && k == 127)) {
|
||||
var pos = this.caret(),
|
||||
begin = pos.begin,
|
||||
end = pos.end
|
||||
|
||||
if (end - begin === 0) {
|
||||
begin = k != 46 ? this.seekPrev(begin) : (end = this.seekNext(begin - 1))
|
||||
end = k == 46 ? this.seekNext(end) : end
|
||||
}
|
||||
this.clearBuffer(begin, end)
|
||||
this.shiftL(begin, end - 1)
|
||||
|
||||
return false
|
||||
} else if (k == 27) {//escape
|
||||
this.$element.val(this.focusText)
|
||||
this.caret(0, this.checkVal())
|
||||
return false
|
||||
}
|
||||
}
|
||||
|
||||
Inputmask.prototype.keypressEvent = function(e) {
|
||||
var len = this.mask.length
|
||||
|
||||
var k = e.which,
|
||||
pos = this.caret()
|
||||
|
||||
if (e.ctrlKey || e.altKey || e.metaKey || k < 32) {//Ignore
|
||||
return true
|
||||
} else if (k) {
|
||||
if (pos.end - pos.begin !== 0) {
|
||||
this.clearBuffer(pos.begin, pos.end)
|
||||
this.shiftL(pos.begin, pos.end - 1)
|
||||
}
|
||||
|
||||
var p = this.seekNext(pos.begin - 1)
|
||||
if (p < len) {
|
||||
var c = String.fromCharCode(k)
|
||||
if (this.tests[p].test(c)) {
|
||||
this.shiftR(p)
|
||||
this.buffer[p] = c
|
||||
this.writeBuffer()
|
||||
var next = this.seekNext(p)
|
||||
this.caret(next)
|
||||
}
|
||||
}
|
||||
return false
|
||||
}
|
||||
}
|
||||
|
||||
Inputmask.prototype.pasteEvent = function() {
|
||||
var that = this
|
||||
|
||||
setTimeout(function() {
|
||||
that.caret(that.checkVal(true))
|
||||
}, 0)
|
||||
}
|
||||
|
||||
Inputmask.prototype.clearBuffer = function(start, end) {
|
||||
var len = this.mask.length
|
||||
|
||||
for (var i = start; i < end && i < len; i++) {
|
||||
if (this.tests[i])
|
||||
this.buffer[i] = this.options.placeholder
|
||||
}
|
||||
}
|
||||
|
||||
Inputmask.prototype.writeBuffer = function() {
|
||||
return this.$element.val(this.buffer.join('')).val()
|
||||
}
|
||||
|
||||
Inputmask.prototype.checkVal = function(allow) {
|
||||
var len = this.mask.length
|
||||
//try to place characters where they belong
|
||||
var test = this.$element.val()
|
||||
var lastMatch = -1
|
||||
|
||||
for (var i = 0, pos = 0; i < len; i++) {
|
||||
if (this.tests[i]) {
|
||||
this.buffer[i] = this.options.placeholder
|
||||
while (pos++ < test.length) {
|
||||
var c = test.charAt(pos - 1)
|
||||
if (this.tests[i].test(c)) {
|
||||
this.buffer[i] = c
|
||||
lastMatch = i
|
||||
break
|
||||
}
|
||||
}
|
||||
if (pos > test.length)
|
||||
break
|
||||
} else if (this.buffer[i] == test.charAt(pos) && i != this.partialPosition) {
|
||||
pos++
|
||||
lastMatch = i
|
||||
}
|
||||
}
|
||||
if (!allow && lastMatch + 1 < this.partialPosition) {
|
||||
this.$element.val("")
|
||||
this.clearBuffer(0, len)
|
||||
} else if (allow || lastMatch + 1 >= this.partialPosition) {
|
||||
this.writeBuffer()
|
||||
if (!allow) this.$element.val(this.$element.val().substring(0, lastMatch + 1))
|
||||
}
|
||||
return (this.partialPosition ? i : this.firstNonMaskPos)
|
||||
}
|
||||
|
||||
|
||||
// INPUTMASK PLUGIN DEFINITION
|
||||
// ===========================
|
||||
|
||||
var old = $.fn.inputmask
|
||||
|
||||
$.fn.inputmask = function (options) {
|
||||
return this.each(function () {
|
||||
var $this = $(this)
|
||||
var data = $this.data('bs.inputmask')
|
||||
|
||||
if (!data) $this.data('bs.inputmask', (data = new Inputmask(this, options)))
|
||||
})
|
||||
}
|
||||
|
||||
$.fn.inputmask.Constructor = Inputmask
|
||||
|
||||
|
||||
// INPUTMASK NO CONFLICT
|
||||
// ====================
|
||||
|
||||
$.fn.inputmask.noConflict = function () {
|
||||
$.fn.inputmask = old
|
||||
return this
|
||||
}
|
||||
|
||||
|
||||
// INPUTMASK DATA-API
|
||||
// ==================
|
||||
|
||||
$(document).on('focus.bs.inputmask.data-api', '[data-mask]', function (e) {
|
||||
var $this = $(this)
|
||||
if ($this.data('bs.inputmask')) return
|
||||
$this.inputmask($this.data())
|
||||
})
|
||||
|
||||
}(window.jQuery);
|
@ -1,7 +0,0 @@
|
||||
/*!
|
||||
* bootstrap-select v1.4.2
|
||||
* http://silviomoreto.github.io/bootstrap-select/
|
||||
*
|
||||
* Copyright 2013 bootstrap-select
|
||||
* Licensed under the MIT license
|
||||
*/.bootstrap-select.btn-group,.bootstrap-select.btn-group[class*="span"]{float:none;display:inline-block;margin-bottom:10px;margin-left:0}.form-search .bootstrap-select.btn-group,.form-inline .bootstrap-select.btn-group,.form-horizontal .bootstrap-select.btn-group{margin-bottom:0}.bootstrap-select.form-control{margin-bottom:0;padding:0;border:0}.bootstrap-select.btn-group.pull-right,.bootstrap-select.btn-group[class*="span"].pull-right,.row-fluid .bootstrap-select.btn-group[class*="span"].pull-right{float:right}.input-append .bootstrap-select.btn-group{margin-left:-1px}.input-prepend .bootstrap-select.btn-group{margin-right:-1px}.bootstrap-select:not([class*="span"]):not([class*="col-"]):not([class*="form-control"]){width:220px}.bootstrap-select{width:220px\0}.bootstrap-select.form-control:not([class*="span"]){width:100%}.bootstrap-select>.btn{width:100%}.error .bootstrap-select .btn{border:1px solid #b94a48}.dropdown-menu{z-index:2000}.bootstrap-select.show-menu-arrow.open>.btn{z-index:2051}.bootstrap-select .btn:focus{outline:thin dotted #333 !important;outline:5px auto -webkit-focus-ring-color !important;outline-offset:-2px}.bootstrap-select.btn-group .btn .filter-option{overflow:hidden;position:absolute;left:12px;right:25px;text-align:left}.bootstrap-select.btn-group .btn .caret{position:absolute;top:50%;right:12px;margin-top:-2px;vertical-align:middle}.bootstrap-select.btn-group>.disabled,.bootstrap-select.btn-group .dropdown-menu li.disabled>a{cursor:not-allowed}.bootstrap-select.btn-group>.disabled:focus{outline:none !important}.bootstrap-select.btn-group[class*="span"] .btn{width:100%}.bootstrap-select.btn-group .dropdown-menu{min-width:100%;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.bootstrap-select.btn-group .dropdown-menu.inner{position:static;border:0;padding:0;margin:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.bootstrap-select.btn-group .dropdown-menu dt{display:block;padding:3px 20px;cursor:default}.bootstrap-select.btn-group .div-contain{overflow:hidden}.bootstrap-select.btn-group .dropdown-menu li{position:relative}.bootstrap-select.btn-group .dropdown-menu li>a.opt{position:relative;padding-left:35px}.bootstrap-select.btn-group .dropdown-menu li>a{cursor:pointer}.bootstrap-select.btn-group .dropdown-menu li>dt small{font-weight:normal}.bootstrap-select.btn-group.show-tick .dropdown-menu li.selected a i.check-mark{display:inline-block;position:absolute;right:15px;margin-top:2.5px}.bootstrap-select.btn-group .dropdown-menu li a i.check-mark{display:none}.bootstrap-select.btn-group.show-tick .dropdown-menu li a span.text{margin-right:34px}.bootstrap-select.btn-group .dropdown-menu li small{padding-left:.5em}.bootstrap-select.btn-group .dropdown-menu li:not(.disabled)>a:hover small,.bootstrap-select.btn-group .dropdown-menu li:not(.disabled)>a:focus small,.bootstrap-select.btn-group .dropdown-menu li.active:not(.disabled)>a small{color:#64b1d8;color:rgba(255,255,255,0.4)}.bootstrap-select.btn-group .dropdown-menu li>dt small{font-weight:normal}.bootstrap-select.show-menu-arrow .dropdown-toggle:before{content:'';display:inline-block;border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid #CCC;border-bottom-color:rgba(0,0,0,0.2);position:absolute;bottom:-4px;left:9px;display:none}.bootstrap-select.show-menu-arrow .dropdown-toggle:after{content:'';display:inline-block;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid white;position:absolute;bottom:-4px;left:10px;display:none}.bootstrap-select.show-menu-arrow.dropup .dropdown-toggle:before{bottom:auto;top:-3px;border-top:7px solid #ccc;border-bottom:0;border-top-color:rgba(0,0,0,0.2)}.bootstrap-select.show-menu-arrow.dropup .dropdown-toggle:after{bottom:auto;top:-3px;border-top:6px solid #fff;border-bottom:0}.bootstrap-select.show-menu-arrow.pull-right .dropdown-toggle:before{right:12px;left:auto}.bootstrap-select.show-menu-arrow.pull-right .dropdown-toggle:after{right:13px;left:auto}.bootstrap-select.show-menu-arrow.open>.dropdown-toggle:before,.bootstrap-select.show-menu-arrow.open>.dropdown-toggle:after{display:block}.bootstrap-select.btn-group .no-results{padding:3px;background:#f5f5f5;margin:0 5px}.mobile-device{position:absolute;top:0;left:0;display:block !important;width:100%;height:100% !important;opacity:0}.bootstrap-select.fit-width{width:auto !important}.bootstrap-select.btn-group.fit-width .btn .filter-option{position:static}.bootstrap-select.btn-group.fit-width .btn .caret{position:static;top:auto;margin-top:-1px}.control-group.error .bootstrap-select .dropdown-toggle{border-color:#b94a48}.bootstrap-select-searchbox{padding:4px 8px}.bootstrap-select-searchbox input{margin-bottom:0}
|
Before Width: | Height: | Size: 1.8 KiB |
@ -1,589 +0,0 @@
|
||||
/*
|
||||
Version: 3.4.3 Timestamp: Tue Sep 17 06:47:14 PDT 2013
|
||||
*/
|
||||
.select2-container {
|
||||
margin: 0;
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
/* inline-block for ie7 */
|
||||
zoom: 1;
|
||||
*display: inline;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.select2-container,
|
||||
.select2-drop,
|
||||
.select2-search,
|
||||
.select2-search input {
|
||||
/*
|
||||
Force border-box so that % widths fit the parent
|
||||
container without overlap because of margin/padding.
|
||||
|
||||
More Info : http://www.quirksmode.org/css/box.html
|
||||
*/
|
||||
-webkit-box-sizing: border-box; /* webkit */
|
||||
-moz-box-sizing: border-box; /* firefox */
|
||||
box-sizing: border-box; /* css3 */
|
||||
}
|
||||
|
||||
.select2-container .select2-choice {
|
||||
display: block;
|
||||
height: 26px;
|
||||
padding: 0 0 0 8px;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
|
||||
border: 1px solid #aaa;
|
||||
white-space: nowrap;
|
||||
line-height: 26px;
|
||||
color: #444;
|
||||
text-decoration: none;
|
||||
|
||||
border-radius: 4px;
|
||||
|
||||
background-clip: padding-box;
|
||||
|
||||
-webkit-touch-callout: none;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
.select2-container.select2-drop-above .select2-choice {
|
||||
border-bottom-color: #aaa;
|
||||
|
||||
border-radius: 0 0 4px 4px;
|
||||
|
||||
}
|
||||
|
||||
.select2-container.select2-allowclear .select2-choice .select2-chosen {
|
||||
margin-right: 42px;
|
||||
}
|
||||
|
||||
.select2-container .select2-choice > .select2-chosen {
|
||||
margin-right: 26px;
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
|
||||
white-space: nowrap;
|
||||
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.select2-container .select2-choice abbr {
|
||||
display: none;
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
position: absolute;
|
||||
right: 24px;
|
||||
top: 8px;
|
||||
|
||||
font-size: 1px;
|
||||
text-decoration: none;
|
||||
|
||||
border: 0;
|
||||
background: url('select2.png') right top no-repeat;
|
||||
cursor: pointer;
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
.select2-container.select2-allowclear .select2-choice abbr {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.select2-container .select2-choice abbr:hover {
|
||||
background-position: right -11px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.select2-drop-mask {
|
||||
border: 0;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
position: fixed;
|
||||
left: 0;
|
||||
top: 0;
|
||||
min-height: 100%;
|
||||
min-width: 100%;
|
||||
height: auto;
|
||||
width: auto;
|
||||
opacity: 0;
|
||||
z-index: 9998;
|
||||
/* styles required for IE to work */
|
||||
background-color: #fff;
|
||||
filter: alpha(opacity=0);
|
||||
}
|
||||
|
||||
.select2-drop {
|
||||
width: 100%;
|
||||
margin-top: -1px;
|
||||
position: absolute;
|
||||
z-index: 9999;
|
||||
top: 100%;
|
||||
|
||||
background: #fff;
|
||||
color: #000;
|
||||
border: 1px solid #aaa;
|
||||
border-top: 0;
|
||||
|
||||
border-radius: 0 0 4px 4px;
|
||||
|
||||
-webkit-box-shadow: 0 4px 5px rgba(0, 0, 0, .15);
|
||||
box-shadow: 0 4px 5px rgba(0, 0, 0, .15);
|
||||
}
|
||||
|
||||
.select2-drop-auto-width {
|
||||
border-top: 1px solid #aaa;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.select2-drop-auto-width .select2-search {
|
||||
padding-top: 4px;
|
||||
}
|
||||
|
||||
.select2-drop.select2-drop-above {
|
||||
margin-top: 1px;
|
||||
border-top: 1px solid #aaa;
|
||||
border-bottom: 0;
|
||||
|
||||
border-radius: 4px 4px 0 0;
|
||||
|
||||
-webkit-box-shadow: 0 -4px 5px rgba(0, 0, 0, .15);
|
||||
box-shadow: 0 -4px 5px rgba(0, 0, 0, .15);
|
||||
}
|
||||
|
||||
.select2-drop-active {
|
||||
border: 1px solid #5897fb;
|
||||
border-top: none;
|
||||
}
|
||||
|
||||
.select2-drop.select2-drop-above.select2-drop-active {
|
||||
border-top: 1px solid #5897fb;
|
||||
}
|
||||
|
||||
.select2-container .select2-choice .select2-arrow {
|
||||
display: inline-block;
|
||||
width: 18px;
|
||||
height: 100%;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
|
||||
border-left: 1px solid #aaa;
|
||||
border-radius: 0 4px 4px 0;
|
||||
|
||||
background-clip: padding-box;
|
||||
|
||||
background: #ccc;
|
||||
}
|
||||
|
||||
.select2-container .select2-choice .select2-arrow b {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: url('select2.png') no-repeat 0 1px;
|
||||
}
|
||||
|
||||
.select2-search {
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
min-height: 26px;
|
||||
margin: 0;
|
||||
padding-left: 4px;
|
||||
padding-right: 4px;
|
||||
position: relative;
|
||||
z-index: 10000;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.select2-search input {
|
||||
width: 100%;
|
||||
height: auto !important;
|
||||
min-height: 26px;
|
||||
padding: 4px 20px 4px 5px;
|
||||
margin: 0;
|
||||
|
||||
outline: 0;
|
||||
font-family: sans-serif;
|
||||
font-size: 1em;
|
||||
|
||||
border: 1px solid #aaa;
|
||||
border-radius: 0;
|
||||
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
|
||||
background: #fff url('select2.png') no-repeat 100% -22px;
|
||||
background: url('select2.png') no-repeat 100% -22px, -webkit-gradient(linear, left bottom, left top, color-stop(0.85, #fff), color-stop(0.99, #eee));
|
||||
background: url('select2.png') no-repeat 100% -22px, -webkit-linear-gradient(center bottom, #fff 85%, #eee 99%);
|
||||
background: url('select2.png') no-repeat 100% -22px, -moz-linear-gradient(center bottom, #fff 85%, #eee 99%);
|
||||
background: url('select2.png') no-repeat 100% -22px, linear-gradient(top, #fff 85%, #eee 99%);
|
||||
}
|
||||
|
||||
.select2-drop.select2-drop-above .select2-search input {
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
.select2-search input.select2-active {
|
||||
background: #fff url('select2-spinner.gif') no-repeat 100%;
|
||||
background: url('select2-spinner.gif') no-repeat 100%, -webkit-gradient(linear, left bottom, left top, color-stop(0.85, #fff), color-stop(0.99, #eee));
|
||||
background: url('select2-spinner.gif') no-repeat 100%, -webkit-linear-gradient(center bottom, #fff 85%, #eee 99%);
|
||||
background: url('select2-spinner.gif') no-repeat 100%, -moz-linear-gradient(center bottom, #fff 85%, #eee 99%);
|
||||
background: url('select2-spinner.gif') no-repeat 100%, linear-gradient(top, #fff 85%, #eee 99%);
|
||||
}
|
||||
|
||||
.select2-container-active .select2-choice,
|
||||
.select2-container-active .select2-choices {
|
||||
border: 1px solid #5897fb;
|
||||
outline: none;
|
||||
|
||||
-webkit-box-shadow: 0 0 5px rgba(0, 0, 0, .3);
|
||||
box-shadow: 0 0 5px rgba(0, 0, 0, .3);
|
||||
}
|
||||
|
||||
.select2-dropdown-open .select2-choice {
|
||||
border-bottom-color: transparent;
|
||||
-webkit-box-shadow: 0 1px 0 #fff inset;
|
||||
box-shadow: 0 1px 0 #fff inset;
|
||||
|
||||
border-bottom-left-radius: 0;
|
||||
border-bottom-right-radius: 0;
|
||||
|
||||
background-color: #eee;
|
||||
background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #fff), color-stop(0.5, #eee));
|
||||
background-image: -webkit-linear-gradient(center bottom, #fff 0%, #eee 50%);
|
||||
background-image: -moz-linear-gradient(center bottom, #fff 0%, #eee 50%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#ffffff', GradientType=0);
|
||||
background-image: linear-gradient(top, #fff 0%, #eee 50%);
|
||||
}
|
||||
|
||||
.select2-dropdown-open.select2-drop-above .select2-choice,
|
||||
.select2-dropdown-open.select2-drop-above .select2-choices {
|
||||
border: 1px solid #5897fb;
|
||||
border-top-color: transparent;
|
||||
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #fff), color-stop(0.5, #eee));
|
||||
background-image: -webkit-linear-gradient(center top, #fff 0%, #eee 50%);
|
||||
background-image: -moz-linear-gradient(center top, #fff 0%, #eee 50%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#ffffff', GradientType=0);
|
||||
background-image: linear-gradient(bottom, #fff 0%, #eee 50%);
|
||||
}
|
||||
|
||||
.select2-dropdown-open .select2-choice .select2-arrow {
|
||||
background: transparent;
|
||||
border-left: none;
|
||||
filter: none;
|
||||
}
|
||||
.select2-dropdown-open .select2-choice .select2-arrow b {
|
||||
background-position: -18px 1px;
|
||||
}
|
||||
|
||||
/* results */
|
||||
.select2-results {
|
||||
max-height: 200px;
|
||||
padding: 0 0 0 4px;
|
||||
margin: 4px 4px 4px 0;
|
||||
position: relative;
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
||||
}
|
||||
|
||||
.select2-results ul.select2-result-sub {
|
||||
margin: 0;
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
.select2-results ul.select2-result-sub > li .select2-result-label { padding-left: 20px }
|
||||
.select2-results ul.select2-result-sub ul.select2-result-sub > li .select2-result-label { padding-left: 40px }
|
||||
.select2-results ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub > li .select2-result-label { padding-left: 60px }
|
||||
.select2-results ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub > li .select2-result-label { padding-left: 80px }
|
||||
.select2-results ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub > li .select2-result-label { padding-left: 100px }
|
||||
.select2-results ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub > li .select2-result-label { padding-left: 110px }
|
||||
.select2-results ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub > li .select2-result-label { padding-left: 120px }
|
||||
|
||||
.select2-results li {
|
||||
list-style: none;
|
||||
display: list-item;
|
||||
background-image: none;
|
||||
}
|
||||
|
||||
.select2-results li.select2-result-with-children > .select2-result-label {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.select2-results .select2-result-label {
|
||||
padding: 3px 7px 4px;
|
||||
margin: 0;
|
||||
cursor: pointer;
|
||||
|
||||
min-height: 1em;
|
||||
|
||||
-webkit-touch-callout: none;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.select2-results .select2-highlighted {
|
||||
background: #3875d7;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.select2-results li em {
|
||||
background: #feffde;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
.select2-results .select2-highlighted em {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.select2-results .select2-highlighted ul {
|
||||
background: #fff;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
|
||||
.select2-results .select2-no-results,
|
||||
.select2-results .select2-searching,
|
||||
.select2-results .select2-selection-limit {
|
||||
background: #f4f4f4;
|
||||
display: list-item;
|
||||
}
|
||||
|
||||
/*
|
||||
disabled look for disabled choices in the results dropdown
|
||||
*/
|
||||
.select2-results .select2-disabled.select2-highlighted {
|
||||
color: #666;
|
||||
background: #f4f4f4;
|
||||
display: list-item;
|
||||
cursor: default;
|
||||
}
|
||||
.select2-results .select2-disabled {
|
||||
background: #f4f4f4;
|
||||
display: list-item;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.select2-results .select2-selected {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.select2-more-results.select2-active {
|
||||
background: #f4f4f4 url('select2-spinner.gif') no-repeat 100%;
|
||||
}
|
||||
|
||||
.select2-more-results {
|
||||
background: #f4f4f4;
|
||||
display: list-item;
|
||||
}
|
||||
|
||||
/* disabled styles */
|
||||
|
||||
.select2-container.select2-container-disabled .select2-choice {
|
||||
background-color: #f4f4f4;
|
||||
background-image: none;
|
||||
border: 1px solid #ddd;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.select2-container.select2-container-disabled .select2-choice .select2-arrow {
|
||||
background-color: #f4f4f4;
|
||||
background-image: none;
|
||||
border-left: 0;
|
||||
}
|
||||
|
||||
.select2-container.select2-container-disabled .select2-choice abbr {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
/* multiselect */
|
||||
|
||||
.select2-container-multi .select2-choices {
|
||||
height: auto !important;
|
||||
height: 1%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
position: relative;
|
||||
|
||||
border: 1px solid #aaa;
|
||||
cursor: text;
|
||||
overflow: hidden;
|
||||
|
||||
background-color: #fff;
|
||||
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(1%, #eee), color-stop(15%, #fff));
|
||||
background-image: -webkit-linear-gradient(top, #eee 1%, #fff 15%);
|
||||
background-image: -moz-linear-gradient(top, #eee 1%, #fff 15%);
|
||||
background-image: linear-gradient(top, #eee 1%, #fff 15%);
|
||||
}
|
||||
|
||||
.select2-locked {
|
||||
padding: 3px 5px 3px 5px !important;
|
||||
}
|
||||
|
||||
.select2-container-multi .select2-choices {
|
||||
min-height: 26px;
|
||||
}
|
||||
|
||||
.select2-container-multi.select2-container-active .select2-choices {
|
||||
border: 1px solid #5897fb;
|
||||
outline: none;
|
||||
|
||||
-webkit-box-shadow: 0 0 5px rgba(0, 0, 0, .3);
|
||||
box-shadow: 0 0 5px rgba(0, 0, 0, .3);
|
||||
}
|
||||
.select2-container-multi .select2-choices li {
|
||||
float: left;
|
||||
list-style: none;
|
||||
}
|
||||
.select2-container-multi .select2-choices .select2-search-field {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.select2-container-multi .select2-choices .select2-search-field input {
|
||||
padding: 5px;
|
||||
margin: 1px 0;
|
||||
|
||||
font-family: sans-serif;
|
||||
font-size: 100%;
|
||||
color: #666;
|
||||
outline: 0;
|
||||
border: 0;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
background: transparent !important;
|
||||
}
|
||||
|
||||
.select2-container-multi .select2-choices .select2-search-field input.select2-active {
|
||||
background: #fff url('select2-spinner.gif') no-repeat 100% !important;
|
||||
}
|
||||
|
||||
.select2-default {
|
||||
color: #999 !important;
|
||||
}
|
||||
|
||||
.select2-container-multi .select2-choices .select2-search-choice {
|
||||
padding: 3px 5px 3px 18px;
|
||||
margin: 3px 0 3px 5px;
|
||||
position: relative;
|
||||
|
||||
line-height: 13px;
|
||||
color: #333;
|
||||
cursor: default;
|
||||
border: 1px solid #aaaaaa;
|
||||
|
||||
border-radius: 3px;
|
||||
|
||||
-webkit-box-shadow: 0 0 2px #fff inset, 0 1px 0 rgba(0, 0, 0, 0.05);
|
||||
box-shadow: 0 0 2px #fff inset, 0 1px 0 rgba(0, 0, 0, 0.05);
|
||||
|
||||
background-clip: padding-box;
|
||||
|
||||
-webkit-touch-callout: none;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
|
||||
background-color: #e4e4e4;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#f4f4f4', GradientType=0);
|
||||
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(20%, #f4f4f4), color-stop(50%, #f0f0f0), color-stop(52%, #e8e8e8), color-stop(100%, #eee));
|
||||
background-image: -webkit-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
|
||||
background-image: -moz-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
|
||||
background-image: linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
|
||||
}
|
||||
.select2-container-multi .select2-choices .select2-search-choice .select2-chosen {
|
||||
cursor: default;
|
||||
}
|
||||
.select2-container-multi .select2-choices .select2-search-choice-focus {
|
||||
background: #d4d4d4;
|
||||
}
|
||||
|
||||
.select2-search-choice-close {
|
||||
display: block;
|
||||
width: 12px;
|
||||
height: 13px;
|
||||
position: absolute;
|
||||
right: 3px;
|
||||
top: 4px;
|
||||
|
||||
font-size: 1px;
|
||||
outline: none;
|
||||
background: url('select2.png') right top no-repeat;
|
||||
}
|
||||
|
||||
.select2-container-multi .select2-search-choice-close {
|
||||
left: 3px;
|
||||
}
|
||||
|
||||
.select2-container-multi .select2-choices .select2-search-choice .select2-search-choice-close:hover {
|
||||
background-position: right -11px;
|
||||
}
|
||||
.select2-container-multi .select2-choices .select2-search-choice-focus .select2-search-choice-close {
|
||||
background-position: right -11px;
|
||||
}
|
||||
|
||||
/* disabled styles */
|
||||
.select2-container-multi.select2-container-disabled .select2-choices {
|
||||
background-color: #f4f4f4;
|
||||
background-image: none;
|
||||
border: 1px solid #ddd;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.select2-container-multi.select2-container-disabled .select2-choices .select2-search-choice {
|
||||
padding: 3px 5px 3px 5px;
|
||||
border: 1px solid #ddd;
|
||||
background-image: none;
|
||||
background-color: #f4f4f4;
|
||||
}
|
||||
|
||||
.select2-container-multi.select2-container-disabled .select2-choices .select2-search-choice .select2-search-choice-close { display: none;
|
||||
background: none;
|
||||
}
|
||||
/* end multiselect */
|
||||
|
||||
|
||||
.select2-result-selectable .select2-match,
|
||||
.select2-result-unselectable .select2-match {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.select2-offscreen, .select2-offscreen:focus {
|
||||
clip: rect(0 0 0 0) !important;
|
||||
width: 1px !important;
|
||||
height: 1px !important;
|
||||
border: 0 !important;
|
||||
margin: 0 !important;
|
||||
padding: 0 !important;
|
||||
overflow: hidden !important;
|
||||
position: absolute !important;
|
||||
outline: 0 !important;
|
||||
left: 0px !important;
|
||||
top: 0px !important;
|
||||
}
|
||||
|
||||
.select2-display-none {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.select2-measure-scrollbar {
|
||||
position: absolute;
|
||||
top: -10000px;
|
||||
left: -10000px;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
overflow: scroll;
|
||||
}
|
||||
/* Retina-ize icons */
|
||||
|
||||
|
Before Width: | Height: | Size: 613 B |
@ -1,13 +0,0 @@
|
||||
/**
|
||||
* BootstrapValidator (http://bootstrapvalidator.com)
|
||||
*
|
||||
* The best jQuery plugin to validate form fields. Designed to use with Bootstrap 3
|
||||
*
|
||||
* @version v0.4.5
|
||||
* @author https://twitter.com/nghuuphuoc
|
||||
* @copyright (c) 2013 - 2014 Nguyen Huu Phuoc
|
||||
* @license MIT
|
||||
*/
|
||||
|
||||
|
||||
.bv-form .help-block{margin-bottom:0}.nav-tabs li.bv-tab-success>a{color:#3c763d}.nav-tabs li.bv-tab-error>a{color:#a94442}
|
@ -1,663 +0,0 @@
|
||||
/*! X-editable - v1.5.1
|
||||
* In-place editing with Twitter Bootstrap, jQuery UI or pure jQuery
|
||||
* http://github.com/vitalets/x-editable
|
||||
* Copyright (c) 2013 Vitaliy Potapov; Licensed MIT */
|
||||
.editableform {
|
||||
margin-bottom: 0; /* overwrites bootstrap margin */
|
||||
}
|
||||
|
||||
.editableform .control-group {
|
||||
margin-bottom: 0; /* overwrites bootstrap margin */
|
||||
white-space: nowrap; /* prevent wrapping buttons on new line */
|
||||
line-height: 20px; /* overwriting bootstrap line-height. See #133 */
|
||||
}
|
||||
|
||||
/*
|
||||
BS3 width:1005 for inputs breaks editable form in popup
|
||||
See: https://github.com/vitalets/x-editable/issues/393
|
||||
*/
|
||||
.editableform .form-control {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.editable-buttons {
|
||||
display: inline-block; /* should be inline to take effect of parent's white-space: nowrap */
|
||||
vertical-align: top;
|
||||
margin-left: 7px;
|
||||
/* inline-block emulation for IE7*/
|
||||
zoom: 1;
|
||||
*display: inline;
|
||||
}
|
||||
|
||||
.editable-buttons.editable-buttons-bottom {
|
||||
display: block;
|
||||
margin-top: 7px;
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.editable-input {
|
||||
vertical-align: top;
|
||||
display: inline-block; /* should be inline to take effect of parent's white-space: nowrap */
|
||||
width: auto; /* bootstrap-responsive has width: 100% that breakes layout */
|
||||
white-space: normal; /* reset white-space decalred in parent*/
|
||||
/* display-inline emulation for IE7*/
|
||||
zoom: 1;
|
||||
*display: inline;
|
||||
}
|
||||
|
||||
.editable-buttons .editable-cancel {
|
||||
margin-left: 7px;
|
||||
}
|
||||
|
||||
/*for jquery-ui buttons need set height to look more pretty*/
|
||||
.editable-buttons button.ui-button-icon-only {
|
||||
height: 24px;
|
||||
width: 30px;
|
||||
}
|
||||
|
||||
.editableform-loading {
|
||||
background: url('../img/loading.gif') center center no-repeat;
|
||||
height: 25px;
|
||||
width: auto;
|
||||
min-width: 25px;
|
||||
}
|
||||
|
||||
.editable-inline .editableform-loading {
|
||||
background-position: left 5px;
|
||||
}
|
||||
|
||||
.editable-error-block {
|
||||
max-width: 300px;
|
||||
margin: 5px 0 0 0;
|
||||
width: auto;
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
/*add padding for jquery ui*/
|
||||
.editable-error-block.ui-state-error {
|
||||
padding: 3px;
|
||||
}
|
||||
|
||||
.editable-error {
|
||||
color: red;
|
||||
}
|
||||
|
||||
/* ---- For specific types ---- */
|
||||
|
||||
.editableform .editable-date {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
float: left;
|
||||
}
|
||||
|
||||
/* move datepicker icon to center of add-on button. See https://github.com/vitalets/x-editable/issues/183 */
|
||||
.editable-inline .add-on .icon-th {
|
||||
margin-top: 3px;
|
||||
margin-left: 1px;
|
||||
}
|
||||
|
||||
|
||||
/* checklist vertical alignment */
|
||||
.editable-checklist label input[type="checkbox"],
|
||||
.editable-checklist label span {
|
||||
vertical-align: middle;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.editable-checklist label {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
/* set exact width of textarea to fit buttons toolbar */
|
||||
.editable-wysihtml5 {
|
||||
width: 566px;
|
||||
height: 250px;
|
||||
}
|
||||
|
||||
/* clear button shown as link in date inputs */
|
||||
.editable-clear {
|
||||
clear: both;
|
||||
font-size: 0.9em;
|
||||
text-decoration: none;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
/* IOS-style clear button for text inputs */
|
||||
.editable-clear-x {
|
||||
background: url('../img/clear.png') center center no-repeat;
|
||||
display: block;
|
||||
width: 13px;
|
||||
height: 13px;
|
||||
position: absolute;
|
||||
opacity: 0.6;
|
||||
z-index: 100;
|
||||
|
||||
top: 50%;
|
||||
right: 6px;
|
||||
margin-top: -6px;
|
||||
|
||||
}
|
||||
|
||||
.editable-clear-x:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.editable-pre-wrapped {
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
.editable-container.editable-popup {
|
||||
max-width: none !important; /* without this rule poshytip/tooltip does not stretch */
|
||||
}
|
||||
|
||||
.editable-container.popover {
|
||||
width: auto; /* without this rule popover does not stretch */
|
||||
}
|
||||
|
||||
.editable-container.editable-inline {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
width: auto;
|
||||
/* inline-block emulation for IE7*/
|
||||
zoom: 1;
|
||||
*display: inline;
|
||||
}
|
||||
|
||||
.editable-container.ui-widget {
|
||||
font-size: inherit; /* jqueryui widget font 1.1em too big, overwrite it */
|
||||
z-index: 9990; /* should be less than select2 dropdown z-index to close dropdown first when click */
|
||||
}
|
||||
.editable-click,
|
||||
a.editable-click,
|
||||
a.editable-click:hover {
|
||||
text-decoration: none;
|
||||
border-bottom: dashed 1px #0088cc;
|
||||
}
|
||||
|
||||
.editable-click.editable-disabled,
|
||||
a.editable-click.editable-disabled,
|
||||
a.editable-click.editable-disabled:hover {
|
||||
color: #585858;
|
||||
cursor: default;
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.editable-empty, .editable-empty:hover, .editable-empty:focus{
|
||||
font-style: italic;
|
||||
color: #DD1144;
|
||||
/* border-bottom: none; */
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.editable-unsaved {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.editable-unsaved:after {
|
||||
/* content: '*'*/
|
||||
}
|
||||
|
||||
.editable-bg-transition {
|
||||
-webkit-transition: background-color 1400ms ease-out;
|
||||
-moz-transition: background-color 1400ms ease-out;
|
||||
-o-transition: background-color 1400ms ease-out;
|
||||
-ms-transition: background-color 1400ms ease-out;
|
||||
transition: background-color 1400ms ease-out;
|
||||
}
|
||||
|
||||
/*see https://github.com/vitalets/x-editable/issues/139 */
|
||||
.form-horizontal .editable
|
||||
{
|
||||
padding-top: 5px;
|
||||
display:inline-block;
|
||||
}
|
||||
|
||||
|
||||
/*!
|
||||
* Datepicker for Bootstrap
|
||||
*
|
||||
* Copyright 2012 Stefan Petre
|
||||
* Improvements by Andrew Rowls
|
||||
* Licensed under the Apache License v2.0
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*/
|
||||
.datepicker {
|
||||
padding: 4px;
|
||||
-webkit-border-radius: 4px;
|
||||
-moz-border-radius: 4px;
|
||||
border-radius: 4px;
|
||||
direction: ltr;
|
||||
/*.dow {
|
||||
border-top: 1px solid #ddd !important;
|
||||
}*/
|
||||
|
||||
}
|
||||
.datepicker-inline {
|
||||
width: 220px;
|
||||
}
|
||||
.datepicker.datepicker-rtl {
|
||||
direction: rtl;
|
||||
}
|
||||
.datepicker.datepicker-rtl table tr td span {
|
||||
float: right;
|
||||
}
|
||||
.datepicker-dropdown {
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
.datepicker-dropdown:before {
|
||||
content: '';
|
||||
display: inline-block;
|
||||
border-left: 7px solid transparent;
|
||||
border-right: 7px solid transparent;
|
||||
border-bottom: 7px solid #ccc;
|
||||
border-bottom-color: rgba(0, 0, 0, 0.2);
|
||||
position: absolute;
|
||||
top: -7px;
|
||||
left: 6px;
|
||||
}
|
||||
.datepicker-dropdown:after {
|
||||
content: '';
|
||||
display: inline-block;
|
||||
border-left: 6px solid transparent;
|
||||
border-right: 6px solid transparent;
|
||||
border-bottom: 6px solid #ffffff;
|
||||
position: absolute;
|
||||
top: -6px;
|
||||
left: 7px;
|
||||
}
|
||||
.datepicker > div {
|
||||
display: none;
|
||||
}
|
||||
.datepicker.days div.datepicker-days {
|
||||
display: block;
|
||||
}
|
||||
.datepicker.months div.datepicker-months {
|
||||
display: block;
|
||||
}
|
||||
.datepicker.years div.datepicker-years {
|
||||
display: block;
|
||||
}
|
||||
.datepicker table {
|
||||
margin: 0;
|
||||
}
|
||||
.datepicker td,
|
||||
.datepicker th {
|
||||
text-align: center;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
-webkit-border-radius: 4px;
|
||||
-moz-border-radius: 4px;
|
||||
border-radius: 4px;
|
||||
border: none;
|
||||
}
|
||||
.table-striped .datepicker table tr td,
|
||||
.table-striped .datepicker table tr th {
|
||||
background-color: transparent;
|
||||
}
|
||||
.datepicker table tr td.day:hover {
|
||||
background: #eeeeee;
|
||||
cursor: pointer;
|
||||
}
|
||||
.datepicker table tr td.old,
|
||||
.datepicker table tr td.new {
|
||||
color: #999999;
|
||||
}
|
||||
.datepicker table tr td.disabled,
|
||||
.datepicker table tr td.disabled:hover {
|
||||
background: none;
|
||||
color: #999999;
|
||||
cursor: default;
|
||||
}
|
||||
.datepicker table tr td.today,
|
||||
.datepicker table tr td.today:hover,
|
||||
.datepicker table tr td.today.disabled,
|
||||
.datepicker table tr td.today.disabled:hover {
|
||||
background-color: #fde19a;
|
||||
background-image: -moz-linear-gradient(top, #fdd49a, #fdf59a);
|
||||
background-image: -ms-linear-gradient(top, #fdd49a, #fdf59a);
|
||||
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fdd49a), to(#fdf59a));
|
||||
background-image: -webkit-linear-gradient(top, #fdd49a, #fdf59a);
|
||||
background-image: -o-linear-gradient(top, #fdd49a, #fdf59a);
|
||||
background-image: linear-gradient(top, #fdd49a, #fdf59a);
|
||||
background-repeat: repeat-x;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fdd49a', endColorstr='#fdf59a', GradientType=0);
|
||||
border-color: #fdf59a #fdf59a #fbed50;
|
||||
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
|
||||
color: #000;
|
||||
}
|
||||
.datepicker table tr td.today:hover,
|
||||
.datepicker table tr td.today:hover:hover,
|
||||
.datepicker table tr td.today.disabled:hover,
|
||||
.datepicker table tr td.today.disabled:hover:hover,
|
||||
.datepicker table tr td.today:active,
|
||||
.datepicker table tr td.today:hover:active,
|
||||
.datepicker table tr td.today.disabled:active,
|
||||
.datepicker table tr td.today.disabled:hover:active,
|
||||
.datepicker table tr td.today.active,
|
||||
.datepicker table tr td.today:hover.active,
|
||||
.datepicker table tr td.today.disabled.active,
|
||||
.datepicker table tr td.today.disabled:hover.active,
|
||||
.datepicker table tr td.today.disabled,
|
||||
.datepicker table tr td.today:hover.disabled,
|
||||
.datepicker table tr td.today.disabled.disabled,
|
||||
.datepicker table tr td.today.disabled:hover.disabled,
|
||||
.datepicker table tr td.today[disabled],
|
||||
.datepicker table tr td.today:hover[disabled],
|
||||
.datepicker table tr td.today.disabled[disabled],
|
||||
.datepicker table tr td.today.disabled:hover[disabled] {
|
||||
background-color: #fdf59a;
|
||||
}
|
||||
.datepicker table tr td.today:active,
|
||||
.datepicker table tr td.today:hover:active,
|
||||
.datepicker table tr td.today.disabled:active,
|
||||
.datepicker table tr td.today.disabled:hover:active,
|
||||
.datepicker table tr td.today.active,
|
||||
.datepicker table tr td.today:hover.active,
|
||||
.datepicker table tr td.today.disabled.active,
|
||||
.datepicker table tr td.today.disabled:hover.active {
|
||||
background-color: #fbf069 \9;
|
||||
}
|
||||
.datepicker table tr td.today:hover:hover {
|
||||
color: #000;
|
||||
}
|
||||
.datepicker table tr td.today.active:hover {
|
||||
color: #fff;
|
||||
}
|
||||
.datepicker table tr td.range,
|
||||
.datepicker table tr td.range:hover,
|
||||
.datepicker table tr td.range.disabled,
|
||||
.datepicker table tr td.range.disabled:hover {
|
||||
background: #eeeeee;
|
||||
-webkit-border-radius: 0;
|
||||
-moz-border-radius: 0;
|
||||
border-radius: 0;
|
||||
}
|
||||
.datepicker table tr td.range.today,
|
||||
.datepicker table tr td.range.today:hover,
|
||||
.datepicker table tr td.range.today.disabled,
|
||||
.datepicker table tr td.range.today.disabled:hover {
|
||||
background-color: #f3d17a;
|
||||
background-image: -moz-linear-gradient(top, #f3c17a, #f3e97a);
|
||||
background-image: -ms-linear-gradient(top, #f3c17a, #f3e97a);
|
||||
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f3c17a), to(#f3e97a));
|
||||
background-image: -webkit-linear-gradient(top, #f3c17a, #f3e97a);
|
||||
background-image: -o-linear-gradient(top, #f3c17a, #f3e97a);
|
||||
background-image: linear-gradient(top, #f3c17a, #f3e97a);
|
||||
background-repeat: repeat-x;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f3c17a', endColorstr='#f3e97a', GradientType=0);
|
||||
border-color: #f3e97a #f3e97a #edde34;
|
||||
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
|
||||
-webkit-border-radius: 0;
|
||||
-moz-border-radius: 0;
|
||||
border-radius: 0;
|
||||
}
|
||||
.datepicker table tr td.range.today:hover,
|
||||
.datepicker table tr td.range.today:hover:hover,
|
||||
.datepicker table tr td.range.today.disabled:hover,
|
||||
.datepicker table tr td.range.today.disabled:hover:hover,
|
||||
.datepicker table tr td.range.today:active,
|
||||
.datepicker table tr td.range.today:hover:active,
|
||||
.datepicker table tr td.range.today.disabled:active,
|
||||
.datepicker table tr td.range.today.disabled:hover:active,
|
||||
.datepicker table tr td.range.today.active,
|
||||
.datepicker table tr td.range.today:hover.active,
|
||||
.datepicker table tr td.range.today.disabled.active,
|
||||
.datepicker table tr td.range.today.disabled:hover.active,
|
||||
.datepicker table tr td.range.today.disabled,
|
||||
.datepicker table tr td.range.today:hover.disabled,
|
||||
.datepicker table tr td.range.today.disabled.disabled,
|
||||
.datepicker table tr td.range.today.disabled:hover.disabled,
|
||||
.datepicker table tr td.range.today[disabled],
|
||||
.datepicker table tr td.range.today:hover[disabled],
|
||||
.datepicker table tr td.range.today.disabled[disabled],
|
||||
.datepicker table tr td.range.today.disabled:hover[disabled] {
|
||||
background-color: #f3e97a;
|
||||
}
|
||||
.datepicker table tr td.range.today:active,
|
||||
.datepicker table tr td.range.today:hover:active,
|
||||
.datepicker table tr td.range.today.disabled:active,
|
||||
.datepicker table tr td.range.today.disabled:hover:active,
|
||||
.datepicker table tr td.range.today.active,
|
||||
.datepicker table tr td.range.today:hover.active,
|
||||
.datepicker table tr td.range.today.disabled.active,
|
||||
.datepicker table tr td.range.today.disabled:hover.active {
|
||||
background-color: #efe24b \9;
|
||||
}
|
||||
.datepicker table tr td.selected,
|
||||
.datepicker table tr td.selected:hover,
|
||||
.datepicker table tr td.selected.disabled,
|
||||
.datepicker table tr td.selected.disabled:hover {
|
||||
background-color: #9e9e9e;
|
||||
background-image: -moz-linear-gradient(top, #b3b3b3, #808080);
|
||||
background-image: -ms-linear-gradient(top, #b3b3b3, #808080);
|
||||
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#b3b3b3), to(#808080));
|
||||
background-image: -webkit-linear-gradient(top, #b3b3b3, #808080);
|
||||
background-image: -o-linear-gradient(top, #b3b3b3, #808080);
|
||||
background-image: linear-gradient(top, #b3b3b3, #808080);
|
||||
background-repeat: repeat-x;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#b3b3b3', endColorstr='#808080', GradientType=0);
|
||||
border-color: #808080 #808080 #595959;
|
||||
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
|
||||
color: #fff;
|
||||
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
|
||||
}
|
||||
.datepicker table tr td.selected:hover,
|
||||
.datepicker table tr td.selected:hover:hover,
|
||||
.datepicker table tr td.selected.disabled:hover,
|
||||
.datepicker table tr td.selected.disabled:hover:hover,
|
||||
.datepicker table tr td.selected:active,
|
||||
.datepicker table tr td.selected:hover:active,
|
||||
.datepicker table tr td.selected.disabled:active,
|
||||
.datepicker table tr td.selected.disabled:hover:active,
|
||||
.datepicker table tr td.selected.active,
|
||||
.datepicker table tr td.selected:hover.active,
|
||||
.datepicker table tr td.selected.disabled.active,
|
||||
.datepicker table tr td.selected.disabled:hover.active,
|
||||
.datepicker table tr td.selected.disabled,
|
||||
.datepicker table tr td.selected:hover.disabled,
|
||||
.datepicker table tr td.selected.disabled.disabled,
|
||||
.datepicker table tr td.selected.disabled:hover.disabled,
|
||||
.datepicker table tr td.selected[disabled],
|
||||
.datepicker table tr td.selected:hover[disabled],
|
||||
.datepicker table tr td.selected.disabled[disabled],
|
||||
.datepicker table tr td.selected.disabled:hover[disabled] {
|
||||
background-color: #808080;
|
||||
}
|
||||
.datepicker table tr td.selected:active,
|
||||
.datepicker table tr td.selected:hover:active,
|
||||
.datepicker table tr td.selected.disabled:active,
|
||||
.datepicker table tr td.selected.disabled:hover:active,
|
||||
.datepicker table tr td.selected.active,
|
||||
.datepicker table tr td.selected:hover.active,
|
||||
.datepicker table tr td.selected.disabled.active,
|
||||
.datepicker table tr td.selected.disabled:hover.active {
|
||||
background-color: #666666 \9;
|
||||
}
|
||||
.datepicker table tr td.active,
|
||||
.datepicker table tr td.active:hover,
|
||||
.datepicker table tr td.active.disabled,
|
||||
.datepicker table tr td.active.disabled:hover {
|
||||
background-color: #006dcc;
|
||||
background-image: -moz-linear-gradient(top, #0088cc, #0044cc);
|
||||
background-image: -ms-linear-gradient(top, #0088cc, #0044cc);
|
||||
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc));
|
||||
background-image: -webkit-linear-gradient(top, #0088cc, #0044cc);
|
||||
background-image: -o-linear-gradient(top, #0088cc, #0044cc);
|
||||
background-image: linear-gradient(top, #0088cc, #0044cc);
|
||||
background-repeat: repeat-x;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0088cc', endColorstr='#0044cc', GradientType=0);
|
||||
border-color: #0044cc #0044cc #002a80;
|
||||
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
|
||||
color: #fff;
|
||||
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
|
||||
}
|
||||
.datepicker table tr td.active:hover,
|
||||
.datepicker table tr td.active:hover:hover,
|
||||
.datepicker table tr td.active.disabled:hover,
|
||||
.datepicker table tr td.active.disabled:hover:hover,
|
||||
.datepicker table tr td.active:active,
|
||||
.datepicker table tr td.active:hover:active,
|
||||
.datepicker table tr td.active.disabled:active,
|
||||
.datepicker table tr td.active.disabled:hover:active,
|
||||
.datepicker table tr td.active.active,
|
||||
.datepicker table tr td.active:hover.active,
|
||||
.datepicker table tr td.active.disabled.active,
|
||||
.datepicker table tr td.active.disabled:hover.active,
|
||||
.datepicker table tr td.active.disabled,
|
||||
.datepicker table tr td.active:hover.disabled,
|
||||
.datepicker table tr td.active.disabled.disabled,
|
||||
.datepicker table tr td.active.disabled:hover.disabled,
|
||||
.datepicker table tr td.active[disabled],
|
||||
.datepicker table tr td.active:hover[disabled],
|
||||
.datepicker table tr td.active.disabled[disabled],
|
||||
.datepicker table tr td.active.disabled:hover[disabled] {
|
||||
background-color: #0044cc;
|
||||
}
|
||||
.datepicker table tr td.active:active,
|
||||
.datepicker table tr td.active:hover:active,
|
||||
.datepicker table tr td.active.disabled:active,
|
||||
.datepicker table tr td.active.disabled:hover:active,
|
||||
.datepicker table tr td.active.active,
|
||||
.datepicker table tr td.active:hover.active,
|
||||
.datepicker table tr td.active.disabled.active,
|
||||
.datepicker table tr td.active.disabled:hover.active {
|
||||
background-color: #003399 \9;
|
||||
}
|
||||
.datepicker table tr td span {
|
||||
display: block;
|
||||
width: 23%;
|
||||
height: 54px;
|
||||
line-height: 54px;
|
||||
float: left;
|
||||
margin: 1%;
|
||||
cursor: pointer;
|
||||
-webkit-border-radius: 4px;
|
||||
-moz-border-radius: 4px;
|
||||
border-radius: 4px;
|
||||
}
|
||||
.datepicker table tr td span:hover {
|
||||
background: #eeeeee;
|
||||
}
|
||||
.datepicker table tr td span.disabled,
|
||||
.datepicker table tr td span.disabled:hover {
|
||||
background: none;
|
||||
color: #999999;
|
||||
cursor: default;
|
||||
}
|
||||
.datepicker table tr td span.active,
|
||||
.datepicker table tr td span.active:hover,
|
||||
.datepicker table tr td span.active.disabled,
|
||||
.datepicker table tr td span.active.disabled:hover {
|
||||
background-color: #006dcc;
|
||||
background-image: -moz-linear-gradient(top, #0088cc, #0044cc);
|
||||
background-image: -ms-linear-gradient(top, #0088cc, #0044cc);
|
||||
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc));
|
||||
background-image: -webkit-linear-gradient(top, #0088cc, #0044cc);
|
||||
background-image: -o-linear-gradient(top, #0088cc, #0044cc);
|
||||
background-image: linear-gradient(top, #0088cc, #0044cc);
|
||||
background-repeat: repeat-x;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0088cc', endColorstr='#0044cc', GradientType=0);
|
||||
border-color: #0044cc #0044cc #002a80;
|
||||
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
|
||||
color: #fff;
|
||||
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
|
||||
}
|
||||
.datepicker table tr td span.active:hover,
|
||||
.datepicker table tr td span.active:hover:hover,
|
||||
.datepicker table tr td span.active.disabled:hover,
|
||||
.datepicker table tr td span.active.disabled:hover:hover,
|
||||
.datepicker table tr td span.active:active,
|
||||
.datepicker table tr td span.active:hover:active,
|
||||
.datepicker table tr td span.active.disabled:active,
|
||||
.datepicker table tr td span.active.disabled:hover:active,
|
||||
.datepicker table tr td span.active.active,
|
||||
.datepicker table tr td span.active:hover.active,
|
||||
.datepicker table tr td span.active.disabled.active,
|
||||
.datepicker table tr td span.active.disabled:hover.active,
|
||||
.datepicker table tr td span.active.disabled,
|
||||
.datepicker table tr td span.active:hover.disabled,
|
||||
.datepicker table tr td span.active.disabled.disabled,
|
||||
.datepicker table tr td span.active.disabled:hover.disabled,
|
||||
.datepicker table tr td span.active[disabled],
|
||||
.datepicker table tr td span.active:hover[disabled],
|
||||
.datepicker table tr td span.active.disabled[disabled],
|
||||
.datepicker table tr td span.active.disabled:hover[disabled] {
|
||||
background-color: #0044cc;
|
||||
}
|
||||
.datepicker table tr td span.active:active,
|
||||
.datepicker table tr td span.active:hover:active,
|
||||
.datepicker table tr td span.active.disabled:active,
|
||||
.datepicker table tr td span.active.disabled:hover:active,
|
||||
.datepicker table tr td span.active.active,
|
||||
.datepicker table tr td span.active:hover.active,
|
||||
.datepicker table tr td span.active.disabled.active,
|
||||
.datepicker table tr td span.active.disabled:hover.active {
|
||||
background-color: #003399 \9;
|
||||
}
|
||||
.datepicker table tr td span.old,
|
||||
.datepicker table tr td span.new {
|
||||
color: #999999;
|
||||
}
|
||||
.datepicker th.datepicker-switch {
|
||||
width: 145px;
|
||||
}
|
||||
.datepicker thead tr:first-child th,
|
||||
.datepicker tfoot tr th {
|
||||
cursor: pointer;
|
||||
}
|
||||
.datepicker thead tr:first-child th:hover,
|
||||
.datepicker tfoot tr th:hover {
|
||||
background: #eeeeee;
|
||||
}
|
||||
.datepicker .cw {
|
||||
font-size: 10px;
|
||||
width: 12px;
|
||||
padding: 0 2px 0 5px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
.datepicker thead tr:first-child th.cw {
|
||||
cursor: default;
|
||||
background-color: transparent;
|
||||
}
|
||||
.input-append.date .add-on i,
|
||||
.input-prepend.date .add-on i {
|
||||
display: block;
|
||||
cursor: pointer;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
.input-daterange input {
|
||||
text-align: center;
|
||||
}
|
||||
.input-daterange input:first-child {
|
||||
-webkit-border-radius: 3px 0 0 3px;
|
||||
-moz-border-radius: 3px 0 0 3px;
|
||||
border-radius: 3px 0 0 3px;
|
||||
}
|
||||
.input-daterange input:last-child {
|
||||
-webkit-border-radius: 0 3px 3px 0;
|
||||
-moz-border-radius: 0 3px 3px 0;
|
||||
border-radius: 0 3px 3px 0;
|
||||
}
|
||||
.input-daterange .add-on {
|
||||
display: inline-block;
|
||||
width: auto;
|
||||
min-width: 16px;
|
||||
height: 18px;
|
||||
padding: 4px 5px;
|
||||
font-weight: normal;
|
||||
line-height: 18px;
|
||||
text-align: center;
|
||||
text-shadow: 0 1px 0 #ffffff;
|
||||
vertical-align: middle;
|
||||
background-color: #eeeeee;
|
||||
border: 1px solid #ccc;
|
||||
margin-left: -5px;
|
||||
margin-right: -5px;
|
||||
}
|
@ -1,76 +0,0 @@
|
||||
$(function(){
|
||||
//ajax mocks
|
||||
$.mockjaxSettings.responseTime = 500;
|
||||
|
||||
$.mockjax({
|
||||
url: '/post',
|
||||
response: function(settings) {
|
||||
log(settings, this);
|
||||
}
|
||||
});
|
||||
|
||||
$.mockjax({
|
||||
url: '/error',
|
||||
status: 400,
|
||||
statusText: 'Bad Request',
|
||||
response: function(settings) {
|
||||
this.responseText = 'Please input correct value';
|
||||
log(settings, this);
|
||||
}
|
||||
});
|
||||
|
||||
$.mockjax({
|
||||
url: '/status',
|
||||
status: 500,
|
||||
response: function(settings) {
|
||||
this.responseText = 'Internal Server Error';
|
||||
log(settings, this);
|
||||
}
|
||||
});
|
||||
|
||||
$.mockjax({
|
||||
url: '/groups',
|
||||
response: function(settings) {
|
||||
this.responseText = [
|
||||
{value: 0, text: 'Guest'},
|
||||
{value: 1, text: 'Service'},
|
||||
{value: 2, text: 'Customer'},
|
||||
{value: 3, text: 'Operator'},
|
||||
{value: 4, text: 'Support'},
|
||||
{value: 5, text: 'Admin'}
|
||||
];
|
||||
log(settings, this);
|
||||
}
|
||||
});
|
||||
|
||||
function log(settings, response) {
|
||||
var s = [], str;
|
||||
s.push(settings.type.toUpperCase() + ' url = "' + settings.url + '"');
|
||||
for(var a in settings.data) {
|
||||
if(settings.data[a] && typeof settings.data[a] === 'object') {
|
||||
str = [];
|
||||
for(var j in settings.data[a]) {str.push(j+': "'+settings.data[a][j]+'"');}
|
||||
str = '{ '+str.join(', ')+' }';
|
||||
} else {
|
||||
str = '"'+settings.data[a]+'"';
|
||||
}
|
||||
s.push(a + ' = ' + str);
|
||||
}
|
||||
s.push('RESPONSE: status = ' + response.status);
|
||||
|
||||
if(response.responseText) {
|
||||
if($.isArray(response.responseText)) {
|
||||
s.push('[');
|
||||
$.each(response.responseText, function(i, v){
|
||||
s.push('{value: ' + v.value+', text: "'+v.text+'"}');
|
||||
});
|
||||
s.push(']');
|
||||
} else {
|
||||
s.push($.trim(response.responseText));
|
||||
}
|
||||
}
|
||||
s.push('--------------------------------------\n');
|
||||
$('#console').val(s.join('\n') + $('#console').val());
|
||||
}
|
||||
|
||||
});
|
@ -1,521 +0,0 @@
|
||||
/*!
|
||||
* MockJax - jQuery Plugin to Mock Ajax requests
|
||||
*
|
||||
* Version: 1.5.0pre
|
||||
* Released:
|
||||
* Home: http://github.com/appendto/jquery-mockjax
|
||||
* Author: Jonathan Sharp (http://jdsharp.com)
|
||||
* License: MIT,GPL
|
||||
*
|
||||
* Copyright (c) 2011 appendTo LLC.
|
||||
* Dual licensed under the MIT or GPL licenses.
|
||||
* http://appendto.com/open-source-licenses
|
||||
*/
|
||||
(function($) {
|
||||
var _ajax = $.ajax,
|
||||
mockHandlers = [],
|
||||
CALLBACK_REGEX = /=\?(&|$)/,
|
||||
jsc = (new Date()).getTime();
|
||||
|
||||
|
||||
// Parse the given XML string.
|
||||
function parseXML(xml) {
|
||||
if ( window['DOMParser'] == undefined && window.ActiveXObject ) {
|
||||
DOMParser = function() { };
|
||||
DOMParser.prototype.parseFromString = function( xmlString ) {
|
||||
var doc = new ActiveXObject('Microsoft.XMLDOM');
|
||||
doc.async = 'false';
|
||||
doc.loadXML( xmlString );
|
||||
return doc;
|
||||
};
|
||||
}
|
||||
|
||||
try {
|
||||
var xmlDoc = ( new DOMParser() ).parseFromString( xml, 'text/xml' );
|
||||
if ( $.isXMLDoc( xmlDoc ) ) {
|
||||
var err = $('parsererror', xmlDoc);
|
||||
if ( err.length == 1 ) {
|
||||
throw('Error: ' + $(xmlDoc).text() );
|
||||
}
|
||||
} else {
|
||||
throw('Unable to parse XML');
|
||||
}
|
||||
} catch( e ) {
|
||||
var msg = ( e.name == undefined ? e : e.name + ': ' + e.message );
|
||||
$(document).trigger('xmlParseError', [ msg ]);
|
||||
return undefined;
|
||||
}
|
||||
return xmlDoc;
|
||||
}
|
||||
|
||||
// Trigger a jQuery event
|
||||
function trigger(s, type, args) {
|
||||
(s.context ? jQuery(s.context) : jQuery.event).trigger(type, args);
|
||||
}
|
||||
|
||||
// Check if the data field on the mock handler and the request match. This
|
||||
// can be used to restrict a mock handler to being used only when a certain
|
||||
// set of data is passed to it.
|
||||
function isMockDataEqual( mock, live ) {
|
||||
var identical = false;
|
||||
// Test for situations where the data is a querystring (not an object)
|
||||
if (typeof live === 'string') {
|
||||
// Querystring may be a regex
|
||||
return $.isFunction( mock.test ) ? mock.test(live) : mock == live;
|
||||
}
|
||||
$.each(mock, function(k, v) {
|
||||
if ( live[k] === undefined ) {
|
||||
identical = false;
|
||||
return identical;
|
||||
} else {
|
||||
identical = true;
|
||||
if ( typeof live[k] == 'object' ) {
|
||||
return isMockDataEqual(mock[k], live[k]);
|
||||
} else {
|
||||
if ( $.isFunction( mock[k].test ) ) {
|
||||
identical = mock[k].test(live[k]);
|
||||
} else {
|
||||
identical = ( mock[k] == live[k] );
|
||||
}
|
||||
return identical;
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
return identical;
|
||||
}
|
||||
|
||||
// Check the given handler should mock the given request
|
||||
function getMockForRequest( handler, requestSettings ) {
|
||||
// If the mock was registered with a function, let the function decide if we
|
||||
// want to mock this request
|
||||
if ( $.isFunction(handler) ) {
|
||||
return handler( requestSettings );
|
||||
}
|
||||
|
||||
// Inspect the URL of the request and check if the mock handler's url
|
||||
// matches the url for this ajax request
|
||||
if ( $.isFunction(handler.url.test) ) {
|
||||
// The user provided a regex for the url, test it
|
||||
if ( !handler.url.test( requestSettings.url ) ) {
|
||||
return null;
|
||||
}
|
||||
} else {
|
||||
// Look for a simple wildcard '*' or a direct URL match
|
||||
var star = handler.url.indexOf('*');
|
||||
if (handler.url !== requestSettings.url && star === -1 ||
|
||||
!new RegExp(handler.url.replace(/[-[\]{}()+?.,\\^$|#\s]/g, "\\$&").replace('*', '.+')).test(requestSettings.url)) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Inspect the data submitted in the request (either POST body or GET query string)
|
||||
if ( handler.data && requestSettings.data ) {
|
||||
if ( !isMockDataEqual(handler.data, requestSettings.data) ) {
|
||||
// They're not identical, do not mock this request
|
||||
return null;
|
||||
}
|
||||
}
|
||||
// Inspect the request type
|
||||
if ( handler && handler.type &&
|
||||
handler.type.toLowerCase() != requestSettings.type.toLowerCase() ) {
|
||||
// The request type doesn't match (GET vs. POST)
|
||||
return null;
|
||||
}
|
||||
|
||||
return handler;
|
||||
}
|
||||
|
||||
// If logging is enabled, log the mock to the console
|
||||
function logMock( mockHandler, requestSettings ) {
|
||||
var c = $.extend({}, $.mockjaxSettings, mockHandler);
|
||||
if ( c.log && $.isFunction(c.log) ) {
|
||||
c.log('MOCK ' + requestSettings.type.toUpperCase() + ': ' + requestSettings.url, $.extend({}, requestSettings));
|
||||
}
|
||||
}
|
||||
|
||||
// Process the xhr objects send operation
|
||||
function _xhrSend(mockHandler, requestSettings, origSettings) {
|
||||
|
||||
// This is a substitute for < 1.4 which lacks $.proxy
|
||||
var process = (function(that) {
|
||||
return function() {
|
||||
return (function() {
|
||||
// The request has returned
|
||||
this.status = mockHandler.status;
|
||||
this.statusText = mockHandler.statusText;
|
||||
this.readyState = 4;
|
||||
|
||||
// We have an executable function, call it to give
|
||||
// the mock handler a chance to update it's data
|
||||
if ( $.isFunction(mockHandler.response) ) {
|
||||
mockHandler.response(origSettings);
|
||||
}
|
||||
// Copy over our mock to our xhr object before passing control back to
|
||||
// jQuery's onreadystatechange callback
|
||||
if ( requestSettings.dataType == 'json' && ( typeof mockHandler.responseText == 'object' ) ) {
|
||||
this.responseText = JSON.stringify(mockHandler.responseText);
|
||||
} else if ( requestSettings.dataType == 'xml' ) {
|
||||
if ( typeof mockHandler.responseXML == 'string' ) {
|
||||
this.responseXML = parseXML(mockHandler.responseXML);
|
||||
} else {
|
||||
this.responseXML = mockHandler.responseXML;
|
||||
}
|
||||
} else {
|
||||
this.responseText = mockHandler.responseText;
|
||||
}
|
||||
if( typeof mockHandler.status == 'number' || typeof mockHandler.status == 'string' ) {
|
||||
this.status = mockHandler.status;
|
||||
}
|
||||
if( typeof mockHandler.statusText === "string") {
|
||||
this.statusText = mockHandler.statusText;
|
||||
}
|
||||
// jQuery < 1.4 doesn't have onreadystate change for xhr
|
||||
if ( $.isFunction(this.onreadystatechange) ) {
|
||||
if( mockHandler.isTimeout) {
|
||||
this.status = -1;
|
||||
}
|
||||
this.onreadystatechange( mockHandler.isTimeout ? 'timeout' : undefined );
|
||||
} else if ( mockHandler.isTimeout ) {
|
||||
// Fix for 1.3.2 timeout to keep success from firing.
|
||||
this.status = -1;
|
||||
}
|
||||
}).apply(that);
|
||||
};
|
||||
})(this);
|
||||
|
||||
if ( mockHandler.proxy ) {
|
||||
// We're proxying this request and loading in an external file instead
|
||||
_ajax({
|
||||
global: false,
|
||||
url: mockHandler.proxy,
|
||||
type: mockHandler.proxyType,
|
||||
data: mockHandler.data,
|
||||
dataType: requestSettings.dataType === "script" ? "text/plain" : requestSettings.dataType,
|
||||
complete: function(xhr, txt) {
|
||||
mockHandler.responseXML = xhr.responseXML;
|
||||
mockHandler.responseText = xhr.responseText;
|
||||
mockHandler.status = xhr.status;
|
||||
mockHandler.statusText = xhr.statusText;
|
||||
this.responseTimer = setTimeout(process, mockHandler.responseTime || 0);
|
||||
}
|
||||
});
|
||||
} else {
|
||||
// type == 'POST' || 'GET' || 'DELETE'
|
||||
if ( requestSettings.async === false ) {
|
||||
// TODO: Blocking delay
|
||||
process();
|
||||
} else {
|
||||
this.responseTimer = setTimeout(process, mockHandler.responseTime || 50);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Construct a mocked XHR Object
|
||||
function xhr(mockHandler, requestSettings, origSettings, origHandler) {
|
||||
// Extend with our default mockjax settings
|
||||
mockHandler = $.extend({}, $.mockjaxSettings, mockHandler);
|
||||
|
||||
if (typeof mockHandler.headers === 'undefined') {
|
||||
mockHandler.headers = {};
|
||||
}
|
||||
if ( mockHandler.contentType ) {
|
||||
mockHandler.headers['content-type'] = mockHandler.contentType;
|
||||
}
|
||||
|
||||
return {
|
||||
status: mockHandler.status,
|
||||
statusText: mockHandler.statusText,
|
||||
readyState: 1,
|
||||
open: function() { },
|
||||
send: function() {
|
||||
origHandler.fired = true;
|
||||
_xhrSend.call(this, mockHandler, requestSettings, origSettings);
|
||||
},
|
||||
abort: function() {
|
||||
clearTimeout(this.responseTimer);
|
||||
},
|
||||
setRequestHeader: function(header, value) {
|
||||
mockHandler.headers[header] = value;
|
||||
},
|
||||
getResponseHeader: function(header) {
|
||||
// 'Last-modified', 'Etag', 'content-type' are all checked by jQuery
|
||||
if ( mockHandler.headers && mockHandler.headers[header] ) {
|
||||
// Return arbitrary headers
|
||||
return mockHandler.headers[header];
|
||||
} else if ( header.toLowerCase() == 'last-modified' ) {
|
||||
return mockHandler.lastModified || (new Date()).toString();
|
||||
} else if ( header.toLowerCase() == 'etag' ) {
|
||||
return mockHandler.etag || '';
|
||||
} else if ( header.toLowerCase() == 'content-type' ) {
|
||||
return mockHandler.contentType || 'text/plain';
|
||||
}
|
||||
},
|
||||
getAllResponseHeaders: function() {
|
||||
var headers = '';
|
||||
$.each(mockHandler.headers, function(k, v) {
|
||||
headers += k + ': ' + v + "\n";
|
||||
});
|
||||
return headers;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
// Process a JSONP mock request.
|
||||
function processJsonpMock( requestSettings, mockHandler, origSettings ) {
|
||||
// Handle JSONP Parameter Callbacks, we need to replicate some of the jQuery core here
|
||||
// because there isn't an easy hook for the cross domain script tag of jsonp
|
||||
|
||||
processJsonpUrl( requestSettings );
|
||||
|
||||
requestSettings.dataType = "json";
|
||||
if(requestSettings.data && CALLBACK_REGEX.test(requestSettings.data) || CALLBACK_REGEX.test(requestSettings.url)) {
|
||||
createJsonpCallback(requestSettings, mockHandler);
|
||||
|
||||
// We need to make sure
|
||||
// that a JSONP style response is executed properly
|
||||
|
||||
var rurl = /^(\w+:)?\/\/([^\/?#]+)/,
|
||||
parts = rurl.exec( requestSettings.url ),
|
||||
remote = parts && (parts[1] && parts[1] !== location.protocol || parts[2] !== location.host);
|
||||
|
||||
requestSettings.dataType = "script";
|
||||
if(requestSettings.type.toUpperCase() === "GET" && remote ) {
|
||||
var newMockReturn = processJsonpRequest( requestSettings, mockHandler, origSettings );
|
||||
|
||||
// Check if we are supposed to return a Deferred back to the mock call, or just
|
||||
// signal success
|
||||
if(newMockReturn) {
|
||||
return newMockReturn;
|
||||
} else {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
// Append the required callback parameter to the end of the request URL, for a JSONP request
|
||||
function processJsonpUrl( requestSettings ) {
|
||||
if ( requestSettings.type.toUpperCase() === "GET" ) {
|
||||
if ( !CALLBACK_REGEX.test( requestSettings.url ) ) {
|
||||
requestSettings.url += (/\?/.test( requestSettings.url ) ? "&" : "?") +
|
||||
(requestSettings.jsonp || "callback") + "=?";
|
||||
}
|
||||
} else if ( !requestSettings.data || !CALLBACK_REGEX.test(requestSettings.data) ) {
|
||||
requestSettings.data = (requestSettings.data ? requestSettings.data + "&" : "") + (requestSettings.jsonp || "callback") + "=?";
|
||||
}
|
||||
}
|
||||
|
||||
// Process a JSONP request by evaluating the mocked response text
|
||||
function processJsonpRequest( requestSettings, mockHandler, origSettings ) {
|
||||
// Synthesize the mock request for adding a script tag
|
||||
var callbackContext = origSettings && origSettings.context || requestSettings,
|
||||
newMock = null;
|
||||
|
||||
|
||||
// If the response handler on the moock is a function, call it
|
||||
if ( mockHandler.response && $.isFunction(mockHandler.response) ) {
|
||||
mockHandler.response(origSettings);
|
||||
} else {
|
||||
|
||||
// Evaluate the responseText javascript in a global context
|
||||
if( typeof mockHandler.responseText === 'object' ) {
|
||||
$.globalEval( '(' + JSON.stringify( mockHandler.responseText ) + ')');
|
||||
} else {
|
||||
$.globalEval( '(' + mockHandler.responseText + ')');
|
||||
}
|
||||
}
|
||||
|
||||
// Successful response
|
||||
jsonpSuccess( requestSettings, mockHandler );
|
||||
jsonpComplete( requestSettings, mockHandler );
|
||||
|
||||
// If we are running under jQuery 1.5+, return a deferred object
|
||||
if(jQuery.Deferred){
|
||||
newMock = new jQuery.Deferred();
|
||||
if(typeof mockHandler.responseText == "object"){
|
||||
newMock.resolve( mockHandler.responseText );
|
||||
}
|
||||
else{
|
||||
newMock.resolve( jQuery.parseJSON( mockHandler.responseText ) );
|
||||
}
|
||||
}
|
||||
return newMock;
|
||||
}
|
||||
|
||||
|
||||
// Create the required JSONP callback function for the request
|
||||
function createJsonpCallback( requestSettings, mockHandler ) {
|
||||
jsonp = requestSettings.jsonpCallback || ("jsonp" + jsc++);
|
||||
|
||||
// Replace the =? sequence both in the query string and the data
|
||||
if ( requestSettings.data ) {
|
||||
requestSettings.data = (requestSettings.data + "").replace(CALLBACK_REGEX, "=" + jsonp + "$1");
|
||||
}
|
||||
|
||||
requestSettings.url = requestSettings.url.replace(CALLBACK_REGEX, "=" + jsonp + "$1");
|
||||
|
||||
|
||||
// Handle JSONP-style loading
|
||||
window[ jsonp ] = window[ jsonp ] || function( tmp ) {
|
||||
data = tmp;
|
||||
jsonpSuccess( requestSettings, mockHandler );
|
||||
jsonpComplete( requestSettings, mockHandler );
|
||||
// Garbage collect
|
||||
window[ jsonp ] = undefined;
|
||||
|
||||
try {
|
||||
delete window[ jsonp ];
|
||||
} catch(e) {}
|
||||
|
||||
if ( head ) {
|
||||
head.removeChild( script );
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
// The JSONP request was successful
|
||||
function jsonpSuccess(requestSettings, mockHandler) {
|
||||
// If a local callback was specified, fire it and pass it the data
|
||||
if ( requestSettings.success ) {
|
||||
requestSettings.success.call( callbackContext, ( mockHandler.response ? mockHandler.response.toString() : mockHandler.responseText || ''), status, {} );
|
||||
}
|
||||
|
||||
// Fire the global callback
|
||||
if ( requestSettings.global ) {
|
||||
trigger(requestSettings, "ajaxSuccess", [{}, requestSettings] );
|
||||
}
|
||||
}
|
||||
|
||||
// The JSONP request was completed
|
||||
function jsonpComplete(requestSettings, mockHandler) {
|
||||
// Process result
|
||||
if ( requestSettings.complete ) {
|
||||
requestSettings.complete.call( callbackContext, {} , status );
|
||||
}
|
||||
|
||||
// The request was completed
|
||||
if ( requestSettings.global ) {
|
||||
trigger( "ajaxComplete", [{}, requestSettings] );
|
||||
}
|
||||
|
||||
// Handle the global AJAX counter
|
||||
if ( requestSettings.global && ! --jQuery.active ) {
|
||||
jQuery.event.trigger( "ajaxStop" );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// The core $.ajax replacement.
|
||||
function handleAjax( url, origSettings ) {
|
||||
var mockRequest, requestSettings, mockHandler;
|
||||
|
||||
// If url is an object, simulate pre-1.5 signature
|
||||
if ( typeof url === "object" ) {
|
||||
origSettings = url;
|
||||
url = undefined;
|
||||
} else {
|
||||
// work around to support 1.5 signature
|
||||
origSettings.url = url;
|
||||
}
|
||||
|
||||
// Extend the original settings for the request
|
||||
requestSettings = jQuery.extend(true, {}, jQuery.ajaxSettings, origSettings);
|
||||
|
||||
// Iterate over our mock handlers (in registration order) until we find
|
||||
// one that is willing to intercept the request
|
||||
for(var k = 0; k < mockHandlers.length; k++) {
|
||||
if ( !mockHandlers[k] ) {
|
||||
continue;
|
||||
}
|
||||
|
||||
mockHandler = getMockForRequest( mockHandlers[k], requestSettings );
|
||||
if(!mockHandler) {
|
||||
// No valid mock found for this request
|
||||
continue;
|
||||
}
|
||||
|
||||
// Handle console logging
|
||||
logMock( mockHandler, requestSettings );
|
||||
|
||||
|
||||
if ( requestSettings.dataType === "jsonp" ) {
|
||||
if ((mockRequest = processJsonpMock( requestSettings, mockHandler, origSettings ))) {
|
||||
// This mock will handle the JSONP request
|
||||
return mockRequest;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Removed to fix #54 - keep the mocking data object intact
|
||||
//mockHandler.data = requestSettings.data;
|
||||
|
||||
mockHandler.cache = requestSettings.cache;
|
||||
mockHandler.timeout = requestSettings.timeout;
|
||||
mockHandler.global = requestSettings.global;
|
||||
|
||||
(function(mockHandler, requestSettings, origSettings, origHandler) {
|
||||
mockRequest = _ajax.call($, $.extend(true, {}, origSettings, {
|
||||
// Mock the XHR object
|
||||
xhr: function() { return xhr( mockHandler, requestSettings, origSettings, origHandler ) }
|
||||
}));
|
||||
})(mockHandler, requestSettings, origSettings, mockHandlers[k]);
|
||||
|
||||
return mockRequest;
|
||||
}
|
||||
|
||||
// We don't have a mock request, trigger a normal request
|
||||
return _ajax.apply($, [origSettings]);
|
||||
}
|
||||
|
||||
|
||||
// Public
|
||||
|
||||
$.extend({
|
||||
ajax: handleAjax
|
||||
});
|
||||
|
||||
$.mockjaxSettings = {
|
||||
//url: null,
|
||||
//type: 'GET',
|
||||
log: function(msg) {
|
||||
window['console'] && window.console.log && window.console.log(msg);
|
||||
},
|
||||
status: 200,
|
||||
statusText: "OK",
|
||||
responseTime: 500,
|
||||
isTimeout: false,
|
||||
contentType: 'text/plain',
|
||||
response: '',
|
||||
responseText: '',
|
||||
responseXML: '',
|
||||
proxy: '',
|
||||
proxyType: 'GET',
|
||||
|
||||
lastModified: null,
|
||||
etag: '',
|
||||
headers: {
|
||||
etag: 'IJF@H#@923uf8023hFO@I#H#',
|
||||
'content-type' : 'text/plain'
|
||||
}
|
||||
};
|
||||
|
||||
$.mockjax = function(settings) {
|
||||
var i = mockHandlers.length;
|
||||
mockHandlers[i] = settings;
|
||||
return i;
|
||||
};
|
||||
$.mockjaxClear = function(i) {
|
||||
if ( arguments.length == 1 ) {
|
||||
mockHandlers[i] = null;
|
||||
} else {
|
||||
mockHandlers = [];
|
||||
}
|
||||
};
|
||||
$.mockjax.handler = function(i) {
|
||||
if ( arguments.length == 1 ) {
|
||||
return mockHandlers[i];
|
||||
}
|
||||
};
|
||||
})(jQuery);
|
Before Width: | Height: | Size: 509 B |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 62 KiB |
@ -1,397 +0,0 @@
|
||||
/* The MIT License */
|
||||
.dropzone,
|
||||
.dropzone *,
|
||||
.dropzone-previews,
|
||||
.dropzone-previews * {
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.dropzone {
|
||||
position: relative;
|
||||
border: 1px solid rgba(0,0,0,0.08);
|
||||
background: rgba(0,0,0,0.02);
|
||||
padding: 1em;
|
||||
}
|
||||
.dropzone.dz-clickable {
|
||||
cursor: pointer;
|
||||
}
|
||||
.dropzone.dz-clickable .dz-message,
|
||||
.dropzone.dz-clickable .dz-message span {
|
||||
cursor: pointer;
|
||||
}
|
||||
.dropzone.dz-clickable * {
|
||||
cursor: default;
|
||||
}
|
||||
.dropzone .dz-message {
|
||||
opacity: 1;
|
||||
-ms-filter: none;
|
||||
filter: none;
|
||||
}
|
||||
.dropzone.dz-drag-hover {
|
||||
border-color: rgba(0,0,0,0.15);
|
||||
background: rgba(0,0,0,0.04);
|
||||
}
|
||||
.dropzone.dz-started .dz-message {
|
||||
display: none;
|
||||
}
|
||||
.dropzone .dz-preview,
|
||||
.dropzone-previews .dz-preview {
|
||||
background: rgba(255,255,255,0.8);
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
margin: 17px;
|
||||
vertical-align: top;
|
||||
border: 1px solid #acacac;
|
||||
padding: 6px 6px 6px 6px;
|
||||
}
|
||||
.dropzone .dz-preview.dz-file-preview [data-dz-thumbnail],
|
||||
.dropzone-previews .dz-preview.dz-file-preview [data-dz-thumbnail] {
|
||||
display: none;
|
||||
}
|
||||
.dropzone .dz-preview .dz-details,
|
||||
.dropzone-previews .dz-preview .dz-details {
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
position: relative;
|
||||
background: #ebebeb;
|
||||
padding: 5px;
|
||||
margin-bottom: 22px;
|
||||
}
|
||||
.dropzone .dz-preview .dz-details .dz-filename,
|
||||
.dropzone-previews .dz-preview .dz-details .dz-filename {
|
||||
overflow: hidden;
|
||||
height: 100%;
|
||||
}
|
||||
.dropzone .dz-preview .dz-details img,
|
||||
.dropzone-previews .dz-preview .dz-details img {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
}
|
||||
.dropzone .dz-preview .dz-details .dz-size,
|
||||
.dropzone-previews .dz-preview .dz-details .dz-size {
|
||||
position: absolute;
|
||||
bottom: -28px;
|
||||
left: 3px;
|
||||
height: 28px;
|
||||
line-height: 28px;
|
||||
}
|
||||
.dropzone .dz-preview.dz-error .dz-error-mark,
|
||||
.dropzone-previews .dz-preview.dz-error .dz-error-mark {
|
||||
display: block;
|
||||
}
|
||||
.dropzone .dz-preview.dz-success .dz-success-mark,
|
||||
.dropzone-previews .dz-preview.dz-success .dz-success-mark {
|
||||
display: block;
|
||||
}
|
||||
.dropzone .dz-preview:hover .dz-details img,
|
||||
.dropzone-previews .dz-preview:hover .dz-details img {
|
||||
display: none;
|
||||
}
|
||||
.dropzone .dz-preview .dz-success-mark,
|
||||
.dropzone-previews .dz-preview .dz-success-mark,
|
||||
.dropzone .dz-preview .dz-error-mark,
|
||||
.dropzone-previews .dz-preview .dz-error-mark {
|
||||
display: none;
|
||||
position: absolute;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
font-size: 30px;
|
||||
text-align: center;
|
||||
right: -10px;
|
||||
top: -10px;
|
||||
}
|
||||
.dropzone .dz-preview .dz-success-mark,
|
||||
.dropzone-previews .dz-preview .dz-success-mark {
|
||||
color: #8cc657;
|
||||
}
|
||||
.dropzone .dz-preview .dz-error-mark,
|
||||
.dropzone-previews .dz-preview .dz-error-mark {
|
||||
color: #ee162d;
|
||||
}
|
||||
.dropzone .dz-preview .dz-progress,
|
||||
.dropzone-previews .dz-preview .dz-progress {
|
||||
position: absolute;
|
||||
top: 100px;
|
||||
left: 6px;
|
||||
right: 6px;
|
||||
height: 6px;
|
||||
background: #d7d7d7;
|
||||
display: none;
|
||||
}
|
||||
.dropzone .dz-preview .dz-progress .dz-upload,
|
||||
.dropzone-previews .dz-preview .dz-progress .dz-upload {
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
width: 0%;
|
||||
background-color: #8cc657;
|
||||
}
|
||||
.dropzone .dz-preview.dz-processing .dz-progress,
|
||||
.dropzone-previews .dz-preview.dz-processing .dz-progress {
|
||||
display: block;
|
||||
}
|
||||
.dropzone .dz-preview .dz-error-message,
|
||||
.dropzone-previews .dz-preview .dz-error-message {
|
||||
display: none;
|
||||
position: absolute;
|
||||
top: -5px;
|
||||
left: -20px;
|
||||
background: rgba(245,245,245,0.8);
|
||||
padding: 8px 10px;
|
||||
color: #800;
|
||||
min-width: 140px;
|
||||
max-width: 500px;
|
||||
z-index: 500;
|
||||
}
|
||||
.dropzone .dz-preview:hover.dz-error .dz-error-message,
|
||||
.dropzone-previews .dz-preview:hover.dz-error .dz-error-message {
|
||||
display: block;
|
||||
}
|
||||
.dropzone {
|
||||
border: 1px solid rgba(0,0,0,0.03);
|
||||
min-height: 360px;
|
||||
-webkit-border-radius: 3px;
|
||||
border-radius: 3px;
|
||||
background: rgba(0,0,0,0.03);
|
||||
padding: 23px;
|
||||
}
|
||||
.dropzone .dz-default.dz-message {
|
||||
opacity: 1;
|
||||
-ms-filter: none;
|
||||
filter: none;
|
||||
-webkit-transition: opacity 0.3s ease-in-out;
|
||||
-moz-transition: opacity 0.3s ease-in-out;
|
||||
-o-transition: opacity 0.3s ease-in-out;
|
||||
-ms-transition: opacity 0.3s ease-in-out;
|
||||
transition: opacity 0.3s ease-in-out;
|
||||
background-image: url("../images/spritemap.png");
|
||||
background-repeat: no-repeat;
|
||||
background-position: 0 0;
|
||||
position: absolute;
|
||||
width: 428px;
|
||||
height: 123px;
|
||||
margin-left: -214px;
|
||||
margin-top: -61.5px;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
}
|
||||
@media all and (-webkit-min-device-pixel-ratio:1.5),(min--moz-device-pixel-ratio:1.5),(-o-min-device-pixel-ratio:1.5/1),(min-device-pixel-ratio:1.5),(min-resolution:138dpi),(min-resolution:1.5dppx) {
|
||||
.dropzone .dz-default.dz-message {
|
||||
background-image: url("../images/spritemap@2x.png");
|
||||
-webkit-background-size: 428px 406px;
|
||||
-moz-background-size: 428px 406px;
|
||||
background-size: 428px 406px;
|
||||
}
|
||||
}
|
||||
.dropzone .dz-default.dz-message span {
|
||||
display: none;
|
||||
}
|
||||
.dropzone.dz-square .dz-default.dz-message {
|
||||
background-position: 0 -123px;
|
||||
width: 268px;
|
||||
margin-left: -134px;
|
||||
height: 174px;
|
||||
margin-top: -87px;
|
||||
}
|
||||
.dropzone.dz-drag-hover .dz-message {
|
||||
opacity: 0.15;
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=15)";
|
||||
filter: alpha(opacity=15);
|
||||
}
|
||||
.dropzone.dz-started .dz-message {
|
||||
display: block;
|
||||
opacity: 0;
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
|
||||
filter: alpha(opacity=0);
|
||||
}
|
||||
.dropzone .dz-preview,
|
||||
.dropzone-previews .dz-preview {
|
||||
-webkit-box-shadow: 1px 1px 4px rgba(0,0,0,0.16);
|
||||
box-shadow: 1px 1px 4px rgba(0,0,0,0.16);
|
||||
font-size: 14px;
|
||||
}
|
||||
.dropzone .dz-preview.dz-image-preview:hover .dz-details img,
|
||||
.dropzone-previews .dz-preview.dz-image-preview:hover .dz-details img {
|
||||
display: block;
|
||||
opacity: 0.1;
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=10)";
|
||||
filter: alpha(opacity=10);
|
||||
}
|
||||
.dropzone .dz-preview.dz-success .dz-success-mark,
|
||||
.dropzone-previews .dz-preview.dz-success .dz-success-mark {
|
||||
opacity: 1;
|
||||
-ms-filter: none;
|
||||
filter: none;
|
||||
}
|
||||
.dropzone .dz-preview.dz-error .dz-error-mark,
|
||||
.dropzone-previews .dz-preview.dz-error .dz-error-mark {
|
||||
opacity: 1;
|
||||
-ms-filter: none;
|
||||
filter: none;
|
||||
}
|
||||
.dropzone .dz-preview.dz-error .dz-progress .dz-upload,
|
||||
.dropzone-previews .dz-preview.dz-error .dz-progress .dz-upload {
|
||||
background: #ee1e2d;
|
||||
}
|
||||
.dropzone .dz-preview .dz-error-mark,
|
||||
.dropzone-previews .dz-preview .dz-error-mark,
|
||||
.dropzone .dz-preview .dz-success-mark,
|
||||
.dropzone-previews .dz-preview .dz-success-mark {
|
||||
display: block;
|
||||
opacity: 0;
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
|
||||
filter: alpha(opacity=0);
|
||||
-webkit-transition: opacity 0.4s ease-in-out;
|
||||
-moz-transition: opacity 0.4s ease-in-out;
|
||||
-o-transition: opacity 0.4s ease-in-out;
|
||||
-ms-transition: opacity 0.4s ease-in-out;
|
||||
transition: opacity 0.4s ease-in-out;
|
||||
background-image: url("../images/spritemap.png");
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
@media all and (-webkit-min-device-pixel-ratio:1.5),(min--moz-device-pixel-ratio:1.5),(-o-min-device-pixel-ratio:1.5/1),(min-device-pixel-ratio:1.5),(min-resolution:138dpi),(min-resolution:1.5dppx) {
|
||||
.dropzone .dz-preview .dz-error-mark,
|
||||
.dropzone-previews .dz-preview .dz-error-mark,
|
||||
.dropzone .dz-preview .dz-success-mark,
|
||||
.dropzone-previews .dz-preview .dz-success-mark {
|
||||
background-image: url("../images/spritemap@2x.png");
|
||||
-webkit-background-size: 428px 406px;
|
||||
-moz-background-size: 428px 406px;
|
||||
background-size: 428px 406px;
|
||||
}
|
||||
}
|
||||
.dropzone .dz-preview .dz-error-mark span,
|
||||
.dropzone-previews .dz-preview .dz-error-mark span,
|
||||
.dropzone .dz-preview .dz-success-mark span,
|
||||
.dropzone-previews .dz-preview .dz-success-mark span {
|
||||
display: none;
|
||||
}
|
||||
.dropzone .dz-preview .dz-error-mark,
|
||||
.dropzone-previews .dz-preview .dz-error-mark {
|
||||
background-position: -268px -123px;
|
||||
}
|
||||
.dropzone .dz-preview .dz-success-mark,
|
||||
.dropzone-previews .dz-preview .dz-success-mark {
|
||||
background-position: -268px -163px;
|
||||
}
|
||||
.dropzone .dz-preview .dz-progress .dz-upload,
|
||||
.dropzone-previews .dz-preview .dz-progress .dz-upload {
|
||||
-webkit-animation: loading 0.4s linear infinite;
|
||||
-moz-animation: loading 0.4s linear infinite;
|
||||
-o-animation: loading 0.4s linear infinite;
|
||||
-ms-animation: loading 0.4s linear infinite;
|
||||
animation: loading 0.4s linear infinite;
|
||||
-webkit-transition: width 0.3s ease-in-out;
|
||||
-moz-transition: width 0.3s ease-in-out;
|
||||
-o-transition: width 0.3s ease-in-out;
|
||||
-ms-transition: width 0.3s ease-in-out;
|
||||
transition: width 0.3s ease-in-out;
|
||||
-webkit-border-radius: 2px;
|
||||
border-radius: 2px;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 0%;
|
||||
height: 100%;
|
||||
background-image: url("../images/spritemap.png");
|
||||
background-repeat: repeat-x;
|
||||
background-position: 0px -400px;
|
||||
}
|
||||
@media all and (-webkit-min-device-pixel-ratio:1.5),(min--moz-device-pixel-ratio:1.5),(-o-min-device-pixel-ratio:1.5/1),(min-device-pixel-ratio:1.5),(min-resolution:138dpi),(min-resolution:1.5dppx) {
|
||||
.dropzone .dz-preview .dz-progress .dz-upload,
|
||||
.dropzone-previews .dz-preview .dz-progress .dz-upload {
|
||||
background-image: url("../images/spritemap@2x.png");
|
||||
-webkit-background-size: 428px 406px;
|
||||
-moz-background-size: 428px 406px;
|
||||
background-size: 428px 406px;
|
||||
}
|
||||
}
|
||||
.dropzone .dz-preview.dz-success .dz-progress,
|
||||
.dropzone-previews .dz-preview.dz-success .dz-progress {
|
||||
display: block;
|
||||
opacity: 0;
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
|
||||
filter: alpha(opacity=0);
|
||||
-webkit-transition: opacity 0.4s ease-in-out;
|
||||
-moz-transition: opacity 0.4s ease-in-out;
|
||||
-o-transition: opacity 0.4s ease-in-out;
|
||||
-ms-transition: opacity 0.4s ease-in-out;
|
||||
transition: opacity 0.4s ease-in-out;
|
||||
}
|
||||
.dropzone .dz-preview .dz-error-message,
|
||||
.dropzone-previews .dz-preview .dz-error-message {
|
||||
display: block;
|
||||
opacity: 0;
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
|
||||
filter: alpha(opacity=0);
|
||||
-webkit-transition: opacity 0.3s ease-in-out;
|
||||
-moz-transition: opacity 0.3s ease-in-out;
|
||||
-o-transition: opacity 0.3s ease-in-out;
|
||||
-ms-transition: opacity 0.3s ease-in-out;
|
||||
transition: opacity 0.3s ease-in-out;
|
||||
}
|
||||
.dropzone .dz-preview:hover.dz-error .dz-error-message,
|
||||
.dropzone-previews .dz-preview:hover.dz-error .dz-error-message {
|
||||
opacity: 1;
|
||||
-ms-filter: none;
|
||||
filter: none;
|
||||
}
|
||||
.dropzone a.dz-remove,
|
||||
.dropzone-previews a.dz-remove {
|
||||
background-image: -webkit-linear-gradient(top, #fafafa, #eee);
|
||||
background-image: -moz-linear-gradient(top, #fafafa, #eee);
|
||||
background-image: -o-linear-gradient(top, #fafafa, #eee);
|
||||
background-image: -ms-linear-gradient(top, #fafafa, #eee);
|
||||
background-image: linear-gradient(to bottom, #fafafa, #eee);
|
||||
-webkit-border-radius: 2px;
|
||||
border-radius: 2px;
|
||||
border: 1px solid #eee;
|
||||
text-decoration: none;
|
||||
display: block;
|
||||
padding: 4px 5px;
|
||||
text-align: center;
|
||||
color: #aaa;
|
||||
margin-top: 26px;
|
||||
}
|
||||
.dropzone a.dz-remove:hover,
|
||||
.dropzone-previews a.dz-remove:hover {
|
||||
color: #666;
|
||||
}
|
||||
@-moz-keyframes loading {
|
||||
from {
|
||||
background-position: 0 -400px;
|
||||
}
|
||||
to {
|
||||
background-position: -7px -400px;
|
||||
}
|
||||
}
|
||||
@-webkit-keyframes loading {
|
||||
from {
|
||||
background-position: 0 -400px;
|
||||
}
|
||||
to {
|
||||
background-position: -7px -400px;
|
||||
}
|
||||
}
|
||||
@-o-keyframes loading {
|
||||
from {
|
||||
background-position: 0 -400px;
|
||||
}
|
||||
to {
|
||||
background-position: -7px -400px;
|
||||
}
|
||||
}
|
||||
@keyframes loading {
|
||||
from {
|
||||
background-position: 0 -400px;
|
||||
}
|
||||
to {
|
||||
background-position: -7px -400px;
|
||||
}
|
||||
}
|
Before Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 35 KiB |
@ -1,772 +0,0 @@
|
||||
/**
|
||||
* @preserve FastClick: polyfill to remove click delays on browsers with touch UIs.
|
||||
*
|
||||
* @version 1.0.0
|
||||
* @codingstandard ftlabs-jsv2
|
||||
* @copyright The Financial Times Limited [All Rights Reserved]
|
||||
* @license MIT License (see LICENSE.txt)
|
||||
*/
|
||||
|
||||
/*jslint browser:true, node:true*/
|
||||
/*global define, Event, Node*/
|
||||
|
||||
|
||||
/**
|
||||
* Instantiate fast-clicking listeners on the specificed layer.
|
||||
*
|
||||
* @constructor
|
||||
* @param {Element} layer The layer to listen on
|
||||
*/
|
||||
function FastClick(layer) {
|
||||
'use strict';
|
||||
var oldOnClick;
|
||||
|
||||
|
||||
/**
|
||||
* Whether a click is currently being tracked.
|
||||
*
|
||||
* @type boolean
|
||||
*/
|
||||
this.trackingClick = false;
|
||||
|
||||
|
||||
/**
|
||||
* Timestamp for when when click tracking started.
|
||||
*
|
||||
* @type number
|
||||
*/
|
||||
this.trackingClickStart = 0;
|
||||
|
||||
|
||||
/**
|
||||
* The element being tracked for a click.
|
||||
*
|
||||
* @type EventTarget
|
||||
*/
|
||||
this.targetElement = null;
|
||||
|
||||
|
||||
/**
|
||||
* X-coordinate of touch start event.
|
||||
*
|
||||
* @type number
|
||||
*/
|
||||
this.touchStartX = 0;
|
||||
|
||||
|
||||
/**
|
||||
* Y-coordinate of touch start event.
|
||||
*
|
||||
* @type number
|
||||
*/
|
||||
this.touchStartY = 0;
|
||||
|
||||
|
||||
/**
|
||||
* ID of the last touch, retrieved from Touch.identifier.
|
||||
*
|
||||
* @type number
|
||||
*/
|
||||
this.lastTouchIdentifier = 0;
|
||||
|
||||
|
||||
/**
|
||||
* Touchmove boundary, beyond which a click will be cancelled.
|
||||
*
|
||||
* @type number
|
||||
*/
|
||||
this.touchBoundary = 10;
|
||||
|
||||
|
||||
/**
|
||||
* The FastClick layer.
|
||||
*
|
||||
* @type Element
|
||||
*/
|
||||
this.layer = layer;
|
||||
|
||||
if (FastClick.notNeeded(layer)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Some old versions of Android don't have Function.prototype.bind
|
||||
function bind(method, context) {
|
||||
return function() { return method.apply(context, arguments); };
|
||||
}
|
||||
|
||||
// Set up event handlers as required
|
||||
if (deviceIsAndroid) {
|
||||
layer.addEventListener('mouseover', bind(this.onMouse, this), true);
|
||||
layer.addEventListener('mousedown', bind(this.onMouse, this), true);
|
||||
layer.addEventListener('mouseup', bind(this.onMouse, this), true);
|
||||
}
|
||||
|
||||
layer.addEventListener('click', bind(this.onClick, this), true);
|
||||
layer.addEventListener('touchstart', bind(this.onTouchStart, this), false);
|
||||
layer.addEventListener('touchmove', bind(this.onTouchMove, this), false);
|
||||
layer.addEventListener('touchend', bind(this.onTouchEnd, this), false);
|
||||
layer.addEventListener('touchcancel', bind(this.onTouchCancel, this), false);
|
||||
|
||||
// Hack is required for browsers that don't support Event#stopImmediatePropagation (e.g. Android 2)
|
||||
// which is how FastClick normally stops click events bubbling to callbacks registered on the FastClick
|
||||
// layer when they are cancelled.
|
||||
if (!Event.prototype.stopImmediatePropagation) {
|
||||
layer.removeEventListener = function(type, callback, capture) {
|
||||
var rmv = Node.prototype.removeEventListener;
|
||||
if (type === 'click') {
|
||||
rmv.call(layer, type, callback.hijacked || callback, capture);
|
||||
} else {
|
||||
rmv.call(layer, type, callback, capture);
|
||||
}
|
||||
};
|
||||
|
||||
layer.addEventListener = function(type, callback, capture) {
|
||||
var adv = Node.prototype.addEventListener;
|
||||
if (type === 'click') {
|
||||
adv.call(layer, type, callback.hijacked || (callback.hijacked = function(event) {
|
||||
if (!event.propagationStopped) {
|
||||
callback(event);
|
||||
}
|
||||
}), capture);
|
||||
} else {
|
||||
adv.call(layer, type, callback, capture);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
// If a handler is already declared in the element's onclick attribute, it will be fired before
|
||||
// FastClick's onClick handler. Fix this by pulling out the user-defined handler function and
|
||||
// adding it as listener.
|
||||
if (typeof layer.onclick === 'function') {
|
||||
|
||||
// Android browser on at least 3.2 requires a new reference to the function in layer.onclick
|
||||
// - the old one won't work if passed to addEventListener directly.
|
||||
oldOnClick = layer.onclick;
|
||||
layer.addEventListener('click', function(event) {
|
||||
oldOnClick(event);
|
||||
}, false);
|
||||
layer.onclick = null;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Android requires exceptions.
|
||||
*
|
||||
* @type boolean
|
||||
*/
|
||||
var deviceIsAndroid = navigator.userAgent.indexOf('Android') > 0;
|
||||
|
||||
|
||||
/**
|
||||
* iOS requires exceptions.
|
||||
*
|
||||
* @type boolean
|
||||
*/
|
||||
var deviceIsIOS = /iP(ad|hone|od)/.test(navigator.userAgent);
|
||||
|
||||
|
||||
/**
|
||||
* iOS 4 requires an exception for select elements.
|
||||
*
|
||||
* @type boolean
|
||||
*/
|
||||
var deviceIsIOS4 = deviceIsIOS && (/OS 4_\d(_\d)?/).test(navigator.userAgent);
|
||||
|
||||
|
||||
/**
|
||||
* iOS 6.0(+?) requires the target element to be manually derived
|
||||
*
|
||||
* @type boolean
|
||||
*/
|
||||
var deviceIsIOSWithBadTarget = deviceIsIOS && (/OS ([6-9]|\d{2})_\d/).test(navigator.userAgent);
|
||||
|
||||
|
||||
/**
|
||||
* Determine whether a given element requires a native click.
|
||||
*
|
||||
* @param {EventTarget|Element} target Target DOM element
|
||||
* @returns {boolean} Returns true if the element needs a native click
|
||||
*/
|
||||
FastClick.prototype.needsClick = function(target) {
|
||||
'use strict';
|
||||
switch (target.nodeName.toLowerCase()) {
|
||||
|
||||
// Don't send a synthetic click to disabled inputs (issue #62)
|
||||
case 'button':
|
||||
case 'select':
|
||||
case 'textarea':
|
||||
if (target.disabled) {
|
||||
return true;
|
||||
}
|
||||
|
||||
break;
|
||||
case 'input':
|
||||
|
||||
// File inputs need real clicks on iOS 6 due to a browser bug (issue #68)
|
||||
if ((deviceIsIOS && target.type === 'file') || target.disabled) {
|
||||
return true;
|
||||
}
|
||||
|
||||
break;
|
||||
case 'label':
|
||||
case 'video':
|
||||
return true;
|
||||
}
|
||||
|
||||
return (/\bneedsclick\b/).test(target.className);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Determine whether a given element requires a call to focus to simulate click into element.
|
||||
*
|
||||
* @param {EventTarget|Element} target Target DOM element
|
||||
* @returns {boolean} Returns true if the element requires a call to focus to simulate native click.
|
||||
*/
|
||||
FastClick.prototype.needsFocus = function(target) {
|
||||
'use strict';
|
||||
switch (target.nodeName.toLowerCase()) {
|
||||
case 'textarea':
|
||||
return true;
|
||||
case 'select':
|
||||
return !deviceIsAndroid;
|
||||
case 'input':
|
||||
switch (target.type) {
|
||||
case 'button':
|
||||
case 'checkbox':
|
||||
case 'file':
|
||||
case 'image':
|
||||
case 'radio':
|
||||
case 'submit':
|
||||
return false;
|
||||
}
|
||||
|
||||
// No point in attempting to focus disabled inputs
|
||||
return !target.disabled && !target.readOnly;
|
||||
default:
|
||||
return (/\bneedsfocus\b/).test(target.className);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Send a click event to the specified element.
|
||||
*
|
||||
* @param {EventTarget|Element} targetElement
|
||||
* @param {Event} event
|
||||
*/
|
||||
FastClick.prototype.sendClick = function(targetElement, event) {
|
||||
'use strict';
|
||||
var clickEvent, touch;
|
||||
|
||||
// On some Android devices activeElement needs to be blurred otherwise the synthetic click will have no effect (#24)
|
||||
if (document.activeElement && document.activeElement !== targetElement) {
|
||||
document.activeElement.blur();
|
||||
}
|
||||
|
||||
touch = event.changedTouches[0];
|
||||
|
||||
// Synthesise a click event, with an extra attribute so it can be tracked
|
||||
clickEvent = document.createEvent('MouseEvents');
|
||||
clickEvent.initMouseEvent(this.determineEventType(targetElement), true, true, window, 1, touch.screenX, touch.screenY, touch.clientX, touch.clientY, false, false, false, false, 0, null);
|
||||
clickEvent.forwardedTouchEvent = true;
|
||||
targetElement.dispatchEvent(clickEvent);
|
||||
};
|
||||
|
||||
FastClick.prototype.determineEventType = function(targetElement) {
|
||||
'use strict';
|
||||
|
||||
//Issue #159: Android Chrome Select Box does not open with a synthetic click event
|
||||
if (deviceIsAndroid && targetElement.tagName.toLowerCase() === 'select') {
|
||||
return 'mousedown';
|
||||
}
|
||||
|
||||
return 'click';
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {EventTarget|Element} targetElement
|
||||
*/
|
||||
FastClick.prototype.focus = function(targetElement) {
|
||||
'use strict';
|
||||
var length;
|
||||
|
||||
// Issue #160: on iOS 7, some input elements (e.g. date datetime) throw a vague TypeError on setSelectionRange. These elements don't have an integer value for the selectionStart and selectionEnd properties, but unfortunately that can't be used for detection because accessing the properties also throws a TypeError. Just check the type instead. Filed as Apple bug #15122724.
|
||||
if (deviceIsIOS && targetElement.setSelectionRange && targetElement.type.indexOf('date') !== 0 && targetElement.type !== 'time') {
|
||||
length = targetElement.value.length;
|
||||
targetElement.setSelectionRange(length, length);
|
||||
} else {
|
||||
targetElement.focus();
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Check whether the given target element is a child of a scrollable layer and if so, set a flag on it.
|
||||
*
|
||||
* @param {EventTarget|Element} targetElement
|
||||
*/
|
||||
FastClick.prototype.updateScrollParent = function(targetElement) {
|
||||
'use strict';
|
||||
var scrollParent, parentElement;
|
||||
|
||||
scrollParent = targetElement.fastClickScrollParent;
|
||||
|
||||
// Attempt to discover whether the target element is contained within a scrollable layer. Re-check if the
|
||||
// target element was moved to another parent.
|
||||
if (!scrollParent || !scrollParent.contains(targetElement)) {
|
||||
parentElement = targetElement;
|
||||
do {
|
||||
if (parentElement.scrollHeight > parentElement.offsetHeight) {
|
||||
scrollParent = parentElement;
|
||||
targetElement.fastClickScrollParent = parentElement;
|
||||
break;
|
||||
}
|
||||
|
||||
parentElement = parentElement.parentElement;
|
||||
} while (parentElement);
|
||||
}
|
||||
|
||||
// Always update the scroll top tracker if possible.
|
||||
if (scrollParent) {
|
||||
scrollParent.fastClickLastScrollTop = scrollParent.scrollTop;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {EventTarget} targetElement
|
||||
* @returns {Element|EventTarget}
|
||||
*/
|
||||
FastClick.prototype.getTargetElementFromEventTarget = function(eventTarget) {
|
||||
'use strict';
|
||||
|
||||
// On some older browsers (notably Safari on iOS 4.1 - see issue #56) the event target may be a text node.
|
||||
if (eventTarget.nodeType === Node.TEXT_NODE) {
|
||||
return eventTarget.parentNode;
|
||||
}
|
||||
|
||||
return eventTarget;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* On touch start, record the position and scroll offset.
|
||||
*
|
||||
* @param {Event} event
|
||||
* @returns {boolean}
|
||||
*/
|
||||
FastClick.prototype.onTouchStart = function(event) {
|
||||
'use strict';
|
||||
var targetElement, touch, selection;
|
||||
|
||||
// Ignore multiple touches, otherwise pinch-to-zoom is prevented if both fingers are on the FastClick element (issue #111).
|
||||
if (event.targetTouches.length > 1) {
|
||||
return true;
|
||||
}
|
||||
|
||||
targetElement = this.getTargetElementFromEventTarget(event.target);
|
||||
touch = event.targetTouches[0];
|
||||
|
||||
if (deviceIsIOS) {
|
||||
|
||||
// Only trusted events will deselect text on iOS (issue #49)
|
||||
selection = window.getSelection();
|
||||
if (selection.rangeCount && !selection.isCollapsed) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (!deviceIsIOS4) {
|
||||
|
||||
// Weird things happen on iOS when an alert or confirm dialog is opened from a click event callback (issue #23):
|
||||
// when the user next taps anywhere else on the page, new touchstart and touchend events are dispatched
|
||||
// with the same identifier as the touch event that previously triggered the click that triggered the alert.
|
||||
// Sadly, there is an issue on iOS 4 that causes some normal touch events to have the same identifier as an
|
||||
// immediately preceeding touch event (issue #52), so this fix is unavailable on that platform.
|
||||
if (touch.identifier === this.lastTouchIdentifier) {
|
||||
event.preventDefault();
|
||||
return false;
|
||||
}
|
||||
|
||||
this.lastTouchIdentifier = touch.identifier;
|
||||
|
||||
// If the target element is a child of a scrollable layer (using -webkit-overflow-scrolling: touch) and:
|
||||
// 1) the user does a fling scroll on the scrollable layer
|
||||
// 2) the user stops the fling scroll with another tap
|
||||
// then the event.target of the last 'touchend' event will be the element that was under the user's finger
|
||||
// when the fling scroll was started, causing FastClick to send a click event to that layer - unless a check
|
||||
// is made to ensure that a parent layer was not scrolled before sending a synthetic click (issue #42).
|
||||
this.updateScrollParent(targetElement);
|
||||
}
|
||||
}
|
||||
|
||||
this.trackingClick = true;
|
||||
this.trackingClickStart = event.timeStamp;
|
||||
this.targetElement = targetElement;
|
||||
|
||||
this.touchStartX = touch.pageX;
|
||||
this.touchStartY = touch.pageY;
|
||||
|
||||
// Prevent phantom clicks on fast double-tap (issue #36)
|
||||
if ((event.timeStamp - this.lastClickTime) < 200) {
|
||||
event.preventDefault();
|
||||
}
|
||||
|
||||
return true;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Based on a touchmove event object, check whether the touch has moved past a boundary since it started.
|
||||
*
|
||||
* @param {Event} event
|
||||
* @returns {boolean}
|
||||
*/
|
||||
FastClick.prototype.touchHasMoved = function(event) {
|
||||
'use strict';
|
||||
var touch = event.changedTouches[0], boundary = this.touchBoundary;
|
||||
|
||||
if (Math.abs(touch.pageX - this.touchStartX) > boundary || Math.abs(touch.pageY - this.touchStartY) > boundary) {
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Update the last position.
|
||||
*
|
||||
* @param {Event} event
|
||||
* @returns {boolean}
|
||||
*/
|
||||
FastClick.prototype.onTouchMove = function(event) {
|
||||
'use strict';
|
||||
if (!this.trackingClick) {
|
||||
return true;
|
||||
}
|
||||
|
||||
// If the touch has moved, cancel the click tracking
|
||||
if (this.targetElement !== this.getTargetElementFromEventTarget(event.target) || this.touchHasMoved(event)) {
|
||||
this.trackingClick = false;
|
||||
this.targetElement = null;
|
||||
}
|
||||
|
||||
return true;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Attempt to find the labelled control for the given label element.
|
||||
*
|
||||
* @param {EventTarget|HTMLLabelElement} labelElement
|
||||
* @returns {Element|null}
|
||||
*/
|
||||
FastClick.prototype.findControl = function(labelElement) {
|
||||
'use strict';
|
||||
|
||||
// Fast path for newer browsers supporting the HTML5 control attribute
|
||||
if (labelElement.control !== undefined) {
|
||||
return labelElement.control;
|
||||
}
|
||||
|
||||
// All browsers under test that support touch events also support the HTML5 htmlFor attribute
|
||||
if (labelElement.htmlFor) {
|
||||
return document.getElementById(labelElement.htmlFor);
|
||||
}
|
||||
|
||||
// If no for attribute exists, attempt to retrieve the first labellable descendant element
|
||||
// the list of which is defined here: http://www.w3.org/TR/html5/forms.html#category-label
|
||||
return labelElement.querySelector('button, input:not([type=hidden]), keygen, meter, output, progress, select, textarea');
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* On touch end, determine whether to send a click event at once.
|
||||
*
|
||||
* @param {Event} event
|
||||
* @returns {boolean}
|
||||
*/
|
||||
FastClick.prototype.onTouchEnd = function(event) {
|
||||
'use strict';
|
||||
var forElement, trackingClickStart, targetTagName, scrollParent, touch, targetElement = this.targetElement;
|
||||
|
||||
if (!this.trackingClick) {
|
||||
return true;
|
||||
}
|
||||
|
||||
// Prevent phantom clicks on fast double-tap (issue #36)
|
||||
if ((event.timeStamp - this.lastClickTime) < 200) {
|
||||
this.cancelNextClick = true;
|
||||
return true;
|
||||
}
|
||||
|
||||
// Reset to prevent wrong click cancel on input (issue #156).
|
||||
this.cancelNextClick = false;
|
||||
|
||||
this.lastClickTime = event.timeStamp;
|
||||
|
||||
trackingClickStart = this.trackingClickStart;
|
||||
this.trackingClick = false;
|
||||
this.trackingClickStart = 0;
|
||||
|
||||
// On some iOS devices, the targetElement supplied with the event is invalid if the layer
|
||||
// is performing a transition or scroll, and has to be re-detected manually. Note that
|
||||
// for this to function correctly, it must be called *after* the event target is checked!
|
||||
// See issue #57; also filed as rdar://13048589 .
|
||||
if (deviceIsIOSWithBadTarget) {
|
||||
touch = event.changedTouches[0];
|
||||
|
||||
// In certain cases arguments of elementFromPoint can be negative, so prevent setting targetElement to null
|
||||
targetElement = document.elementFromPoint(touch.pageX - window.pageXOffset, touch.pageY - window.pageYOffset) || targetElement;
|
||||
targetElement.fastClickScrollParent = this.targetElement.fastClickScrollParent;
|
||||
}
|
||||
|
||||
targetTagName = targetElement.tagName.toLowerCase();
|
||||
if (targetTagName === 'label') {
|
||||
forElement = this.findControl(targetElement);
|
||||
if (forElement) {
|
||||
this.focus(targetElement);
|
||||
if (deviceIsAndroid) {
|
||||
return false;
|
||||
}
|
||||
|
||||
targetElement = forElement;
|
||||
}
|
||||
} else if (this.needsFocus(targetElement)) {
|
||||
|
||||
// Case 1: If the touch started a while ago (best guess is 100ms based on tests for issue #36) then focus will be triggered anyway. Return early and unset the target element reference so that the subsequent click will be allowed through.
|
||||
// Case 2: Without this exception for input elements tapped when the document is contained in an iframe, then any inputted text won't be visible even though the value attribute is updated as the user types (issue #37).
|
||||
if ((event.timeStamp - trackingClickStart) > 100 || (deviceIsIOS && window.top !== window && targetTagName === 'input')) {
|
||||
this.targetElement = null;
|
||||
return false;
|
||||
}
|
||||
|
||||
this.focus(targetElement);
|
||||
this.sendClick(targetElement, event);
|
||||
|
||||
// Select elements need the event to go through on iOS 4, otherwise the selector menu won't open.
|
||||
if (!deviceIsIOS4 || targetTagName !== 'select') {
|
||||
this.targetElement = null;
|
||||
event.preventDefault();
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
if (deviceIsIOS && !deviceIsIOS4) {
|
||||
|
||||
// Don't send a synthetic click event if the target element is contained within a parent layer that was scrolled
|
||||
// and this tap is being used to stop the scrolling (usually initiated by a fling - issue #42).
|
||||
scrollParent = targetElement.fastClickScrollParent;
|
||||
if (scrollParent && scrollParent.fastClickLastScrollTop !== scrollParent.scrollTop) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
// Prevent the actual click from going though - unless the target node is marked as requiring
|
||||
// real clicks or if it is in the whitelist in which case only non-programmatic clicks are permitted.
|
||||
if (!this.needsClick(targetElement)) {
|
||||
event.preventDefault();
|
||||
this.sendClick(targetElement, event);
|
||||
}
|
||||
|
||||
return false;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* On touch cancel, stop tracking the click.
|
||||
*
|
||||
* @returns {void}
|
||||
*/
|
||||
FastClick.prototype.onTouchCancel = function() {
|
||||
'use strict';
|
||||
this.trackingClick = false;
|
||||
this.targetElement = null;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Determine mouse events which should be permitted.
|
||||
*
|
||||
* @param {Event} event
|
||||
* @returns {boolean}
|
||||
*/
|
||||
FastClick.prototype.onMouse = function(event) {
|
||||
'use strict';
|
||||
|
||||
// If a target element was never set (because a touch event was never fired) allow the event
|
||||
if (!this.targetElement) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (event.forwardedTouchEvent) {
|
||||
return true;
|
||||
}
|
||||
|
||||
// Programmatically generated events targeting a specific element should be permitted
|
||||
if (!event.cancelable) {
|
||||
return true;
|
||||
}
|
||||
|
||||
// Derive and check the target element to see whether the mouse event needs to be permitted;
|
||||
// unless explicitly enabled, prevent non-touch click events from triggering actions,
|
||||
// to prevent ghost/doubleclicks.
|
||||
if (!this.needsClick(this.targetElement) || this.cancelNextClick) {
|
||||
|
||||
// Prevent any user-added listeners declared on FastClick element from being fired.
|
||||
if (event.stopImmediatePropagation) {
|
||||
event.stopImmediatePropagation();
|
||||
} else {
|
||||
|
||||
// Part of the hack for browsers that don't support Event#stopImmediatePropagation (e.g. Android 2)
|
||||
event.propagationStopped = true;
|
||||
}
|
||||
|
||||
// Cancel the event
|
||||
event.stopPropagation();
|
||||
event.preventDefault();
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
// If the mouse event is permitted, return true for the action to go through.
|
||||
return true;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* On actual clicks, determine whether this is a touch-generated click, a click action occurring
|
||||
* naturally after a delay after a touch (which needs to be cancelled to avoid duplication), or
|
||||
* an actual click which should be permitted.
|
||||
*
|
||||
* @param {Event} event
|
||||
* @returns {boolean}
|
||||
*/
|
||||
FastClick.prototype.onClick = function(event) {
|
||||
'use strict';
|
||||
var permitted;
|
||||
|
||||
// It's possible for another FastClick-like library delivered with third-party code to fire a click event before FastClick does (issue #44). In that case, set the click-tracking flag back to false and return early. This will cause onTouchEnd to return early.
|
||||
if (this.trackingClick) {
|
||||
this.targetElement = null;
|
||||
this.trackingClick = false;
|
||||
return true;
|
||||
}
|
||||
|
||||
// Very odd behaviour on iOS (issue #18): if a submit element is present inside a form and the user hits enter in the iOS simulator or clicks the Go button on the pop-up OS keyboard the a kind of 'fake' click event will be triggered with the submit-type input element as the target.
|
||||
if (event.target.type === 'submit' && event.detail === 0) {
|
||||
return true;
|
||||
}
|
||||
|
||||
permitted = this.onMouse(event);
|
||||
|
||||
// Only unset targetElement if the click is not permitted. This will ensure that the check for !targetElement in onMouse fails and the browser's click doesn't go through.
|
||||
if (!permitted) {
|
||||
this.targetElement = null;
|
||||
}
|
||||
|
||||
// If clicks are permitted, return true for the action to go through.
|
||||
return permitted;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Remove all FastClick's event listeners.
|
||||
*
|
||||
* @returns {void}
|
||||
*/
|
||||
FastClick.prototype.destroy = function() {
|
||||
'use strict';
|
||||
var layer = this.layer;
|
||||
|
||||
if (deviceIsAndroid) {
|
||||
layer.removeEventListener('mouseover', this.onMouse, true);
|
||||
layer.removeEventListener('mousedown', this.onMouse, true);
|
||||
layer.removeEventListener('mouseup', this.onMouse, true);
|
||||
}
|
||||
|
||||
layer.removeEventListener('click', this.onClick, true);
|
||||
layer.removeEventListener('touchstart', this.onTouchStart, false);
|
||||
layer.removeEventListener('touchmove', this.onTouchMove, false);
|
||||
layer.removeEventListener('touchend', this.onTouchEnd, false);
|
||||
layer.removeEventListener('touchcancel', this.onTouchCancel, false);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Check whether FastClick is needed.
|
||||
*
|
||||
* @param {Element} layer The layer to listen on
|
||||
*/
|
||||
FastClick.notNeeded = function(layer) {
|
||||
'use strict';
|
||||
var metaViewport;
|
||||
var chromeVersion;
|
||||
|
||||
// Devices that don't support touch don't need FastClick
|
||||
if (typeof window.ontouchstart === 'undefined') {
|
||||
return true;
|
||||
}
|
||||
|
||||
// Chrome version - zero for other browsers
|
||||
chromeVersion = +(/Chrome\/([0-9]+)/.exec(navigator.userAgent) || [,0])[1];
|
||||
|
||||
if (chromeVersion) {
|
||||
|
||||
if (deviceIsAndroid) {
|
||||
metaViewport = document.querySelector('meta[name=viewport]');
|
||||
|
||||
if (metaViewport) {
|
||||
// Chrome on Android with user-scalable="no" doesn't need FastClick (issue #89)
|
||||
if (metaViewport.content.indexOf('user-scalable=no') !== -1) {
|
||||
return true;
|
||||
}
|
||||
// Chrome 32 and above with width=device-width or less don't need FastClick
|
||||
if (chromeVersion > 31 && window.innerWidth <= window.screen.width) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
// Chrome desktop doesn't need FastClick (issue #15)
|
||||
} else {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
// IE10 with -ms-touch-action: none, which disables double-tap-to-zoom (issue #97)
|
||||
if (layer.style.msTouchAction === 'none') {
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Factory method for creating a FastClick object
|
||||
*
|
||||
* @param {Element} layer The layer to listen on
|
||||
*/
|
||||
FastClick.attach = function(layer) {
|
||||
'use strict';
|
||||
return new FastClick(layer);
|
||||
};
|
||||
|
||||
|
||||
if (typeof define !== 'undefined' && define.amd) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define(function() {
|
||||
'use strict';
|
||||
return FastClick;
|
||||
});
|
||||
} else if (typeof module !== 'undefined' && module.exports) {
|
||||
module.exports = FastClick.attach;
|
||||
module.exports.FastClick = FastClick;
|
||||
} else {
|
||||
window.FastClick = FastClick;
|
||||
}
|
Before Width: | Height: | Size: 197 KiB |
@ -1,911 +0,0 @@
|
||||
@font-face {
|
||||
font-family: 'fontello';
|
||||
src: url('../font/fontello.eot?66697216');
|
||||
src: url('../font/fontello.eot?66697216#iefix') format('embedded-opentype'),
|
||||
url('../font/fontello.woff?66697216') format('woff'),
|
||||
url('../font/fontello.ttf?66697216') format('truetype'),
|
||||
url('../font/fontello.svg?66697216#fontello') format('svg');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
|
||||
/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
|
||||
/*
|
||||
@media screen and (-webkit-min-device-pixel-ratio:0) {
|
||||
@font-face {
|
||||
font-family: 'fontello';
|
||||
src: url('../font/fontello.svg?66697216#fontello') format('svg');
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
[class^="icon-"]:before, [class*=" icon-"]:before {
|
||||
font-family: "fontello";
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
speak: none;
|
||||
|
||||
display: inline-block;
|
||||
text-decoration: inherit;
|
||||
width: 1em;
|
||||
margin-right: .2em;
|
||||
text-align: center;
|
||||
/* opacity: .8; */
|
||||
|
||||
/* For safety - reset parent styles, that can break glyph codes*/
|
||||
font-variant: normal;
|
||||
text-transform: none;
|
||||
|
||||
/* fix buttons height, for twitter bootstrap */
|
||||
line-height: 1em;
|
||||
|
||||
/* Animation center compensation - margins should be symmetric */
|
||||
/* remove if not needed */
|
||||
margin-left: .2em;
|
||||
|
||||
/* you can be more comfortable with increased icons size */
|
||||
/* font-size: 120%; */
|
||||
|
||||
/* Uncomment for 3D effect */
|
||||
/* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
|
||||
}
|
||||
|
||||
.icon-note:before { content: '\eb33'; } /* '' */
|
||||
.icon-youtube:before { content: '\e90e'; } /* '' */
|
||||
.icon-music-1:before { content: '\eb35'; } /* '' */
|
||||
.icon-search-3:before { content: '\eb36'; } /* '' */
|
||||
.icon-flashlight:before { content: '\eb37'; } /* '' */
|
||||
.icon-mail-3:before { content: '\eb38'; } /* '' */
|
||||
.icon-heart-3:before { content: '\eb39'; } /* '' */
|
||||
.icon-heart-empty-2:before { content: '\eb3a'; } /* '' */
|
||||
.icon-star-3:before { content: '\eb3b'; } /* '' */
|
||||
.icon-star-empty-2:before { content: '\eb3c'; } /* '' */
|
||||
.icon-user-3:before { content: '\eb3d'; } /* '' */
|
||||
.icon-users-1:before { content: '\eb3e'; } /* '' */
|
||||
.icon-user-add:before { content: '\eb3f'; } /* '' */
|
||||
.icon-video-2:before { content: '\eb40'; } /* '' */
|
||||
.icon-picture-2:before { content: '\eb41'; } /* '' */
|
||||
.icon-camera-3:before { content: '\eb42'; } /* '' */
|
||||
.icon-layout:before { content: '\eb43'; } /* '' */
|
||||
.icon-menu-1:before { content: '\eb44'; } /* '' */
|
||||
.icon-check-1:before { content: '\eb45'; } /* '' */
|
||||
.icon-cancel-3:before { content: '\eb46'; } /* '' */
|
||||
.icon-cancel-circled-2:before { content: '\eb47'; } /* '' */
|
||||
.icon-cancel-squared:before { content: '\eb48'; } /* '' */
|
||||
.icon-plus-3:before { content: '\eb49'; } /* '' */
|
||||
.icon-plus-circled-1:before { content: '\eb4a'; } /* '' */
|
||||
.icon-plus-squared:before { content: '\eb4b'; } /* '' */
|
||||
.icon-minus-2:before { content: '\eb4c'; } /* '' */
|
||||
.icon-minus-circled-1:before { content: '\eb4d'; } /* '' */
|
||||
.icon-minus-squared:before { content: '\eb4e'; } /* '' */
|
||||
.icon-help-2:before { content: '\eb4f'; } /* '' */
|
||||
.icon-help-circled-2:before { content: '\eb50'; } /* '' */
|
||||
.icon-info-1:before { content: '\eb51'; } /* '' */
|
||||
.icon-info-circled-2:before { content: '\eb52'; } /* '' */
|
||||
.icon-back:before { content: '\eb53'; } /* '' */
|
||||
.icon-home-3:before { content: '\eb54'; } /* '' */
|
||||
.icon-link-2:before { content: '\eb55'; } /* '' */
|
||||
.icon-attach-3:before { content: '\eb56'; } /* '' */
|
||||
.icon-lock-3:before { content: '\eb57'; } /* '' */
|
||||
.icon-lock-open-3:before { content: '\eb58'; } /* '' */
|
||||
.icon-eye-3:before { content: '\eb59'; } /* '' */
|
||||
.icon-tag-2:before { content: '\eb5a'; } /* '' */
|
||||
.icon-bookmark-1:before { content: '\ea3f'; } /* '' */
|
||||
.icon-bookmarks:before { content: '\ea40'; } /* '' */
|
||||
.icon-flag-1:before { content: '\ea41'; } /* '' */
|
||||
.icon-thumbs-up-1:before { content: '\ea42'; } /* '' */
|
||||
.icon-thumbs-down-1:before { content: '\ea43'; } /* '' */
|
||||
.icon-download-3:before { content: '\ea44'; } /* '' */
|
||||
.icon-upload-3:before { content: '\ea45'; } /* '' */
|
||||
.icon-upload-cloud-2:before { content: '\ea46'; } /* '' */
|
||||
.icon-reply-1:before { content: '\ea47'; } /* '' */
|
||||
.icon-reply-all:before { content: '\ea48'; } /* '' */
|
||||
.icon-forward-1:before { content: '\ea49'; } /* '' */
|
||||
.icon-quote-1:before { content: '\ea4a'; } /* '' */
|
||||
.icon-code:before { content: '\ea4b'; } /* '' */
|
||||
.icon-export-2:before { content: '\ea4c'; } /* '' */
|
||||
.icon-pencil-3:before { content: '\ea4d'; } /* '' */
|
||||
.icon-feather:before { content: '\ea4e'; } /* '' */
|
||||
.icon-print-2:before { content: '\ea4f'; } /* '' */
|
||||
.icon-retweet-2:before { content: '\ea50'; } /* '' */
|
||||
.icon-keyboard:before { content: '\ea51'; } /* '' */
|
||||
.icon-comment-3:before { content: '\ea52'; } /* '' */
|
||||
.icon-chat-2:before { content: '\ea53'; } /* '' */
|
||||
.icon-bell-2:before { content: '\ea54'; } /* '' */
|
||||
.icon-attention-1:before { content: '\ea55'; } /* '' */
|
||||
.icon-alert:before { content: '\ea56'; } /* '' */
|
||||
.icon-vcard:before { content: '\ea57'; } /* '' */
|
||||
.icon-address:before { content: '\ea58'; } /* '' */
|
||||
.icon-location-3:before { content: '\ea59'; } /* '' */
|
||||
.icon-map:before { content: '\ea5a'; } /* '' */
|
||||
.icon-direction:before { content: '\ea5b'; } /* '' */
|
||||
.icon-compass-2:before { content: '\ea5c'; } /* '' */
|
||||
.icon-cup:before { content: '\ea5d'; } /* '' */
|
||||
.icon-trash-3:before { content: '\ea5e'; } /* '' */
|
||||
.icon-doc-3:before { content: '\ea5f'; } /* '' */
|
||||
.icon-docs:before { content: '\ea60'; } /* '' */
|
||||
.icon-doc-landscape:before { content: '\ea61'; } /* '' */
|
||||
.icon-doc-text:before { content: '\ea62'; } /* '' */
|
||||
.icon-doc-text-inv:before { content: '\ea63'; } /* '' */
|
||||
.icon-newspaper-1:before { content: '\ea64'; } /* '' */
|
||||
.icon-book-open-1:before { content: '\ea65'; } /* '' */
|
||||
.icon-book-2:before { content: '\ea66'; } /* '' */
|
||||
.icon-folder-3:before { content: '\ea67'; } /* '' */
|
||||
.icon-archive:before { content: '\ea68'; } /* '' */
|
||||
.icon-box-1:before { content: '\ea69'; } /* '' */
|
||||
.icon-rss-2:before { content: '\ea6a'; } /* '' */
|
||||
.icon-phone-1:before { content: '\ea6b'; } /* '' */
|
||||
.icon-cog-3:before { content: '\ea6c'; } /* '' */
|
||||
.icon-tools:before { content: '\ea6d'; } /* '' */
|
||||
.icon-share-2:before { content: '\ea6e'; } /* '' */
|
||||
.icon-shareable:before { content: '\ea6f'; } /* '' */
|
||||
.icon-basket-1:before { content: '\ea70'; } /* '' */
|
||||
.icon-bag:before { content: '\ea71'; } /* '' */
|
||||
.icon-calendar-3:before { content: '\ea72'; } /* '' */
|
||||
.icon-login-1:before { content: '\ea73'; } /* '' */
|
||||
.icon-logout-1:before { content: '\ea74'; } /* '' */
|
||||
.icon-mic-3:before { content: '\ea75'; } /* '' */
|
||||
.icon-mute:before { content: '\ea76'; } /* '' */
|
||||
.icon-sound:before { content: '\ea77'; } /* '' */
|
||||
.icon-volume-1:before { content: '\ea78'; } /* '' */
|
||||
.icon-clock-3:before { content: '\ea79'; } /* '' */
|
||||
.icon-hourglass-1:before { content: '\ea7a'; } /* '' */
|
||||
.icon-lamp-1:before { content: '\ea7b'; } /* '' */
|
||||
.icon-light-down:before { content: '\ea7c'; } /* '' */
|
||||
.icon-light-up:before { content: '\ea7d'; } /* '' */
|
||||
.icon-adjust-1:before { content: '\ea7e'; } /* '' */
|
||||
.icon-block-2:before { content: '\ea7f'; } /* '' */
|
||||
.icon-resize-full-2:before { content: '\ea80'; } /* '' */
|
||||
.icon-resize-small-2:before { content: '\ea81'; } /* '' */
|
||||
.icon-popup-1:before { content: '\ea82'; } /* '' */
|
||||
.icon-publish:before { content: '\ea83'; } /* '' */
|
||||
.icon-window:before { content: '\ea84'; } /* '' */
|
||||
.icon-arrow-combo:before { content: '\ea85'; } /* '' */
|
||||
.icon-down-circled-1:before { content: '\ea86'; } /* '' */
|
||||
.icon-left-circled-1:before { content: '\ea87'; } /* '' */
|
||||
.icon-right-circled-1:before { content: '\ea88'; } /* '' */
|
||||
.icon-up-circled-1:before { content: '\ea89'; } /* '' */
|
||||
.icon-down-open-2:before { content: '\ea8a'; } /* '' */
|
||||
.icon-left-open-2:before { content: '\ea8b'; } /* '' */
|
||||
.icon-right-open-2:before { content: '\ea8c'; } /* '' */
|
||||
.icon-up-open-2:before { content: '\ea8d'; } /* '' */
|
||||
.icon-down-open-mini:before { content: '\ea8e'; } /* '' */
|
||||
.icon-left-open-mini:before { content: '\ea8f'; } /* '' */
|
||||
.icon-right-open-mini:before { content: '\ea90'; } /* '' */
|
||||
.icon-up-open-mini:before { content: '\ea91'; } /* '' */
|
||||
.icon-down-open-big:before { content: '\ea92'; } /* '' */
|
||||
.icon-left-open-big:before { content: '\ea93'; } /* '' */
|
||||
.icon-right-open-big:before { content: '\ea94'; } /* '' */
|
||||
.icon-up-open-big:before { content: '\ea95'; } /* '' */
|
||||
.icon-down-3:before { content: '\ea96'; } /* '' */
|
||||
.icon-left-3:before { content: '\ea97'; } /* '' */
|
||||
.icon-right-3:before { content: '\ea98'; } /* '' */
|
||||
.icon-up-3:before { content: '\ea99'; } /* '' */
|
||||
.icon-down-dir:before { content: '\ea9a'; } /* '' */
|
||||
.icon-left-dir:before { content: '\ea9b'; } /* '' */
|
||||
.icon-right-dir:before { content: '\ea9c'; } /* '' */
|
||||
.icon-up-dir:before { content: '\ea9d'; } /* '' */
|
||||
.icon-down-bold-1:before { content: '\ea9e'; } /* '' */
|
||||
.icon-left-bold-1:before { content: '\ea9f'; } /* '' */
|
||||
.icon-right-bold-1:before { content: '\eaa0'; } /* '' */
|
||||
.icon-up-bold-1:before { content: '\eaa1'; } /* '' */
|
||||
.icon-down-thin:before { content: '\eaa2'; } /* '' */
|
||||
.icon-left-thin:before { content: '\eaa3'; } /* '' */
|
||||
.icon-right-thin:before { content: '\eaa4'; } /* '' */
|
||||
.icon-up-thin:before { content: '\eaa5'; } /* '' */
|
||||
.icon-ccw-1:before { content: '\eaa6'; } /* '' */
|
||||
.icon-cw-2:before { content: '\eaa7'; } /* '' */
|
||||
.icon-arrows-ccw:before { content: '\eaa8'; } /* '' */
|
||||
.icon-level-down:before { content: '\eaa9'; } /* '' */
|
||||
.icon-level-up:before { content: '\eaaa'; } /* '' */
|
||||
.icon-shuffle-2:before { content: '\eaab'; } /* '' */
|
||||
.icon-loop-1:before { content: '\eaac'; } /* '' */
|
||||
.icon-switch:before { content: '\eaad'; } /* '' */
|
||||
.icon-play-3:before { content: '\eaae'; } /* '' */
|
||||
.icon-stop-3:before { content: '\eaaf'; } /* '' */
|
||||
.icon-pause-3:before { content: '\eab0'; } /* '' */
|
||||
.icon-record-1:before { content: '\eab1'; } /* '' */
|
||||
.icon-to-end-2:before { content: '\eab2'; } /* '' */
|
||||
.icon-to-start-2:before { content: '\eab3'; } /* '' */
|
||||
.icon-fast-forward-2:before { content: '\eab4'; } /* '' */
|
||||
.icon-fast-backward-2:before { content: '\eab5'; } /* '' */
|
||||
.icon-progress-0:before { content: '\eab6'; } /* '' */
|
||||
.icon-progress-1:before { content: '\eab7'; } /* '' */
|
||||
.icon-progress-2:before { content: '\eab8'; } /* '' */
|
||||
.icon-progress-3:before { content: '\eab9'; } /* '' */
|
||||
.icon-target-2:before { content: '\eaba'; } /* '' */
|
||||
.icon-palette:before { content: '\eabb'; } /* '' */
|
||||
.icon-list-2:before { content: '\eabc'; } /* '' */
|
||||
.icon-list-add:before { content: '\eabd'; } /* '' */
|
||||
.icon-signal-2:before { content: '\eabe'; } /* '' */
|
||||
.icon-trophy-1:before { content: '\eabf'; } /* '' */
|
||||
.icon-battery:before { content: '\eac0'; } /* '' */
|
||||
.icon-back-in-time:before { content: '\eac1'; } /* '' */
|
||||
.icon-monitor-1:before { content: '\eac2'; } /* '' */
|
||||
.icon-mobile-2:before { content: '\eac3'; } /* '' */
|
||||
.icon-network-1:before { content: '\eac4'; } /* '' */
|
||||
.icon-cd-1:before { content: '\eac5'; } /* '' */
|
||||
.icon-inbox-2:before { content: '\eac6'; } /* '' */
|
||||
.icon-install:before { content: '\eac7'; } /* '' */
|
||||
.icon-globe-2:before { content: '\eac8'; } /* '' */
|
||||
.icon-cloud-3:before { content: '\eac9'; } /* '' */
|
||||
.icon-cloud-thunder:before { content: '\eaca'; } /* '' */
|
||||
.icon-flash-2:before { content: '\eacb'; } /* '' */
|
||||
.icon-moon-1:before { content: '\eacc'; } /* '' */
|
||||
.icon-flight-1:before { content: '\eacd'; } /* '' */
|
||||
.icon-paper-plane-1:before { content: '\eace'; } /* '' */
|
||||
.icon-leaf-1:before { content: '\eacf'; } /* '' */
|
||||
.icon-lifebuoy:before { content: '\ead0'; } /* '' */
|
||||
.icon-mouse:before { content: '\ead1'; } /* '' */
|
||||
.icon-briefcase-1:before { content: '\ead2'; } /* '' */
|
||||
.icon-suitcase:before { content: '\ead3'; } /* '' */
|
||||
.icon-dot:before { content: '\ead4'; } /* '' */
|
||||
.icon-dot-2:before { content: '\ead5'; } /* '' */
|
||||
.icon-dot-3:before { content: '\ead6'; } /* '' */
|
||||
.icon-brush-1:before { content: '\ead7'; } /* '' */
|
||||
.icon-magnet-1:before { content: '\ead8'; } /* '' */
|
||||
.icon-infinity:before { content: '\ead9'; } /* '' */
|
||||
.icon-erase:before { content: '\eada'; } /* '' */
|
||||
.icon-chart-pie-1:before { content: '\eadb'; } /* '' */
|
||||
.icon-chart-line:before { content: '\eadc'; } /* '' */
|
||||
.icon-chart-bar-2:before { content: '\eadd'; } /* '' */
|
||||
.icon-chart-area:before { content: '\eade'; } /* '' */
|
||||
.icon-tape:before { content: '\eadf'; } /* '' */
|
||||
.icon-graduation-cap:before { content: '\eae0'; } /* '' */
|
||||
.icon-language:before { content: '\eae1'; } /* '' */
|
||||
.icon-ticket:before { content: '\eae2'; } /* '' */
|
||||
.icon-water:before { content: '\eae3'; } /* '' */
|
||||
.icon-droplet:before { content: '\eae4'; } /* '' */
|
||||
.icon-air:before { content: '\eae5'; } /* '' */
|
||||
.icon-credit-card-1:before { content: '\eae6'; } /* '' */
|
||||
.icon-floppy:before { content: '\eae7'; } /* '' */
|
||||
.icon-clipboard-1:before { content: '\eae8'; } /* '' */
|
||||
.icon-megaphone-1:before { content: '\eae9'; } /* '' */
|
||||
.icon-database:before { content: '\eaea'; } /* '' */
|
||||
.icon-drive:before { content: '\eaeb'; } /* '' */
|
||||
.icon-bucket:before { content: '\eaec'; } /* '' */
|
||||
.icon-thermometer:before { content: '\eaed'; } /* '' */
|
||||
.icon-key-2:before { content: '\eaee'; } /* '' */
|
||||
.icon-flow-cascade:before { content: '\eaef'; } /* '' */
|
||||
.icon-flow-branch:before { content: '\eaf0'; } /* '' */
|
||||
.icon-flow-tree:before { content: '\eaf1'; } /* '' */
|
||||
.icon-flow-line:before { content: '\eaf2'; } /* '' */
|
||||
.icon-flow-parallel:before { content: '\eaf3'; } /* '' */
|
||||
.icon-rocket:before { content: '\eaf4'; } /* '' */
|
||||
.icon-gauge-1:before { content: '\eaf5'; } /* '' */
|
||||
.icon-traffic-cone:before { content: '\eaf6'; } /* '' */
|
||||
.icon-cc-1:before { content: '\eaf7'; } /* '' */
|
||||
.icon-cc-by:before { content: '\eaf8'; } /* '' */
|
||||
.icon-cc-nc:before { content: '\eaf9'; } /* '' */
|
||||
.icon-cc-nc-eu:before { content: '\eafa'; } /* '' */
|
||||
.icon-cc-nc-jp:before { content: '\eafb'; } /* '' */
|
||||
.icon-cc-sa:before { content: '\eafc'; } /* '' */
|
||||
.icon-cc-nd:before { content: '\eafd'; } /* '' */
|
||||
.icon-cc-pd:before { content: '\eafe'; } /* '' */
|
||||
.icon-cc-zero:before { content: '\eaff'; } /* '' */
|
||||
.icon-cc-share:before { content: '\eb00'; } /* '' */
|
||||
.icon-cc-remix:before { content: '\eb01'; } /* '' */
|
||||
.icon-github-2:before { content: '\eb02'; } /* '' */
|
||||
.icon-github-circled-1:before { content: '\eb03'; } /* '' */
|
||||
.icon-flickr-1:before { content: '\eb04'; } /* '' */
|
||||
.icon-flickr-circled:before { content: '\eb05'; } /* '' */
|
||||
.icon-vimeo-1:before { content: '\eb06'; } /* '' */
|
||||
.icon-vimeo-circled:before { content: '\eb07'; } /* '' */
|
||||
.icon-twitter-2:before { content: '\eb08'; } /* '' */
|
||||
.icon-twitter-circled-1:before { content: '\eb09'; } /* '' */
|
||||
.icon-facebook-2:before { content: '\eb0a'; } /* '' */
|
||||
.icon-facebook-circled-1:before { content: '\eb0b'; } /* '' */
|
||||
.icon-facebook-squared:before { content: '\eb0c'; } /* '' */
|
||||
.icon-gplus-1:before { content: '\eb0d'; } /* '' */
|
||||
.icon-gplus-circled-1:before { content: '\eb0e'; } /* '' */
|
||||
.icon-pinterest-1:before { content: '\eb0f'; } /* '' */
|
||||
.icon-pinterest-circled:before { content: '\eb10'; } /* '' */
|
||||
.icon-tumblr-1:before { content: '\eb11'; } /* '' */
|
||||
.icon-tumblr-circled:before { content: '\eb12'; } /* '' */
|
||||
.icon-linkedin-2:before { content: '\eb13'; } /* '' */
|
||||
.icon-linkedin-circled-1:before { content: '\eb14'; } /* '' */
|
||||
.icon-dribbble-2:before { content: '\eb15'; } /* '' */
|
||||
.icon-dribbble-circled-1:before { content: '\eb16'; } /* '' */
|
||||
.icon-stumbleupon-1:before { content: '\eb17'; } /* '' */
|
||||
.icon-stumbleupon-circled:before { content: '\eb18'; } /* '' */
|
||||
.icon-lastfm:before { content: '\eb19'; } /* '' */
|
||||
.icon-lastfm-circled:before { content: '\eb1a'; } /* '' */
|
||||
.icon-rdio:before { content: '\eb1b'; } /* '' */
|
||||
.icon-rdio-circled:before { content: '\eb1c'; } /* '' */
|
||||
.icon-spotify:before { content: '\eb1d'; } /* '' */
|
||||
.icon-spotify-circled:before { content: '\eb1e'; } /* '' */
|
||||
.icon-qq:before { content: '\eb1f'; } /* '' */
|
||||
.icon-instagram-2:before { content: '\eb20'; } /* '' */
|
||||
.icon-dropbox:before { content: '\eb21'; } /* '' */
|
||||
.icon-evernote:before { content: '\eb22'; } /* '' */
|
||||
.icon-flattr:before { content: '\eb23'; } /* '' */
|
||||
.icon-skype-1:before { content: '\eb24'; } /* '' */
|
||||
.icon-skype-circled:before { content: '\eb25'; } /* '' */
|
||||
.icon-renren:before { content: '\eb26'; } /* '' */
|
||||
.icon-sina-weibo:before { content: '\eb27'; } /* '' */
|
||||
.icon-paypal:before { content: '\eb28'; } /* '' */
|
||||
.icon-picasa-1:before { content: '\eb29'; } /* '' */
|
||||
.icon-soundcloud-1:before { content: '\eb2a'; } /* '' */
|
||||
.icon-mixi:before { content: '\eb2b'; } /* '' */
|
||||
.icon-behance-1:before { content: '\eb2c'; } /* '' */
|
||||
.icon-google-circles:before { content: '\eb2d'; } /* '' */
|
||||
.icon-vkontakte-1:before { content: '\eb2e'; } /* '' */
|
||||
.icon-smashing:before { content: '\eb2f'; } /* '' */
|
||||
.icon-sweden:before { content: '\eb30'; } /* '' */
|
||||
.icon-db-shape:before { content: '\eb31'; } /* '' */
|
||||
.icon-logo-db:before { content: '\eb32'; } /* '' */
|
||||
.icon-search-2:before { content: '\e9a8'; } /* '' */
|
||||
.icon-mail-2:before { content: '\e9a9'; } /* '' */
|
||||
.icon-heart-2:before { content: '\e9aa'; } /* '' */
|
||||
.icon-heart-empty-1:before { content: '\e9ab'; } /* '' */
|
||||
.icon-star-2:before { content: '\e9ac'; } /* '' */
|
||||
.icon-user-2:before { content: '\e9ad'; } /* '' */
|
||||
.icon-video-1:before { content: '\e9ae'; } /* '' */
|
||||
.icon-picture-1:before { content: '\e9af'; } /* '' */
|
||||
.icon-camera-2:before { content: '\e9b0'; } /* '' */
|
||||
.icon-ok-2:before { content: '\e9b1'; } /* '' */
|
||||
.icon-ok-circle:before { content: '\e9b2'; } /* '' */
|
||||
.icon-cancel-2:before { content: '\e9b3'; } /* '' */
|
||||
.icon-cancel-circle:before { content: '\e9b4'; } /* '' */
|
||||
.icon-plus-2:before { content: '\e9b5'; } /* '' */
|
||||
.icon-plus-circle:before { content: '\e9b6'; } /* '' */
|
||||
.icon-minus-1:before { content: '\e9b7'; } /* '' */
|
||||
.icon-minus-circle:before { content: '\e9b8'; } /* '' */
|
||||
.icon-help-1:before { content: '\e9b9'; } /* '' */
|
||||
.icon-info:before { content: '\e9ba'; } /* '' */
|
||||
.icon-home-2:before { content: '\e9bb'; } /* '' */
|
||||
.icon-link-1:before { content: '\e9bc'; } /* '' */
|
||||
.icon-attach-2:before { content: '\e9bd'; } /* '' */
|
||||
.icon-lock-2:before { content: '\e9be'; } /* '' */
|
||||
.icon-lock-empty:before { content: '\e9bf'; } /* '' */
|
||||
.icon-lock-open-2:before { content: '\e9c0'; } /* '' */
|
||||
.icon-lock-open-empty:before { content: '\e9c1'; } /* '' */
|
||||
.icon-pin:before { content: '\e9c2'; } /* '' */
|
||||
.icon-eye-2:before { content: '\e9c3'; } /* '' */
|
||||
.icon-tag-1:before { content: '\e9c4'; } /* '' */
|
||||
.icon-tag-empty:before { content: '\e9c5'; } /* '' */
|
||||
.icon-download-2:before { content: '\e9c6'; } /* '' */
|
||||
.icon-upload-2:before { content: '\e9c7'; } /* '' */
|
||||
.icon-download-cloud-1:before { content: '\e9c8'; } /* '' */
|
||||
.icon-upload-cloud-1:before { content: '\e9c9'; } /* '' */
|
||||
.icon-quote-left:before { content: '\e9ca'; } /* '' */
|
||||
.icon-quote-right:before { content: '\e9cb'; } /* '' */
|
||||
.icon-quote-left-alt:before { content: '\e9cc'; } /* '' */
|
||||
.icon-quote-right-alt:before { content: '\e9cd'; } /* '' */
|
||||
.icon-pencil-2:before { content: '\e9ce'; } /* '' */
|
||||
.icon-pencil-neg:before { content: '\e9cf'; } /* '' */
|
||||
.icon-pencil-alt:before { content: '\e9d0'; } /* '' */
|
||||
.icon-undo:before { content: '\e9d1'; } /* '' */
|
||||
.icon-comment-2:before { content: '\e9d2'; } /* '' */
|
||||
.icon-comment-inv:before { content: '\e9d3'; } /* '' */
|
||||
.icon-comment-alt-1:before { content: '\e9d4'; } /* '' */
|
||||
.icon-comment-inv-alt:before { content: '\e9d5'; } /* '' */
|
||||
.icon-comment-alt2:before { content: '\e9d6'; } /* '' */
|
||||
.icon-comment-inv-alt2:before { content: '\e9d7'; } /* '' */
|
||||
.icon-chat-1:before { content: '\e9d8'; } /* '' */
|
||||
.icon-chat-inv:before { content: '\e9d9'; } /* '' */
|
||||
.icon-location-2:before { content: '\e9da'; } /* '' */
|
||||
.icon-location-inv:before { content: '\e9db'; } /* '' */
|
||||
.icon-location-alt:before { content: '\e9dc'; } /* '' */
|
||||
.icon-compass-1:before { content: '\e9dd'; } /* '' */
|
||||
.icon-trash-2:before { content: '\e9de'; } /* '' */
|
||||
.icon-trash-empty:before { content: '\e9df'; } /* '' */
|
||||
.icon-doc-2:before { content: '\e9e0'; } /* '' */
|
||||
.icon-doc-inv:before { content: '\e9e1'; } /* '' */
|
||||
.icon-doc-alt:before { content: '\e9e2'; } /* '' */
|
||||
.icon-doc-inv-alt:before { content: '\e9e3'; } /* '' */
|
||||
.icon-article:before { content: '\e9e4'; } /* '' */
|
||||
.icon-article-alt:before { content: '\e9e5'; } /* '' */
|
||||
.icon-book-open:before { content: '\e9e6'; } /* '' */
|
||||
.icon-folder-2:before { content: '\e9e7'; } /* '' */
|
||||
.icon-folder-empty-1:before { content: '\e9e8'; } /* '' */
|
||||
.icon-box:before { content: '\e9e9'; } /* '' */
|
||||
.icon-rss-1:before { content: '\e9ea'; } /* '' */
|
||||
.icon-rss-alt:before { content: '\e9eb'; } /* '' */
|
||||
.icon-cog-2:before { content: '\e9ec'; } /* '' */
|
||||
.icon-wrench-1:before { content: '\e9ed'; } /* '' */
|
||||
.icon-share-1:before { content: '\e9ee'; } /* '' */
|
||||
.icon-calendar-2:before { content: '\e9ef'; } /* '' */
|
||||
.icon-calendar-inv:before { content: '\e9f0'; } /* '' */
|
||||
.icon-calendar-alt:before { content: '\e9f1'; } /* '' */
|
||||
.icon-mic-2:before { content: '\e9f2'; } /* '' */
|
||||
.icon-volume-off-1:before { content: '\e9f3'; } /* '' */
|
||||
.icon-volume-up-1:before { content: '\e9f4'; } /* '' */
|
||||
.icon-headphones-1:before { content: '\e9f5'; } /* '' */
|
||||
.icon-clock-2:before { content: '\e9f6'; } /* '' */
|
||||
.icon-lamp:before { content: '\e9f7'; } /* '' */
|
||||
.icon-block-1:before { content: '\e9f8'; } /* '' */
|
||||
.icon-resize-full-1:before { content: '\e9f9'; } /* '' */
|
||||
.icon-resize-full-alt-1:before { content: '\e9fa'; } /* '' */
|
||||
.icon-resize-small-1:before { content: '\e9fb'; } /* '' */
|
||||
.icon-resize-small-alt:before { content: '\e9fc'; } /* '' */
|
||||
.icon-resize-vertical-1:before { content: '\e9fd'; } /* '' */
|
||||
.icon-resize-horizontal-1:before { content: '\e9fe'; } /* '' */
|
||||
.icon-move-1:before { content: '\e9ff'; } /* '' */
|
||||
.icon-popup:before { content: '\ea00'; } /* '' */
|
||||
.icon-down-2:before { content: '\ea01'; } /* '' */
|
||||
.icon-left-2:before { content: '\ea02'; } /* '' */
|
||||
.icon-right-2:before { content: '\ea03'; } /* '' */
|
||||
.icon-up-2:before { content: '\ea04'; } /* '' */
|
||||
.icon-down-circle:before { content: '\ea05'; } /* '' */
|
||||
.icon-left-circle:before { content: '\ea06'; } /* '' */
|
||||
.icon-right-circle:before { content: '\ea07'; } /* '' */
|
||||
.icon-up-circle:before { content: '\ea08'; } /* '' */
|
||||
.icon-cw-1:before { content: '\ea09'; } /* '' */
|
||||
.icon-loop:before { content: '\ea0a'; } /* '' */
|
||||
.icon-loop-alt:before { content: '\ea0b'; } /* '' */
|
||||
.icon-exchange:before { content: '\ea0c'; } /* '' */
|
||||
.icon-split:before { content: '\ea0d'; } /* '' */
|
||||
.icon-arrow-curved:before { content: '\ea0e'; } /* '' */
|
||||
.icon-play-2:before { content: '\ea0f'; } /* '' */
|
||||
.icon-play-circle2:before { content: '\ea10'; } /* '' */
|
||||
.icon-stop-2:before { content: '\ea11'; } /* '' */
|
||||
.icon-pause-2:before { content: '\ea12'; } /* '' */
|
||||
.icon-to-start-1:before { content: '\ea13'; } /* '' */
|
||||
.icon-to-end-1:before { content: '\ea14'; } /* '' */
|
||||
.icon-eject-1:before { content: '\ea15'; } /* '' */
|
||||
.icon-target-1:before { content: '\ea16'; } /* '' */
|
||||
.icon-signal-1:before { content: '\ea17'; } /* '' */
|
||||
.icon-award:before { content: '\ea18'; } /* '' */
|
||||
.icon-award-empty:before { content: '\ea19'; } /* '' */
|
||||
.icon-list-1:before { content: '\ea1a'; } /* '' */
|
||||
.icon-list-nested:before { content: '\ea1b'; } /* '' */
|
||||
.icon-bat-empty:before { content: '\ea1c'; } /* '' */
|
||||
.icon-bat-half:before { content: '\ea1d'; } /* '' */
|
||||
.icon-bat-full:before { content: '\ea1e'; } /* '' */
|
||||
.icon-bat-charge:before { content: '\ea1f'; } /* '' */
|
||||
.icon-mobile-1:before { content: '\ea20'; } /* '' */
|
||||
.icon-cd:before { content: '\ea21'; } /* '' */
|
||||
.icon-equalizer:before { content: '\ea22'; } /* '' */
|
||||
.icon-cursor:before { content: '\ea23'; } /* '' */
|
||||
.icon-aperture:before { content: '\ea24'; } /* '' */
|
||||
.icon-aperture-alt:before { content: '\ea25'; } /* '' */
|
||||
.icon-steering-wheel:before { content: '\ea26'; } /* '' */
|
||||
.icon-book-1:before { content: '\ea27'; } /* '' */
|
||||
.icon-book-alt:before { content: '\ea28'; } /* '' */
|
||||
.icon-brush:before { content: '\ea29'; } /* '' */
|
||||
.icon-brush-alt:before { content: '\ea2a'; } /* '' */
|
||||
.icon-eyedropper:before { content: '\ea2b'; } /* '' */
|
||||
.icon-layers:before { content: '\ea2c'; } /* '' */
|
||||
.icon-layers-alt:before { content: '\ea2d'; } /* '' */
|
||||
.icon-sun:before { content: '\ea2e'; } /* '' */
|
||||
.icon-sun-inv:before { content: '\ea2f'; } /* '' */
|
||||
.icon-cloud-2:before { content: '\ea30'; } /* '' */
|
||||
.icon-rain:before { content: '\ea31'; } /* '' */
|
||||
.icon-flash-1:before { content: '\ea32'; } /* '' */
|
||||
.icon-moon:before { content: '\ea33'; } /* '' */
|
||||
.icon-moon-inv:before { content: '\ea34'; } /* '' */
|
||||
.icon-umbrella:before { content: '\ea35'; } /* '' */
|
||||
.icon-chart-bar-1:before { content: '\ea36'; } /* '' */
|
||||
.icon-chart-pie:before { content: '\ea37'; } /* '' */
|
||||
.icon-chart-pie-alt:before { content: '\ea38'; } /* '' */
|
||||
.icon-note-beamed:before { content: '\eb34'; } /* '' */
|
||||
.icon-key-inv:before { content: '\ea3a'; } /* '' */
|
||||
.icon-hash-1:before { content: '\ea3b'; } /* '' */
|
||||
.icon-at-1:before { content: '\ea3c'; } /* '' */
|
||||
.icon-pilcrow:before { content: '\ea3d'; } /* '' */
|
||||
.icon-dial:before { content: '\ea3e'; } /* '' */
|
||||
.icon-search-1:before { content: '\e90f'; } /* '' */
|
||||
.icon-mail-1:before { content: '\e910'; } /* '' */
|
||||
.icon-heart-1:before { content: '\e911'; } /* '' */
|
||||
.icon-heart-broken:before { content: '\e912'; } /* '' */
|
||||
.icon-star-1:before { content: '\e913'; } /* '' */
|
||||
.icon-star-empty-1:before { content: '\e914'; } /* '' */
|
||||
.icon-star-half:before { content: '\e915'; } /* '' */
|
||||
.icon-star-half_empty:before { content: '\e916'; } /* '' */
|
||||
.icon-user-1:before { content: '\e917'; } /* '' */
|
||||
.icon-user-male:before { content: '\e918'; } /* '' */
|
||||
.icon-user-female:before { content: '\e919'; } /* '' */
|
||||
.icon-users:before { content: '\e91a'; } /* '' */
|
||||
.icon-movie:before { content: '\e91b'; } /* '' */
|
||||
.icon-videocam-1:before { content: '\e91c'; } /* '' */
|
||||
.icon-isight:before { content: '\e91d'; } /* '' */
|
||||
.icon-camera-1:before { content: '\e91e'; } /* '' */
|
||||
.icon-menu:before { content: '\e91f'; } /* '' */
|
||||
.icon-th-thumb:before { content: '\e920'; } /* '' */
|
||||
.icon-th-thumb-empty:before { content: '\e921'; } /* '' */
|
||||
.icon-th-list-1:before { content: '\e922'; } /* '' */
|
||||
.icon-ok-1:before { content: '\e923'; } /* '' */
|
||||
.icon-ok-circled-1:before { content: '\e924'; } /* '' */
|
||||
.icon-cancel-1:before { content: '\e925'; } /* '' */
|
||||
.icon-cancel-circled-1:before { content: '\e926'; } /* '' */
|
||||
.icon-plus-1:before { content: '\e927'; } /* '' */
|
||||
.icon-help-circled-1:before { content: '\e928'; } /* '' */
|
||||
.icon-help-circled-alt:before { content: '\e929'; } /* '' */
|
||||
.icon-info-circled-1:before { content: '\e92a'; } /* '' */
|
||||
.icon-info-circled-alt:before { content: '\e92b'; } /* '' */
|
||||
.icon-home-1:before { content: '\e92c'; } /* '' */
|
||||
.icon-link:before { content: '\e92d'; } /* '' */
|
||||
.icon-attach-1:before { content: '\e92e'; } /* '' */
|
||||
.icon-lock-1:before { content: '\e92f'; } /* '' */
|
||||
.icon-lock-alt:before { content: '\e930'; } /* '' */
|
||||
.icon-lock-open-1:before { content: '\e931'; } /* '' */
|
||||
.icon-lock-open-alt-1:before { content: '\e932'; } /* '' */
|
||||
.icon-eye-1:before { content: '\e933'; } /* '' */
|
||||
.icon-download-1:before { content: '\e934'; } /* '' */
|
||||
.icon-upload-1:before { content: '\e935'; } /* '' */
|
||||
.icon-download-cloud:before { content: '\e936'; } /* '' */
|
||||
.icon-upload-cloud:before { content: '\e937'; } /* '' */
|
||||
.icon-reply:before { content: '\e938'; } /* '' */
|
||||
.icon-pencil-1:before { content: '\e939'; } /* '' */
|
||||
.icon-export-1:before { content: '\e93a'; } /* '' */
|
||||
.icon-print-1:before { content: '\e93b'; } /* '' */
|
||||
.icon-retweet-1:before { content: '\e93c'; } /* '' */
|
||||
.icon-comment-1:before { content: '\e93d'; } /* '' */
|
||||
.icon-chat:before { content: '\e93e'; } /* '' */
|
||||
.icon-bell-1:before { content: '\e93f'; } /* '' */
|
||||
.icon-attention:before { content: '\e940'; } /* '' */
|
||||
.icon-attention-alt:before { content: '\e941'; } /* '' */
|
||||
.icon-location-1:before { content: '\e942'; } /* '' */
|
||||
.icon-trash-1:before { content: '\e943'; } /* '' */
|
||||
.icon-doc-1:before { content: '\e944'; } /* '' */
|
||||
.icon-newspaper:before { content: '\e945'; } /* '' */
|
||||
.icon-folder-1:before { content: '\e946'; } /* '' */
|
||||
.icon-folder-open-1:before { content: '\e947'; } /* '' */
|
||||
.icon-folder-empty:before { content: '\e948'; } /* '' */
|
||||
.icon-folder-open-empty:before { content: '\e949'; } /* '' */
|
||||
.icon-cog-1:before { content: '\e94a'; } /* '' */
|
||||
.icon-calendar-1:before { content: '\e94b'; } /* '' */
|
||||
.icon-login:before { content: '\e94c'; } /* '' */
|
||||
.icon-logout:before { content: '\e94d'; } /* '' */
|
||||
.icon-mic-1:before { content: '\e94e'; } /* '' */
|
||||
.icon-mic-off:before { content: '\e94f'; } /* '' */
|
||||
.icon-clock-1:before { content: '\e950'; } /* '' */
|
||||
.icon-stopwatch:before { content: '\e951'; } /* '' */
|
||||
.icon-hourglass:before { content: '\e952'; } /* '' */
|
||||
.icon-zoom-in-1:before { content: '\e953'; } /* '' */
|
||||
.icon-zoom-out-1:before { content: '\e954'; } /* '' */
|
||||
.icon-down-open-1:before { content: '\e955'; } /* '' */
|
||||
.icon-left-open-1:before { content: '\e956'; } /* '' */
|
||||
.icon-right-open-1:before { content: '\e957'; } /* '' */
|
||||
.icon-up-open-1:before { content: '\e958'; } /* '' */
|
||||
.icon-down-1:before { content: '\e959'; } /* '' */
|
||||
.icon-left-1:before { content: '\e95a'; } /* '' */
|
||||
.icon-right-1:before { content: '\e95b'; } /* '' */
|
||||
.icon-up-1:before { content: '\e95c'; } /* '' */
|
||||
.icon-down-bold:before { content: '\e95d'; } /* '' */
|
||||
.icon-left-bold:before { content: '\e95e'; } /* '' */
|
||||
.icon-right-bold:before { content: '\e95f'; } /* '' */
|
||||
.icon-up-bold:before { content: '\e960'; } /* '' */
|
||||
.icon-down-fat:before { content: '\e961'; } /* '' */
|
||||
.icon-left-fat:before { content: '\e962'; } /* '' */
|
||||
.icon-right-fat:before { content: '\e963'; } /* '' */
|
||||
.icon-up-fat:before { content: '\e964'; } /* '' */
|
||||
.icon-ccw:before { content: '\e965'; } /* '' */
|
||||
.icon-shuffle-1:before { content: '\e966'; } /* '' */
|
||||
.icon-play-1:before { content: '\e967'; } /* '' */
|
||||
.icon-pause-1:before { content: '\e968'; } /* '' */
|
||||
.icon-stop-1:before { content: '\e969'; } /* '' */
|
||||
.icon-to-end:before { content: '\e96a'; } /* '' */
|
||||
.icon-to-start:before { content: '\e96b'; } /* '' */
|
||||
.icon-fast-forward-1:before { content: '\e96c'; } /* '' */
|
||||
.icon-fast-backward-1:before { content: '\e96d'; } /* '' */
|
||||
.icon-trophy:before { content: '\e96e'; } /* '' */
|
||||
.icon-monitor:before { content: '\e96f'; } /* '' */
|
||||
.icon-tablet:before { content: '\e970'; } /* '' */
|
||||
.icon-mobile:before { content: '\e971'; } /* '' */
|
||||
.icon-data-science:before { content: '\e972'; } /* '' */
|
||||
.icon-data-science-inv:before { content: '\e973'; } /* '' */
|
||||
.icon-inbox-1:before { content: '\e974'; } /* '' */
|
||||
.icon-globe-1:before { content: '\e975'; } /* '' */
|
||||
.icon-globe-inv:before { content: '\e976'; } /* '' */
|
||||
.icon-flash:before { content: '\e977'; } /* '' */
|
||||
.icon-cloud-1:before { content: '\e978'; } /* '' */
|
||||
.icon-coverflow:before { content: '\e979'; } /* '' */
|
||||
.icon-coverflow-empty:before { content: '\e97a'; } /* '' */
|
||||
.icon-math:before { content: '\e97b'; } /* '' */
|
||||
.icon-math-circled:before { content: '\e97c'; } /* '' */
|
||||
.icon-math-circled-empty:before { content: '\e97d'; } /* '' */
|
||||
.icon-paper-plane:before { content: '\e97e'; } /* '' */
|
||||
.icon-paper-plane-alt:before { content: '\e97f'; } /* '' */
|
||||
.icon-paper-plane-alt2:before { content: '\e980'; } /* '' */
|
||||
.icon-fontsize-1:before { content: '\e981'; } /* '' */
|
||||
.icon-color-adjust:before { content: '\e982'; } /* '' */
|
||||
.icon-fire-1:before { content: '\e983'; } /* '' */
|
||||
.icon-chart-bar:before { content: '\e984'; } /* '' */
|
||||
.icon-hdd-1:before { content: '\e985'; } /* '' */
|
||||
.icon-connected-object:before { content: '\e986'; } /* '' */
|
||||
.icon-ruler:before { content: '\e987'; } /* '' */
|
||||
.icon-vector:before { content: '\e988'; } /* '' */
|
||||
.icon-vector-pencil:before { content: '\e989'; } /* '' */
|
||||
.icon-at:before { content: '\e98a'; } /* '' */
|
||||
.icon-hash:before { content: '\e98b'; } /* '' */
|
||||
.icon-female-1:before { content: '\e98c'; } /* '' */
|
||||
.icon-male-1:before { content: '\e98d'; } /* '' */
|
||||
.icon-spread:before { content: '\e98e'; } /* '' */
|
||||
.icon-king:before { content: '\e98f'; } /* '' */
|
||||
.icon-anchor:before { content: '\e990'; } /* '' */
|
||||
.icon-joystick:before { content: '\e991'; } /* '' */
|
||||
.icon-spinner1:before { content: '\e992'; } /* '' */
|
||||
.icon-spinner2:before { content: '\e993'; } /* '' */
|
||||
.icon-github-1:before { content: '\e994'; } /* '' */
|
||||
.icon-github-circled:before { content: '\e995'; } /* '' */
|
||||
.icon-github-circled-alt:before { content: '\e996'; } /* '' */
|
||||
.icon-github-circled-alt2:before { content: '\e997'; } /* '' */
|
||||
.icon-twitter-1:before { content: '\e998'; } /* '' */
|
||||
.icon-twitter-circled:before { content: '\e999'; } /* '' */
|
||||
.icon-facebook-1:before { content: '\e99a'; } /* '' */
|
||||
.icon-facebook-circled:before { content: '\e99b'; } /* '' */
|
||||
.icon-gplus:before { content: '\e99c'; } /* '' */
|
||||
.icon-gplus-circled:before { content: '\e99d'; } /* '' */
|
||||
.icon-linkedin-1:before { content: '\e99e'; } /* '' */
|
||||
.icon-linkedin-circled:before { content: '\e99f'; } /* '' */
|
||||
.icon-dribbble-1:before { content: '\e9a0'; } /* '' */
|
||||
.icon-dribbble-circled:before { content: '\e9a1'; } /* '' */
|
||||
.icon-instagram-1:before { content: '\e9a2'; } /* '' */
|
||||
.icon-instagram-circled:before { content: '\e9a3'; } /* '' */
|
||||
.icon-soundcloud:before { content: '\e9a4'; } /* '' */
|
||||
.icon-soundcloud-circled:before { content: '\e9a5'; } /* '' */
|
||||
.icon-mfg-logo:before { content: '\e9a6'; } /* '' */
|
||||
.icon-mfg-logo-circled:before { content: '\e9a7'; } /* '' */
|
||||
.icon-glass:before { content: '\e800'; } /* '' */
|
||||
.icon-music:before { content: '\e801'; } /* '' */
|
||||
.icon-search:before { content: '\e802'; } /* '' */
|
||||
.icon-search-circled:before { content: '\e803'; } /* '' */
|
||||
.icon-mail:before { content: '\e804'; } /* '' */
|
||||
.icon-mail-circled:before { content: '\e805'; } /* '' */
|
||||
.icon-heart:before { content: '\e806'; } /* '' */
|
||||
.icon-heart-circled:before { content: '\e807'; } /* '' */
|
||||
.icon-heart-empty:before { content: '\e808'; } /* '' */
|
||||
.icon-star:before { content: '\e809'; } /* '' */
|
||||
.icon-star-circled:before { content: '\e80a'; } /* '' */
|
||||
.icon-star-empty:before { content: '\e80b'; } /* '' */
|
||||
.icon-user:before { content: '\e80c'; } /* '' */
|
||||
.icon-group:before { content: '\e80d'; } /* '' */
|
||||
.icon-group-circled:before { content: '\e80e'; } /* '' */
|
||||
.icon-torso:before { content: '\e80f'; } /* '' */
|
||||
.icon-video:before { content: '\e810'; } /* '' */
|
||||
.icon-video-circled:before { content: '\e811'; } /* '' */
|
||||
.icon-video-alt:before { content: '\e812'; } /* '' */
|
||||
.icon-videocam:before { content: '\e813'; } /* '' */
|
||||
.icon-video-chat:before { content: '\e814'; } /* '' */
|
||||
.icon-picture:before { content: '\e815'; } /* '' */
|
||||
.icon-camera:before { content: '\e816'; } /* '' */
|
||||
.icon-photo:before { content: '\e817'; } /* '' */
|
||||
.icon-photo-circled:before { content: '\e818'; } /* '' */
|
||||
.icon-th-large:before { content: '\e819'; } /* '' */
|
||||
.icon-th:before { content: '\e81a'; } /* '' */
|
||||
.icon-th-list:before { content: '\e81b'; } /* '' */
|
||||
.icon-view-mode:before { content: '\e81c'; } /* '' */
|
||||
.icon-ok:before { content: '\e81d'; } /* '' */
|
||||
.icon-ok-circled:before { content: '\e81e'; } /* '' */
|
||||
.icon-ok-circled2:before { content: '\e81f'; } /* '' */
|
||||
.icon-cancel:before { content: '\e820'; } /* '' */
|
||||
.icon-cancel-circled:before { content: '\e821'; } /* '' */
|
||||
.icon-cancel-circled2:before { content: '\e822'; } /* '' */
|
||||
.icon-plus:before { content: '\e823'; } /* '' */
|
||||
.icon-plus-circled:before { content: '\e824'; } /* '' */
|
||||
.icon-minus:before { content: '\e825'; } /* '' */
|
||||
.icon-minus-circled:before { content: '\e826'; } /* '' */
|
||||
.icon-help:before { content: '\e827'; } /* '' */
|
||||
.icon-help-circled:before { content: '\e828'; } /* '' */
|
||||
.icon-info-circled:before { content: '\e829'; } /* '' */
|
||||
.icon-home:before { content: '\e82a'; } /* '' */
|
||||
.icon-home-circled:before { content: '\e82b'; } /* '' */
|
||||
.icon-website:before { content: '\e82c'; } /* '' */
|
||||
.icon-website-circled:before { content: '\e82d'; } /* '' */
|
||||
.icon-attach:before { content: '\e82e'; } /* '' */
|
||||
.icon-attach-circled:before { content: '\e82f'; } /* '' */
|
||||
.icon-lock:before { content: '\e830'; } /* '' */
|
||||
.icon-lock-circled:before { content: '\e831'; } /* '' */
|
||||
.icon-lock-open:before { content: '\e832'; } /* '' */
|
||||
.icon-lock-open-alt:before { content: '\e833'; } /* '' */
|
||||
.icon-eye:before { content: '\e834'; } /* '' */
|
||||
.icon-eye-off:before { content: '\e835'; } /* '' */
|
||||
.icon-tag:before { content: '\e836'; } /* '' */
|
||||
.icon-tags:before { content: '\e837'; } /* '' */
|
||||
.icon-bookmark:before { content: '\e838'; } /* '' */
|
||||
.icon-bookmark-empty:before { content: '\e839'; } /* '' */
|
||||
.icon-flag:before { content: '\e83a'; } /* '' */
|
||||
.icon-flag-circled:before { content: '\e83b'; } /* '' */
|
||||
.icon-thumbs-up:before { content: '\e83c'; } /* '' */
|
||||
.icon-thumbs-down:before { content: '\e83d'; } /* '' */
|
||||
.icon-download:before { content: '\e83e'; } /* '' */
|
||||
.icon-download-alt:before { content: '\e83f'; } /* '' */
|
||||
.icon-upload:before { content: '\e840'; } /* '' */
|
||||
.icon-share:before { content: '\e841'; } /* '' */
|
||||
.icon-quote:before { content: '\e842'; } /* '' */
|
||||
.icon-quote-circled:before { content: '\e843'; } /* '' */
|
||||
.icon-export:before { content: '\e844'; } /* '' */
|
||||
.icon-pencil:before { content: '\e845'; } /* '' */
|
||||
.icon-pencil-circled:before { content: '\e846'; } /* '' */
|
||||
.icon-edit:before { content: '\e847'; } /* '' */
|
||||
.icon-edit-circled:before { content: '\e848'; } /* '' */
|
||||
.icon-edit-alt:before { content: '\e849'; } /* '' */
|
||||
.icon-print:before { content: '\e84a'; } /* '' */
|
||||
.icon-retweet:before { content: '\e84b'; } /* '' */
|
||||
.icon-comment:before { content: '\e84c'; } /* '' */
|
||||
.icon-comment-alt:before { content: '\e84d'; } /* '' */
|
||||
.icon-bell:before { content: '\e84e'; } /* '' */
|
||||
.icon-warning:before { content: '\e84f'; } /* '' */
|
||||
.icon-exclamation:before { content: '\e850'; } /* '' */
|
||||
.icon-error:before { content: '\e851'; } /* '' */
|
||||
.icon-error-alt:before { content: '\e852'; } /* '' */
|
||||
.icon-location:before { content: '\e853'; } /* '' */
|
||||
.icon-location-circled:before { content: '\e854'; } /* '' */
|
||||
.icon-compass:before { content: '\e855'; } /* '' */
|
||||
.icon-compass-circled:before { content: '\e856'; } /* '' */
|
||||
.icon-trash:before { content: '\e857'; } /* '' */
|
||||
.icon-trash-circled:before { content: '\e858'; } /* '' */
|
||||
.icon-doc:before { content: '\e859'; } /* '' */
|
||||
.icon-doc-circled:before { content: '\e85a'; } /* '' */
|
||||
.icon-doc-new:before { content: '\e85b'; } /* '' */
|
||||
.icon-doc-new-circled:before { content: '\e85c'; } /* '' */
|
||||
.icon-folder:before { content: '\e85d'; } /* '' */
|
||||
.icon-folder-circled:before { content: '\e85e'; } /* '' */
|
||||
.icon-folder-close:before { content: '\e85f'; } /* '' */
|
||||
.icon-folder-open:before { content: '\e860'; } /* '' */
|
||||
.icon-rss:before { content: '\e861'; } /* '' */
|
||||
.icon-phone:before { content: '\e862'; } /* '' */
|
||||
.icon-phone-circled:before { content: '\e863'; } /* '' */
|
||||
.icon-cog:before { content: '\e864'; } /* '' */
|
||||
.icon-cog-circled:before { content: '\e865'; } /* '' */
|
||||
.icon-cogs:before { content: '\e866'; } /* '' */
|
||||
.icon-wrench:before { content: '\e867'; } /* '' */
|
||||
.icon-wrench-circled:before { content: '\e868'; } /* '' */
|
||||
.icon-basket:before { content: '\e869'; } /* '' */
|
||||
.icon-basket-circled:before { content: '\e86a'; } /* '' */
|
||||
.icon-calendar:before { content: '\e86b'; } /* '' */
|
||||
.icon-calendar-circled:before { content: '\e86c'; } /* '' */
|
||||
.icon-mic:before { content: '\e86d'; } /* '' */
|
||||
.icon-mic-circled:before { content: '\e86e'; } /* '' */
|
||||
.icon-volume-off:before { content: '\e86f'; } /* '' */
|
||||
.icon-volume-down:before { content: '\e870'; } /* '' */
|
||||
.icon-volume:before { content: '\e871'; } /* '' */
|
||||
.icon-volume-up:before { content: '\e872'; } /* '' */
|
||||
.icon-headphones:before { content: '\e873'; } /* '' */
|
||||
.icon-clock:before { content: '\e874'; } /* '' */
|
||||
.icon-clock-circled:before { content: '\e875'; } /* '' */
|
||||
.icon-lightbulb:before { content: '\e876'; } /* '' */
|
||||
.icon-lightbulb-alt:before { content: '\e877'; } /* '' */
|
||||
.icon-block:before { content: '\e878'; } /* '' */
|
||||
.icon-resize-full:before { content: '\e879'; } /* '' */
|
||||
.icon-resize-full-alt:before { content: '\e87a'; } /* '' */
|
||||
.icon-resize-small:before { content: '\e87b'; } /* '' */
|
||||
.icon-resize-vertical:before { content: '\e87c'; } /* '' */
|
||||
.icon-resize-horizontal:before { content: '\e87d'; } /* '' */
|
||||
.icon-move:before { content: '\e87e'; } /* '' */
|
||||
.icon-zoom-in:before { content: '\e87f'; } /* '' */
|
||||
.icon-zoom-out:before { content: '\e880'; } /* '' */
|
||||
.icon-down-open:before { content: '\e881'; } /* '' */
|
||||
.icon-left-open:before { content: '\e882'; } /* '' */
|
||||
.icon-right-open:before { content: '\e883'; } /* '' */
|
||||
.icon-up-open:before { content: '\e884'; } /* '' */
|
||||
.icon-down:before { content: '\e885'; } /* '' */
|
||||
.icon-left:before { content: '\e886'; } /* '' */
|
||||
.icon-right:before { content: '\e887'; } /* '' */
|
||||
.icon-up:before { content: '\e888'; } /* '' */
|
||||
.icon-down-circled:before { content: '\e889'; } /* '' */
|
||||
.icon-left-circled:before { content: '\e88a'; } /* '' */
|
||||
.icon-right-circled:before { content: '\e88b'; } /* '' */
|
||||
.icon-up-circled:before { content: '\e88c'; } /* '' */
|
||||
.icon-down-hand:before { content: '\e88d'; } /* '' */
|
||||
.icon-left-hand:before { content: '\e88e'; } /* '' */
|
||||
.icon-right-hand:before { content: '\e88f'; } /* '' */
|
||||
.icon-up-hand:before { content: '\e890'; } /* '' */
|
||||
.icon-cw:before { content: '\e891'; } /* '' */
|
||||
.icon-cw-circled:before { content: '\e892'; } /* '' */
|
||||
.icon-arrows-cw:before { content: '\e893'; } /* '' */
|
||||
.icon-shuffle:before { content: '\e894'; } /* '' */
|
||||
.icon-play:before { content: '\e895'; } /* '' */
|
||||
.icon-play-circled:before { content: '\e896'; } /* '' */
|
||||
.icon-play-circled2:before { content: '\e897'; } /* '' */
|
||||
.icon-stop:before { content: '\e898'; } /* '' */
|
||||
.icon-stop-circled:before { content: '\e899'; } /* '' */
|
||||
.icon-pause:before { content: '\e89a'; } /* '' */
|
||||
.icon-pause-circled:before { content: '\e89b'; } /* '' */
|
||||
.icon-record:before { content: '\e89c'; } /* '' */
|
||||
.icon-eject:before { content: '\e89d'; } /* '' */
|
||||
.icon-backward:before { content: '\e89e'; } /* '' */
|
||||
.icon-backward-circled:before { content: '\e89f'; } /* '' */
|
||||
.icon-fast-backward:before { content: '\e8a0'; } /* '' */
|
||||
.icon-fast-forward:before { content: '\e8a1'; } /* '' */
|
||||
.icon-forward:before { content: '\e8a2'; } /* '' */
|
||||
.icon-forward-circled:before { content: '\e8a3'; } /* '' */
|
||||
.icon-step-backward:before { content: '\e8a4'; } /* '' */
|
||||
.icon-step-forward:before { content: '\e8a5'; } /* '' */
|
||||
.icon-target:before { content: '\e8a6'; } /* '' */
|
||||
.icon-signal:before { content: '\e8a7'; } /* '' */
|
||||
.icon-desktop:before { content: '\e8a8'; } /* '' */
|
||||
.icon-desktop-circled:before { content: '\e8a9'; } /* '' */
|
||||
.icon-laptop:before { content: '\e8aa'; } /* '' */
|
||||
.icon-laptop-circled:before { content: '\e8ab'; } /* '' */
|
||||
.icon-network:before { content: '\e8ac'; } /* '' */
|
||||
.icon-inbox:before { content: '\e8ad'; } /* '' */
|
||||
.icon-inbox-circled:before { content: '\e8ae'; } /* '' */
|
||||
.icon-inbox-alt:before { content: '\e8af'; } /* '' */
|
||||
.icon-globe:before { content: '\e8b0'; } /* '' */
|
||||
.icon-globe-alt:before { content: '\e8b1'; } /* '' */
|
||||
.icon-cloud:before { content: '\e8b2'; } /* '' */
|
||||
.icon-cloud-circled:before { content: '\e8b3'; } /* '' */
|
||||
.icon-flight:before { content: '\e8b4'; } /* '' */
|
||||
.icon-leaf:before { content: '\e8b5'; } /* '' */
|
||||
.icon-font:before { content: '\e8b6'; } /* '' */
|
||||
.icon-fontsize:before { content: '\e8b7'; } /* '' */
|
||||
.icon-bold:before { content: '\e8b8'; } /* '' */
|
||||
.icon-italic:before { content: '\e8b9'; } /* '' */
|
||||
.icon-text-height:before { content: '\e8ba'; } /* '' */
|
||||
.icon-text-width:before { content: '\e8bb'; } /* '' */
|
||||
.icon-align-left:before { content: '\e8bc'; } /* '' */
|
||||
.icon-align-center:before { content: '\e8bd'; } /* '' */
|
||||
.icon-align-right:before { content: '\e8be'; } /* '' */
|
||||
.icon-align-justify:before { content: '\e8bf'; } /* '' */
|
||||
.icon-list:before { content: '\e8c0'; } /* '' */
|
||||
.icon-indent-left:before { content: '\e8c1'; } /* '' */
|
||||
.icon-indent-right:before { content: '\e8c2'; } /* '' */
|
||||
.icon-briefcase:before { content: '\e8c3'; } /* '' */
|
||||
.icon-off:before { content: '\e8c4'; } /* '' */
|
||||
.icon-road:before { content: '\e8c5'; } /* '' */
|
||||
.icon-qrcode:before { content: '\e8c6'; } /* '' */
|
||||
.icon-barcode:before { content: '\e8c7'; } /* '' */
|
||||
.icon-braille:before { content: '\e8c8'; } /* '' */
|
||||
.icon-book:before { content: '\e8c9'; } /* '' */
|
||||
.icon-adjust:before { content: '\e8ca'; } /* '' */
|
||||
.icon-tint:before { content: '\e8cb'; } /* '' */
|
||||
.icon-check:before { content: '\e8cc'; } /* '' */
|
||||
.icon-check-empty:before { content: '\e8cd'; } /* '' */
|
||||
.icon-asterisk:before { content: '\e8ce'; } /* '' */
|
||||
.icon-gift:before { content: '\e8cf'; } /* '' */
|
||||
.icon-fire:before { content: '\e8d0'; } /* '' */
|
||||
.icon-magnet:before { content: '\e8d1'; } /* '' */
|
||||
.icon-chart:before { content: '\e8d2'; } /* '' */
|
||||
.icon-chart-circled:before { content: '\e8d3'; } /* '' */
|
||||
.icon-credit-card:before { content: '\e8d4'; } /* '' */
|
||||
.icon-megaphone:before { content: '\e8d5'; } /* '' */
|
||||
.icon-clipboard:before { content: '\e8d6'; } /* '' */
|
||||
.icon-hdd:before { content: '\e8d7'; } /* '' */
|
||||
.icon-key:before { content: '\e8d8'; } /* '' */
|
||||
.icon-certificate:before { content: '\e8d9'; } /* '' */
|
||||
.icon-tasks:before { content: '\e8da'; } /* '' */
|
||||
.icon-filter:before { content: '\e8db'; } /* '' */
|
||||
.icon-gauge:before { content: '\e8dc'; } /* '' */
|
||||
.icon-smiley:before { content: '\e8dd'; } /* '' */
|
||||
.icon-smiley-circled:before { content: '\e8de'; } /* '' */
|
||||
.icon-address-book:before { content: '\e8df'; } /* '' */
|
||||
.icon-address-book-alt:before { content: '\e8e0'; } /* '' */
|
||||
.icon-asl:before { content: '\e8e1'; } /* '' */
|
||||
.icon-glasses:before { content: '\e8e2'; } /* '' */
|
||||
.icon-hearing-impaired:before { content: '\e8e3'; } /* '' */
|
||||
.icon-iphone-home:before { content: '\e8e4'; } /* '' */
|
||||
.icon-person:before { content: '\e8e5'; } /* '' */
|
||||
.icon-adult:before { content: '\e8e6'; } /* '' */
|
||||
.icon-child:before { content: '\e8e7'; } /* '' */
|
||||
.icon-blind:before { content: '\e8e8'; } /* '' */
|
||||
.icon-guidedog:before { content: '\e8e9'; } /* '' */
|
||||
.icon-accessibility:before { content: '\e8ea'; } /* '' */
|
||||
.icon-universal-access:before { content: '\e8eb'; } /* '' */
|
||||
.icon-male:before { content: '\e8ec'; } /* '' */
|
||||
.icon-female:before { content: '\e8ed'; } /* '' */
|
||||
.icon-behance:before { content: '\e8ee'; } /* '' */
|
||||
.icon-blogger:before { content: '\e8ef'; } /* '' */
|
||||
.icon-cc:before { content: '\e8f0'; } /* '' */
|
||||
.icon-css:before { content: '\e8f1'; } /* '' */
|
||||
.icon-delicious:before { content: '\e8f2'; } /* '' */
|
||||
.icon-deviantart:before { content: '\e8f3'; } /* '' */
|
||||
.icon-digg:before { content: '\e8f4'; } /* '' */
|
||||
.icon-dribbble:before { content: '\e8f5'; } /* '' */
|
||||
.icon-facebook:before { content: '\e8f6'; } /* '' */
|
||||
.icon-flickr:before { content: '\e8f7'; } /* '' */
|
||||
.icon-foursquare:before { content: '\e8f8'; } /* '' */
|
||||
.icon-friendfeed:before { content: '\e8f9'; } /* '' */
|
||||
.icon-friendfeed-rect:before { content: '\e8fa'; } /* '' */
|
||||
.icon-github:before { content: '\e8fb'; } /* '' */
|
||||
.icon-github-text:before { content: '\e8fc'; } /* '' */
|
||||
.icon-googleplus:before { content: '\e8fd'; } /* '' */
|
||||
.icon-instagram:before { content: '\e8fe'; } /* '' */
|
||||
.icon-linkedin:before { content: '\e8ff'; } /* '' */
|
||||
.icon-path:before { content: '\e900'; } /* '' */
|
||||
.icon-picasa:before { content: '\e901'; } /* '' */
|
||||
.icon-pinterest:before { content: '\e902'; } /* '' */
|
||||
.icon-reddit:before { content: '\e903'; } /* '' */
|
||||
.icon-skype:before { content: '\e904'; } /* '' */
|
||||
.icon-slideshare:before { content: '\e905'; } /* '' */
|
||||
.icon-stackoverflow:before { content: '\e906'; } /* '' */
|
||||
.icon-stumbleupon:before { content: '\e907'; } /* '' */
|
||||
.icon-twitter:before { content: '\e908'; } /* '' */
|
||||
.icon-tumblr:before { content: '\e909'; } /* '' */
|
||||
.icon-vimeo:before { content: '\e90a'; } /* '' */
|
||||
.icon-vkontakte:before { content: '\e90b'; } /* '' */
|
||||
.icon-w3c:before { content: '\e90c'; } /* '' */
|
||||
.icon-wordpress:before { content: '\e90d'; } /* '' */
|
||||
.icon-key-1:before { content: '\ea39'; } /* '' */
|
@ -1,589 +0,0 @@
|
||||
/*!
|
||||
* FullCalendar v1.6.4 Stylesheet
|
||||
* Docs & License: http://arshaw.com/fullcalendar/
|
||||
* (c) 2013 Adam Shaw
|
||||
*/
|
||||
|
||||
|
||||
.fc {
|
||||
direction: ltr;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.fc table {
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
}
|
||||
|
||||
html .fc,
|
||||
.fc table {
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
.fc td,
|
||||
.fc th {
|
||||
padding: 0;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* Header
|
||||
------------------------------------------------------------------------*/
|
||||
|
||||
.fc-header td {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.fc-header-left {
|
||||
width: 25%;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.fc-header-center {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.fc-header-right {
|
||||
width: 25%;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.fc-header-title {
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.fc-header-title h2 {
|
||||
margin-top: 0;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.fc .fc-header-space {
|
||||
padding-left: 10px;
|
||||
}
|
||||
|
||||
.fc-header .fc-button {
|
||||
margin-bottom: 1em;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
/* buttons edges butting together */
|
||||
|
||||
.fc-header .fc-button {
|
||||
margin-right: -1px;
|
||||
}
|
||||
|
||||
.fc-header .fc-corner-right, /* non-theme */
|
||||
.fc-header .ui-corner-right { /* theme */
|
||||
margin-right: 0; /* back to normal */
|
||||
}
|
||||
|
||||
/* button layering (for border precedence) */
|
||||
|
||||
.fc-header .fc-state-hover,
|
||||
.fc-header .ui-state-hover {
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.fc-header .fc-state-down {
|
||||
z-index: 3;
|
||||
}
|
||||
|
||||
.fc-header .fc-state-active,
|
||||
.fc-header .ui-state-active {
|
||||
z-index: 4;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* Content
|
||||
------------------------------------------------------------------------*/
|
||||
|
||||
.fc-content {
|
||||
clear: both;
|
||||
zoom: 1; /* for IE7, gives accurate coordinates for [un]freezeContentHeight */
|
||||
}
|
||||
|
||||
.fc-view {
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* Cell Styles
|
||||
------------------------------------------------------------------------*/
|
||||
|
||||
.fc-widget-header, /* <th>, usually */
|
||||
.fc-widget-content { /* <td>, usually */
|
||||
border: 1px solid #ddd;
|
||||
}
|
||||
|
||||
.fc-state-highlight { /* <td> today cell */ /* TODO: add .fc-today to <th> */
|
||||
background: #fcf8e3;
|
||||
}
|
||||
|
||||
.fc-cell-overlay { /* semi-transparent rectangle while dragging */
|
||||
background: #bce8f1;
|
||||
opacity: .3;
|
||||
filter: alpha(opacity=30); /* for IE */
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* Buttons
|
||||
------------------------------------------------------------------------*/
|
||||
|
||||
.fc-button {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
padding: 0 .6em;
|
||||
overflow: hidden;
|
||||
height: 1.9em;
|
||||
line-height: 1.9em;
|
||||
white-space: nowrap;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.fc-state-default { /* non-theme */
|
||||
border: 1px solid;
|
||||
}
|
||||
|
||||
.fc-state-default.fc-corner-left { /* non-theme */
|
||||
border-top-left-radius: 4px;
|
||||
border-bottom-left-radius: 4px;
|
||||
}
|
||||
|
||||
.fc-state-default.fc-corner-right { /* non-theme */
|
||||
border-top-right-radius: 4px;
|
||||
border-bottom-right-radius: 4px;
|
||||
}
|
||||
|
||||
/*
|
||||
Our default prev/next buttons use HTML entities like ‹ › « »
|
||||
and we'll try to make them look good cross-browser.
|
||||
*/
|
||||
|
||||
.fc-text-arrow {
|
||||
margin: 0 .1em;
|
||||
font-size: 2em;
|
||||
font-family: "Courier New", Courier, monospace;
|
||||
vertical-align: baseline; /* for IE7 */
|
||||
}
|
||||
|
||||
.fc-button-prev .fc-text-arrow,
|
||||
.fc-button-next .fc-text-arrow { /* for ‹ › */
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* icon (for jquery ui) */
|
||||
|
||||
.fc-button .fc-icon-wrap {
|
||||
position: relative;
|
||||
float: left;
|
||||
top: 50%;
|
||||
}
|
||||
|
||||
.fc-button .ui-icon {
|
||||
position: relative;
|
||||
float: left;
|
||||
margin-top: -50%;
|
||||
*margin-top: 0;
|
||||
*top: -50%;
|
||||
}
|
||||
|
||||
/*
|
||||
button states
|
||||
borrowed from twitter bootstrap (http://twitter.github.com/bootstrap/)
|
||||
*/
|
||||
|
||||
.fc-state-default {
|
||||
background-color: #f5f5f5;
|
||||
background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
|
||||
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
|
||||
background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
|
||||
background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
|
||||
background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #e6e6e6 #e6e6e6 #bfbfbf;
|
||||
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
|
||||
color: #333;
|
||||
text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
|
||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
|
||||
}
|
||||
|
||||
.fc-state-hover,
|
||||
.fc-state-down,
|
||||
.fc-state-active,
|
||||
.fc-state-disabled {
|
||||
color: #333333;
|
||||
background-color: #e6e6e6;
|
||||
}
|
||||
|
||||
.fc-state-hover {
|
||||
color: #333333;
|
||||
text-decoration: none;
|
||||
background-position: 0 -15px;
|
||||
-webkit-transition: background-position 0.1s linear;
|
||||
-moz-transition: background-position 0.1s linear;
|
||||
-o-transition: background-position 0.1s linear;
|
||||
transition: background-position 0.1s linear;
|
||||
}
|
||||
|
||||
.fc-state-down,
|
||||
.fc-state-active {
|
||||
background-color: #cccccc;
|
||||
background-image: none;
|
||||
outline: 0;
|
||||
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
|
||||
}
|
||||
|
||||
.fc-state-disabled {
|
||||
cursor: default;
|
||||
background-image: none;
|
||||
opacity: 0.65;
|
||||
filter: alpha(opacity=65);
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* Global Event Styles
|
||||
------------------------------------------------------------------------*/
|
||||
|
||||
.fc-event-container > * {
|
||||
z-index: 8;
|
||||
}
|
||||
|
||||
.fc-event-container > .ui-draggable-dragging,
|
||||
.fc-event-container > .ui-resizable-resizing {
|
||||
z-index: 9;
|
||||
}
|
||||
|
||||
.fc-event {
|
||||
border: 1px solid #3a87ad; /* default BORDER color */
|
||||
background-color: #3a87ad; /* default BACKGROUND color */
|
||||
color: #fff; /* default TEXT color */
|
||||
font-size: .85em;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
a.fc-event {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a.fc-event,
|
||||
.fc-event-draggable {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.fc-rtl .fc-event {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.fc-event-inner {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.fc-event-time,
|
||||
.fc-event-title {
|
||||
padding: 0 1px;
|
||||
}
|
||||
|
||||
.fc .ui-resizable-handle {
|
||||
display: block;
|
||||
position: absolute;
|
||||
z-index: 99999;
|
||||
overflow: hidden; /* hacky spaces (IE6/7) */
|
||||
font-size: 300%; /* */
|
||||
line-height: 50%; /* */
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* Horizontal Events
|
||||
------------------------------------------------------------------------*/
|
||||
|
||||
.fc-event-hori {
|
||||
border-width: 1px 0;
|
||||
margin-bottom: 1px;
|
||||
}
|
||||
|
||||
.fc-ltr .fc-event-hori.fc-event-start,
|
||||
.fc-rtl .fc-event-hori.fc-event-end {
|
||||
border-left-width: 1px;
|
||||
border-top-left-radius: 3px;
|
||||
border-bottom-left-radius: 3px;
|
||||
}
|
||||
|
||||
.fc-ltr .fc-event-hori.fc-event-end,
|
||||
.fc-rtl .fc-event-hori.fc-event-start {
|
||||
border-right-width: 1px;
|
||||
border-top-right-radius: 3px;
|
||||
border-bottom-right-radius: 3px;
|
||||
}
|
||||
|
||||
/* resizable */
|
||||
|
||||
.fc-event-hori .ui-resizable-e {
|
||||
top: 0 !important; /* importants override pre jquery ui 1.7 styles */
|
||||
right: -3px !important;
|
||||
width: 7px !important;
|
||||
height: 100% !important;
|
||||
cursor: e-resize;
|
||||
}
|
||||
|
||||
.fc-event-hori .ui-resizable-w {
|
||||
top: 0 !important;
|
||||
left: -3px !important;
|
||||
width: 7px !important;
|
||||
height: 100% !important;
|
||||
cursor: w-resize;
|
||||
}
|
||||
|
||||
.fc-event-hori .ui-resizable-handle {
|
||||
_padding-bottom: 14px; /* IE6 had 0 height */
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* Reusable Separate-border Table
|
||||
------------------------------------------------------------*/
|
||||
|
||||
table.fc-border-separate {
|
||||
border-collapse: separate;
|
||||
}
|
||||
|
||||
.fc-border-separate th,
|
||||
.fc-border-separate td {
|
||||
border-width: 1px 0 0 1px;
|
||||
}
|
||||
|
||||
.fc-border-separate th.fc-last,
|
||||
.fc-border-separate td.fc-last {
|
||||
border-right-width: 1px;
|
||||
}
|
||||
|
||||
.fc-border-separate tr.fc-last th,
|
||||
.fc-border-separate tr.fc-last td {
|
||||
border-bottom-width: 1px;
|
||||
}
|
||||
|
||||
.fc-border-separate tbody tr.fc-first td,
|
||||
.fc-border-separate tbody tr.fc-first th {
|
||||
border-top-width: 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* Month View, Basic Week View, Basic Day View
|
||||
------------------------------------------------------------------------*/
|
||||
|
||||
.fc-grid th {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.fc .fc-week-number {
|
||||
width: 22px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.fc .fc-week-number div {
|
||||
padding: 0 2px;
|
||||
}
|
||||
|
||||
.fc-grid .fc-day-number {
|
||||
float: right;
|
||||
padding: 0 2px;
|
||||
}
|
||||
|
||||
.fc-grid .fc-other-month .fc-day-number {
|
||||
opacity: 0.3;
|
||||
filter: alpha(opacity=30); /* for IE */
|
||||
/* opacity with small font can sometimes look too faded
|
||||
might want to set the 'color' property instead
|
||||
making day-numbers bold also fixes the problem */
|
||||
}
|
||||
|
||||
.fc-grid .fc-day-content {
|
||||
clear: both;
|
||||
padding: 2px 2px 1px; /* distance between events and day edges */
|
||||
}
|
||||
|
||||
/* event styles */
|
||||
|
||||
.fc-grid .fc-event-time {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* right-to-left */
|
||||
|
||||
.fc-rtl .fc-grid .fc-day-number {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.fc-rtl .fc-grid .fc-event-time {
|
||||
float: right;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* Agenda Week View, Agenda Day View
|
||||
------------------------------------------------------------------------*/
|
||||
|
||||
.fc-agenda table {
|
||||
border-collapse: separate;
|
||||
}
|
||||
|
||||
.fc-agenda-days th {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.fc-agenda .fc-agenda-axis {
|
||||
width: 50px;
|
||||
padding: 0 4px;
|
||||
vertical-align: middle;
|
||||
text-align: right;
|
||||
white-space: nowrap;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.fc-agenda .fc-week-number {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.fc-agenda .fc-day-content {
|
||||
padding: 2px 2px 1px;
|
||||
}
|
||||
|
||||
/* make axis border take precedence */
|
||||
|
||||
.fc-agenda-days .fc-agenda-axis {
|
||||
border-right-width: 1px;
|
||||
}
|
||||
|
||||
.fc-agenda-days .fc-col0 {
|
||||
border-left-width: 0;
|
||||
}
|
||||
|
||||
/* all-day area */
|
||||
|
||||
.fc-agenda-allday th {
|
||||
border-width: 0 1px;
|
||||
}
|
||||
|
||||
.fc-agenda-allday .fc-day-content {
|
||||
min-height: 34px; /* TODO: doesnt work well in quirksmode */
|
||||
_height: 34px;
|
||||
}
|
||||
|
||||
/* divider (between all-day and slots) */
|
||||
|
||||
.fc-agenda-divider-inner {
|
||||
height: 2px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.fc-widget-header .fc-agenda-divider-inner {
|
||||
background: #eee;
|
||||
}
|
||||
|
||||
/* slot rows */
|
||||
|
||||
.fc-agenda-slots th {
|
||||
border-width: 1px 1px 0;
|
||||
}
|
||||
|
||||
.fc-agenda-slots td {
|
||||
border-width: 1px 0 0;
|
||||
background: none;
|
||||
}
|
||||
|
||||
.fc-agenda-slots td div {
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
.fc-agenda-slots tr.fc-slot0 th,
|
||||
.fc-agenda-slots tr.fc-slot0 td {
|
||||
border-top-width: 0;
|
||||
}
|
||||
|
||||
.fc-agenda-slots tr.fc-minor th,
|
||||
.fc-agenda-slots tr.fc-minor td {
|
||||
border-top-style: dotted;
|
||||
}
|
||||
|
||||
.fc-agenda-slots tr.fc-minor th.ui-widget-header {
|
||||
*border-top-style: solid; /* doesn't work with background in IE6/7 */
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* Vertical Events
|
||||
------------------------------------------------------------------------*/
|
||||
|
||||
.fc-event-vert {
|
||||
border-width: 0 1px;
|
||||
}
|
||||
|
||||
.fc-event-vert.fc-event-start {
|
||||
border-top-width: 1px;
|
||||
border-top-left-radius: 3px;
|
||||
border-top-right-radius: 3px;
|
||||
}
|
||||
|
||||
.fc-event-vert.fc-event-end {
|
||||
border-bottom-width: 1px;
|
||||
border-bottom-left-radius: 3px;
|
||||
border-bottom-right-radius: 3px;
|
||||
}
|
||||
|
||||
.fc-event-vert .fc-event-time {
|
||||
white-space: nowrap;
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
.fc-event-vert .fc-event-inner {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.fc-event-vert .fc-event-bg { /* makes the event lighter w/ a semi-transparent overlay */
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: #fff;
|
||||
opacity: .25;
|
||||
filter: alpha(opacity=25);
|
||||
}
|
||||
|
||||
.fc .ui-draggable-dragging .fc-event-bg, /* TODO: something nicer like .fc-opacity */
|
||||
.fc-select-helper .fc-event-bg {
|
||||
display: none\9; /* for IE6/7/8. nested opacity filters while dragging don't work */
|
||||
}
|
||||
|
||||
/* resizable */
|
||||
|
||||
.fc-event-vert .ui-resizable-s {
|
||||
bottom: 0 !important; /* importants override pre jquery ui 1.7 styles */
|
||||
width: 100% !important;
|
||||
height: 8px !important;
|
||||
overflow: hidden !important;
|
||||
line-height: 8px !important;
|
||||
font-size: 11px !important;
|
||||
font-family: monospace;
|
||||
text-align: center;
|
||||
cursor: s-resize;
|
||||
}
|
||||
|
||||
.fc-agenda .ui-resizable-resizing { /* TODO: better selector */
|
||||
_overflow: hidden;
|
||||
}
|
||||
|
||||
|