diff --git a/app/assets/fonts/websymbols-regular-webfont.eot b/app/assets/fonts/websymbols-regular-webfont.eot new file mode 100644 index 000000000..4bf9c07a4 Binary files /dev/null and b/app/assets/fonts/websymbols-regular-webfont.eot differ diff --git a/app/assets/fonts/websymbols-regular-webfont.svg b/app/assets/fonts/websymbols-regular-webfont.svg new file mode 100644 index 000000000..ecf0e309c --- /dev/null +++ b/app/assets/fonts/websymbols-regular-webfont.svg @@ -0,0 +1,108 @@ + + + + +This is a custom SVG webfont generated by Font Squirrel. +Copyright : Copyright c 2011 by Just Be Nice studio All rights reserved +Designer : Igor Kiselev +Foundry : Just Be Nice studio +Foundry URL : httpwwwjustbenicestudiocom + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/assets/fonts/websymbols-regular-webfont.ttf b/app/assets/fonts/websymbols-regular-webfont.ttf new file mode 100644 index 000000000..e7da1ba15 Binary files /dev/null and b/app/assets/fonts/websymbols-regular-webfont.ttf differ diff --git a/app/assets/fonts/websymbols-regular-webfont.woff b/app/assets/fonts/websymbols-regular-webfont.woff new file mode 100644 index 000000000..a5f7f01c2 Binary files /dev/null and b/app/assets/fonts/websymbols-regular-webfont.woff differ diff --git a/app/assets/fonts/widget.css b/app/assets/fonts/widget.css new file mode 100644 index 000000000..0c596876d --- /dev/null +++ b/app/assets/fonts/widget.css @@ -0,0 +1,79 @@ +.widget-size-300 { + width:298px; +} +.widget-box { + background-color: #FFF; + overflow: hidden; + min-width: 300px; + border: 1px solid #DDD; + border-radius: 5px; + -moz-border-radius: 5px; + -webkit-border-radius: 5px; + margin: 0 0 5px 5px; + position:relative; +} +.widget-box .widget-title { + background: #999; + color: #FFF; + padding-left: 5px; + border-radius: 5px 5px 0 0; + -moz-border-radius: 5px 5px 0 0; + -webkit-border-radius: 5px 5px 0 0; +} +.widget-box .widget-content { + padding: 10px; +} +.widget-box .form-horizontal .control-group > label { + width: 50px; +} +.widget-box .form-horizontal .controls { + margin-left: 60px; +} +.widget-action { + position:absolute; + right:1px; + top:6px; +} +.action { + float: left; + display:inline-block; + margin-right: 5px; + opacity: 0.8; + filter: alpha(opacity=80); +} +.action:hover { + opacity: 1; + filter: alpha(opacity=100); + cursor: pointer; +} +.select-role { + display:none; + overflow:hidden; +} +.file-upload { + position:relative; +} +.file-upload .file-name { + display: inline-block; + margin: 0 0 5px 5px; + white-space: nowrap; + width: 140px; +} +.file-upload .upload { + margin:0; + padding:0; + position:absolute; + top:0; + left:0; + opacity:.0; + filter: alpha(opacity=100); +} +.file-upload .upload:focus { + position:absolute; +} +.upload-picture { + margin-right: 5px; +} +#widget-link table { + margin-bottom:0 +} \ No newline at end of file diff --git a/app/assets/images/default-img.png b/app/assets/images/default-img.png new file mode 100644 index 000000000..014875864 Binary files /dev/null and b/app/assets/images/default-img.png differ diff --git a/app/assets/images/glyphicons-halflings-white.png b/app/assets/images/glyphicons-halflings-white.png new file mode 100644 index 000000000..a20760bfd Binary files /dev/null and b/app/assets/images/glyphicons-halflings-white.png differ diff --git a/app/assets/images/glyphicons-halflings.png b/app/assets/images/glyphicons-halflings.png new file mode 100644 index 000000000..92d4445df Binary files /dev/null and b/app/assets/images/glyphicons-halflings.png differ diff --git a/app/assets/images/icons_pack.png b/app/assets/images/icons_pack.png new file mode 100644 index 000000000..5c29b80fe Binary files /dev/null and b/app/assets/images/icons_pack.png differ diff --git a/app/assets/images/icons_pack_white.png b/app/assets/images/icons_pack_white.png new file mode 100644 index 000000000..af5a3113d Binary files /dev/null and b/app/assets/images/icons_pack_white.png differ diff --git a/app/assets/images/orbit-bar.png b/app/assets/images/orbit-bar.png new file mode 100644 index 000000000..d8e36223c Binary files /dev/null and b/app/assets/images/orbit-bar.png differ diff --git a/app/assets/javascripts/bootstrap.js b/app/assets/javascripts/bootstrap.js new file mode 100644 index 000000000..b822d62bf --- /dev/null +++ b/app/assets/javascripts/bootstrap.js @@ -0,0 +1,1741 @@ +/* =================================================== + * bootstrap-transition.js v2.0.0 + * http://twitter.github.com/bootstrap/javascript.html#transitions + * =================================================== + * Copyright 2012 Twitter, Inc. + * + * 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( $ ) { + + $(function () { + + "use strict" + + /* CSS TRANSITION SUPPORT (https://gist.github.com/373874) + * ======================================================= */ + + $.support.transition = (function () { + var thisBody = document.body || document.documentElement + , thisStyle = thisBody.style + , support = thisStyle.transition !== undefined || thisStyle.WebkitTransition !== undefined || thisStyle.MozTransition !== undefined || thisStyle.MsTransition !== undefined || thisStyle.OTransition !== undefined + + return support && { + end: (function () { + var transitionEnd = "TransitionEnd" + if ( $.browser.webkit ) { + transitionEnd = "webkitTransitionEnd" + } else if ( $.browser.mozilla ) { + transitionEnd = "transitionend" + } else if ( $.browser.opera ) { + transitionEnd = "oTransitionEnd" + } + return transitionEnd + }()) + } + })() + + }) + +}( window.jQuery ) + +/* ========================================================= + * bootstrap-modal.js v2.0.0 + * http://twitter.github.com/bootstrap/javascript.html#modals + * ========================================================= + * Copyright 2012 Twitter, Inc. + * + * 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" + + /* MODAL CLASS DEFINITION + * ====================== */ + + var Modal = function ( content, options ) { + this.options = options + this.$element = $(content) + .delegate('[data-dismiss="modal"]', 'click.dismiss.modal', $.proxy(this.hide, this)) + } + + Modal.prototype = { + + constructor: Modal + + , toggle: function () { + return this[!this.isShown ? 'show' : 'hide']() + } + + , show: function () { + var that = this + + if (this.isShown) return + + $('body').addClass('modal-open') + + this.isShown = true + this.$element.trigger('show') + + escape.call(this) + backdrop.call(this, function () { + var transition = $.support.transition && that.$element.hasClass('fade') + + !that.$element.parent().length && that.$element.appendTo(document.body) //don't move modals dom position + + that.$element + .show() + + if (transition) { + that.$element[0].offsetWidth // force reflow + } + + that.$element.addClass('in') + + transition ? + that.$element.one($.support.transition.end, function () { that.$element.trigger('shown') }) : + that.$element.trigger('shown') + + }) + } + + , hide: function ( e ) { + e && e.preventDefault() + + if (!this.isShown) return + + var that = this + this.isShown = false + + $('body').removeClass('modal-open') + + escape.call(this) + + this.$element + .trigger('hide') + .removeClass('in') + + $.support.transition && this.$element.hasClass('fade') ? + hideWithTransition.call(this) : + hideModal.call(this) + } + + } + + + /* MODAL PRIVATE METHODS + * ===================== */ + + function hideWithTransition() { + var that = this + , timeout = setTimeout(function () { + that.$element.off($.support.transition.end) + hideModal.call(that) + }, 500) + + this.$element.one($.support.transition.end, function () { + clearTimeout(timeout) + hideModal.call(that) + }) + } + + function hideModal( that ) { + this.$element + .hide() + .trigger('hidden') + + backdrop.call(this) + } + + function backdrop( callback ) { + var that = this + , animate = this.$element.hasClass('fade') ? 'fade' : '' + + if (this.isShown && this.options.backdrop) { + var doAnimate = $.support.transition && animate + + this.$backdrop = $('