From: Bon-Yong Lee Date: Sun, 25 Nov 2012 06:29:44 +0000 (+0900) Subject: [Title] Template with CLI X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7bfebb697ad0fd8dfd9bfe5b9a685149aed3d5ff;p=sdk%2Fide%2Fcommon-eplugin.git [Title] Template with CLI [Desc.] create file set from template [Issue] #7084 --- diff --git a/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/AttributeConfiguable.java b/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/AttributeConfiguable.java index bf180e4..88c42ef 100755 --- a/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/AttributeConfiguable.java +++ b/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/AttributeConfiguable.java @@ -1,10 +1,50 @@ +/* + * Verrari - Realm + * + * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. + * + * Contact: + * BonYong Lee + * + * 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. + * + * Contributors: + * - S-Core Co., Ltd + * + */ package org.tizen.common.verrari; import java.util.Map; +/** + *

+ * AttributeConfiguable + * + * interface to configure attribute + * + *

+ * + * @author BonYong Lee{@literal } (S-Core) + * + */ public interface AttributeConfiguable { + /** + * Set attribute set + * + * @param attrs attribute set + */ void setAttributes( Map attrs ); } diff --git a/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/AttributeContainer.java b/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/AttributeContainer.java index 3db32c2..6b8ac77 100755 --- a/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/AttributeContainer.java +++ b/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/AttributeContainer.java @@ -1,9 +1,60 @@ +/* + * Verrari - Realm + * + * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. + * + * Contact: + * BonYong Lee + * + * 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. + * + * Contributors: + * - S-Core Co., Ltd + * + */ package org.tizen.common.verrari; +import java.util.Collection; + +/** + *

+ * AttributeContainer + * + * interface to provide attibutes + * + *

+ * + * @author BonYong Lee{@literal } (S-Core) + * + */ public interface AttributeContainer { + /** + * return attibutes' keys + * + * @return keys + */ + Collection getAttributeKeys(); + + /** + * return attribute value for key + * + * @param key attribute key + * + * @return attribute value + */ String getAttribute( final String key ); } diff --git a/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/Condition.java b/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/Condition.java index 11dc8b0..dd6c08e 100755 --- a/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/Condition.java +++ b/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/Condition.java @@ -1,6 +1,134 @@ +/* + * Verrari - Realm + * + * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. + * + * Contact: + * BonYong Lee + * + * 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. + * + * Contributors: + * - S-Core Co., Ltd + * + */ package org.tizen.common.verrari; -public class Condition +import java.io.Serializable; + + + +/** + *

+ * Condition + * + * search condition + * + *

+ * + * @author BonYong Lee{@literal } (S-Core) + * + * @see SearchableRealm + */ +public class +Condition +implements Serializable { + private static final long serialVersionUID = -1254191699371474861L; + + /** + * Search condition's operation type + */ + public enum Operation { + Equals, + Contains + } + + /** + * left object + */ + protected Object left; + + /** + * right object + */ + protected Object right; + + /** + * comparision operation + */ + protected Operation operation; + + /** + * constructor with operation, left operand and right operand + * + * @param op operation + * @param left left operand + * @param right right operand + */ + public + Condition( + final Operation op, + final Object left, + final Object right + ) + { + this.operation = op; + this.left = left; + this.right = right; + } + + /** + * constructor with operation and right operand + * + * @param op operation + * @param right right operand + */ + public Condition( final Operation op, final String right ) + { + this( op, null, right ); + } + + /** + * return operation + * + * @return operation + */ + public Operation getOperation() + { + return this.operation; + } + + /** + * return left operand + * + * @return left object + */ + public Object getLeft() + { + return this.left; + } + + /** + * return right operand + * + * @return right object + */ + public Object getRight() + { + return this.right; + } + + } diff --git a/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/InvalidMapperException.java b/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/InvalidMapperException.java deleted file mode 100755 index 7e66877..0000000 --- a/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/InvalidMapperException.java +++ /dev/null @@ -1,20 +0,0 @@ -package org.tizen.common.verrari; - -public class -InvalidMapperException -extends TemplateException -{ - - private static final long serialVersionUID = 3697025810808668703L; - - public InvalidMapperException() - { - super(); - } - - public InvalidMapperException( final String msg ) - { - super( msg ); - } - -} diff --git a/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/Mappings.java b/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/Mappings.java deleted file mode 100755 index 25519bd..0000000 --- a/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/Mappings.java +++ /dev/null @@ -1,7 +0,0 @@ -package org.tizen.common.verrari; - -public class -Mappings -{ - -} diff --git a/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/Realm.java b/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/Realm.java index f7333a5..1a3660b 100755 --- a/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/Realm.java +++ b/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/Realm.java @@ -1,11 +1,56 @@ +/* + * Verrari - Realm + * + * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. + * + * Contact: + * BonYong Lee + * + * 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. + * + * Contributors: + * - S-Core Co., Ltd + * + */ package org.tizen.common.verrari; import java.io.IOException; +/** + *

+ * Realm + * + * repository for template + * + *

+ * + * @author BonYong Lee{@literal } (S-Core) + */ public interface Realm -extends RealmInfo +extends AttributeContainer { + /** + *

+ * return template for id + *

+ * + * @param id template id + * + * @return template for id + * + * @throws IOException If template can't be accessible + */ Template getTemplate( String id ) throws IOException; } diff --git a/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/RealmFactory.java b/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/RealmFactory.java index d34aeee..4bed99b 100755 --- a/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/RealmFactory.java +++ b/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/RealmFactory.java @@ -1,3 +1,27 @@ +/* + * Verrari - Realm + * + * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. + * + * Contact: + * BonYong Lee + * + * 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. + * + * Contributors: + * - S-Core Co., Ltd + * + */ package org.tizen.common.verrari; import static org.tizen.common.util.IOUtil.getBytes; @@ -25,26 +49,52 @@ import org.tizen.common.FactoryWithArgument; import org.tizen.common.classloader.ClassSource; import org.tizen.common.classloader.CustomClassLoader; import org.tizen.common.classloader.JarClassSource; +import org.tizen.common.verrari.realm.RealmConstants; +/** + *

+ * RealmFactory + * + * Factory to create {@link Realm} using realm definition + * + *

+ * + * @author BonYong Lee{@literal } (S-Core) + */ public class RealmFactory implements FactoryWithArgument { - protected static final String ATTR_LOADER = "loader"; - - protected static final String MIME_JSON = "application/json"; - - protected static final String PROP_REALM = "Tizen-Template-Realm"; - + /** + * singleton instance + */ protected static final RealmFactory instance = new RealmFactory(); + /** + * logger for this object + */ protected final Logger logger = LoggerFactory.getLogger( getClass() ); + /** + * access method for singleton object + * + * @return singleton instance + */ public static RealmFactory getInstance() { return instance; } + /** + * Read and parse realm definition from in + * + * @param in {@link InputStream} to provide realm definition + * @param contentType contents type of in + * + * @return attributes {@link Map} + * + * @throws IOException If can't read from in + */ protected Map parseRealm( @@ -54,17 +104,20 @@ implements FactoryWithArgument { HashMap attrs = null; - if ( MIME_JSON.equals( contentType ) ) + final byte[] bytes = getBytes( in ); + logger.debug( "Realm config :\n{}", new String( bytes ) ); + + + final ByteArrayInputStream byteIn = new ByteArrayInputStream( bytes ); + + attrs = new HashMap(); + final ObjectMapper mapper = new ObjectMapper(); + JsonNode node = mapper.readValue( byteIn, JsonNode.class ); + + for ( final Iterator iter = node.getFieldNames() ; iter.hasNext() ; ) { - attrs = new HashMap(); - final ObjectMapper mapper = new ObjectMapper(); - JsonNode node = mapper.readValue( in, JsonNode.class ); - - for ( final Iterator iter = node.getFieldNames() ; iter.hasNext() ; ) - { - final String key = iter.next(); - attrs.put( key, node.get( key ).asText() ); - } + final String key = iter.next(); + attrs.put( key, node.get( key ).asText() ); } logger.debug( "Realm Attributes :{}", attrs ); @@ -72,6 +125,9 @@ implements FactoryWithArgument } + /* (non-Javadoc) + * @see org.tizen.common.FactoryWithArgument#create(java.lang.Object) + */ @Override public Realm @@ -89,7 +145,9 @@ implements FactoryWithArgument { final String contentType = - nvl( con.getContentType(), MIME_JSON ); + nvl( con.getContentType(), RealmConstants.MIME_JSON ); + + logger.debug( "Contents mime :{}", contentType ); final Map attrs = parseRealm( in, contentType ); @@ -97,7 +155,7 @@ implements FactoryWithArgument { throw new IllegalArgumentException( "Realm[" + url + "] not found" ); } - final String loader = attrs.get( ATTR_LOADER ); + final String loader = attrs.get( RealmConstants.ATTR_LOADER ); logger.debug( "Loader :{}", loader ); final ClassSource source = new JarClassSource( loader ); logger.debug( "Source :{}", source ); @@ -137,6 +195,19 @@ implements FactoryWithArgument } } + /** + * Load realm from definition + * + * @param cl {@link ClassLoader} to load + * @param attrs realm attributes + * + * @return {@link Realm} + * + * @throws IOException If can't read info + * @throws ClassNotFoundException If can't load realm + * @throws InstantiationException If can't instantiate realm + * @throws IllegalAccessException If can't instantiate realm + */ protected Realm load( @@ -184,6 +255,15 @@ implements FactoryWithArgument return null; } + /** + * Return realm name + * + * @param in realm difinition + * + * @return realm name + * + * @throws IOException If can't read from in + */ public String getRealmName( @@ -196,7 +276,7 @@ implements FactoryWithArgument byte[] contents = getBytes( in ); final Manifest m = new Manifest( new ByteArrayInputStream( contents ) ); final Attributes attrs = m.getMainAttributes(); - final String realmName = trim( attrs.getValue( PROP_REALM ) ); + final String realmName = trim( attrs.getValue( RealmConstants.ATTR_REALM ) ); if ( null != realmName ) { logger.info( "Realm name :{}", realmName ); diff --git a/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/RealmInfo.java b/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/RealmInfo.java deleted file mode 100755 index b273f93..0000000 --- a/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/RealmInfo.java +++ /dev/null @@ -1,7 +0,0 @@ -package org.tizen.common.verrari; - -public interface -RealmInfo -{ - String getAttribute( String key ); -} diff --git a/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/SearchableRealm.java b/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/SearchableRealm.java new file mode 100755 index 0000000..dfa1f57 --- /dev/null +++ b/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/SearchableRealm.java @@ -0,0 +1,55 @@ +/* + * Verrari - Realm + * + * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. + * + * Contact: + * BonYong Lee + * + * 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. + * + * Contributors: + * - S-Core Co., Ltd + * + */ +package org.tizen.common.verrari; + +import java.io.IOException; +import java.util.Collection; + +/** + *

+ * SearchableRealm + * + * {@link Realm} to enable to search + * + *

+ * + * @author BonYong Lee{@literal } (S-Core) + * + */ +public interface +SearchableRealm +{ + /** + * Search template matching with condition + * + * @param condition search condition + * + * @return template list + * + * @throws IOException If can't access realm + */ + Collection search( Condition condition ) throws IOException; + +} diff --git a/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/Storage.java b/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/Storage.java index 924eb51..b4ca0d7 100755 --- a/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/Storage.java +++ b/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/Storage.java @@ -1,13 +1,65 @@ +/* + * Verrari - Realm + * + * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. + * + * Contact: + * BonYong Lee + * + * 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. + * + * Contributors: + * - S-Core Co., Ltd + * + */ package org.tizen.common.verrari; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; +/** + *

+ * Storage + * + * Interface to store data into any storage with key + * + *

+ * + * @author BonYong Lee{@literal } (S-Core) + */ public interface Storage { + /** + * return target to write + * + * @param key key string for data + * + * @return {@link OutputStream} to write + * + * @throws IOException If target can't be accessible + */ OutputStream getTarget( String key ) throws IOException; + /** + * return source to read + * + * @param key key string for data + * + * @return {@link InputStream} to read + * + * @throws IOException If source can't be accessible + */ InputStream getSource( String key ) throws IOException; } diff --git a/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/Template.java b/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/Template.java index 590ebc7..615cd43 100755 --- a/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/Template.java +++ b/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/Template.java @@ -1,9 +1,55 @@ +/* + * Verrari - Realm + * + * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. + * + * Contact: + * BonYong Lee + * + * 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. + * + * Contributors: + * - S-Core Co., Ltd + * + */ package org.tizen.common.verrari; + +/** + *

+ * Template + * + * Interface of template + * + *

+ * + * @author BonYong Lee{@literal } (S-Core) + */ public interface Template extends AttributeContainer { - void template( Storage storage ) throws TemplateException; + /** + * apply model and generate result + * + * @param models {@link IModelProvider} to provider models + * @param storage storage to store result + * + * @throws TemplateException If process is break + * + * @see IModelProvider + * @see Storage + */ + void template( IModelProvider models, Storage storage ) throws TemplateException; } diff --git a/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/TemplateSearchable.java b/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/TemplateSearchable.java deleted file mode 100755 index 4268ecf..0000000 --- a/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/TemplateSearchable.java +++ /dev/null @@ -1,10 +0,0 @@ -package org.tizen.common.verrari; - -import java.util.Collection; - -public interface -TemplateSearchable -{ - Collection search( Condition condition ); - -} diff --git a/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/UnsupportedVersion.java b/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/UnsupportedVersion.java deleted file mode 100755 index 0786ed8..0000000 --- a/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/UnsupportedVersion.java +++ /dev/null @@ -1,10 +0,0 @@ -package org.tizen.common.verrari; - -public class -UnsupportedVersion -extends TemplateException -{ - - private static final long serialVersionUID = 6945520707261158918L; - -} diff --git a/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/exception/InvalidMapperException.java b/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/exception/InvalidMapperException.java new file mode 100755 index 0000000..70a5b15 --- /dev/null +++ b/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/exception/InvalidMapperException.java @@ -0,0 +1,72 @@ +/* + * Verrari - Realm + * + * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. + * + * Contact: + * BonYong Lee + * + * 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. + * + * Contributors: + * - S-Core Co., Ltd + * + */ +package org.tizen.common.verrari.exception; + +import org.tizen.common.verrari.TemplateException; + +/** + *

+ * InvalidMapperException + * + * exception in case that mapper is invalid + * + *

+ * + * @author BonYong Lee{@literal } (S-Core) + * + * @see TemplateException + */ +public class +InvalidMapperException +extends TemplateException +{ + + /** + * serialVersionUID + */ + private static final long serialVersionUID = 3697025810808668703L; + + /** + * default constructor + */ + public InvalidMapperException() + { + super(); + } + + /** + * constructor with message + * + * @param msg message + */ + public + InvalidMapperException( + final String msg + ) + { + super( msg ); + } + +} diff --git a/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/exception/UnsupportedVersionException.java b/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/exception/UnsupportedVersionException.java new file mode 100755 index 0000000..2c81828 --- /dev/null +++ b/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/exception/UnsupportedVersionException.java @@ -0,0 +1,49 @@ +/* + * Verrari - Realm + * + * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. + * + * Contact: + * BonYong Lee + * + * 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. + * + * Contributors: + * - S-Core Co., Ltd + * + */ +package org.tizen.common.verrari.exception; + +import org.tizen.common.verrari.TemplateException; + +/** + *

+ * UnsupportedVersionException + * + * exception in case that version is unsupported + * + *

+ * + * @author BonYong Lee{@literal } (S-Core) + */ +public class +UnsupportedVersionException +extends TemplateException +{ + + /** + * serialVersionUID + */ + private static final long serialVersionUID = 6945520707261158918L; + +} diff --git a/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/realm/CompositeRealm.java b/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/realm/CompositeRealm.java index 78434f6..25d35b3 100755 --- a/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/realm/CompositeRealm.java +++ b/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/realm/CompositeRealm.java @@ -1,17 +1,63 @@ +/* + * Verrari - Realm + * + * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. + * + * Contact: + * BonYong Lee + * + * 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. + * + * Contributors: + * - S-Core Co., Ltd + * + */ package org.tizen.common.verrari.realm; import java.io.IOException; import java.util.ArrayList; +import java.util.Collection; import org.tizen.common.verrari.Realm; import org.tizen.common.verrari.Template; -public class CompositeRealm +/** + *

+ * CompositeRealm + * + * delegate multiple realms + * + *

+ * + * @author BonYong Lee{@literal } (S-Core) + * + * @see Realm + */ +public class +CompositeRealm implements Realm { + /** + * realm chain + */ protected final ArrayList chain = new ArrayList(); + /** + * add new realm into realm chain + * + * @param realm new realm to add + */ public void addRealm( @@ -20,7 +66,19 @@ implements Realm { chain.add( realm ); } + + /* (non-Javadoc) + * @see org.tizen.common.verrari.AttributeContainer#getAttributeKeys() + */ + @Override + public Collection getAttributeKeys() + { + throw new UnsupportedOperationException(); + } + /* (non-Javadoc) + * @see org.tizen.common.verrari.RealmInfo#getAttribute(java.lang.String) + */ @Override public String @@ -31,6 +89,9 @@ implements Realm throw new UnsupportedOperationException(); } + /* (non-Javadoc) + * @see org.tizen.common.verrari.Realm#getTemplate(java.lang.String) + */ @Override public Template diff --git a/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/realm/IRealmConstants.java b/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/realm/IRealmConstants.java deleted file mode 100755 index 51a7d11..0000000 --- a/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/realm/IRealmConstants.java +++ /dev/null @@ -1,14 +0,0 @@ -package org.tizen.common.verrari.realm; - -public interface -IRealmConstants -{ - String ATTR_ID = "id"; - - String ATTR_TEMPLATE_TYPE = "template-query-type"; - String ATTR_TEMPLATE_URL = "template-query-url"; - - String ATTR_SEARCH_TYPE = "search-query-type"; - String ATTR_SEARCH_URL = "search-query-url"; - -} diff --git a/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/realm/Query.java b/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/realm/Query.java index 87e5e7b..53641c1 100755 --- a/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/realm/Query.java +++ b/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/realm/Query.java @@ -1,9 +1,51 @@ +/* + * Verrari - Realm + * + * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. + * + * Contact: + * BonYong Lee + * + * 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. + * + * Contributors: + * - S-Core Co., Ltd + * + */ package org.tizen.common.verrari.realm; import java.util.Map; +/** + *

+ * Query + * + * object to make query string from argument + * + *

+ * + * @author BonYong Lee{@literal } (S-Core) + * + */ public interface Query { + /** + * make query string from args + * + * @param args argument map + * + * @return query string + */ String query( Map args ); } diff --git a/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/realm/RealmConstants.java b/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/realm/RealmConstants.java new file mode 100755 index 0000000..5203877 --- /dev/null +++ b/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/realm/RealmConstants.java @@ -0,0 +1,90 @@ +/* + * Verrari - Realm + * + * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. + * + * Contact: + * BonYong Lee + * + * 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. + * + * Contributors: + * - S-Core Co., Ltd + * + */ +package org.tizen.common.verrari.realm; + + +/** + *

+ * RealmConstants + * + * constant pool for realm + * + *

+ * + * @author BonYong Lee{@literal } (S-Core) + * + */ +public class +RealmConstants +{ + /** + * Realm loader + */ + public static final String ATTR_LOADER = "loader"; + + /** + * json realm definition format + */ + public static final String MIME_JSON = "application/json"; + + /** + * Template realm + */ + public static final String ATTR_REALM = "Tizen-Template-Realm"; + + + /** + * realm id + */ + public static final String ATTR_ID = "id"; + + /** + * how-to make template query + */ + public static final String ATTR_TEMPLATE_TYPE = "template-query-type"; + /** + * template query url + */ + public static final String ATTR_TEMPLATE_URL = "template-query-url"; + + /** + * how-to make search query + */ + public static final String ATTR_SEARCH_TYPE = "search-query-type"; + /** + * search query url + */ + public static final String ATTR_SEARCH_URL = "search-query-url"; + + /** + * directory search type + */ + public static final String SEARCH_TYPE_DIR = "directory"; + /** + * parameter search type + */ + public static final String SEARCH_TYPE_PARAMETER = "parameter";// TODO Not implement + +} diff --git a/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/realm/StandardRealm.java b/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/realm/StandardRealm.java index ffff8f5..d133987 100755 --- a/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/realm/StandardRealm.java +++ b/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/realm/StandardRealm.java @@ -1,18 +1,41 @@ +/* + * Verrari - Realm + * + * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. + * + * Contact: + * BonYong Lee + * + * 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. + * + * Contributors: + * - S-Core Co., Ltd + * + */ package org.tizen.common.verrari.realm; import static org.tizen.common.util.IOUtil.getBytes; +import static org.tizen.common.util.IOUtil.tryClose; import java.io.IOException; import java.io.InputStream; import java.net.URL; -import java.net.URLConnection; +import java.util.Collection; import java.util.HashMap; import java.util.Map; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -import org.tizen.common.Adaptable; -import org.tizen.common.AdaptableWithArgument; import org.tizen.common.util.MapUtil; import org.tizen.common.verrari.AttributeConfiguable; import org.tizen.common.verrari.Realm; @@ -21,26 +44,54 @@ import org.tizen.common.verrari.TemplateException; import org.tizen.common.verrari.template.StandardTemplate; import org.tizen.common.verrari.util.QueryFactory; +/** + *

+ * StandardRealm + * + * Built-in {@link Realm} to provide RI + * + *

+ * + * @author BonYong Lee{@literal } (S-Core) + * + * @see Realm + * @see AttributeConfiguable + */ public class StandardRealm -implements Realm, AttributeConfiguable, Adaptable, AdaptableWithArgument, IRealmConstants +implements Realm, AttributeConfiguable { + /** + * logger for this object + */ protected final Logger logger = LoggerFactory.getLogger( getClass() ); + /** + * attribute( ,metadata ) for realm + */ protected HashMap attributes; + /* (non-Javadoc) + * @see org.tizen.common.verrari.AttributeContainer#getAttributeKeys() + */ @Override - public String toString() + public Collection getAttributeKeys() { - return attributes.get( ATTR_ID ) + "@" + Realm.class.getSimpleName(); + return attributes.keySet(); } + /* (non-Javadoc) + * @see org.tizen.common.verrari.AttributeContainer#getAttribute(java.lang.String) + */ @Override public String getAttribute( final String key ) { return attributes.get( key ); } + /* (non-Javadoc) + * @see org.tizen.common.verrari.AttributeConfiguable#setAttributes(java.util.Map) + */ @Override public void setAttributes( final Map attrs ) { @@ -56,6 +107,9 @@ implements Realm, AttributeConfiguable, Adaptable, AdaptableWithArgument, IRealm } + /* (non-Javadoc) + * @see org.tizen.common.verrari.Realm#getTemplate(java.lang.String) + */ @SuppressWarnings("unchecked") @Override public @@ -77,7 +131,34 @@ implements Realm, AttributeConfiguable, Adaptable, AdaptableWithArgument, IRealm throw new IOException( "Template[" + id + "] not found" ); } - final byte[] bytes = getBytes( in, true ); + try + { + return getTemplate( in ); + } + finally + { + tryClose( in ); + } + } + + /** + * extract template from {@link InputStream} + * + * @param in {@link InputStream} to read + * + * @return template to be extracted + * + * @throws IOException If in throw {@link IOException} + */ + public + Template + getTemplate( + final InputStream in + ) + throws IOException + { + + final byte[] bytes = getBytes( in ); try { @@ -89,8 +170,16 @@ implements Realm, AttributeConfiguable, Adaptable, AdaptableWithArgument, IRealm { throw new IOException( e ); } + } + /** + * make template query + * + * @return template query + * + * @see QueryFactory + */ protected Query getTemplateQuery() @@ -99,34 +188,14 @@ implements Realm, AttributeConfiguable, Adaptable, AdaptableWithArgument, IRealm return factory.createTemplateQuery( this ); } - protected - Query - getSearchQuery() - { - final QueryFactory factory = QueryFactory.getInstance(); - return factory.createSearchQuery( this ); - } - - @SuppressWarnings({ "unchecked" }) + /* (non-Javadoc) + * @see java.lang.Object#toString() + */ @Override - public T adapt( Class clazz ) + public String toString() { - if ( clazz.isAssignableFrom( getClass() ) ) - { - return (T) this; - } - - - return null; + return attributes.get( RealmConstants.ATTR_ID ) + "@" + Realm.class.getSimpleName(); } - @SuppressWarnings({ "hiding" }) - @Override - public T adapt( Class clazz, Object arg ) - { - - return adapt( clazz ); - } - } diff --git a/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/realm/StandardSearchableRealm.java b/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/realm/StandardSearchableRealm.java index 88a54b6..db18632 100755 --- a/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/realm/StandardSearchableRealm.java +++ b/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/realm/StandardSearchableRealm.java @@ -1,21 +1,138 @@ +/* + * Verrari - Realm + * + * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. + * + * Contact: + * BonYong Lee + * + * 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. + * + * Contributors: + * - S-Core Co., Ltd + * + */ package org.tizen.common.verrari.realm; +import static org.tizen.common.util.IOUtil.tryClose; + +import java.io.File; +import java.io.FileInputStream; +import java.io.IOException; +import java.net.MalformedURLException; +import java.net.URL; import java.util.Collection; +import java.util.HashSet; -import org.tizen.common.verrari.Condition; import org.tizen.common.verrari.AttributeContainer; -import org.tizen.common.verrari.TemplateSearchable; +import org.tizen.common.verrari.Condition; +import org.tizen.common.verrari.Condition.Operation; +import org.tizen.common.verrari.SearchableRealm; +import org.tizen.common.verrari.Template; +/** + *

+ * StandardSearchableRealm + * + * Built-in {@link SearchableRealm} to provide RI + * + *

+ * + * @author BonYong Lee{@literal } (S-Core) + * + * @see SearchableRealm + */ public class StandardSearchableRealm -implements TemplateSearchable +extends StandardRealm +implements SearchableRealm { + /* (non-Javadoc) + * @see org.tizen.common.verrari.SearchableRealm#search(org.tizen.common.verrari.Condition) + */ @Override - public Collection search(Condition condition) + public + Collection + search( + final Condition condition + ) + throws IOException { - // TODO Auto-generated method stub - return null; + final HashSet ret = new HashSet(); + + String type = getAttribute( RealmConstants.ATTR_SEARCH_TYPE ); + String urlStr = getAttribute( RealmConstants.ATTR_SEARCH_URL ); + if ( RealmConstants.SEARCH_TYPE_DIR.equals( type ) ) + { + URL url; + try + { + url = new URL( urlStr ); + } + catch ( + final MalformedURLException e + ) + { + throw new IllegalArgumentException( "Invalid URL :" + urlStr, e ); + } + if ( !"file".equals( url.getProtocol() ) ) + { + throw new UnsupportedOperationException( "Check search url. It must start with \"file://\"" ); + } + + final Operation op = condition.getOperation(); + final String keyword = (String) condition.getRight(); + + final String path = url.getFile(); + final File dir = new File( path ); + final File[] files = dir.listFiles(); + for ( final File file : files ) + { + logger.debug( "File :{}", file.getCanonicalPath() ); + switch ( op ) + { + case Contains: + final FileInputStream fileIn = new FileInputStream( file ); + try + { + final Template template = getTemplate( fileIn ); + final Collection keys = template.getAttributeKeys(); + for ( final String key : keys ) + { + final String value = template.getAttribute( key ); + if ( value.contains( keyword ) ) + { + ret.add( template ); + break; + } + } + } + finally + { + tryClose( fileIn ); + } + + break; + + default: + break; + } + } + + } + + return ret; } } diff --git a/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/storage/FileStorage.java b/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/storage/FileStorage.java index d18049f..e07dea3 100755 --- a/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/storage/FileStorage.java +++ b/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/storage/FileStorage.java @@ -1,3 +1,27 @@ +/* + * Verrari - Realm + * + * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. + * + * Contact: + * BonYong Lee + * + * 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. + * + * Contributors: + * - S-Core Co., Ltd + * + */ package org.tizen.common.verrari.storage; import static org.tizen.common.util.FilenameUtil.removeTailingPath; @@ -9,33 +33,56 @@ import java.io.OutputStream; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.tizen.common.file.FileHandler; -import org.tizen.common.file.FileHandler.Attribute; -import org.tizen.common.util.FilenameUtil; +import org.tizen.common.util.Assert; import org.tizen.common.util.io.BufferInputStream; import org.tizen.common.util.io.BufferOutputStream; import org.tizen.common.verrari.Storage; import org.tizen.common.verrari.util.BufferFactory; +/** + *

+ * FileStorage + * + * {@link Storage} to store data in file + * + *

+ * + * @author BonYong Lee{@literal } (S-Core) + * + * @see Storage + * @see FileHandler + */ public class FileStorage implements Storage { + /** + * logger for this object + */ protected final Logger logger = LoggerFactory.getLogger( getClass() ); + /** + * {@link FileHandler} for file access + */ protected FileHandler handler = null; + /** + * constructor with {@link FileHandler} + * + * @param handler {@link FileHandler} + */ public FileStorage( final FileHandler handler ) { - if ( null == handler ) - { - throw new NullPointerException(); - } + Assert.notNull( handler ); this.handler = handler; } + /* (non-Javadoc) + * @see org.tizen.common.verrari.Storage#getTarget(java.lang.String) + */ @Override public OutputStream @@ -58,6 +105,9 @@ implements Storage return bufferOut; } + /* (non-Javadoc) + * @see org.tizen.common.verrari.Storage#getSource(java.lang.String) + */ @Override public InputStream diff --git a/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/template/ITemplateConstants.java b/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/template/ITemplateConstants.java deleted file mode 100755 index 4ca930d..0000000 --- a/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/template/ITemplateConstants.java +++ /dev/null @@ -1,18 +0,0 @@ -package org.tizen.common.verrari.template; - -public interface ITemplateConstants -{ - String ATTR_NAME = "Tizen-Template-Name"; - String ATTR_TAGS = "Tizen-Template-Tags"; - - String ATTR_VERSION = "Tizen-Template-Version"; - - String ATTR_EXCLUDE = "Tizen-Template-Exclude"; - String ATTR_INCLUDE = "Tizen-Template-Include"; - - String ATTR_MAPPER = "Tizen-Template-Mapper"; - String DV_MAPPER = StandardMapper.class.getName(); - - String ATTR_MAPPING = "Tizen-Template-Mapper"; - -} diff --git a/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/template/Mapper.java b/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/template/Mapper.java index 80ec51e..2662f6d 100755 --- a/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/template/Mapper.java +++ b/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/template/Mapper.java @@ -1,7 +1,60 @@ +/* + * Verrari - Realm + * + * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. + * + * Contact: + * BonYong Lee + * + * 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. + * + * Contributors: + * - S-Core Co., Ltd + * + */ package org.tizen.common.verrari.template; +import java.util.Map; + + +/** + *

+ * Mapper + * + * interface to string mapping along mapping rule. + * + *

+ * + * @author BonYong Lee{@literal } (S-Core) + * + */ public interface Mapper { + /** + * Configure mapping rule + * + * @param mappings mapping rule + */ + void setMappings( Map mappings ); + + /** + * apply rule and generate result string for value + * + * @param value input strng + * + * @return output string + */ String map( String value ); + } diff --git a/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/template/StandardMapper.java b/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/template/StandardMapper.java index de1fde9..08d590b 100755 --- a/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/template/StandardMapper.java +++ b/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/template/StandardMapper.java @@ -1,25 +1,152 @@ +/* + * Verrari - Realm + * + * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. + * + * Contact: + * BonYong Lee + * + * 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. + * + * Contributors: + * - S-Core Co., Ltd + * + */ package org.tizen.common.verrari.template; +import static org.tizen.common.util.IOUtil.tryClose; + +import java.io.ByteArrayOutputStream; +import java.util.Collections; +import java.util.HashMap; +import java.util.Map; import java.util.regex.Pattern; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.tizen.common.verrari.ITemplateEngine; +import org.tizen.common.verrari.engine.TemplateEngineFactory; +import org.tizen.common.verrari.model.ModelManager; +import org.tizen.common.verrari.util.BufferFactory; + + +/** + *

+ * StandardMapper + * + * {@link Mapper} using regular expression + * + *

+ * + * @author BonYong Lee{@literal } (S-Core) + * + * @see Mapper + */ public class StandardMapper implements Mapper { + /** + * dummpy key for template engine + */ + protected static final String PROP_KEY_TEMPLATE = "key"; + + /** + * dummy value for template engine + */ + protected static final String PROP_VALUE_TEMPLATE = "value"; + + /** + * logger for this object + */ + protected final Logger logger = LoggerFactory.getLogger( getClass() ); + + /** + * mapping rule + */ + protected Map mappings = new HashMap(); + /* (non-Javadoc) + * @see org.tizen.common.verrari.template.Mapper#setMappings(java.util.Map) + */ @Override - public String map(String value) + public + void + setMappings( + final Map mappings + ) { - // TODO Auto-generated method stub - return null; + logger.info( "Mappings :{}", mappings ); + this.mappings = Collections.unmodifiableMap( mappings ); } - public static void main(String[] args) + /* (non-Javadoc) + * @see org.tizen.common.verrari.template.Mapper#map(java.lang.String) + */ + @Override + public + String + map( + final String value + ) { - final String pattern = "(a[0-9]+)(b[0-9]+)"; - final String str = "a3b2"; - System.out.println( Pattern.matches( pattern, str ) ); - System.out.println( str.replaceAll( pattern, "-$0-" ) ); + for ( final String key : this.mappings.keySet() ) + { + if ( !Pattern.matches( key, value ) ) + { // if this rule is not for value, skip to next + continue; + } + + final String target = this.mappings.get( key ); + + // configure template engine + final ITemplateEngine engine = TemplateEngineFactory.getInstance().create(); + final TemplateManager templates = new TemplateManager(); + engine.setTemplateProvider( templates ); + + InMemoryTemplate keyTemplate = null; + InMemoryTemplate valueTemplate = null; + try + { + keyTemplate = new InMemoryTemplate( key.getBytes(), "utf-8", BufferFactory.getInstance() ); + valueTemplate = new InMemoryTemplate( target.getBytes(), "utf-8", BufferFactory.getInstance() ); + templates.addTemplate( PROP_KEY_TEMPLATE, keyTemplate ); + templates.addTemplate( PROP_VALUE_TEMPLATE, valueTemplate ); + final ByteArrayOutputStream keyOut = new ByteArrayOutputStream(); + engine.generate( PROP_KEY_TEMPLATE, new ModelManager(), keyOut ); + final ByteArrayOutputStream valueOut = new ByteArrayOutputStream(); + engine.generate( PROP_VALUE_TEMPLATE, new ModelManager(), valueOut ); + + final String keyStr = keyOut.toString(); + final String valueStr = valueOut.toString(); + + logger.info( "Key :{}, Value :{}", keyStr, valueStr ); + return value.replaceAll( keyStr, valueStr ); + } + catch + ( + final Exception e + ) + { + logger.error( "No effective mapping for {}", value, e ); + } + finally + { + tryClose( keyTemplate, valueTemplate ); + } + } + return value; } + } diff --git a/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/template/StandardTemplate.java b/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/template/StandardTemplate.java index 4f3c6df..6521254 100755 --- a/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/template/StandardTemplate.java +++ b/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/template/StandardTemplate.java @@ -1,14 +1,51 @@ +/* + * Verrari - Realm + * + * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. + * + * Contact: + * BonYong Lee + * + * 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. + * + * Contributors: + * - S-Core Co., Ltd + * + */ package org.tizen.common.verrari.template; import static org.tizen.common.util.IOUtil.getBytes; import static org.tizen.common.util.IOUtil.tryClose; import static org.tizen.common.util.StringUtil.nvl; +import static org.tizen.common.verrari.template.TemplateConstants.ATTR_COPY; +import static org.tizen.common.verrari.template.TemplateConstants.ATTR_EXCLUDE; +import static org.tizen.common.verrari.template.TemplateConstants.ATTR_INCLUDE; +import static org.tizen.common.verrari.template.TemplateConstants.ATTR_MAPPER; +import static org.tizen.common.verrari.template.TemplateConstants.ATTR_MAPPING; +import static org.tizen.common.verrari.template.TemplateConstants.ATTR_VERSION; +import static org.tizen.common.verrari.template.TemplateConstants.DV_MAPPER; +import java.io.BufferedReader; import java.io.ByteArrayInputStream; import java.io.IOException; +import java.io.InputStream; import java.io.OutputStream; +import java.io.StringReader; +import java.util.Collection; import java.util.HashMap; +import java.util.HashSet; import java.util.jar.Attributes; +import java.util.jar.Attributes.Name; import java.util.jar.JarEntry; import java.util.jar.JarInputStream; import java.util.jar.Manifest; @@ -19,52 +56,101 @@ import org.tizen.common.FactoryWithArgument; import org.tizen.common.file.Filter; import org.tizen.common.file.SimpleFileFilter; import org.tizen.common.file.filter.WildCardFilterFactory; +import org.tizen.common.util.IOUtil; import org.tizen.common.util.ReflectionUtil; import org.tizen.common.verrari.IModelProvider; import org.tizen.common.verrari.ITemplateEngine; -import org.tizen.common.verrari.InvalidMapperException; import org.tizen.common.verrari.Storage; import org.tizen.common.verrari.Template; import org.tizen.common.verrari.TemplateException; -import org.tizen.common.verrari.UnsupportedVersion; import org.tizen.common.verrari.engine.TemplateEngineFactory; -import org.tizen.common.verrari.model.ModelManager; +import org.tizen.common.verrari.exception.InvalidMapperException; +import org.tizen.common.verrari.exception.UnsupportedVersionException; import org.tizen.common.verrari.util.BufferFactory; +/** + *

+ * StandardTemplate + * + * Built-in {@link Template} to provide RI + * + *

+ * + * @author BonYong Lee{@literal } (S-Core) + * + * @see Template + */ public class StandardTemplate -implements Template, ITemplateConstants +implements Template { - protected Logger logger = LoggerFactory.getLogger( getClass() ); - - protected static final String ATTR_ID = "id"; + /** + * logger for this object + */ + protected final Logger logger = LoggerFactory.getLogger( getClass() ); + /** + * attributes for template + */ protected final HashMap attrs = new HashMap(); /** * Factory to create file name pattern filter */ protected FactoryWithArgument filterFactory = new WildCardFilterFactory(); - + /** + * template engine + */ protected ITemplateEngine engine = null; + + /** + * template list to start + */ + protected HashSet templateNames = new HashSet(); - protected final JarInputStream jarIn; - - protected HashMap name2targets = new HashMap(); + /** + * list to copy + */ + protected HashSet copyNames = new HashSet(); - public StandardTemplate( byte[] bytes ) throws IOException, TemplateException + /** + * name mapper + * + * @see Mapper + */ + protected Mapper mapper = null; + + /** + * constructor with template contents in jar file format byte[] + * + * @param bytes template contents + * + * @throws IOException If bytes is invalid format + * @throws TemplateException If template mapping is invalid + */ + public + StandardTemplate( + final byte[] bytes + ) + throws IOException, TemplateException { - jarIn = new JarInputStream( new ByteArrayInputStream( bytes ) ); - - load( jarIn ); + load( new JarInputStream( new ByteArrayInputStream( bytes ) ) ); } + /** + * Separate arguemnt with semicolon + * + * @param value value to separate + * + * @return string array to be separated + */ protected static - String[] separate( + String[] + separate( final String value ) { @@ -72,7 +158,7 @@ implements Template, ITemplateConstants { return null; } - return null; + return value.split( ";" ); } @@ -90,20 +176,40 @@ implements Template, ITemplateConstants ) { this.filterFactory = factory; + logger.debug( "Configured filter factory :{}", factory ); } + /** + * Read contents from in and make template info + * + * @param in {@link InputStream} to read + * + * @throws TemplateException If version or mapper is invalid + * @throws IOException If in is invalid + */ protected void - load( final JarInputStream in ) + load( + final JarInputStream in + ) throws TemplateException, IOException { this.engine = TemplateEngineFactory.getInstance().create(); final TemplateManager templates = new TemplateManager(); - final Manifest manifest = jarIn.getManifest(); + final Manifest manifest = in.getManifest(); final Attributes attributes = manifest.getMainAttributes(); + + for ( final Object key : attributes.keySet() ) + { + final Name name = (Name) key; + String keyStr = name.toString(); + this.attrs.put( keyStr, attributes.getValue( name ) ); + } + logger.info( "Attribute :{}", attrs ); + final String version = attributes.getValue( ATTR_VERSION ); // Check version @@ -111,12 +217,16 @@ implements Template, ITemplateConstants final String excludes = attributes.getValue( ATTR_EXCLUDE ); final String includes = attributes.getValue( ATTR_INCLUDE ); - final Mapper mapper = getMapper( attributes.getValue( ATTR_MAPPER ) ); + final String copies = attributes.getValue( ATTR_COPY ); + final String mappings = attributes.getValue( ATTR_MAPPING ); + this.mapper = getMapper( attributes.getValue( ATTR_MAPPER ), mappings ); final Filter filter = createFilter( separate( includes ), separate( excludes ) ); + final Filter copyFilter = createFilter( separate( copies ), null ); + JarEntry iter = null; - while ( null != ( iter = jarIn.getNextJarEntry() ) ) + while ( null != ( iter = in.getNextJarEntry() ) ) { if ( iter.isDirectory() ) { @@ -124,40 +234,72 @@ implements Template, ITemplateConstants } final String name = iter.getName(); logger.trace( "Name :{}", name ); - final byte[] contents = getBytes( jarIn ); - final String target = nvl( mapper.map( name ), name ); - logger.trace( "Target :{}", target ); + final byte[] contents = getBytes( in ); templates.addTemplate( name, new InMemoryTemplate(contents, "utf-8", BufferFactory.getInstance() ) ); - if ( !filter.accept( "/", name ) ) + if ( copyFilter.accept( "/", name ) ) + { + this.copyNames.add( name ); + continue; + } + else if ( !filter.accept( "/", name ) ) { logger.info( "{} filtered", name ); continue; } + else + { + this.templateNames.add( name ); + } - name2targets.put( name, target ); } engine.setTemplateProvider( templates ); } + /* (non-Javadoc) + * @see org.tizen.common.verrari.Template#template(org.tizen.common.verrari.IModelProvider, org.tizen.common.verrari.Storage) + */ @Override public void - template( Storage storage ) + template( + final IModelProvider models, + final Storage storage + ) throws TemplateException { logger.info( "Start template process..." ); try { - for ( final String name : name2targets.keySet() ) + for ( final String name : this.copyNames ) { - logger.trace( "Template[{}] start", name ); - final String target = name2targets.get( name ); - final IModelProvider models = new ModelManager(); + logger.trace( "Copy[{}] start", name ); + final String target = nvl( this.mapper.map( name ), name ); + + InputStream in = null; + OutputStream out = null; + try + { + in = engine.getTemplateProvider().getTemplate( name ).open(); + out = storage.getTarget( target ); + + IOUtil.redirect( in , out ); + } + finally + { + tryClose( in, out ); + } + } + for ( final String name : this.templateNames ) + { + logger.trace( "Template[{}] start", name ); + final String target = nvl( this.mapper.map( name ), name ); + final OutputStream out = storage.getTarget( target ); + try { engine.generate( name, models, out ); @@ -182,7 +324,23 @@ implements Template, ITemplateConstants } } - private Mapper getMapper( final String mapperName ) throws InvalidMapperException + /** + * Create and return mapper with mapperName and mappings + * + * @param mapperName mapper name( class qualified name ) + * @param mappings mapper arguments + * + * @return {@link Mapper} to be created + * + * @throws InvalidMapperException If mapper name is invalid + */ + private + Mapper + getMapper( + final String mapperName, + final String mappings + ) + throws InvalidMapperException { final String safeMapperName = nvl( mapperName, DV_MAPPER ); final Mapper mapper = (Mapper) ReflectionUtil.tryNewInstance( safeMapperName ); @@ -191,9 +349,36 @@ implements Template, ITemplateConstants throw new InvalidMapperException( "'" + safeMapperName + "' is invalide. check your class or config" ); } + + final HashMap mappingMap = new HashMap(); + if ( null != mappings ) + { + final BufferedReader reader = new BufferedReader( new StringReader( mappings ) ); + String line = null; + try + { + while ( null != ( line = reader.readLine() ) ) + { + String[] args = line.split( "/" ); + mappingMap.put( args[0], args[1] ); + } + } + catch (IOException e) + { + } + } + mapper.setMappings( mappingMap ); return mapper; } + /** + * Create {@link Filter} with includes-list and excludes-list + * + * @param includes includes list + * @param excludes excludes list + * + * @return {@link Filter} to be configured + */ protected Filter createFilter( @@ -219,15 +404,36 @@ implements Template, ITemplateConstants return filter; } - protected void checkVersion( String version ) throws UnsupportedVersion + /** + * Check template version + * + * @param version template version + * + * @throws UnsupportedVersionException If version is invalid in this template system + */ + protected void checkVersion( String version ) throws UnsupportedVersionException { - + // TODO impl } + /* (non-Javadoc) + * @see org.tizen.common.verrari.AttributeContainer#getAttributeKeys() + */ + @Override + public Collection getAttributeKeys() + { + return this.attrs.keySet(); + } + + /* (non-Javadoc) + * @see org.tizen.common.verrari.AttributeContainer#getAttribute(java.lang.String) + */ @Override public String getAttribute( final String key ) { return attrs.get( key ); } + + } diff --git a/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/template/TemplateConstants.java b/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/template/TemplateConstants.java new file mode 100755 index 0000000..953875b --- /dev/null +++ b/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/template/TemplateConstants.java @@ -0,0 +1,88 @@ +/* + * Verrari - Realm + * + * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. + * + * Contact: + * BonYong Lee + * + * 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. + * + * Contributors: + * - S-Core Co., Ltd + * + */ +package org.tizen.common.verrari.template; + +/** + *

+ * TemplateConstants + * + * constant pool for template + * + *

+ * + * @author BonYong Lee{@literal } (S-Core) + * + */ +public class +TemplateConstants +{ + /** + * template name( used as id ) + */ + public static final String ATTR_NAME = "Tizen-Template-Name"; + /** + * template description + */ + public static final String ATTR_DESCRIPTION = "Tizen-Template-Description"; + /** + * template tags( used for searching ) + */ + public static final String ATTR_TAGS = "Tizen-Template-Tags"; + + /** + * template version + */ + public static final String ATTR_VERSION = "Tizen-Template-Version"; + + /** + * list to exclude in template starting + */ + public static final String ATTR_EXCLUDE = "Tizen-Template-Exclude"; + /** + * list to include in template starging + */ + public static final String ATTR_INCLUDE = "Tizen-Template-Include"; + /** + * list not to apply template engine. just copy + */ + public static final String ATTR_COPY = "Tizen-Template-Copy"; + + /** + * file name mapper + */ + public static final String ATTR_MAPPER = "Tizen-Template-Mapper"; + /** + * default mapper + * + * @see StandardMapper + */ + public static final String DV_MAPPER = StandardMapper.class.getName(); + + /** + * mapping rule( mapper's argument ) + */ + public static final String ATTR_MAPPING = "Tizen-Template-Mapping"; + +} diff --git a/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/util/QueryFactory.java b/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/util/QueryFactory.java index 00e991c..b03f73d 100755 --- a/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/util/QueryFactory.java +++ b/org.tizen.common.verrari.realm/src/org/tizen/common/verrari/util/QueryFactory.java @@ -1,3 +1,27 @@ +/* + * Verrari - Realm + * + * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. + * + * Contact: + * BonYong Lee + * + * 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. + * + * Contributors: + * - S-Core Co., Ltd + * + */ package org.tizen.common.verrari.util; import java.io.ByteArrayOutputStream; @@ -10,24 +34,56 @@ import org.tizen.common.verrari.ITemplateEngine; import org.tizen.common.verrari.Realm; import org.tizen.common.verrari.engine.TemplateEngineFactory; import org.tizen.common.verrari.model.ModelManager; -import org.tizen.common.verrari.realm.IRealmConstants; +import org.tizen.common.verrari.realm.RealmConstants; import org.tizen.common.verrari.realm.Query; import org.tizen.common.verrari.template.InMemoryTemplate; import org.tizen.common.verrari.template.TemplateManager; +/** + *

+ * QueryFactory + * + * Object to create template query + * + *

+ * + * @author BonYong Lee{@literal } (S-Core) + * + */ public class QueryFactory -implements IRealmConstants { + /** + * Pattern type + */ protected static final String PATTERN_TYPE = "pattern"; + protected static final String STARTING_POINT = "_"; + + /** + * logger for this object + */ protected final Logger logger = LoggerFactory.getLogger( getClass() ); + /** + * Query to use pattern + * + * @see Query + * + */ class PatternQuery implements Query { + /** + * template engine + */ protected final ITemplateEngine engine; + /** + * constructor with pattern + * + * @param pattern string to use in making query + */ public PatternQuery( final String pattern @@ -36,9 +92,12 @@ implements IRealmConstants this.engine = TemplateEngineFactory.getInstance().create(); final TemplateManager templateManager = new TemplateManager(); engine.setTemplateProvider( templateManager ); - templateManager.addTemplate( "_", new InMemoryTemplate( pattern.getBytes(), "utf-8", BufferFactory.getInstance() ) ); + templateManager.addTemplate( STARTING_POINT, new InMemoryTemplate( pattern.getBytes(), "utf-8", BufferFactory.getInstance() ) ); } + /* (non-Javadoc) + * @see org.tizen.common.verrari.realm.Query#query(java.util.Map) + */ @Override public String @@ -51,13 +110,13 @@ implements IRealmConstants { final ModelManager manager = new ModelManager( args ); final ByteArrayOutputStream byteOut = new ByteArrayOutputStream(); - engine.generate( "_", manager, byteOut ); + engine.generate( STARTING_POINT, manager, byteOut ); final String ret = new String( byteOut.toByteArray(), "utf-8" ); logger.info( "Query result :{}", ret ); return ret; } - catch ( Throwable e ) + catch ( final Throwable e ) { throw new IllegalStateException( e ); } @@ -65,10 +124,19 @@ implements IRealmConstants } - protected static QueryFactory instance; - + /** + * Factory to create {@link Query} + */ + protected static QueryFactory instance = new QueryFactory(); - public static QueryFactory getInstance() + /** + * return {@link QueryFactory} + * + * @return {@link QueryFactory} + */ + public static + QueryFactory + getInstance() { if ( null == instance ) { @@ -83,6 +151,10 @@ implements IRealmConstants return instance; } + /** + * set {@link QueryFactory} + * @param factory + */ synchronized public static void setInstance( @@ -92,8 +164,13 @@ implements IRealmConstants instance = factory; } - protected String pattern = null; - + /** + * create template query for realm + * + * @param realm {@link Realm} to apply + * + * @return template query + */ public Query createTemplateQuery( @@ -102,24 +179,12 @@ implements IRealmConstants { Assert.notNull( realm ); - final String templateType = realm.getAttribute( ATTR_TEMPLATE_TYPE ); - final PatternQuery query = new PatternQuery( realm.getAttribute( ATTR_TEMPLATE_URL ) ); + final String templateType = realm.getAttribute( RealmConstants.ATTR_TEMPLATE_TYPE ); + logger.debug( "Template type :{}", templateType ); + final PatternQuery query = new PatternQuery( realm.getAttribute( RealmConstants.ATTR_TEMPLATE_URL ) ); return query; } - public - Query - createSearchQuery( - final Realm realm - ) - { - Assert.notNull( realm ); - - final String templateType = realm.getAttribute( ATTR_SEARCH_TYPE ); - final PatternQuery query = new PatternQuery( realm.getAttribute( ATTR_SEARCH_URL ) ); - - return query; - } } diff --git a/org.tizen.common.verrari.realm/test/doc/complex_template/META-INF/MANIFEST.MF b/org.tizen.common.verrari.realm/test/doc/complex_template/META-INF/MANIFEST.MF index 2b0d36a..107fd2e 100755 --- a/org.tizen.common.verrari.realm/test/doc/complex_template/META-INF/MANIFEST.MF +++ b/org.tizen.common.verrari.realm/test/doc/complex_template/META-INF/MANIFEST.MF @@ -1,8 +1,8 @@ Manifest-Version: 1.0 Tizen-Template-Version: 0.1 Tizen-Template-Exclude: META-INF/*.* -Tizen-Template-Mapping: ^(.*)\.css$ -> <{&pref('DIR_CSS')}>/$1.css, - ^(.*)\.png$ -> <{&pref( 'DIR_IMAGE' )}>/$1.png, - ^(.*)\.html -> <{&pref( 'DIR_HTML' )}>/$1.html, +Tizen-Template-Mapping: ^(.*)\.css$/${DIR_CSS}/$1.css + ^(.*)\.png$/${DIR_IMAGE}/$1.png, + ^(.*)\.html/${DIR_HTML}/$1.html, ^(.*)\.htm -> <{&pref( 'DIR_HTML' )}>/$1.htm, ^(.*)\.js -> <{&pref( 'DIR_JAVASCRIPT' )}>/$1.js, diff --git a/org.tizen.common.verrari.realm/test/doc/realm/META-INF/MANIFEST.MF b/org.tizen.common.verrari.realm/test/doc/realm/META-INF/MANIFEST.MF index 7406666..f4ebef0 100755 --- a/org.tizen.common.verrari.realm/test/doc/realm/META-INF/MANIFEST.MF +++ b/org.tizen.common.verrari.realm/test/doc/realm/META-INF/MANIFEST.MF @@ -1,2 +1,2 @@ Manifest-Version: 1.0 -Tizen-Template-Realm: org.tizen.common.verrari.realm.StandardRealm +Tizen-Template-Realm: org.tizen.common.verrari.realm.StandardSearchableRealm diff --git a/org.tizen.common.verrari.realm/test/src/org/tizen/common/verrari/AbstractTestCase.java b/org.tizen.common.verrari.realm/test/src/org/tizen/common/verrari/AbstractTestCase.java index 0156e29..2965a42 100755 --- a/org.tizen.common.verrari.realm/test/src/org/tizen/common/verrari/AbstractTestCase.java +++ b/org.tizen.common.verrari.realm/test/src/org/tizen/common/verrari/AbstractTestCase.java @@ -1,3 +1,27 @@ +/* + * Verrari - Realm + * + * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. + * + * Contact: + * BonYong Lee + * + * 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. + * + * Contributors: + * - S-Core Co., Ltd + * + */ package org.tizen.common.verrari; import org.junit.After; @@ -7,15 +31,37 @@ import org.slf4j.LoggerFactory; import org.tizen.common.classloader.CustomClassLoader; import org.tizen.common.classloader.JarClassSource; +/** + * AbstractTestCase. + * + * abstract class for test case + * + * @author BonYong Lee{@literal } (S-Core) + * + */ public class AbstractTestCase { + /** + * logger for this object + */ protected Logger logger = LoggerFactory.getLogger( getClass() ); + /** + * old config value for url handler + */ protected String oldConfig; + /** + * cloassloader to use in test case + */ protected CustomClassLoader cl; + /** + * Initialize test case + * + * @throws Exception If initialization occur error + */ @Before public void setUp() @@ -27,6 +73,9 @@ AbstractTestCase cl = new CustomClassLoader( source ); } + /** + * clean up test case + */ @After public void diff --git a/org.tizen.common.verrari.realm/test/src/org/tizen/common/verrari/RealmFactoryTest.java b/org.tizen.common.verrari.realm/test/src/org/tizen/common/verrari/RealmFactoryTest.java index dd37795..3c59b64 100755 --- a/org.tizen.common.verrari.realm/test/src/org/tizen/common/verrari/RealmFactoryTest.java +++ b/org.tizen.common.verrari.realm/test/src/org/tizen/common/verrari/RealmFactoryTest.java @@ -1,3 +1,27 @@ +/* + * Verrari - Realm + * + * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. + * + * Contact: + * BonYong Lee + * + * 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. + * + * Contributors: + * - S-Core Co., Ltd + * + */ package org.tizen.common.verrari; import static org.junit.Assert.assertEquals; @@ -5,14 +29,32 @@ import static org.tizen.common.util.IOUtil.tryClose; import java.io.InputStream; import java.net.URL; +import java.util.Map; import org.junit.Test; import org.tizen.common.verrari.realm.StandardRealm; +/** + * RealmFactoryTest. + * + * Test case for {@link RealmFactory} + * + * @author BonYong Lee{@literal } (S-Core) + * + * @see RealmFactory + * + */ public class RealmFactoryTest extends AbstractTestCase { + /** + * Test {@link RealmFactory#getRealmName(InputStream)} + * + * @throws Exception in case of failure in test + * + * @see RealmFactory#getRealmName(InputStream) + */ @Test public void @@ -32,6 +74,13 @@ extends AbstractTestCase } + /** + * Test {@link RealmFactory#load(ClassLoader, Map)} + * + * @throws Exception in case of failure in test + * + * @see RealmFactory#load(ClassLoader, Map) + */ @Test public void diff --git a/org.tizen.common.verrari.realm/test/src/org/tizen/common/verrari/realm.jar b/org.tizen.common.verrari.realm/test/src/org/tizen/common/verrari/realm.jar index 50a0e4a..6157c38 100755 Binary files a/org.tizen.common.verrari.realm/test/src/org/tizen/common/verrari/realm.jar and b/org.tizen.common.verrari.realm/test/src/org/tizen/common/verrari/realm.jar differ diff --git a/org.tizen.common.verrari.realm/test/src/org/tizen/common/verrari/realm/StandardRealmTest.java b/org.tizen.common.verrari.realm/test/src/org/tizen/common/verrari/realm/StandardRealmTest.java index bdd2700..22662fe 100755 --- a/org.tizen.common.verrari.realm/test/src/org/tizen/common/verrari/realm/StandardRealmTest.java +++ b/org.tizen.common.verrari.realm/test/src/org/tizen/common/verrari/realm/StandardRealmTest.java @@ -1,3 +1,27 @@ +/* + * Verrari - Realm + * + * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. + * + * Contact: + * BonYong Lee + * + * 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. + * + * Contributors: + * - S-Core Co., Ltd + * + */ package org.tizen.common.verrari.realm; import static org.junit.Assert.assertNotNull; @@ -9,10 +33,27 @@ import org.tizen.common.util.MapUtil; import org.tizen.common.verrari.AbstractTestCase; import org.tizen.common.verrari.Template; +/** + * StandardRealmTest. + * + * Test case for {@link StandardRealm} + * + * @author BonYong Lee{@literal } (S-Core) + * + * @see MapUtil + * + */ public class StandardRealmTest extends AbstractTestCase { + /** + * Test {@link StandardRealm#getTemplate(String)} + * + * @throws Exception in case of failure in test + * + * @see StandardRealm#getTemplate(String) + */ @SuppressWarnings("unchecked") @Test public void test_getTemplate() throws Exception @@ -27,8 +68,9 @@ extends AbstractTestCase realm.setAttributes( (Map) attrs ); final Template simple = realm.getTemplate( "simple-template" ); assertNotNull( simple ); - final Template complex = realm.getTemplate( "complex-template" ); - assertNotNull( complex ); + // TODO +// final Template complex = realm.getTemplate( "complex-template" ); +// assertNotNull( complex ); } } diff --git a/org.tizen.common.verrari.realm/test/src/org/tizen/common/verrari/template/StandardMapperTest.java b/org.tizen.common.verrari.realm/test/src/org/tizen/common/verrari/template/StandardMapperTest.java new file mode 100755 index 0000000..d64c81a --- /dev/null +++ b/org.tizen.common.verrari.realm/test/src/org/tizen/common/verrari/template/StandardMapperTest.java @@ -0,0 +1,83 @@ +/* + * Verrari - Realm + * + * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. + * + * Contact: + * BonYong Lee + * + * 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. + * + * Contributors: + * - S-Core Co., Ltd + * + */ +package org.tizen.common.verrari.template; + +import static org.junit.Assert.assertEquals; + +import java.util.LinkedHashMap; +import java.util.regex.Pattern; + +import org.junit.Test; +import org.tizen.common.verrari.TemplateContext; +import org.tizen.common.verrari.model.ModelManager; + +/** + * StandardMapperTest. + * + * Test case for {@link StandardMapper} + * + * @author BonYong Lee{@literal } (S-Core) + * + * @see StandardMapper + * + */ +public class +StandardMapperTest +{ + + /** + * Test {@link StandardMapper#map(String)} + * + * @throws Exception in case of failure in test + * + * @see StandardMapper#map(String) + */ + @Test + public void test_map() + { + final StandardMapper target = new StandardMapper(); + final LinkedHashMap mappings = new LinkedHashMap(); + mappings.put( "model\\.js", "${MODEL_NAME}.js" ); + mappings.put( "([a-zA-Z]*)([0-9]?)\\.js$", "$1-$2.js" ); + target.setMappings( mappings ); + + ModelManager modelProvider = new ModelManager(); + modelProvider.addModel( "MODEL_NAME", "Person" ); + TemplateContext.set( modelProvider ); + + System.out.println( Pattern.matches( "^([a-zA-Z]*)([0-9]?)\\.js$", "Abcdef9.js" ) ); + System.out.println( "Abcdef9.js".replaceAll( "([a-zA-Z]*)([0-9]?)\\.js$", "$1-$2.js" ) ); + try + { + assertEquals( "Person.js", target.map( "model.js" ) ); + assertEquals( "Abcdef-9.js", target.map( "Abcdef9.js" ) ); + } + finally + { + TemplateContext.clear(); + } + } + +} diff --git a/org.tizen.common.verrari.realm/test/src/org/tizen/common/verrari/template/StandardTemplateTest.java b/org.tizen.common.verrari.realm/test/src/org/tizen/common/verrari/template/StandardTemplateTest.java index 2b204ff..e7e298d 100755 --- a/org.tizen.common.verrari.realm/test/src/org/tizen/common/verrari/template/StandardTemplateTest.java +++ b/org.tizen.common.verrari.realm/test/src/org/tizen/common/verrari/template/StandardTemplateTest.java @@ -1,3 +1,27 @@ +/* + * Verrari - Realm + * + * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. + * + * Contact: + * BonYong Lee + * + * 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. + * + * Contributors: + * - S-Core Co., Ltd + * + */ package org.tizen.common.verrari.template; import static org.mockito.Matchers.anyString; @@ -11,26 +35,66 @@ import java.net.URL; import org.junit.Test; import org.tizen.common.verrari.AbstractTestCase; +import org.tizen.common.verrari.IModelProvider; import org.tizen.common.verrari.Storage; +import org.tizen.common.verrari.model.ModelManager; +/** + * StandardTemplateTest. + * + * Test case for {@link StandardTemplate} + * + * @author BonYong Lee{@literal } (S-Core) + * + * @see StandardTemplate + * + */ public class StandardTemplateTest extends AbstractTestCase { + /** + * Test {@link StandardTemplate#template(IModelProvider, Storage)} + * + * @throws Exception in case of failure in test + * + * @see StandardTemplate#template(IModelProvider, Storage) + */ @Test public void test_template() throws Exception { - final URL u = new URL( "cp:///simple-template.jar" ); - final InputStream in = u.openStream(); - - StandardTemplate template = new StandardTemplate( getBytes( in, true ) ); - - Storage storageMock = mock( Storage.class ); - when( storageMock.getTarget( anyString() ) ).thenReturn( new ByteArrayOutputStream() ); - template.template( storageMock ); + { + final URL u = new URL( "cp:///simple-template.jar" ); + final InputStream in = u.openStream(); + + StandardTemplate template = new StandardTemplate( getBytes( in, true ) ); + + Storage storageMock = mock( Storage.class ); + when( storageMock.getTarget( anyString() ) ).thenReturn( new ByteArrayOutputStream() ); + ModelManager models = new ModelManager(); + template.template( models, storageMock ); + } + + { + final URL u = new URL( "cp:///tizen-web-project.jar" ); + final InputStream in = u.openStream(); + + StandardTemplate template = new StandardTemplate( getBytes( in, true ) ); + + Storage storageMock = mock( Storage.class ); + when( storageMock.getTarget( anyString() ) ).thenReturn( new ByteArrayOutputStream() ); + ModelManager models = new ModelManager(); + models.addModel( "SITE_DOMAIN", "mysite.com" ); + models.addModel( "APP_ICON", "icon.ico" ); + models.addModel( "START_PAGE", "index.html" ); + models.addModel( "APP_NAME", "test" ); + models.addModel( "APP_ID", "12345678" ); + template.template( models, storageMock ); + + } } } diff --git a/org.tizen.common.verrari.realm/test/src/org/tizen/common/verrari/template/complex-template.jar b/org.tizen.common.verrari.realm/test/src/org/tizen/common/verrari/template/complex-template.jar index c037efe..f1707b1 100755 Binary files a/org.tizen.common.verrari.realm/test/src/org/tizen/common/verrari/template/complex-template.jar and b/org.tizen.common.verrari.realm/test/src/org/tizen/common/verrari/template/complex-template.jar differ diff --git a/org.tizen.common.verrari.realm/test/src/org/tizen/common/verrari/template/simple-template.jar b/org.tizen.common.verrari.realm/test/src/org/tizen/common/verrari/template/simple-template.jar index 17fac22..c3fe3cd 100755 Binary files a/org.tizen.common.verrari.realm/test/src/org/tizen/common/verrari/template/simple-template.jar and b/org.tizen.common.verrari.realm/test/src/org/tizen/common/verrari/template/simple-template.jar differ diff --git a/org.tizen.common.verrari.realm/test/src/org/tizen/common/verrari/template/tizen-web-project.jar b/org.tizen.common.verrari.realm/test/src/org/tizen/common/verrari/template/tizen-web-project.jar new file mode 100755 index 0000000..de3a4c1 Binary files /dev/null and b/org.tizen.common.verrari.realm/test/src/org/tizen/common/verrari/template/tizen-web-project.jar differ diff --git a/org.tizen.common.verrari.server/.classpath b/org.tizen.common.verrari.server/.classpath deleted file mode 100755 index 0141e83..0000000 --- a/org.tizen.common.verrari.server/.classpath +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - diff --git a/org.tizen.common.verrari.server/.externalToolBuilders/org.eclipse.wst.jsdt.core.javascriptValidator.launch b/org.tizen.common.verrari.server/.externalToolBuilders/org.eclipse.wst.jsdt.core.javascriptValidator.launch deleted file mode 100755 index 8401d49..0000000 --- a/org.tizen.common.verrari.server/.externalToolBuilders/org.eclipse.wst.jsdt.core.javascriptValidator.launch +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/org.tizen.common.verrari.server/.externalToolBuilders/org.eclipse.wst.validation.validationbuilder.launch b/org.tizen.common.verrari.server/.externalToolBuilders/org.eclipse.wst.validation.validationbuilder.launch deleted file mode 100755 index aea518e..0000000 --- a/org.tizen.common.verrari.server/.externalToolBuilders/org.eclipse.wst.validation.validationbuilder.launch +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/org.tizen.common.verrari.server/.project b/org.tizen.common.verrari.server/.project deleted file mode 100755 index f4d70ce..0000000 --- a/org.tizen.common.verrari.server/.project +++ /dev/null @@ -1,46 +0,0 @@ - - - org.tizen.common.verrari.server - - - - - - org.eclipse.ui.externaltools.ExternalToolBuilder - full,incremental, - - - LaunchConfigHandle - <project>/.externalToolBuilders/org.eclipse.wst.jsdt.core.javascriptValidator.launch - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.eclipse.wst.common.project.facet.core.builder - - - - - org.eclipse.ui.externaltools.ExternalToolBuilder - full,incremental, - - - LaunchConfigHandle - <project>/.externalToolBuilders/org.eclipse.wst.validation.validationbuilder.launch - - - - - - org.eclipse.jem.workbench.JavaEMFNature - org.eclipse.wst.common.modulecore.ModuleCoreNature - org.eclipse.wst.common.project.facet.core.nature - org.eclipse.jdt.core.javanature - org.eclipse.wst.jsdt.core.jsNature - - diff --git a/org.tizen.common.verrari.server/.settings/.jsdtscope b/org.tizen.common.verrari.server/.settings/.jsdtscope deleted file mode 100755 index 887f573..0000000 --- a/org.tizen.common.verrari.server/.settings/.jsdtscope +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - diff --git a/org.tizen.common.verrari.server/.settings/org.eclipse.jdt.core.prefs b/org.tizen.common.verrari.server/.settings/org.eclipse.jdt.core.prefs deleted file mode 100755 index f287d53..0000000 --- a/org.tizen.common.verrari.server/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,7 +0,0 @@ -eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 -org.eclipse.jdt.core.compiler.compliance=1.6 -org.eclipse.jdt.core.compiler.problem.assertIdentifier=error -org.eclipse.jdt.core.compiler.problem.enumIdentifier=error -org.eclipse.jdt.core.compiler.source=1.6 diff --git a/org.tizen.common.verrari.server/.settings/org.eclipse.wst.common.component b/org.tizen.common.verrari.server/.settings/org.eclipse.wst.common.component deleted file mode 100755 index bccde27..0000000 --- a/org.tizen.common.verrari.server/.settings/org.eclipse.wst.common.component +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/org.tizen.common.verrari.server/.settings/org.eclipse.wst.common.project.facet.core.xml b/org.tizen.common.verrari.server/.settings/org.eclipse.wst.common.project.facet.core.xml deleted file mode 100755 index bc89bcc..0000000 --- a/org.tizen.common.verrari.server/.settings/org.eclipse.wst.common.project.facet.core.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/org.tizen.common.verrari.server/.settings/org.eclipse.wst.jsdt.ui.superType.container b/org.tizen.common.verrari.server/.settings/org.eclipse.wst.jsdt.ui.superType.container deleted file mode 100755 index 3bd5d0a..0000000 --- a/org.tizen.common.verrari.server/.settings/org.eclipse.wst.jsdt.ui.superType.container +++ /dev/null @@ -1 +0,0 @@ -org.eclipse.wst.jsdt.launching.baseBrowserLibrary \ No newline at end of file diff --git a/org.tizen.common.verrari.server/.settings/org.eclipse.wst.jsdt.ui.superType.name b/org.tizen.common.verrari.server/.settings/org.eclipse.wst.jsdt.ui.superType.name deleted file mode 100755 index 05bd71b..0000000 --- a/org.tizen.common.verrari.server/.settings/org.eclipse.wst.jsdt.ui.superType.name +++ /dev/null @@ -1 +0,0 @@ -Window \ No newline at end of file diff --git a/org.tizen.common.verrari.server/WebContent/META-INF/MANIFEST.MF b/org.tizen.common.verrari.server/WebContent/META-INF/MANIFEST.MF deleted file mode 100755 index 5e94951..0000000 --- a/org.tizen.common.verrari.server/WebContent/META-INF/MANIFEST.MF +++ /dev/null @@ -1,3 +0,0 @@ -Manifest-Version: 1.0 -Class-Path: - diff --git a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/antlr-3.4-complete.jar b/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/antlr-3.4-complete.jar deleted file mode 100755 index 9c985c7..0000000 Binary files a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/antlr-3.4-complete.jar and /dev/null differ diff --git a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/aopalliance.jar b/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/aopalliance.jar deleted file mode 100755 index 578b1a0..0000000 Binary files a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/aopalliance.jar and /dev/null differ diff --git a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/cglib-nodep-2.2.3.jar b/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/cglib-nodep-2.2.3.jar deleted file mode 100755 index 35d6d7c..0000000 Binary files a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/cglib-nodep-2.2.3.jar and /dev/null differ diff --git a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/commons-dbcp-1.4.jar b/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/commons-dbcp-1.4.jar deleted file mode 100755 index c4c1c4f..0000000 Binary files a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/commons-dbcp-1.4.jar and /dev/null differ diff --git a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/commons-fileupload-1.2.2.jar b/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/commons-fileupload-1.2.2.jar deleted file mode 100755 index 131f192..0000000 Binary files a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/commons-fileupload-1.2.2.jar and /dev/null differ diff --git a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/commons-io-2.4.jar b/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/commons-io-2.4.jar deleted file mode 100755 index 90035a4..0000000 Binary files a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/commons-io-2.4.jar and /dev/null differ diff --git a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/commons-lang-2.1.jar b/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/commons-lang-2.1.jar deleted file mode 100755 index 87b80ab..0000000 Binary files a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/commons-lang-2.1.jar and /dev/null differ diff --git a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/commons-logging-1.1.1.jar b/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/commons-logging-1.1.1.jar deleted file mode 100755 index 1deef14..0000000 Binary files a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/commons-logging-1.1.1.jar and /dev/null differ diff --git a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/commons-pool-1.5.6.jar b/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/commons-pool-1.5.6.jar deleted file mode 100755 index ce5ff60..0000000 Binary files a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/commons-pool-1.5.6.jar and /dev/null differ diff --git a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/dom4j-1.6.1.jar b/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/dom4j-1.6.1.jar deleted file mode 100755 index c8c4dbb..0000000 Binary files a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/dom4j-1.6.1.jar and /dev/null differ diff --git a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/freemarker.jar b/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/freemarker.jar deleted file mode 100755 index b13671d..0000000 Binary files a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/freemarker.jar and /dev/null differ diff --git a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/hibernate-commons-annotations-4.0.1.Final.jar b/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/hibernate-commons-annotations-4.0.1.Final.jar deleted file mode 100755 index ac9d674..0000000 Binary files a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/hibernate-commons-annotations-4.0.1.Final.jar and /dev/null differ diff --git a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/hibernate-core-4.1.2.Final.jar b/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/hibernate-core-4.1.2.Final.jar deleted file mode 100755 index 38f1ac4..0000000 Binary files a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/hibernate-core-4.1.2.Final.jar and /dev/null differ diff --git a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/hibernate-jpa-2.0-api-1.0.1.Final.jar b/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/hibernate-jpa-2.0-api-1.0.1.Final.jar deleted file mode 100755 index 1e9f71b..0000000 Binary files a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/hibernate-jpa-2.0-api-1.0.1.Final.jar and /dev/null differ diff --git a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/hsqldb-2.2.8.jar b/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/hsqldb-2.2.8.jar deleted file mode 100755 index aee69ef..0000000 Binary files a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/hsqldb-2.2.8.jar and /dev/null differ diff --git a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/jackson-core-lgpl-1.9.7.jar b/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/jackson-core-lgpl-1.9.7.jar deleted file mode 100755 index 018d32f..0000000 Binary files a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/jackson-core-lgpl-1.9.7.jar and /dev/null differ diff --git a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/jackson-mapper-lgpl-1.9.7.jar b/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/jackson-mapper-lgpl-1.9.7.jar deleted file mode 100755 index dc38752..0000000 Binary files a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/jackson-mapper-lgpl-1.9.7.jar and /dev/null differ diff --git a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/javassist-3.15.0-GA.jar b/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/javassist-3.15.0-GA.jar deleted file mode 100755 index 5af8eae..0000000 Binary files a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/javassist-3.15.0-GA.jar and /dev/null differ diff --git a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/jboss-logging-3.1.0.GA.jar b/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/jboss-logging-3.1.0.GA.jar deleted file mode 100755 index 72113b0..0000000 Binary files a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/jboss-logging-3.1.0.GA.jar and /dev/null differ diff --git a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/jgrapht-jdk1.6.jar b/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/jgrapht-jdk1.6.jar deleted file mode 100755 index 76db13c..0000000 Binary files a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/jgrapht-jdk1.6.jar and /dev/null differ diff --git a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/jstl-1.2.jar b/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/jstl-1.2.jar deleted file mode 100755 index 0fd275e..0000000 Binary files a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/jstl-1.2.jar and /dev/null differ diff --git a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/jta-1.1.jar b/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/jta-1.1.jar deleted file mode 100755 index 7736ec9..0000000 Binary files a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/jta-1.1.jar and /dev/null differ diff --git a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/log4j-1.2.16.jar b/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/log4j-1.2.16.jar deleted file mode 100755 index 5429a90..0000000 Binary files a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/log4j-1.2.16.jar and /dev/null differ diff --git a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/lucene-core-4.0.0.jar b/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/lucene-core-4.0.0.jar deleted file mode 100755 index 7e70830..0000000 Binary files a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/lucene-core-4.0.0.jar and /dev/null differ diff --git a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/mysql-connector-java-5.1.20-bin.jar b/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/mysql-connector-java-5.1.20-bin.jar deleted file mode 100755 index 933b8af..0000000 Binary files a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/mysql-connector-java-5.1.20-bin.jar and /dev/null differ diff --git a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/org.eclipse.jgit-2.0.0.201206130900-r.jar b/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/org.eclipse.jgit-2.0.0.201206130900-r.jar deleted file mode 100755 index fbe1618..0000000 Binary files a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/org.eclipse.jgit-2.0.0.201206130900-r.jar and /dev/null differ diff --git a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/org.springframework.aop-3.1.0.RELEASE.jar b/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/org.springframework.aop-3.1.0.RELEASE.jar deleted file mode 100755 index 89122c6..0000000 Binary files a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/org.springframework.aop-3.1.0.RELEASE.jar and /dev/null differ diff --git a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/org.springframework.asm-3.1.0.RELEASE.jar b/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/org.springframework.asm-3.1.0.RELEASE.jar deleted file mode 100755 index 63780c7..0000000 Binary files a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/org.springframework.asm-3.1.0.RELEASE.jar and /dev/null differ diff --git a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/org.springframework.beans-3.1.0.RELEASE.jar b/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/org.springframework.beans-3.1.0.RELEASE.jar deleted file mode 100755 index 7084391..0000000 Binary files a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/org.springframework.beans-3.1.0.RELEASE.jar and /dev/null differ diff --git a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/org.springframework.context-3.1.0.RELEASE.jar b/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/org.springframework.context-3.1.0.RELEASE.jar deleted file mode 100755 index e84b39e..0000000 Binary files a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/org.springframework.context-3.1.0.RELEASE.jar and /dev/null differ diff --git a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/org.springframework.core-3.1.0.RELEASE.jar b/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/org.springframework.core-3.1.0.RELEASE.jar deleted file mode 100755 index 7c2bced..0000000 Binary files a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/org.springframework.core-3.1.0.RELEASE.jar and /dev/null differ diff --git a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/org.springframework.expression-3.1.0.RELEASE.jar b/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/org.springframework.expression-3.1.0.RELEASE.jar deleted file mode 100755 index 64388b3..0000000 Binary files a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/org.springframework.expression-3.1.0.RELEASE.jar and /dev/null differ diff --git a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/org.springframework.jdbc-3.1.0.RELEASE.jar b/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/org.springframework.jdbc-3.1.0.RELEASE.jar deleted file mode 100755 index 0bf5fc5..0000000 Binary files a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/org.springframework.jdbc-3.1.0.RELEASE.jar and /dev/null differ diff --git a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/org.springframework.orm-3.1.0.RELEASE.jar b/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/org.springframework.orm-3.1.0.RELEASE.jar deleted file mode 100755 index 82ef63e..0000000 Binary files a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/org.springframework.orm-3.1.0.RELEASE.jar and /dev/null differ diff --git a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/org.springframework.transaction-3.1.0.RELEASE.jar b/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/org.springframework.transaction-3.1.0.RELEASE.jar deleted file mode 100755 index d26ceeb..0000000 Binary files a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/org.springframework.transaction-3.1.0.RELEASE.jar and /dev/null differ diff --git a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/org.springframework.web-3.1.0.RELEASE.jar b/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/org.springframework.web-3.1.0.RELEASE.jar deleted file mode 100755 index bb6c8ab..0000000 Binary files a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/org.springframework.web-3.1.0.RELEASE.jar and /dev/null differ diff --git a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/org.springframework.web.servlet-3.1.0.RELEASE.jar b/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/org.springframework.web.servlet-3.1.0.RELEASE.jar deleted file mode 100755 index 7f6f153..0000000 Binary files a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/org.springframework.web.servlet-3.1.0.RELEASE.jar and /dev/null differ diff --git a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/org.tizen.common_1.0.0.201208301810.jar b/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/org.tizen.common_1.0.0.201208301810.jar deleted file mode 100755 index 5853f4b..0000000 Binary files a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/org.tizen.common_1.0.0.201208301810.jar and /dev/null differ diff --git a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/persistence-api-1.0.2.jar b/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/persistence-api-1.0.2.jar deleted file mode 100755 index a18dd1b..0000000 Binary files a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/persistence-api-1.0.2.jar and /dev/null differ diff --git a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/realm.jar b/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/realm.jar deleted file mode 100755 index 50a0e4a..0000000 Binary files a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/realm.jar and /dev/null differ diff --git a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/slf4j-api-1.6.4.jar b/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/slf4j-api-1.6.4.jar deleted file mode 100755 index 76ef305..0000000 Binary files a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/slf4j-api-1.6.4.jar and /dev/null differ diff --git a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/slf4j-log4j12-1.6.4.jar b/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/slf4j-log4j12-1.6.4.jar deleted file mode 100755 index 1517fbd..0000000 Binary files a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/slf4j-log4j12-1.6.4.jar and /dev/null differ diff --git a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/spring-security-config-3.1.0.RELEASE.jar b/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/spring-security-config-3.1.0.RELEASE.jar deleted file mode 100755 index d405e58..0000000 Binary files a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/spring-security-config-3.1.0.RELEASE.jar and /dev/null differ diff --git a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/spring-security-core-3.1.0.RELEASE.jar b/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/spring-security-core-3.1.0.RELEASE.jar deleted file mode 100755 index 8f63bcd..0000000 Binary files a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/spring-security-core-3.1.0.RELEASE.jar and /dev/null differ diff --git a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/spring-security-web-3.1.0.RELEASE.jar b/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/spring-security-web-3.1.0.RELEASE.jar deleted file mode 100755 index fd5f4b2..0000000 Binary files a/org.tizen.common.verrari.server/WebContent/WEB-INF/lib/spring-security-web-3.1.0.RELEASE.jar and /dev/null differ diff --git a/org.tizen.common.verrari.server/WebContent/WEB-INF/spring/root-context.xml b/org.tizen.common.verrari.server/WebContent/WEB-INF/spring/root-context.xml deleted file mode 100755 index 4feff82..0000000 --- a/org.tizen.common.verrari.server/WebContent/WEB-INF/spring/root-context.xml +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - - - - - - - - - - org.hibernate.dialect.MySQLDialect - true - - - - - - - - - - - - - diff --git a/org.tizen.common.verrari.server/WebContent/WEB-INF/verrari-context.xml b/org.tizen.common.verrari.server/WebContent/WEB-INF/verrari-context.xml deleted file mode 100755 index 4e691b5..0000000 --- a/org.tizen.common.verrari.server/WebContent/WEB-INF/verrari-context.xml +++ /dev/null @@ -1,55 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/org.tizen.common.verrari.server/WebContent/WEB-INF/web.xml b/org.tizen.common.verrari.server/WebContent/WEB-INF/web.xml deleted file mode 100755 index 7b57e85..0000000 --- a/org.tizen.common.verrari.server/WebContent/WEB-INF/web.xml +++ /dev/null @@ -1,35 +0,0 @@ - - - - contextConfigLocation - /WEB-INF/spring/*.xml - - - org.springframework.web.context.ContextLoaderListener - - - hibernateFilter - org.tizen.common.verrari.server.servlet.SessionInViewFilter - - flushMode - always - - - - hibernateFilter - /* - - - org.tizen.common.verrari - org.springframework.web.servlet.DispatcherServlet - - contextConfigLocation - /WEB-INF/verrari-context.xml - - 1 - - - org.tizen.common.verrari - /*.* - - \ No newline at end of file diff --git a/org.tizen.common.verrari.server/WebContent/css/bootstrap.css b/org.tizen.common.verrari.server/WebContent/css/bootstrap.css deleted file mode 100755 index bb40c85..0000000 --- a/org.tizen.common.verrari.server/WebContent/css/bootstrap.css +++ /dev/null @@ -1,4983 +0,0 @@ -/*! - * Bootstrap v2.0.4 - * - * Copyright 2012 Twitter, Inc - * Licensed under the Apache License v2.0 - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Designed and built with all the love in the world @twitter by @mdo and @fat. - */ - -article, -aside, -details, -figcaption, -figure, -footer, -header, -hgroup, -nav, -section { - display: block; -} - -audio, -canvas, -video { - display: inline-block; - *display: inline; - *zoom: 1; -} - -audio:not([controls]) { - display: none; -} - -html { - font-size: 100%; - -webkit-text-size-adjust: 100%; - -ms-text-size-adjust: 100%; -} - -a:focus { - outline: thin dotted #333; - outline: 5px auto -webkit-focus-ring-color; - outline-offset: -2px; -} - -a:hover, -a:active { - outline: 0; -} - -sub, -sup { - position: relative; - font-size: 75%; - line-height: 0; - vertical-align: baseline; -} - -sup { - top: -0.5em; -} - -sub { - bottom: -0.25em; -} - -img { - max-width: 100%; - vertical-align: middle; - border: 0; - -ms-interpolation-mode: bicubic; -} - -#map_canvas img { - max-width: none; -} - -button, -input, -select, -textarea { - margin: 0; - font-size: 100%; - vertical-align: middle; -} - -button, -input { - *overflow: visible; - line-height: normal; -} - -button::-moz-focus-inner, -input::-moz-focus-inner { - padding: 0; - border: 0; -} - -button, -input[type="button"], -input[type="reset"], -input[type="submit"] { - cursor: pointer; - -webkit-appearance: button; -} - -input[type="search"] { - -webkit-box-sizing: content-box; - -moz-box-sizing: content-box; - box-sizing: content-box; - -webkit-appearance: textfield; -} - -input[type="search"]::-webkit-search-decoration, -input[type="search"]::-webkit-search-cancel-button { - -webkit-appearance: none; -} - -textarea { - overflow: auto; - vertical-align: top; -} - -.clearfix { - *zoom: 1; -} - -.clearfix:before, -.clearfix:after { - display: table; - content: ""; -} - -.clearfix:after { - clear: both; -} - -.hide-text { - font: 0/0 a; - color: transparent; - text-shadow: none; - background-color: transparent; - border: 0; -} - -.input-block-level { - display: block; - width: 100%; - min-height: 28px; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - -ms-box-sizing: border-box; - box-sizing: border-box; -} - -body { - margin: 0; - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; - font-size: 13px; - line-height: 18px; - color: #333333; - background-color: #ffffff; -} - -a { - color: #0088cc; - text-decoration: none; -} - -a:hover { - color: #005580; - text-decoration: underline; -} - -.row { - margin-left: -20px; - *zoom: 1; -} - -.row:before, -.row:after { - display: table; - content: ""; -} - -.row:after { - clear: both; -} - -[class*="span"] { - float: left; - margin-left: 20px; -} - -.container, -.navbar-fixed-top .container, -.navbar-fixed-bottom .container { - width: 940px; -} - -.span12 { - width: 940px; -} - -.span11 { - width: 860px; -} - -.span10 { - width: 780px; -} - -.span9 { - width: 700px; -} - -.span8 { - width: 620px; -} - -.span7 { - width: 540px; -} - -.span6 { - width: 460px; -} - -.span5 { - width: 380px; -} - -.span4 { - width: 300px; -} - -.span3 { - width: 220px; -} - -.span2 { - width: 140px; -} - -.span1 { - width: 60px; -} - -.offset12 { - margin-left: 980px; -} - -.offset11 { - margin-left: 900px; -} - -.offset10 { - margin-left: 820px; -} - -.offset9 { - margin-left: 740px; -} - -.offset8 { - margin-left: 660px; -} - -.offset7 { - margin-left: 580px; -} - -.offset6 { - margin-left: 500px; -} - -.offset5 { - margin-left: 420px; -} - -.offset4 { - margin-left: 340px; -} - -.offset3 { - margin-left: 260px; -} - -.offset2 { - margin-left: 180px; -} - -.offset1 { - margin-left: 100px; -} - -.row-fluid { - width: 100%; - *zoom: 1; -} - -.row-fluid:before, -.row-fluid:after { - display: table; - content: ""; -} - -.row-fluid:after { - clear: both; -} - -.row-fluid [class*="span"] { - display: block; - float: left; - width: 100%; - min-height: 28px; - margin-left: 2.127659574%; - *margin-left: 2.0744680846382977%; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - -ms-box-sizing: border-box; - box-sizing: border-box; -} - -.row-fluid [class*="span"]:first-child { - margin-left: 0; -} - -.row-fluid .span12 { - width: 99.99999998999999%; - *width: 99.94680850063828%; -} - -.row-fluid .span11 { - width: 91.489361693%; - *width: 91.4361702036383%; -} - -.row-fluid .span10 { - width: 82.97872339599999%; - *width: 82.92553190663828%; -} - -.row-fluid .span9 { - width: 74.468085099%; - *width: 74.4148936096383%; -} - -.row-fluid .span8 { - width: 65.95744680199999%; - *width: 65.90425531263828%; -} - -.row-fluid .span7 { - width: 57.446808505%; - *width: 57.3936170156383%; -} - -.row-fluid .span6 { - width: 48.93617020799999%; - *width: 48.88297871863829%; -} - -.row-fluid .span5 { - width: 40.425531911%; - *width: 40.3723404216383%; -} - -.row-fluid .span4 { - width: 31.914893614%; - *width: 31.8617021246383%; -} - -.row-fluid .span3 { - width: 23.404255317%; - *width: 23.3510638276383%; -} - -.row-fluid .span2 { - width: 14.89361702%; - *width: 14.8404255306383%; -} - -.row-fluid .span1 { - width: 6.382978723%; - *width: 6.329787233638298%; -} - -.container { - margin-right: auto; - margin-left: auto; - *zoom: 1; -} - -.container:before, -.container:after { - display: table; - content: ""; -} - -.container:after { - clear: both; -} - -.container-fluid { - padding-right: 20px; - padding-left: 20px; - *zoom: 1; -} - -.container-fluid:before, -.container-fluid:after { - display: table; - content: ""; -} - -.container-fluid:after { - clear: both; -} - -p { - margin: 0 0 9px; -} - -p small { - font-size: 11px; - color: #999999; -} - -.lead { - margin-bottom: 18px; - font-size: 20px; - font-weight: 200; - line-height: 27px; -} - -h1, -h2, -h3, -h4, -h5, -h6 { - margin: 0; - font-family: inherit; - font-weight: bold; - color: inherit; - text-rendering: optimizelegibility; -} - -h1 small, -h2 small, -h3 small, -h4 small, -h5 small, -h6 small { - font-weight: normal; - color: #999999; -} - -h1 { - font-size: 30px; - line-height: 36px; -} - -h1 small { - font-size: 18px; -} - -h2 { - font-size: 24px; - line-height: 36px; -} - -h2 small { - font-size: 18px; -} - -h3 { - font-size: 18px; - line-height: 27px; -} - -h3 small { - font-size: 14px; -} - -h4, -h5, -h6 { - line-height: 18px; -} - -h4 { - font-size: 14px; -} - -h4 small { - font-size: 12px; -} - -h5 { - font-size: 12px; -} - -h6 { - font-size: 11px; - color: #999999; - text-transform: uppercase; -} - -.page-header { - padding-bottom: 17px; - margin: 18px 0; - border-bottom: 1px solid #eeeeee; -} - -.page-header h1 { - line-height: 1; -} - -ul, -ol { - padding: 0; - margin: 0 0 9px 25px; -} - -ul ul, -ul ol, -ol ol, -ol ul { - margin-bottom: 0; -} - -ul { - list-style: disc; -} - -ol { - list-style: decimal; -} - -li { - line-height: 18px; -} - -ul.unstyled, -ol.unstyled { - margin-left: 0; - list-style: none; -} - -dl { - margin-bottom: 18px; -} - -dt, -dd { - line-height: 18px; -} - -dt { - font-weight: bold; - line-height: 17px; -} - -dd { - margin-left: 9px; -} - -.dl-horizontal dt { - float: left; - width: 120px; - overflow: hidden; - clear: left; - text-align: right; - text-overflow: ellipsis; - white-space: nowrap; -} - -.dl-horizontal dd { - margin-left: 130px; -} - -hr { - margin: 18px 0; - border: 0; - border-top: 1px solid #eeeeee; - border-bottom: 1px solid #ffffff; -} - -strong { - font-weight: bold; -} - -em { - font-style: italic; -} - -.muted { - color: #999999; -} - -abbr[title] { - cursor: help; - border-bottom: 1px dotted #999999; -} - -abbr.initialism { - font-size: 90%; - text-transform: uppercase; -} - -blockquote { - padding: 0 0 0 15px; - margin: 0 0 18px; - border-left: 5px solid #eeeeee; -} - -blockquote p { - margin-bottom: 0; - font-size: 16px; - font-weight: 300; - line-height: 22.5px; -} - -blockquote small { - display: block; - line-height: 18px; - color: #999999; -} - -blockquote small:before { - content: '\2014 \00A0'; -} - -blockquote.pull-right { - float: right; - padding-right: 15px; - padding-left: 0; - border-right: 5px solid #eeeeee; - border-left: 0; -} - -blockquote.pull-right p, -blockquote.pull-right small { - text-align: right; -} - -q:before, -q:after, -blockquote:before, -blockquote:after { - content: ""; -} - -address { - display: block; - margin-bottom: 18px; - font-style: normal; - line-height: 18px; -} - -small { - font-size: 100%; -} - -cite { - font-style: normal; -} - -code, -pre { - padding: 0 3px 2px; - font-family: Menlo, Monaco, Consolas, "Courier New", monospace; - font-size: 12px; - color: #333333; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} - -code { - padding: 2px 4px; - color: #d14; - background-color: #f7f7f9; - border: 1px solid #e1e1e8; -} - -pre { - display: block; - padding: 8.5px; - margin: 0 0 9px; - font-size: 12.025px; - line-height: 18px; - word-break: break-all; - word-wrap: break-word; - white-space: pre; - white-space: pre-wrap; - background-color: #f5f5f5; - border: 1px solid #ccc; - border: 1px solid rgba(0, 0, 0, 0.15); - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} - -pre.prettyprint { - margin-bottom: 18px; -} - -pre code { - padding: 0; - color: inherit; - background-color: transparent; - border: 0; -} - -.pre-scrollable { - max-height: 340px; - overflow-y: scroll; -} - -form { - margin: 0 0 18px; -} - -fieldset { - padding: 0; - margin: 0; - border: 0; -} - -legend { - display: block; - width: 100%; - padding: 0; - margin-bottom: 27px; - font-size: 19.5px; - line-height: 36px; - color: #333333; - border: 0; - border-bottom: 1px solid #e5e5e5; -} - -legend small { - font-size: 13.5px; - color: #999999; -} - -label, -input, -button, -select, -textarea { - font-size: 13px; - font-weight: normal; - line-height: 18px; -} - -input, -button, -select, -textarea { - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; -} - -label { - display: block; - margin-bottom: 5px; -} - -select, -textarea, -input[type="text"], -input[type="password"], -input[type="datetime"], -input[type="datetime-local"], -input[type="date"], -input[type="month"], -input[type="time"], -input[type="week"], -input[type="number"], -input[type="email"], -input[type="url"], -input[type="search"], -input[type="tel"], -input[type="color"], -.uneditable-input { - display: inline-block; - height: 18px; - padding: 4px; - margin-bottom: 9px; - font-size: 13px; - line-height: 18px; - color: #555555; -} - -input, -textarea { - width: 210px; -} - -textarea { - height: auto; -} - -textarea, -input[type="text"], -input[type="password"], -input[type="datetime"], -input[type="datetime-local"], -input[type="date"], -input[type="month"], -input[type="time"], -input[type="week"], -input[type="number"], -input[type="email"], -input[type="url"], -input[type="search"], -input[type="tel"], -input[type="color"], -.uneditable-input { - background-color: #ffffff; - border: 1px solid #cccccc; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -webkit-transition: border linear 0.2s, box-shadow linear 0.2s; - -moz-transition: border linear 0.2s, box-shadow linear 0.2s; - -ms-transition: border linear 0.2s, box-shadow linear 0.2s; - -o-transition: border linear 0.2s, box-shadow linear 0.2s; - transition: border linear 0.2s, box-shadow linear 0.2s; -} - -textarea:focus, -input[type="text"]:focus, -input[type="password"]:focus, -input[type="datetime"]:focus, -input[type="datetime-local"]:focus, -input[type="date"]:focus, -input[type="month"]:focus, -input[type="time"]:focus, -input[type="week"]:focus, -input[type="number"]:focus, -input[type="email"]:focus, -input[type="url"]:focus, -input[type="search"]:focus, -input[type="tel"]:focus, -input[type="color"]:focus, -.uneditable-input:focus { - border-color: rgba(82, 168, 236, 0.8); - outline: 0; - outline: thin dotted \9; - /* IE6-9 */ - - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6); -} - -input[type="radio"], -input[type="checkbox"] { - margin: 3px 0; - *margin-top: 0; - /* IE7 */ - - line-height: normal; - cursor: pointer; -} - -input[type="submit"], -input[type="reset"], -input[type="button"], -input[type="radio"], -input[type="checkbox"] { - width: auto; -} - -.uneditable-textarea { - width: auto; - height: auto; -} - -select, -input[type="file"] { - height: 28px; - /* In IE7, the height of the select element cannot be changed by height, only font-size */ - - *margin-top: 4px; - /* For IE7, add top margin to align select with labels */ - - line-height: 28px; -} - -select { - width: 220px; - border: 1px solid #bbb; -} - -select[multiple], -select[size] { - height: auto; -} - -select:focus, -input[type="file"]:focus, -input[type="radio"]:focus, -input[type="checkbox"]:focus { - outline: thin dotted #333; - outline: 5px auto -webkit-focus-ring-color; - outline-offset: -2px; -} - -.radio, -.checkbox { - min-height: 18px; - padding-left: 18px; -} - -.radio input[type="radio"], -.checkbox input[type="checkbox"] { - float: left; - margin-left: -18px; -} - -.controls > .radio:first-child, -.controls > .checkbox:first-child { - padding-top: 5px; -} - -.radio.inline, -.checkbox.inline { - display: inline-block; - padding-top: 5px; - margin-bottom: 0; - vertical-align: middle; -} - -.radio.inline + .radio.inline, -.checkbox.inline + .checkbox.inline { - margin-left: 10px; -} - -.input-mini { - width: 60px; -} - -.input-small { - width: 90px; -} - -.input-medium { - width: 150px; -} - -.input-large { - width: 210px; -} - -.input-xlarge { - width: 270px; -} - -.input-xxlarge { - width: 530px; -} - -input[class*="span"], -select[class*="span"], -textarea[class*="span"], -.uneditable-input[class*="span"], -.row-fluid input[class*="span"], -.row-fluid select[class*="span"], -.row-fluid textarea[class*="span"], -.row-fluid .uneditable-input[class*="span"] { - float: none; - margin-left: 0; -} - -.input-append input[class*="span"], -.input-append .uneditable-input[class*="span"], -.input-prepend input[class*="span"], -.input-prepend .uneditable-input[class*="span"], -.row-fluid .input-prepend [class*="span"], -.row-fluid .input-append [class*="span"] { - display: inline-block; -} - -input, -textarea, -.uneditable-input { - margin-left: 0; -} - -input.span12, -textarea.span12, -.uneditable-input.span12 { - width: 930px; -} - -input.span11, -textarea.span11, -.uneditable-input.span11 { - width: 850px; -} - -input.span10, -textarea.span10, -.uneditable-input.span10 { - width: 770px; -} - -input.span9, -textarea.span9, -.uneditable-input.span9 { - width: 690px; -} - -input.span8, -textarea.span8, -.uneditable-input.span8 { - width: 610px; -} - -input.span7, -textarea.span7, -.uneditable-input.span7 { - width: 530px; -} - -input.span6, -textarea.span6, -.uneditable-input.span6 { - width: 450px; -} - -input.span5, -textarea.span5, -.uneditable-input.span5 { - width: 370px; -} - -input.span4, -textarea.span4, -.uneditable-input.span4 { - width: 290px; -} - -input.span3, -textarea.span3, -.uneditable-input.span3 { - width: 210px; -} - -input.span2, -textarea.span2, -.uneditable-input.span2 { - width: 130px; -} - -input.span1, -textarea.span1, -.uneditable-input.span1 { - width: 50px; -} - -input[disabled], -select[disabled], -textarea[disabled], -input[readonly], -select[readonly], -textarea[readonly] { - cursor: not-allowed; - background-color: #eeeeee; - border-color: #ddd; -} - -input[type="radio"][disabled], -input[type="checkbox"][disabled], -input[type="radio"][readonly], -input[type="checkbox"][readonly] { - background-color: transparent; -} - -.control-group.warning > label, -.control-group.warning .help-block, -.control-group.warning .help-inline { - color: #c09853; -} - -.control-group.warning .checkbox, -.control-group.warning .radio, -.control-group.warning input, -.control-group.warning select, -.control-group.warning textarea { - color: #c09853; - border-color: #c09853; -} - -.control-group.warning .checkbox:focus, -.control-group.warning .radio:focus, -.control-group.warning input:focus, -.control-group.warning select:focus, -.control-group.warning textarea:focus { - border-color: #a47e3c; - -webkit-box-shadow: 0 0 6px #dbc59e; - -moz-box-shadow: 0 0 6px #dbc59e; - box-shadow: 0 0 6px #dbc59e; -} - -.control-group.warning .input-prepend .add-on, -.control-group.warning .input-append .add-on { - color: #c09853; - background-color: #fcf8e3; - border-color: #c09853; -} - -.control-group.error > label, -.control-group.error .help-block, -.control-group.error .help-inline { - color: #b94a48; -} - -.control-group.error .checkbox, -.control-group.error .radio, -.control-group.error input, -.control-group.error select, -.control-group.error textarea { - color: #b94a48; - border-color: #b94a48; -} - -.control-group.error .checkbox:focus, -.control-group.error .radio:focus, -.control-group.error input:focus, -.control-group.error select:focus, -.control-group.error textarea:focus { - border-color: #953b39; - -webkit-box-shadow: 0 0 6px #d59392; - -moz-box-shadow: 0 0 6px #d59392; - box-shadow: 0 0 6px #d59392; -} - -.control-group.error .input-prepend .add-on, -.control-group.error .input-append .add-on { - color: #b94a48; - background-color: #f2dede; - border-color: #b94a48; -} - -.control-group.success > label, -.control-group.success .help-block, -.control-group.success .help-inline { - color: #468847; -} - -.control-group.success .checkbox, -.control-group.success .radio, -.control-group.success input, -.control-group.success select, -.control-group.success textarea { - color: #468847; - border-color: #468847; -} - -.control-group.success .checkbox:focus, -.control-group.success .radio:focus, -.control-group.success input:focus, -.control-group.success select:focus, -.control-group.success textarea:focus { - border-color: #356635; - -webkit-box-shadow: 0 0 6px #7aba7b; - -moz-box-shadow: 0 0 6px #7aba7b; - box-shadow: 0 0 6px #7aba7b; -} - -.control-group.success .input-prepend .add-on, -.control-group.success .input-append .add-on { - color: #468847; - background-color: #dff0d8; - border-color: #468847; -} - -input:focus:required:invalid, -textarea:focus:required:invalid, -select:focus:required:invalid { - color: #b94a48; - border-color: #ee5f5b; -} - -input:focus:required:invalid:focus, -textarea:focus:required:invalid:focus, -select:focus:required:invalid:focus { - border-color: #e9322d; - -webkit-box-shadow: 0 0 6px #f8b9b7; - -moz-box-shadow: 0 0 6px #f8b9b7; - box-shadow: 0 0 6px #f8b9b7; -} - -.form-actions { - padding: 17px 20px 18px; - margin-top: 18px; - margin-bottom: 18px; - background-color: #f5f5f5; - border-top: 1px solid #e5e5e5; - *zoom: 1; -} - -.form-actions:before, -.form-actions:after { - display: table; - content: ""; -} - -.form-actions:after { - clear: both; -} - -.uneditable-input { - overflow: hidden; - white-space: nowrap; - cursor: not-allowed; - background-color: #ffffff; - border-color: #eee; - -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025); - -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025); - box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025); -} - -:-moz-placeholder { - color: #999999; -} - -:-ms-input-placeholder { - color: #999999; -} - -::-webkit-input-placeholder { - color: #999999; -} - -.help-block, -.help-inline { - color: #555555; -} - -.help-block { - display: block; - margin-bottom: 9px; -} - -.help-inline { - display: inline-block; - *display: inline; - padding-left: 5px; - vertical-align: middle; - *zoom: 1; -} - -.input-prepend, -.input-append { - margin-bottom: 5px; -} - -.input-prepend input, -.input-append input, -.input-prepend select, -.input-append select, -.input-prepend .uneditable-input, -.input-append .uneditable-input { - position: relative; - margin-bottom: 0; - *margin-left: 0; - vertical-align: middle; - -webkit-border-radius: 0 3px 3px 0; - -moz-border-radius: 0 3px 3px 0; - border-radius: 0 3px 3px 0; -} - -.input-prepend input:focus, -.input-append input:focus, -.input-prepend select:focus, -.input-append select:focus, -.input-prepend .uneditable-input:focus, -.input-append .uneditable-input:focus { - z-index: 2; -} - -.input-prepend .uneditable-input, -.input-append .uneditable-input { - border-left-color: #ccc; -} - -.input-prepend .add-on, -.input-append .add-on { - display: inline-block; - width: auto; - height: 18px; - min-width: 16px; - 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; -} - -.input-prepend .add-on, -.input-append .add-on, -.input-prepend .btn, -.input-append .btn { - margin-left: -1px; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} - -.input-prepend .active, -.input-append .active { - background-color: #a9dba9; - border-color: #46a546; -} - -.input-prepend .add-on, -.input-prepend .btn { - margin-right: -1px; -} - -.input-prepend .add-on:first-child, -.input-prepend .btn:first-child { - -webkit-border-radius: 3px 0 0 3px; - -moz-border-radius: 3px 0 0 3px; - border-radius: 3px 0 0 3px; -} - -.input-append input, -.input-append select, -.input-append .uneditable-input { - -webkit-border-radius: 3px 0 0 3px; - -moz-border-radius: 3px 0 0 3px; - border-radius: 3px 0 0 3px; -} - -.input-append .uneditable-input { - border-right-color: #ccc; - border-left-color: #eee; -} - -.input-append .add-on:last-child, -.input-append .btn:last-child { - -webkit-border-radius: 0 3px 3px 0; - -moz-border-radius: 0 3px 3px 0; - border-radius: 0 3px 3px 0; -} - -.input-prepend.input-append input, -.input-prepend.input-append select, -.input-prepend.input-append .uneditable-input { - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} - -.input-prepend.input-append .add-on:first-child, -.input-prepend.input-append .btn:first-child { - margin-right: -1px; - -webkit-border-radius: 3px 0 0 3px; - -moz-border-radius: 3px 0 0 3px; - border-radius: 3px 0 0 3px; -} - -.input-prepend.input-append .add-on:last-child, -.input-prepend.input-append .btn:last-child { - margin-left: -1px; - -webkit-border-radius: 0 3px 3px 0; - -moz-border-radius: 0 3px 3px 0; - border-radius: 0 3px 3px 0; -} - -.search-query { - padding-right: 14px; - padding-right: 4px \9; - padding-left: 14px; - padding-left: 4px \9; - /* IE7-8 doesn't have border-radius, so don't indent the padding */ - - margin-bottom: 0; - -webkit-border-radius: 14px; - -moz-border-radius: 14px; - border-radius: 14px; -} - -.form-search input, -.form-inline input, -.form-horizontal input, -.form-search textarea, -.form-inline textarea, -.form-horizontal textarea, -.form-search select, -.form-inline select, -.form-horizontal select, -.form-search .help-inline, -.form-inline .help-inline, -.form-horizontal .help-inline, -.form-search .uneditable-input, -.form-inline .uneditable-input, -.form-horizontal .uneditable-input, -.form-search .input-prepend, -.form-inline .input-prepend, -.form-horizontal .input-prepend, -.form-search .input-append, -.form-inline .input-append, -.form-horizontal .input-append { - display: inline-block; - *display: inline; - margin-bottom: 0; - *zoom: 1; -} - -.form-search .hide, -.form-inline .hide, -.form-horizontal .hide { - display: none; -} - -.form-search label, -.form-inline label { - display: inline-block; -} - -.form-search .input-append, -.form-inline .input-append, -.form-search .input-prepend, -.form-inline .input-prepend { - margin-bottom: 0; -} - -.form-search .radio, -.form-search .checkbox, -.form-inline .radio, -.form-inline .checkbox { - padding-left: 0; - margin-bottom: 0; - vertical-align: middle; -} - -.form-search .radio input[type="radio"], -.form-search .checkbox input[type="checkbox"], -.form-inline .radio input[type="radio"], -.form-inline .checkbox input[type="checkbox"] { - float: left; - margin-right: 3px; - margin-left: 0; -} - -.control-group { - margin-bottom: 9px; -} - -legend + .control-group { - margin-top: 18px; - -webkit-margin-top-collapse: separate; -} - -.form-horizontal .control-group { - margin-bottom: 18px; - *zoom: 1; -} - -.form-horizontal .control-group:before, -.form-horizontal .control-group:after { - display: table; - content: ""; -} - -.form-horizontal .control-group:after { - clear: both; -} - -.form-horizontal .control-label { - float: left; - width: 140px; - padding-top: 5px; - text-align: right; -} - -.form-horizontal .controls { - *display: inline-block; - *padding-left: 20px; - margin-left: 160px; - *margin-left: 0; -} - -.form-horizontal .controls:first-child { - *padding-left: 160px; -} - -.form-horizontal .help-block { - margin-top: 9px; - margin-bottom: 0; -} - -.form-horizontal .form-actions { - padding-left: 160px; -} - -table { - max-width: 100%; - background-color: transparent; - border-collapse: collapse; - border-spacing: 0; -} - -.table { - width: 100%; - margin-bottom: 18px; -} - -.table th, -.table td { - padding: 8px; - line-height: 18px; - text-align: left; - vertical-align: top; - border-top: 1px solid #dddddd; -} - -.table th { - font-weight: bold; -} - -.table thead th { - vertical-align: bottom; -} - -.table caption + thead tr:first-child th, -.table caption + thead tr:first-child td, -.table colgroup + thead tr:first-child th, -.table colgroup + thead tr:first-child td, -.table thead:first-child tr:first-child th, -.table thead:first-child tr:first-child td { - border-top: 0; -} - -.table tbody + tbody { - border-top: 2px solid #dddddd; -} - -.table-condensed th, -.table-condensed td { - padding: 4px 5px; -} - -.table-bordered { - border: 1px solid #dddddd; - border-collapse: separate; - *border-collapse: collapsed; - border-left: 0; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} - -.table-bordered th, -.table-bordered td { - border-left: 1px solid #dddddd; -} - -.table-bordered caption + thead tr:first-child th, -.table-bordered caption + tbody tr:first-child th, -.table-bordered caption + tbody tr:first-child td, -.table-bordered colgroup + thead tr:first-child th, -.table-bordered colgroup + tbody tr:first-child th, -.table-bordered colgroup + tbody tr:first-child td, -.table-bordered thead:first-child tr:first-child th, -.table-bordered tbody:first-child tr:first-child th, -.table-bordered tbody:first-child tr:first-child td { - border-top: 0; -} - -.table-bordered thead:first-child tr:first-child th:first-child, -.table-bordered tbody:first-child tr:first-child td:first-child { - -webkit-border-top-left-radius: 4px; - border-top-left-radius: 4px; - -moz-border-radius-topleft: 4px; -} - -.table-bordered thead:first-child tr:first-child th:last-child, -.table-bordered tbody:first-child tr:first-child td:last-child { - -webkit-border-top-right-radius: 4px; - border-top-right-radius: 4px; - -moz-border-radius-topright: 4px; -} - -.table-bordered thead:last-child tr:last-child th:first-child, -.table-bordered tbody:last-child tr:last-child td:first-child { - -webkit-border-radius: 0 0 0 4px; - -moz-border-radius: 0 0 0 4px; - border-radius: 0 0 0 4px; - -webkit-border-bottom-left-radius: 4px; - border-bottom-left-radius: 4px; - -moz-border-radius-bottomleft: 4px; -} - -.table-bordered thead:last-child tr:last-child th:last-child, -.table-bordered tbody:last-child tr:last-child td:last-child { - -webkit-border-bottom-right-radius: 4px; - border-bottom-right-radius: 4px; - -moz-border-radius-bottomright: 4px; -} - -.table-striped tbody tr:nth-child(odd) td, -.table-striped tbody tr:nth-child(odd) th { - background-color: #f9f9f9; -} - -.table tbody tr:hover td, -.table tbody tr:hover th { - background-color: #f5f5f5; -} - -table .span1 { - float: none; - width: 44px; - margin-left: 0; -} - -table .span2 { - float: none; - width: 124px; - margin-left: 0; -} - -table .span3 { - float: none; - width: 204px; - margin-left: 0; -} - -table .span4 { - float: none; - width: 284px; - margin-left: 0; -} - -table .span5 { - float: none; - width: 364px; - margin-left: 0; -} - -table .span6 { - float: none; - width: 444px; - margin-left: 0; -} - -table .span7 { - float: none; - width: 524px; - margin-left: 0; -} - -table .span8 { - float: none; - width: 604px; - margin-left: 0; -} - -table .span9 { - float: none; - width: 684px; - margin-left: 0; -} - -table .span10 { - float: none; - width: 764px; - margin-left: 0; -} - -table .span11 { - float: none; - width: 844px; - margin-left: 0; -} - -table .span12 { - float: none; - width: 924px; - margin-left: 0; -} - -table .span13 { - float: none; - width: 1004px; - margin-left: 0; -} - -table .span14 { - float: none; - width: 1084px; - margin-left: 0; -} - -table .span15 { - float: none; - width: 1164px; - margin-left: 0; -} - -table .span16 { - float: none; - width: 1244px; - margin-left: 0; -} - -table .span17 { - float: none; - width: 1324px; - margin-left: 0; -} - -table .span18 { - float: none; - width: 1404px; - margin-left: 0; -} - -table .span19 { - float: none; - width: 1484px; - margin-left: 0; -} - -table .span20 { - float: none; - width: 1564px; - margin-left: 0; -} - -table .span21 { - float: none; - width: 1644px; - margin-left: 0; -} - -table .span22 { - float: none; - width: 1724px; - margin-left: 0; -} - -table .span23 { - float: none; - width: 1804px; - margin-left: 0; -} - -table .span24 { - float: none; - width: 1884px; - margin-left: 0; -} - -[class^="icon-"], -[class*=" icon-"] { - display: inline-block; - width: 14px; - height: 14px; - *margin-right: .3em; - line-height: 14px; - vertical-align: text-top; - background-image: url("../img/glyphicons-halflings.png"); - background-position: 14px 14px; - background-repeat: no-repeat; -} - -[class^="icon-"]:last-child, -[class*=" icon-"]:last-child { - *margin-left: 0; -} - -.icon-white { - background-image: url("../img/glyphicons-halflings-white.png"); -} - -.icon-glass { - background-position: 0 0; -} - -.icon-music { - background-position: -24px 0; -} - -.icon-search { - background-position: -48px 0; -} - -.icon-envelope { - background-position: -72px 0; -} - -.icon-heart { - background-position: -96px 0; -} - -.icon-star { - background-position: -120px 0; -} - -.icon-star-empty { - background-position: -144px 0; -} - -.icon-user { - background-position: -168px 0; -} - -.icon-film { - background-position: -192px 0; -} - -.icon-th-large { - background-position: -216px 0; -} - -.icon-th { - background-position: -240px 0; -} - -.icon-th-list { - background-position: -264px 0; -} - -.icon-ok { - background-position: -288px 0; -} - -.icon-remove { - background-position: -312px 0; -} - -.icon-zoom-in { - background-position: -336px 0; -} - -.icon-zoom-out { - background-position: -360px 0; -} - -.icon-off { - background-position: -384px 0; -} - -.icon-signal { - background-position: -408px 0; -} - -.icon-cog { - background-position: -432px 0; -} - -.icon-trash { - background-position: -456px 0; -} - -.icon-home { - background-position: 0 -24px; -} - -.icon-file { - background-position: -24px -24px; -} - -.icon-time { - background-position: -48px -24px; -} - -.icon-road { - background-position: -72px -24px; -} - -.icon-download-alt { - background-position: -96px -24px; -} - -.icon-download { - background-position: -120px -24px; -} - -.icon-upload { - background-position: -144px -24px; -} - -.icon-inbox { - background-position: -168px -24px; -} - -.icon-play-circle { - background-position: -192px -24px; -} - -.icon-repeat { - background-position: -216px -24px; -} - -.icon-refresh { - background-position: -240px -24px; -} - -.icon-list-alt { - background-position: -264px -24px; -} - -.icon-lock { - background-position: -287px -24px; -} - -.icon-flag { - background-position: -312px -24px; -} - -.icon-headphones { - background-position: -336px -24px; -} - -.icon-volume-off { - background-position: -360px -24px; -} - -.icon-volume-down { - background-position: -384px -24px; -} - -.icon-volume-up { - background-position: -408px -24px; -} - -.icon-qrcode { - background-position: -432px -24px; -} - -.icon-barcode { - background-position: -456px -24px; -} - -.icon-tag { - background-position: 0 -48px; -} - -.icon-tags { - background-position: -25px -48px; -} - -.icon-book { - background-position: -48px -48px; -} - -.icon-bookmark { - background-position: -72px -48px; -} - -.icon-print { - background-position: -96px -48px; -} - -.icon-camera { - background-position: -120px -48px; -} - -.icon-font { - background-position: -144px -48px; -} - -.icon-bold { - background-position: -167px -48px; -} - -.icon-italic { - background-position: -192px -48px; -} - -.icon-text-height { - background-position: -216px -48px; -} - -.icon-text-width { - background-position: -240px -48px; -} - -.icon-align-left { - background-position: -264px -48px; -} - -.icon-align-center { - background-position: -288px -48px; -} - -.icon-align-right { - background-position: -312px -48px; -} - -.icon-align-justify { - background-position: -336px -48px; -} - -.icon-list { - background-position: -360px -48px; -} - -.icon-indent-left { - background-position: -384px -48px; -} - -.icon-indent-right { - background-position: -408px -48px; -} - -.icon-facetime-video { - background-position: -432px -48px; -} - -.icon-picture { - background-position: -456px -48px; -} - -.icon-pencil { - background-position: 0 -72px; -} - -.icon-map-marker { - background-position: -24px -72px; -} - -.icon-adjust { - background-position: -48px -72px; -} - -.icon-tint { - background-position: -72px -72px; -} - -.icon-edit { - background-position: -96px -72px; -} - -.icon-share { - background-position: -120px -72px; -} - -.icon-check { - background-position: -144px -72px; -} - -.icon-move { - background-position: -168px -72px; -} - -.icon-step-backward { - background-position: -192px -72px; -} - -.icon-fast-backward { - background-position: -216px -72px; -} - -.icon-backward { - background-position: -240px -72px; -} - -.icon-play { - background-position: -264px -72px; -} - -.icon-pause { - background-position: -288px -72px; -} - -.icon-stop { - background-position: -312px -72px; -} - -.icon-forward { - background-position: -336px -72px; -} - -.icon-fast-forward { - background-position: -360px -72px; -} - -.icon-step-forward { - background-position: -384px -72px; -} - -.icon-eject { - background-position: -408px -72px; -} - -.icon-chevron-left { - background-position: -432px -72px; -} - -.icon-chevron-right { - background-position: -456px -72px; -} - -.icon-plus-sign { - background-position: 0 -96px; -} - -.icon-minus-sign { - background-position: -24px -96px; -} - -.icon-remove-sign { - background-position: -48px -96px; -} - -.icon-ok-sign { - background-position: -72px -96px; -} - -.icon-question-sign { - background-position: -96px -96px; -} - -.icon-info-sign { - background-position: -120px -96px; -} - -.icon-screenshot { - background-position: -144px -96px; -} - -.icon-remove-circle { - background-position: -168px -96px; -} - -.icon-ok-circle { - background-position: -192px -96px; -} - -.icon-ban-circle { - background-position: -216px -96px; -} - -.icon-arrow-left { - background-position: -240px -96px; -} - -.icon-arrow-right { - background-position: -264px -96px; -} - -.icon-arrow-up { - background-position: -289px -96px; -} - -.icon-arrow-down { - background-position: -312px -96px; -} - -.icon-share-alt { - background-position: -336px -96px; -} - -.icon-resize-full { - background-position: -360px -96px; -} - -.icon-resize-small { - background-position: -384px -96px; -} - -.icon-plus { - background-position: -408px -96px; -} - -.icon-minus { - background-position: -433px -96px; -} - -.icon-asterisk { - background-position: -456px -96px; -} - -.icon-exclamation-sign { - background-position: 0 -120px; -} - -.icon-gift { - background-position: -24px -120px; -} - -.icon-leaf { - background-position: -48px -120px; -} - -.icon-fire { - background-position: -72px -120px; -} - -.icon-eye-open { - background-position: -96px -120px; -} - -.icon-eye-close { - background-position: -120px -120px; -} - -.icon-warning-sign { - background-position: -144px -120px; -} - -.icon-plane { - background-position: -168px -120px; -} - -.icon-calendar { - background-position: -192px -120px; -} - -.icon-random { - background-position: -216px -120px; -} - -.icon-comment { - background-position: -240px -120px; -} - -.icon-magnet { - background-position: -264px -120px; -} - -.icon-chevron-up { - background-position: -288px -120px; -} - -.icon-chevron-down { - background-position: -313px -119px; -} - -.icon-retweet { - background-position: -336px -120px; -} - -.icon-shopping-cart { - background-position: -360px -120px; -} - -.icon-folder-close { - background-position: -384px -120px; -} - -.icon-folder-open { - background-position: -408px -120px; -} - -.icon-resize-vertical { - background-position: -432px -119px; -} - -.icon-resize-horizontal { - background-position: -456px -118px; -} - -.icon-hdd { - background-position: 0 -144px; -} - -.icon-bullhorn { - background-position: -24px -144px; -} - -.icon-bell { - background-position: -48px -144px; -} - -.icon-certificate { - background-position: -72px -144px; -} - -.icon-thumbs-up { - background-position: -96px -144px; -} - -.icon-thumbs-down { - background-position: -120px -144px; -} - -.icon-hand-right { - background-position: -144px -144px; -} - -.icon-hand-left { - background-position: -168px -144px; -} - -.icon-hand-up { - background-position: -192px -144px; -} - -.icon-hand-down { - background-position: -216px -144px; -} - -.icon-circle-arrow-right { - background-position: -240px -144px; -} - -.icon-circle-arrow-left { - background-position: -264px -144px; -} - -.icon-circle-arrow-up { - background-position: -288px -144px; -} - -.icon-circle-arrow-down { - background-position: -312px -144px; -} - -.icon-globe { - background-position: -336px -144px; -} - -.icon-wrench { - background-position: -360px -144px; -} - -.icon-tasks { - background-position: -384px -144px; -} - -.icon-filter { - background-position: -408px -144px; -} - -.icon-briefcase { - background-position: -432px -144px; -} - -.icon-fullscreen { - background-position: -456px -144px; -} - -.dropup, -.dropdown { - position: relative; -} - -.dropdown-toggle { - *margin-bottom: -3px; -} - -.dropdown-toggle:active, -.open .dropdown-toggle { - outline: 0; -} - -.caret { - display: inline-block; - width: 0; - height: 0; - vertical-align: top; - border-top: 4px solid #000000; - border-right: 4px solid transparent; - border-left: 4px solid transparent; - content: ""; - opacity: 0.3; - filter: alpha(opacity=30); -} - -.dropdown .caret { - margin-top: 8px; - margin-left: 2px; -} - -.dropdown:hover .caret, -.open .caret { - opacity: 1; - filter: alpha(opacity=100); -} - -.dropdown-menu { - position: absolute; - top: 100%; - left: 0; - z-index: 1000; - display: none; - float: left; - min-width: 160px; - padding: 4px 0; - margin: 1px 0 0; - list-style: none; - background-color: #ffffff; - border: 1px solid #ccc; - border: 1px solid rgba(0, 0, 0, 0.2); - *border-right-width: 2px; - *border-bottom-width: 2px; - -webkit-border-radius: 5px; - -moz-border-radius: 5px; - border-radius: 5px; - -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - -webkit-background-clip: padding-box; - -moz-background-clip: padding; - background-clip: padding-box; -} - -.dropdown-menu.pull-right { - right: 0; - left: auto; -} - -.dropdown-menu .divider { - *width: 100%; - height: 1px; - margin: 8px 1px; - *margin: -5px 0 5px; - overflow: hidden; - background-color: #e5e5e5; - border-bottom: 1px solid #ffffff; -} - -.dropdown-menu a { - display: block; - padding: 3px 15px; - clear: both; - font-weight: normal; - line-height: 18px; - color: #333333; - white-space: nowrap; -} - -.dropdown-menu li > a:hover, -.dropdown-menu .active > a, -.dropdown-menu .active > a:hover { - color: #ffffff; - text-decoration: none; - background-color: #0088cc; -} - -.open { - *z-index: 1000; -} - -.open > .dropdown-menu { - display: block; -} - -.pull-right > .dropdown-menu { - right: 0; - left: auto; -} - -.dropup .caret, -.navbar-fixed-bottom .dropdown .caret { - border-top: 0; - border-bottom: 4px solid #000000; - content: "\2191"; -} - -.dropup .dropdown-menu, -.navbar-fixed-bottom .dropdown .dropdown-menu { - top: auto; - bottom: 100%; - margin-bottom: 1px; -} - -.typeahead { - margin-top: 2px; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} - -.well { - min-height: 20px; - padding: 19px; - margin-bottom: 20px; - background-color: #f5f5f5; - border: 1px solid #eee; - border: 1px solid rgba(0, 0, 0, 0.05); - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); -} - -.well blockquote { - border-color: #ddd; - border-color: rgba(0, 0, 0, 0.15); -} - -.well-large { - padding: 24px; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} - -.well-small { - padding: 9px; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} - -.fade { - opacity: 0; - -webkit-transition: opacity 0.15s linear; - -moz-transition: opacity 0.15s linear; - -ms-transition: opacity 0.15s linear; - -o-transition: opacity 0.15s linear; - transition: opacity 0.15s linear; -} - -.fade.in { - opacity: 1; -} - -.collapse { - position: relative; - height: 0; - overflow: hidden; - -webkit-transition: height 0.35s ease; - -moz-transition: height 0.35s ease; - -ms-transition: height 0.35s ease; - -o-transition: height 0.35s ease; - transition: height 0.35s ease; -} - -.collapse.in { - height: auto; -} - -.close { - float: right; - font-size: 20px; - font-weight: bold; - line-height: 18px; - color: #000000; - text-shadow: 0 1px 0 #ffffff; - opacity: 0.2; - filter: alpha(opacity=20); -} - -.close:hover { - color: #000000; - text-decoration: none; - cursor: pointer; - opacity: 0.4; - filter: alpha(opacity=40); -} - -button.close { - padding: 0; - cursor: pointer; - background: transparent; - border: 0; - -webkit-appearance: none; -} - -.btn { - display: inline-block; - *display: inline; - padding: 4px 10px 4px; - margin-bottom: 0; - *margin-left: .3em; - font-size: 13px; - line-height: 18px; - *line-height: 20px; - color: #333333; - text-align: center; - text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75); - vertical-align: middle; - cursor: pointer; - background-color: #f5f5f5; - *background-color: #e6e6e6; - background-image: -ms-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(top, #ffffff, #e6e6e6); - background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6); - background-repeat: repeat-x; - border: 1px solid #cccccc; - *border: 0; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - border-color: #e6e6e6 #e6e6e6 #bfbfbf; - border-bottom-color: #b3b3b3; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ffffff', endColorstr='#e6e6e6', GradientType=0); - filter: progid:dximagetransform.microsoft.gradient(enabled=false); - *zoom: 1; - -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); - -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); - box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); -} - -.btn:hover, -.btn:active, -.btn.active, -.btn.disabled, -.btn[disabled] { - background-color: #e6e6e6; - *background-color: #d9d9d9; -} - -.btn:active, -.btn.active { - background-color: #cccccc \9; -} - -.btn:first-child { - *margin-left: 0; -} - -.btn:hover { - color: #333333; - text-decoration: none; - background-color: #e6e6e6; - *background-color: #d9d9d9; - /* Buttons in IE7 don't get borders, so darken on hover */ - - background-position: 0 -15px; - -webkit-transition: background-position 0.1s linear; - -moz-transition: background-position 0.1s linear; - -ms-transition: background-position 0.1s linear; - -o-transition: background-position 0.1s linear; - transition: background-position 0.1s linear; -} - -.btn:focus { - outline: thin dotted #333; - outline: 5px auto -webkit-focus-ring-color; - outline-offset: -2px; -} - -.btn.active, -.btn:active { - background-color: #e6e6e6; - background-color: #d9d9d9 \9; - background-image: none; - outline: 0; - -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05); - -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05); - box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05); -} - -.btn.disabled, -.btn[disabled] { - cursor: default; - background-color: #e6e6e6; - background-image: none; - opacity: 0.65; - filter: alpha(opacity=65); - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} - -.btn-large { - padding: 9px 14px; - font-size: 15px; - line-height: normal; - -webkit-border-radius: 5px; - -moz-border-radius: 5px; - border-radius: 5px; -} - -.btn-large [class^="icon-"] { - margin-top: 1px; -} - -.btn-small { - padding: 5px 9px; - font-size: 11px; - line-height: 16px; -} - -.btn-small [class^="icon-"] { - margin-top: -1px; -} - -.btn-mini { - padding: 2px 6px; - font-size: 11px; - line-height: 14px; -} - -.btn-primary, -.btn-primary:hover, -.btn-warning, -.btn-warning:hover, -.btn-danger, -.btn-danger:hover, -.btn-success, -.btn-success:hover, -.btn-info, -.btn-info:hover, -.btn-inverse, -.btn-inverse:hover { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); -} - -.btn-primary.active, -.btn-warning.active, -.btn-danger.active, -.btn-success.active, -.btn-info.active, -.btn-inverse.active { - color: rgba(255, 255, 255, 0.75); -} - -.btn { - border-color: #ccc; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); -} - -.btn-primary { - background-color: #0074cc; - *background-color: #0055cc; - background-image: -ms-linear-gradient(top, #0088cc, #0055cc); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0055cc)); - background-image: -webkit-linear-gradient(top, #0088cc, #0055cc); - background-image: -o-linear-gradient(top, #0088cc, #0055cc); - background-image: -moz-linear-gradient(top, #0088cc, #0055cc); - background-image: linear-gradient(top, #0088cc, #0055cc); - background-repeat: repeat-x; - border-color: #0055cc #0055cc #003580; - 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(startColorstr='#0088cc', endColorstr='#0055cc', GradientType=0); - filter: progid:dximagetransform.microsoft.gradient(enabled=false); -} - -.btn-primary:hover, -.btn-primary:active, -.btn-primary.active, -.btn-primary.disabled, -.btn-primary[disabled] { - background-color: #0055cc; - *background-color: #004ab3; -} - -.btn-primary:active, -.btn-primary.active { - background-color: #004099 \9; -} - -.btn-warning { - background-color: #faa732; - *background-color: #f89406; - background-image: -ms-linear-gradient(top, #fbb450, #f89406); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fbb450), to(#f89406)); - background-image: -webkit-linear-gradient(top, #fbb450, #f89406); - background-image: -o-linear-gradient(top, #fbb450, #f89406); - background-image: -moz-linear-gradient(top, #fbb450, #f89406); - background-image: linear-gradient(top, #fbb450, #f89406); - background-repeat: repeat-x; - border-color: #f89406 #f89406 #ad6704; - 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(startColorstr='#fbb450', endColorstr='#f89406', GradientType=0); - filter: progid:dximagetransform.microsoft.gradient(enabled=false); -} - -.btn-warning:hover, -.btn-warning:active, -.btn-warning.active, -.btn-warning.disabled, -.btn-warning[disabled] { - background-color: #f89406; - *background-color: #df8505; -} - -.btn-warning:active, -.btn-warning.active { - background-color: #c67605 \9; -} - -.btn-danger { - background-color: #da4f49; - *background-color: #bd362f; - background-image: -ms-linear-gradient(top, #ee5f5b, #bd362f); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#bd362f)); - background-image: -webkit-linear-gradient(top, #ee5f5b, #bd362f); - background-image: -o-linear-gradient(top, #ee5f5b, #bd362f); - background-image: -moz-linear-gradient(top, #ee5f5b, #bd362f); - background-image: linear-gradient(top, #ee5f5b, #bd362f); - background-repeat: repeat-x; - border-color: #bd362f #bd362f #802420; - 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(startColorstr='#ee5f5b', endColorstr='#bd362f', GradientType=0); - filter: progid:dximagetransform.microsoft.gradient(enabled=false); -} - -.btn-danger:hover, -.btn-danger:active, -.btn-danger.active, -.btn-danger.disabled, -.btn-danger[disabled] { - background-color: #bd362f; - *background-color: #a9302a; -} - -.btn-danger:active, -.btn-danger.active { - background-color: #942a25 \9; -} - -.btn-success { - background-color: #5bb75b; - *background-color: #51a351; - background-image: -ms-linear-gradient(top, #62c462, #51a351); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#51a351)); - background-image: -webkit-linear-gradient(top, #62c462, #51a351); - background-image: -o-linear-gradient(top, #62c462, #51a351); - background-image: -moz-linear-gradient(top, #62c462, #51a351); - background-image: linear-gradient(top, #62c462, #51a351); - background-repeat: repeat-x; - border-color: #51a351 #51a351 #387038; - 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(startColorstr='#62c462', endColorstr='#51a351', GradientType=0); - filter: progid:dximagetransform.microsoft.gradient(enabled=false); -} - -.btn-success:hover, -.btn-success:active, -.btn-success.active, -.btn-success.disabled, -.btn-success[disabled] { - background-color: #51a351; - *background-color: #499249; -} - -.btn-success:active, -.btn-success.active { - background-color: #408140 \9; -} - -.btn-info { - background-color: #49afcd; - *background-color: #2f96b4; - background-image: -ms-linear-gradient(top, #5bc0de, #2f96b4); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#2f96b4)); - background-image: -webkit-linear-gradient(top, #5bc0de, #2f96b4); - background-image: -o-linear-gradient(top, #5bc0de, #2f96b4); - background-image: -moz-linear-gradient(top, #5bc0de, #2f96b4); - background-image: linear-gradient(top, #5bc0de, #2f96b4); - background-repeat: repeat-x; - border-color: #2f96b4 #2f96b4 #1f6377; - 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(startColorstr='#5bc0de', endColorstr='#2f96b4', GradientType=0); - filter: progid:dximagetransform.microsoft.gradient(enabled=false); -} - -.btn-info:hover, -.btn-info:active, -.btn-info.active, -.btn-info.disabled, -.btn-info[disabled] { - background-color: #2f96b4; - *background-color: #2a85a0; -} - -.btn-info:active, -.btn-info.active { - background-color: #24748c \9; -} - -.btn-inverse { - background-color: #414141; - *background-color: #222222; - background-image: -ms-linear-gradient(top, #555555, #222222); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#555555), to(#222222)); - background-image: -webkit-linear-gradient(top, #555555, #222222); - background-image: -o-linear-gradient(top, #555555, #222222); - background-image: -moz-linear-gradient(top, #555555, #222222); - background-image: linear-gradient(top, #555555, #222222); - background-repeat: repeat-x; - border-color: #222222 #222222 #000000; - 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(startColorstr='#555555', endColorstr='#222222', GradientType=0); - filter: progid:dximagetransform.microsoft.gradient(enabled=false); -} - -.btn-inverse:hover, -.btn-inverse:active, -.btn-inverse.active, -.btn-inverse.disabled, -.btn-inverse[disabled] { - background-color: #222222; - *background-color: #151515; -} - -.btn-inverse:active, -.btn-inverse.active { - background-color: #080808 \9; -} - -button.btn, -input[type="submit"].btn { - *padding-top: 2px; - *padding-bottom: 2px; -} - -button.btn::-moz-focus-inner, -input[type="submit"].btn::-moz-focus-inner { - padding: 0; - border: 0; -} - -button.btn.btn-large, -input[type="submit"].btn.btn-large { - *padding-top: 7px; - *padding-bottom: 7px; -} - -button.btn.btn-small, -input[type="submit"].btn.btn-small { - *padding-top: 3px; - *padding-bottom: 3px; -} - -button.btn.btn-mini, -input[type="submit"].btn.btn-mini { - *padding-top: 1px; - *padding-bottom: 1px; -} - -.btn-group { - position: relative; - *margin-left: .3em; - *zoom: 1; -} - -.btn-group:before, -.btn-group:after { - display: table; - content: ""; -} - -.btn-group:after { - clear: both; -} - -.btn-group:first-child { - *margin-left: 0; -} - -.btn-group + .btn-group { - margin-left: 5px; -} - -.btn-toolbar { - margin-top: 9px; - margin-bottom: 9px; -} - -.btn-toolbar .btn-group { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; -} - -.btn-group > .btn { - position: relative; - float: left; - margin-left: -1px; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} - -.btn-group > .btn:first-child { - margin-left: 0; - -webkit-border-bottom-left-radius: 4px; - border-bottom-left-radius: 4px; - -webkit-border-top-left-radius: 4px; - border-top-left-radius: 4px; - -moz-border-radius-bottomleft: 4px; - -moz-border-radius-topleft: 4px; -} - -.btn-group > .btn:last-child, -.btn-group > .dropdown-toggle { - -webkit-border-top-right-radius: 4px; - border-top-right-radius: 4px; - -webkit-border-bottom-right-radius: 4px; - border-bottom-right-radius: 4px; - -moz-border-radius-topright: 4px; - -moz-border-radius-bottomright: 4px; -} - -.btn-group > .btn.large:first-child { - margin-left: 0; - -webkit-border-bottom-left-radius: 6px; - border-bottom-left-radius: 6px; - -webkit-border-top-left-radius: 6px; - border-top-left-radius: 6px; - -moz-border-radius-bottomleft: 6px; - -moz-border-radius-topleft: 6px; -} - -.btn-group > .btn.large:last-child, -.btn-group > .large.dropdown-toggle { - -webkit-border-top-right-radius: 6px; - border-top-right-radius: 6px; - -webkit-border-bottom-right-radius: 6px; - border-bottom-right-radius: 6px; - -moz-border-radius-topright: 6px; - -moz-border-radius-bottomright: 6px; -} - -.btn-group > .btn:hover, -.btn-group > .btn:focus, -.btn-group > .btn:active, -.btn-group > .btn.active { - z-index: 2; -} - -.btn-group .dropdown-toggle:active, -.btn-group.open .dropdown-toggle { - outline: 0; -} - -.btn-group > .dropdown-toggle { - *padding-top: 4px; - padding-right: 8px; - *padding-bottom: 4px; - padding-left: 8px; - -webkit-box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.125), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); - -moz-box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.125), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); - box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.125), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); -} - -.btn-group > .btn-mini.dropdown-toggle { - padding-right: 5px; - padding-left: 5px; -} - -.btn-group > .btn-small.dropdown-toggle { - *padding-top: 4px; - *padding-bottom: 4px; -} - -.btn-group > .btn-large.dropdown-toggle { - padding-right: 12px; - padding-left: 12px; -} - -.btn-group.open .dropdown-toggle { - background-image: none; - -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05); - -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05); - box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05); -} - -.btn-group.open .btn.dropdown-toggle { - background-color: #e6e6e6; -} - -.btn-group.open .btn-primary.dropdown-toggle { - background-color: #0055cc; -} - -.btn-group.open .btn-warning.dropdown-toggle { - background-color: #f89406; -} - -.btn-group.open .btn-danger.dropdown-toggle { - background-color: #bd362f; -} - -.btn-group.open .btn-success.dropdown-toggle { - background-color: #51a351; -} - -.btn-group.open .btn-info.dropdown-toggle { - background-color: #2f96b4; -} - -.btn-group.open .btn-inverse.dropdown-toggle { - background-color: #222222; -} - -.btn .caret { - margin-top: 7px; - margin-left: 0; -} - -.btn:hover .caret, -.open.btn-group .caret { - opacity: 1; - filter: alpha(opacity=100); -} - -.btn-mini .caret { - margin-top: 5px; -} - -.btn-small .caret { - margin-top: 6px; -} - -.btn-large .caret { - margin-top: 6px; - border-top-width: 5px; - border-right-width: 5px; - border-left-width: 5px; -} - -.dropup .btn-large .caret { - border-top: 0; - border-bottom: 5px solid #000000; -} - -.btn-primary .caret, -.btn-warning .caret, -.btn-danger .caret, -.btn-info .caret, -.btn-success .caret, -.btn-inverse .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; - opacity: 0.75; - filter: alpha(opacity=75); -} - -.alert { - padding: 8px 35px 8px 14px; - margin-bottom: 18px; - color: #c09853; - text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); - background-color: #fcf8e3; - border: 1px solid #fbeed5; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} - -.alert-heading { - color: inherit; -} - -.alert .close { - position: relative; - top: -2px; - right: -21px; - line-height: 18px; -} - -.alert-success { - color: #468847; - background-color: #dff0d8; - border-color: #d6e9c6; -} - -.alert-danger, -.alert-error { - color: #b94a48; - background-color: #f2dede; - border-color: #eed3d7; -} - -.alert-info { - color: #3a87ad; - background-color: #d9edf7; - border-color: #bce8f1; -} - -.alert-block { - padding-top: 14px; - padding-bottom: 14px; -} - -.alert-block > p, -.alert-block > ul { - margin-bottom: 0; -} - -.alert-block p + p { - margin-top: 5px; -} - -.nav { - margin-bottom: 18px; - margin-left: 0; - list-style: none; -} - -.nav > li > a { - display: block; -} - -.nav > li > a:hover { - text-decoration: none; - background-color: #eeeeee; -} - -.nav > .pull-right { - float: right; -} - -.nav .nav-header { - display: block; - padding: 3px 15px; - font-size: 11px; - font-weight: bold; - line-height: 18px; - color: #999999; - text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); - text-transform: uppercase; -} - -.nav li + .nav-header { - margin-top: 9px; -} - -.nav-list { - padding-right: 15px; - padding-left: 15px; - margin-bottom: 0; -} - -.nav-list > li > a, -.nav-list .nav-header { - margin-right: -15px; - margin-left: -15px; - text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); -} - -.nav-list > li > a { - padding: 3px 15px; -} - -.nav-list > .active > a, -.nav-list > .active > a:hover { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2); - background-color: #0088cc; -} - -.nav-list [class^="icon-"] { - margin-right: 2px; -} - -.nav-list .divider { - *width: 100%; - height: 1px; - margin: 8px 1px; - *margin: -5px 0 5px; - overflow: hidden; - background-color: #e5e5e5; - border-bottom: 1px solid #ffffff; -} - -.nav-tabs, -.nav-pills { - *zoom: 1; -} - -.nav-tabs:before, -.nav-pills:before, -.nav-tabs:after, -.nav-pills:after { - display: table; - content: ""; -} - -.nav-tabs:after, -.nav-pills:after { - clear: both; -} - -.nav-tabs > li, -.nav-pills > li { - float: left; -} - -.nav-tabs > li > a, -.nav-pills > li > a { - padding-right: 12px; - padding-left: 12px; - margin-right: 2px; - line-height: 14px; -} - -.nav-tabs { - border-bottom: 1px solid #ddd; -} - -.nav-tabs > li { - margin-bottom: -1px; -} - -.nav-tabs > li > a { - padding-top: 8px; - padding-bottom: 8px; - line-height: 18px; - border: 1px solid transparent; - -webkit-border-radius: 4px 4px 0 0; - -moz-border-radius: 4px 4px 0 0; - border-radius: 4px 4px 0 0; -} - -.nav-tabs > li > a:hover { - border-color: #eeeeee #eeeeee #dddddd; -} - -.nav-tabs > .active > a, -.nav-tabs > .active > a:hover { - color: #555555; - cursor: default; - background-color: #ffffff; - border: 1px solid #ddd; - border-bottom-color: transparent; -} - -.nav-pills > li > a { - padding-top: 8px; - padding-bottom: 8px; - margin-top: 2px; - margin-bottom: 2px; - -webkit-border-radius: 5px; - -moz-border-radius: 5px; - border-radius: 5px; -} - -.nav-pills > .active > a, -.nav-pills > .active > a:hover { - color: #ffffff; - background-color: #0088cc; -} - -.nav-stacked > li { - float: none; -} - -.nav-stacked > li > a { - margin-right: 0; -} - -.nav-tabs.nav-stacked { - border-bottom: 0; -} - -.nav-tabs.nav-stacked > li > a { - border: 1px solid #ddd; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} - -.nav-tabs.nav-stacked > li:first-child > a { - -webkit-border-radius: 4px 4px 0 0; - -moz-border-radius: 4px 4px 0 0; - border-radius: 4px 4px 0 0; -} - -.nav-tabs.nav-stacked > li:last-child > a { - -webkit-border-radius: 0 0 4px 4px; - -moz-border-radius: 0 0 4px 4px; - border-radius: 0 0 4px 4px; -} - -.nav-tabs.nav-stacked > li > a:hover { - z-index: 2; - border-color: #ddd; -} - -.nav-pills.nav-stacked > li > a { - margin-bottom: 3px; -} - -.nav-pills.nav-stacked > li:last-child > a { - margin-bottom: 1px; -} - -.nav-tabs .dropdown-menu { - -webkit-border-radius: 0 0 5px 5px; - -moz-border-radius: 0 0 5px 5px; - border-radius: 0 0 5px 5px; -} - -.nav-pills .dropdown-menu { - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} - -.nav-tabs .dropdown-toggle .caret, -.nav-pills .dropdown-toggle .caret { - margin-top: 6px; - border-top-color: #0088cc; - border-bottom-color: #0088cc; -} - -.nav-tabs .dropdown-toggle:hover .caret, -.nav-pills .dropdown-toggle:hover .caret { - border-top-color: #005580; - border-bottom-color: #005580; -} - -.nav-tabs .active .dropdown-toggle .caret, -.nav-pills .active .dropdown-toggle .caret { - border-top-color: #333333; - border-bottom-color: #333333; -} - -.nav > .dropdown.active > a:hover { - color: #000000; - cursor: pointer; -} - -.nav-tabs .open .dropdown-toggle, -.nav-pills .open .dropdown-toggle, -.nav > li.dropdown.open.active > a:hover { - color: #ffffff; - background-color: #999999; - border-color: #999999; -} - -.nav li.dropdown.open .caret, -.nav li.dropdown.open.active .caret, -.nav li.dropdown.open a:hover .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; - opacity: 1; - filter: alpha(opacity=100); -} - -.tabs-stacked .open > a:hover { - border-color: #999999; -} - -.tabbable { - *zoom: 1; -} - -.tabbable:before, -.tabbable:after { - display: table; - content: ""; -} - -.tabbable:after { - clear: both; -} - -.tab-content { - overflow: auto; -} - -.tabs-below > .nav-tabs, -.tabs-right > .nav-tabs, -.tabs-left > .nav-tabs { - border-bottom: 0; -} - -.tab-content > .tab-pane, -.pill-content > .pill-pane { - display: none; -} - -.tab-content > .active, -.pill-content > .active { - display: block; -} - -.tabs-below > .nav-tabs { - border-top: 1px solid #ddd; -} - -.tabs-below > .nav-tabs > li { - margin-top: -1px; - margin-bottom: 0; -} - -.tabs-below > .nav-tabs > li > a { - -webkit-border-radius: 0 0 4px 4px; - -moz-border-radius: 0 0 4px 4px; - border-radius: 0 0 4px 4px; -} - -.tabs-below > .nav-tabs > li > a:hover { - border-top-color: #ddd; - border-bottom-color: transparent; -} - -.tabs-below > .nav-tabs > .active > a, -.tabs-below > .nav-tabs > .active > a:hover { - border-color: transparent #ddd #ddd #ddd; -} - -.tabs-left > .nav-tabs > li, -.tabs-right > .nav-tabs > li { - float: none; -} - -.tabs-left > .nav-tabs > li > a, -.tabs-right > .nav-tabs > li > a { - min-width: 74px; - margin-right: 0; - margin-bottom: 3px; -} - -.tabs-left > .nav-tabs { - float: left; - margin-right: 19px; - border-right: 1px solid #ddd; -} - -.tabs-left > .nav-tabs > li > a { - margin-right: -1px; - -webkit-border-radius: 4px 0 0 4px; - -moz-border-radius: 4px 0 0 4px; - border-radius: 4px 0 0 4px; -} - -.tabs-left > .nav-tabs > li > a:hover { - border-color: #eeeeee #dddddd #eeeeee #eeeeee; -} - -.tabs-left > .nav-tabs .active > a, -.tabs-left > .nav-tabs .active > a:hover { - border-color: #ddd transparent #ddd #ddd; - *border-right-color: #ffffff; -} - -.tabs-right > .nav-tabs { - float: right; - margin-left: 19px; - border-left: 1px solid #ddd; -} - -.tabs-right > .nav-tabs > li > a { - margin-left: -1px; - -webkit-border-radius: 0 4px 4px 0; - -moz-border-radius: 0 4px 4px 0; - border-radius: 0 4px 4px 0; -} - -.tabs-right > .nav-tabs > li > a:hover { - border-color: #eeeeee #eeeeee #eeeeee #dddddd; -} - -.tabs-right > .nav-tabs .active > a, -.tabs-right > .nav-tabs .active > a:hover { - border-color: #ddd #ddd #ddd transparent; - *border-left-color: #ffffff; -} - -.navbar { - *position: relative; - *z-index: 2; - margin-bottom: 18px; - overflow: visible; -} - -.navbar-inner { - min-height: 40px; - padding-right: 20px; - padding-left: 20px; - background-color: #2c2c2c; - background-image: -moz-linear-gradient(top, #333333, #222222); - background-image: -ms-linear-gradient(top, #333333, #222222); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#333333), to(#222222)); - background-image: -webkit-linear-gradient(top, #333333, #222222); - background-image: -o-linear-gradient(top, #333333, #222222); - background-image: linear-gradient(top, #333333, #222222); - background-repeat: repeat-x; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - filter: progid:dximagetransform.microsoft.gradient(startColorstr='#333333', endColorstr='#222222', GradientType=0); - -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1); - -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1); - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1); -} - -.navbar .container { - width: auto; -} - -.nav-collapse.collapse { - height: auto; -} - -.navbar { - color: #999999; -} - -.navbar .brand:hover { - text-decoration: none; -} - -.navbar .brand { - display: block; - float: left; - padding: 8px 20px 12px; - margin-left: -20px; - font-size: 20px; - font-weight: 200; - line-height: 1; - color: #999999; -} - -.navbar .navbar-text { - margin-bottom: 0; - line-height: 40px; -} - -.navbar .navbar-link { - color: #999999; -} - -.navbar .navbar-link:hover { - color: #ffffff; -} - -.navbar .btn, -.navbar .btn-group { - margin-top: 5px; -} - -.navbar .btn-group .btn { - margin: 0; -} - -.navbar-form { - margin-bottom: 0; - *zoom: 1; -} - -.navbar-form:before, -.navbar-form:after { - display: table; - content: ""; -} - -.navbar-form:after { - clear: both; -} - -.navbar-form input, -.navbar-form select, -.navbar-form .radio, -.navbar-form .checkbox { - margin-top: 5px; -} - -.navbar-form input, -.navbar-form select { - display: inline-block; - margin-bottom: 0; -} - -.navbar-form input[type="image"], -.navbar-form input[type="checkbox"], -.navbar-form input[type="radio"] { - margin-top: 3px; -} - -.navbar-form .input-append, -.navbar-form .input-prepend { - margin-top: 6px; - white-space: nowrap; -} - -.navbar-form .input-append input, -.navbar-form .input-prepend input { - margin-top: 0; -} - -.navbar-search { - position: relative; - float: left; - margin-top: 6px; - margin-bottom: 0; -} - -.navbar-search .search-query { - padding: 4px 9px; - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; - font-size: 13px; - font-weight: normal; - line-height: 1; - color: #ffffff; - background-color: #626262; - border: 1px solid #151515; - -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 0 rgba(255, 255, 255, 0.15); - -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 0 rgba(255, 255, 255, 0.15); - box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 0 rgba(255, 255, 255, 0.15); - -webkit-transition: none; - -moz-transition: none; - -ms-transition: none; - -o-transition: none; - transition: none; -} - -.navbar-search .search-query:-moz-placeholder { - color: #cccccc; -} - -.navbar-search .search-query:-ms-input-placeholder { - color: #cccccc; -} - -.navbar-search .search-query::-webkit-input-placeholder { - color: #cccccc; -} - -.navbar-search .search-query:focus, -.navbar-search .search-query.focused { - padding: 5px 10px; - color: #333333; - text-shadow: 0 1px 0 #ffffff; - background-color: #ffffff; - border: 0; - outline: 0; - -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.15); - -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.15); - box-shadow: 0 0 3px rgba(0, 0, 0, 0.15); -} - -.navbar-fixed-top, -.navbar-fixed-bottom { - position: fixed; - right: 0; - left: 0; - z-index: 1030; - margin-bottom: 0; -} - -.navbar-fixed-top .navbar-inner, -.navbar-fixed-bottom .navbar-inner { - padding-right: 0; - padding-left: 0; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} - -.navbar-fixed-top .container, -.navbar-fixed-bottom .container { - width: 940px; -} - -.navbar-fixed-top { - top: 0; -} - -.navbar-fixed-bottom { - bottom: 0; -} - -.navbar .nav { - position: relative; - left: 0; - display: block; - float: left; - margin: 0 10px 0 0; -} - -.navbar .nav.pull-right { - float: right; -} - -.navbar .nav > li { - display: block; - float: left; -} - -.navbar .nav > li > a { - float: none; - padding: 9px 10px 11px; - line-height: 19px; - color: #999999; - text-decoration: none; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); -} - -.navbar .btn { - display: inline-block; - padding: 4px 10px 4px; - margin: 5px 5px 6px; - line-height: 18px; -} - -.navbar .btn-group { - padding: 5px 5px 6px; - margin: 0; -} - -.navbar .nav > li > a:hover { - color: #ffffff; - text-decoration: none; - background-color: transparent; -} - -.navbar .nav .active > a, -.navbar .nav .active > a:hover { - color: #ffffff; - text-decoration: none; - background-color: #222222; -} - -.navbar .divider-vertical { - width: 1px; - height: 40px; - margin: 0 9px; - overflow: hidden; - background-color: #222222; - border-right: 1px solid #333333; -} - -.navbar .nav.pull-right { - margin-right: 0; - margin-left: 10px; -} - -.navbar .btn-navbar { - display: none; - float: right; - padding: 7px 10px; - margin-right: 5px; - margin-left: 5px; - background-color: #2c2c2c; - *background-color: #222222; - background-image: -ms-linear-gradient(top, #333333, #222222); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#333333), to(#222222)); - background-image: -webkit-linear-gradient(top, #333333, #222222); - background-image: -o-linear-gradient(top, #333333, #222222); - background-image: linear-gradient(top, #333333, #222222); - background-image: -moz-linear-gradient(top, #333333, #222222); - background-repeat: repeat-x; - border-color: #222222 #222222 #000000; - 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(startColorstr='#333333', endColorstr='#222222', GradientType=0); - filter: progid:dximagetransform.microsoft.gradient(enabled=false); - -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.075); - -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.075); - box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.075); -} - -.navbar .btn-navbar:hover, -.navbar .btn-navbar:active, -.navbar .btn-navbar.active, -.navbar .btn-navbar.disabled, -.navbar .btn-navbar[disabled] { - background-color: #222222; - *background-color: #151515; -} - -.navbar .btn-navbar:active, -.navbar .btn-navbar.active { - background-color: #080808 \9; -} - -.navbar .btn-navbar .icon-bar { - display: block; - width: 18px; - height: 2px; - background-color: #f5f5f5; - -webkit-border-radius: 1px; - -moz-border-radius: 1px; - border-radius: 1px; - -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); - -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); - box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); -} - -.btn-navbar .icon-bar + .icon-bar { - margin-top: 3px; -} - -.navbar .dropdown-menu:before { - position: absolute; - top: -7px; - left: 9px; - display: inline-block; - border-right: 7px solid transparent; - border-bottom: 7px solid #ccc; - border-left: 7px solid transparent; - border-bottom-color: rgba(0, 0, 0, 0.2); - content: ''; -} - -.navbar .dropdown-menu:after { - position: absolute; - top: -6px; - left: 10px; - display: inline-block; - border-right: 6px solid transparent; - border-bottom: 6px solid #ffffff; - border-left: 6px solid transparent; - content: ''; -} - -.navbar-fixed-bottom .dropdown-menu:before { - top: auto; - bottom: -7px; - border-top: 7px solid #ccc; - border-bottom: 0; - border-top-color: rgba(0, 0, 0, 0.2); -} - -.navbar-fixed-bottom .dropdown-menu:after { - top: auto; - bottom: -6px; - border-top: 6px solid #ffffff; - border-bottom: 0; -} - -.navbar .nav li.dropdown .dropdown-toggle .caret, -.navbar .nav li.dropdown.open .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; -} - -.navbar .nav li.dropdown.active .caret { - opacity: 1; - filter: alpha(opacity=100); -} - -.navbar .nav li.dropdown.open > .dropdown-toggle, -.navbar .nav li.dropdown.active > .dropdown-toggle, -.navbar .nav li.dropdown.open.active > .dropdown-toggle { - background-color: transparent; -} - -.navbar .nav li.dropdown.active > .dropdown-toggle:hover { - color: #ffffff; -} - -.navbar .pull-right .dropdown-menu, -.navbar .dropdown-menu.pull-right { - right: 0; - left: auto; -} - -.navbar .pull-right .dropdown-menu:before, -.navbar .dropdown-menu.pull-right:before { - right: 12px; - left: auto; -} - -.navbar .pull-right .dropdown-menu:after, -.navbar .dropdown-menu.pull-right:after { - right: 13px; - left: auto; -} - -.breadcrumb { - padding: 7px 14px; - margin: 0 0 18px; - list-style: none; - background-color: #fbfbfb; - background-image: -moz-linear-gradient(top, #ffffff, #f5f5f5); - background-image: -ms-linear-gradient(top, #ffffff, #f5f5f5); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#f5f5f5)); - background-image: -webkit-linear-gradient(top, #ffffff, #f5f5f5); - background-image: -o-linear-gradient(top, #ffffff, #f5f5f5); - background-image: linear-gradient(top, #ffffff, #f5f5f5); - background-repeat: repeat-x; - border: 1px solid #ddd; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; - filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ffffff', endColorstr='#f5f5f5', GradientType=0); - -webkit-box-shadow: inset 0 1px 0 #ffffff; - -moz-box-shadow: inset 0 1px 0 #ffffff; - box-shadow: inset 0 1px 0 #ffffff; -} - -.breadcrumb li { - display: inline-block; - *display: inline; - text-shadow: 0 1px 0 #ffffff; - *zoom: 1; -} - -.breadcrumb .divider { - padding: 0 5px; - color: #999999; -} - -.breadcrumb .active a { - color: #333333; -} - -.pagination { - height: 36px; - margin: 18px 0; -} - -.pagination ul { - display: inline-block; - *display: inline; - margin-bottom: 0; - margin-left: 0; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; - *zoom: 1; - -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); - -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); - box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); -} - -.pagination li { - display: inline; -} - -.pagination a { - float: left; - padding: 0 14px; - line-height: 34px; - text-decoration: none; - border: 1px solid #ddd; - border-left-width: 0; -} - -.pagination a:hover, -.pagination .active a { - background-color: #f5f5f5; -} - -.pagination .active a { - color: #999999; - cursor: default; -} - -.pagination .disabled span, -.pagination .disabled a, -.pagination .disabled a:hover { - color: #999999; - cursor: default; - background-color: transparent; -} - -.pagination li:first-child a { - border-left-width: 1px; - -webkit-border-radius: 3px 0 0 3px; - -moz-border-radius: 3px 0 0 3px; - border-radius: 3px 0 0 3px; -} - -.pagination li:last-child a { - -webkit-border-radius: 0 3px 3px 0; - -moz-border-radius: 0 3px 3px 0; - border-radius: 0 3px 3px 0; -} - -.pagination-centered { - text-align: center; -} - -.pagination-right { - text-align: right; -} - -.pager { - margin-bottom: 18px; - margin-left: 0; - text-align: center; - list-style: none; - *zoom: 1; -} - -.pager:before, -.pager:after { - display: table; - content: ""; -} - -.pager:after { - clear: both; -} - -.pager li { - display: inline; -} - -.pager a { - display: inline-block; - padding: 5px 14px; - background-color: #fff; - border: 1px solid #ddd; - -webkit-border-radius: 15px; - -moz-border-radius: 15px; - border-radius: 15px; -} - -.pager a:hover { - text-decoration: none; - background-color: #f5f5f5; -} - -.pager .next a { - float: right; -} - -.pager .previous a { - float: left; -} - -.pager .disabled a, -.pager .disabled a:hover { - color: #999999; - cursor: default; - background-color: #fff; -} - -.modal-open .dropdown-menu { - z-index: 2050; -} - -.modal-open .dropdown.open { - *z-index: 2050; -} - -.modal-open .popover { - z-index: 2060; -} - -.modal-open .tooltip { - z-index: 2070; -} - -.modal-backdrop { - position: fixed; - top: 0; - right: 0; - bottom: 0; - left: 0; - z-index: 1040; - background-color: #000000; -} - -.modal-backdrop.fade { - opacity: 0; -} - -.modal-backdrop, -.modal-backdrop.fade.in { - opacity: 0.8; - filter: alpha(opacity=80); -} - -.modal { - position: fixed; - top: 50%; - left: 50%; - z-index: 1050; - width: 560px; - margin: -250px 0 0 -280px; - overflow: auto; - background-color: #ffffff; - border: 1px solid #999; - border: 1px solid rgba(0, 0, 0, 0.3); - *border: 1px solid #999; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; - -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); - -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); - box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); - -webkit-background-clip: padding-box; - -moz-background-clip: padding-box; - background-clip: padding-box; -} - -.modal.fade { - top: -25%; - -webkit-transition: opacity 0.3s linear, top 0.3s ease-out; - -moz-transition: opacity 0.3s linear, top 0.3s ease-out; - -ms-transition: opacity 0.3s linear, top 0.3s ease-out; - -o-transition: opacity 0.3s linear, top 0.3s ease-out; - transition: opacity 0.3s linear, top 0.3s ease-out; -} - -.modal.fade.in { - top: 50%; -} - -.modal-header { - padding: 9px 15px; - border-bottom: 1px solid #eee; -} - -.modal-header .close { - margin-top: 2px; -} - -.modal-body { - max-height: 400px; - padding: 15px; - overflow-y: auto; -} - -.modal-form { - margin-bottom: 0; -} - -.modal-footer { - padding: 14px 15px 15px; - margin-bottom: 0; - text-align: right; - background-color: #f5f5f5; - border-top: 1px solid #ddd; - -webkit-border-radius: 0 0 6px 6px; - -moz-border-radius: 0 0 6px 6px; - border-radius: 0 0 6px 6px; - *zoom: 1; - -webkit-box-shadow: inset 0 1px 0 #ffffff; - -moz-box-shadow: inset 0 1px 0 #ffffff; - box-shadow: inset 0 1px 0 #ffffff; -} - -.modal-footer:before, -.modal-footer:after { - display: table; - content: ""; -} - -.modal-footer:after { - clear: both; -} - -.modal-footer .btn + .btn { - margin-bottom: 0; - margin-left: 5px; -} - -.modal-footer .btn-group .btn + .btn { - margin-left: -1px; -} - -.tooltip { - position: absolute; - z-index: 1020; - display: block; - padding: 5px; - font-size: 11px; - opacity: 0; - filter: alpha(opacity=0); - visibility: visible; -} - -.tooltip.in { - opacity: 0.8; - filter: alpha(opacity=80); -} - -.tooltip.top { - margin-top: -2px; -} - -.tooltip.right { - margin-left: 2px; -} - -.tooltip.bottom { - margin-top: 2px; -} - -.tooltip.left { - margin-left: -2px; -} - -.tooltip.top .tooltip-arrow { - bottom: 0; - left: 50%; - margin-left: -5px; - border-top: 5px solid #000000; - border-right: 5px solid transparent; - border-left: 5px solid transparent; -} - -.tooltip.left .tooltip-arrow { - top: 50%; - right: 0; - margin-top: -5px; - border-top: 5px solid transparent; - border-bottom: 5px solid transparent; - border-left: 5px solid #000000; -} - -.tooltip.bottom .tooltip-arrow { - top: 0; - left: 50%; - margin-left: -5px; - border-right: 5px solid transparent; - border-bottom: 5px solid #000000; - border-left: 5px solid transparent; -} - -.tooltip.right .tooltip-arrow { - top: 50%; - left: 0; - margin-top: -5px; - border-top: 5px solid transparent; - border-right: 5px solid #000000; - border-bottom: 5px solid transparent; -} - -.tooltip-inner { - max-width: 200px; - padding: 3px 8px; - color: #ffffff; - text-align: center; - text-decoration: none; - background-color: #000000; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} - -.tooltip-arrow { - position: absolute; - width: 0; - height: 0; -} - -.popover { - position: absolute; - top: 0; - left: 0; - z-index: 1010; - display: none; - padding: 5px; -} - -.popover.top { - margin-top: -5px; -} - -.popover.right { - margin-left: 5px; -} - -.popover.bottom { - margin-top: 5px; -} - -.popover.left { - margin-left: -5px; -} - -.popover.top .arrow { - bottom: 0; - left: 50%; - margin-left: -5px; - border-top: 5px solid #000000; - border-right: 5px solid transparent; - border-left: 5px solid transparent; -} - -.popover.right .arrow { - top: 50%; - left: 0; - margin-top: -5px; - border-top: 5px solid transparent; - border-right: 5px solid #000000; - border-bottom: 5px solid transparent; -} - -.popover.bottom .arrow { - top: 0; - left: 50%; - margin-left: -5px; - border-right: 5px solid transparent; - border-bottom: 5px solid #000000; - border-left: 5px solid transparent; -} - -.popover.left .arrow { - top: 50%; - right: 0; - margin-top: -5px; - border-top: 5px solid transparent; - border-bottom: 5px solid transparent; - border-left: 5px solid #000000; -} - -.popover .arrow { - position: absolute; - width: 0; - height: 0; -} - -.popover-inner { - width: 280px; - padding: 3px; - overflow: hidden; - background: #000000; - background: rgba(0, 0, 0, 0.8); - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; - -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); - -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); - box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); -} - -.popover-title { - padding: 9px 15px; - line-height: 1; - background-color: #f5f5f5; - border-bottom: 1px solid #eee; - -webkit-border-radius: 3px 3px 0 0; - -moz-border-radius: 3px 3px 0 0; - border-radius: 3px 3px 0 0; -} - -.popover-content { - padding: 14px; - background-color: #ffffff; - -webkit-border-radius: 0 0 3px 3px; - -moz-border-radius: 0 0 3px 3px; - border-radius: 0 0 3px 3px; - -webkit-background-clip: padding-box; - -moz-background-clip: padding-box; - background-clip: padding-box; -} - -.popover-content p, -.popover-content ul, -.popover-content ol { - margin-bottom: 0; -} - -.thumbnails { - margin-left: -20px; - list-style: none; - *zoom: 1; -} - -.thumbnails:before, -.thumbnails:after { - display: table; - content: ""; -} - -.thumbnails:after { - clear: both; -} - -.row-fluid .thumbnails { - margin-left: 0; -} - -.thumbnails > li { - float: left; - margin-bottom: 18px; - margin-left: 20px; -} - -.thumbnail { - display: block; - padding: 4px; - line-height: 1; - border: 1px solid #ddd; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075); -} - -a.thumbnail:hover { - border-color: #0088cc; - -webkit-box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25); - -moz-box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25); - box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25); -} - -.thumbnail > img { - display: block; - max-width: 100%; - margin-right: auto; - margin-left: auto; -} - -.thumbnail .caption { - padding: 9px; -} - -.label, -.badge { - font-size: 10.998px; - font-weight: bold; - line-height: 14px; - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - white-space: nowrap; - vertical-align: baseline; - background-color: #999999; -} - -.label { - padding: 1px 4px 2px; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} - -.badge { - padding: 1px 9px 2px; - -webkit-border-radius: 9px; - -moz-border-radius: 9px; - border-radius: 9px; -} - -a.label:hover, -a.badge:hover { - color: #ffffff; - text-decoration: none; - cursor: pointer; -} - -.label-important, -.badge-important { - background-color: #b94a48; -} - -.label-important[href], -.badge-important[href] { - background-color: #953b39; -} - -.label-warning, -.badge-warning { - background-color: #f89406; -} - -.label-warning[href], -.badge-warning[href] { - background-color: #c67605; -} - -.label-success, -.badge-success { - background-color: #468847; -} - -.label-success[href], -.badge-success[href] { - background-color: #356635; -} - -.label-info, -.badge-info { - background-color: #3a87ad; -} - -.label-info[href], -.badge-info[href] { - background-color: #2d6987; -} - -.label-inverse, -.badge-inverse { - background-color: #333333; -} - -.label-inverse[href], -.badge-inverse[href] { - background-color: #1a1a1a; -} - -@-webkit-keyframes progress-bar-stripes { - from { - background-position: 40px 0; - } - to { - background-position: 0 0; - } -} - -@-moz-keyframes progress-bar-stripes { - from { - background-position: 40px 0; - } - to { - background-position: 0 0; - } -} - -@-ms-keyframes progress-bar-stripes { - from { - background-position: 40px 0; - } - to { - background-position: 0 0; - } -} - -@-o-keyframes progress-bar-stripes { - from { - background-position: 0 0; - } - to { - background-position: 40px 0; - } -} - -@keyframes progress-bar-stripes { - from { - background-position: 40px 0; - } - to { - background-position: 0 0; - } -} - -.progress { - height: 18px; - margin-bottom: 18px; - overflow: hidden; - background-color: #f7f7f7; - background-image: -moz-linear-gradient(top, #f5f5f5, #f9f9f9); - background-image: -ms-linear-gradient(top, #f5f5f5, #f9f9f9); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f5f5f5), to(#f9f9f9)); - background-image: -webkit-linear-gradient(top, #f5f5f5, #f9f9f9); - background-image: -o-linear-gradient(top, #f5f5f5, #f9f9f9); - background-image: linear-gradient(top, #f5f5f5, #f9f9f9); - background-repeat: repeat-x; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - filter: progid:dximagetransform.microsoft.gradient(startColorstr='#f5f5f5', endColorstr='#f9f9f9', GradientType=0); - -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); - -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); - box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); -} - -.progress .bar { - width: 0; - height: 18px; - font-size: 12px; - color: #ffffff; - text-align: center; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #0e90d2; - background-image: -moz-linear-gradient(top, #149bdf, #0480be); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#149bdf), to(#0480be)); - background-image: -webkit-linear-gradient(top, #149bdf, #0480be); - background-image: -o-linear-gradient(top, #149bdf, #0480be); - background-image: linear-gradient(top, #149bdf, #0480be); - background-image: -ms-linear-gradient(top, #149bdf, #0480be); - background-repeat: repeat-x; - filter: progid:dximagetransform.microsoft.gradient(startColorstr='#149bdf', endColorstr='#0480be', GradientType=0); - -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); - -moz-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); - box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - -ms-box-sizing: border-box; - box-sizing: border-box; - -webkit-transition: width 0.6s ease; - -moz-transition: width 0.6s ease; - -ms-transition: width 0.6s ease; - -o-transition: width 0.6s ease; - transition: width 0.6s ease; -} - -.progress-striped .bar { - background-color: #149bdf; - background-image: -o-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -ms-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - -webkit-background-size: 40px 40px; - -moz-background-size: 40px 40px; - -o-background-size: 40px 40px; - background-size: 40px 40px; -} - -.progress.active .bar { - -webkit-animation: progress-bar-stripes 2s linear infinite; - -moz-animation: progress-bar-stripes 2s linear infinite; - -ms-animation: progress-bar-stripes 2s linear infinite; - -o-animation: progress-bar-stripes 2s linear infinite; - animation: progress-bar-stripes 2s linear infinite; -} - -.progress-danger .bar { - background-color: #dd514c; - background-image: -moz-linear-gradient(top, #ee5f5b, #c43c35); - background-image: -ms-linear-gradient(top, #ee5f5b, #c43c35); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#c43c35)); - background-image: -webkit-linear-gradient(top, #ee5f5b, #c43c35); - background-image: -o-linear-gradient(top, #ee5f5b, #c43c35); - background-image: linear-gradient(top, #ee5f5b, #c43c35); - background-repeat: repeat-x; - filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ee5f5b', endColorstr='#c43c35', GradientType=0); -} - -.progress-danger.progress-striped .bar { - background-color: #ee5f5b; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -ms-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); -} - -.progress-success .bar { - background-color: #5eb95e; - background-image: -moz-linear-gradient(top, #62c462, #57a957); - background-image: -ms-linear-gradient(top, #62c462, #57a957); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#57a957)); - background-image: -webkit-linear-gradient(top, #62c462, #57a957); - background-image: -o-linear-gradient(top, #62c462, #57a957); - background-image: linear-gradient(top, #62c462, #57a957); - background-repeat: repeat-x; - filter: progid:dximagetransform.microsoft.gradient(startColorstr='#62c462', endColorstr='#57a957', GradientType=0); -} - -.progress-success.progress-striped .bar { - background-color: #62c462; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -ms-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); -} - -.progress-info .bar { - background-color: #4bb1cf; - background-image: -moz-linear-gradient(top, #5bc0de, #339bb9); - background-image: -ms-linear-gradient(top, #5bc0de, #339bb9); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#339bb9)); - background-image: -webkit-linear-gradient(top, #5bc0de, #339bb9); - background-image: -o-linear-gradient(top, #5bc0de, #339bb9); - background-image: linear-gradient(top, #5bc0de, #339bb9); - background-repeat: repeat-x; - filter: progid:dximagetransform.microsoft.gradient(startColorstr='#5bc0de', endColorstr='#339bb9', GradientType=0); -} - -.progress-info.progress-striped .bar { - background-color: #5bc0de; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -ms-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); -} - -.progress-warning .bar { - background-color: #faa732; - background-image: -moz-linear-gradient(top, #fbb450, #f89406); - background-image: -ms-linear-gradient(top, #fbb450, #f89406); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fbb450), to(#f89406)); - background-image: -webkit-linear-gradient(top, #fbb450, #f89406); - background-image: -o-linear-gradient(top, #fbb450, #f89406); - background-image: linear-gradient(top, #fbb450, #f89406); - background-repeat: repeat-x; - filter: progid:dximagetransform.microsoft.gradient(startColorstr='#fbb450', endColorstr='#f89406', GradientType=0); -} - -.progress-warning.progress-striped .bar { - background-color: #fbb450; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -ms-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); -} - -.accordion { - margin-bottom: 18px; -} - -.accordion-group { - margin-bottom: 2px; - border: 1px solid #e5e5e5; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} - -.accordion-heading { - border-bottom: 0; -} - -.accordion-heading .accordion-toggle { - display: block; - padding: 8px 15px; -} - -.accordion-toggle { - cursor: pointer; -} - -.accordion-inner { - padding: 9px 15px; - border-top: 1px solid #e5e5e5; -} - -.carousel { - position: relative; - margin-bottom: 18px; - line-height: 1; -} - -.carousel-inner { - position: relative; - width: 100%; - overflow: hidden; -} - -.carousel .item { - position: relative; - display: none; - -webkit-transition: 0.6s ease-in-out left; - -moz-transition: 0.6s ease-in-out left; - -ms-transition: 0.6s ease-in-out left; - -o-transition: 0.6s ease-in-out left; - transition: 0.6s ease-in-out left; -} - -.carousel .item > img { - display: block; - line-height: 1; -} - -.carousel .active, -.carousel .next, -.carousel .prev { - display: block; -} - -.carousel .active { - left: 0; -} - -.carousel .next, -.carousel .prev { - position: absolute; - top: 0; - width: 100%; -} - -.carousel .next { - left: 100%; -} - -.carousel .prev { - left: -100%; -} - -.carousel .next.left, -.carousel .prev.right { - left: 0; -} - -.carousel .active.left { - left: -100%; -} - -.carousel .active.right { - left: 100%; -} - -.carousel-control { - position: absolute; - top: 40%; - left: 15px; - width: 40px; - height: 40px; - margin-top: -20px; - font-size: 60px; - font-weight: 100; - line-height: 30px; - color: #ffffff; - text-align: center; - background: #222222; - border: 3px solid #ffffff; - -webkit-border-radius: 23px; - -moz-border-radius: 23px; - border-radius: 23px; - opacity: 0.5; - filter: alpha(opacity=50); -} - -.carousel-control.right { - right: 15px; - left: auto; -} - -.carousel-control:hover { - color: #ffffff; - text-decoration: none; - opacity: 0.9; - filter: alpha(opacity=90); -} - -.carousel-caption { - position: absolute; - right: 0; - bottom: 0; - left: 0; - padding: 10px 15px 5px; - background: #333333; - background: rgba(0, 0, 0, 0.75); -} - -.carousel-caption h4, -.carousel-caption p { - color: #ffffff; -} - -.hero-unit { - padding: 60px; - margin-bottom: 30px; - background-color: #eeeeee; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} - -.hero-unit h1 { - margin-bottom: 0; - font-size: 60px; - line-height: 1; - letter-spacing: -1px; - color: inherit; -} - -.hero-unit p { - font-size: 18px; - font-weight: 200; - line-height: 27px; - color: inherit; -} - -.pull-right { - float: right; -} - -.pull-left { - float: left; -} - -.hide { - display: none; -} - -.show { - display: block; -} - -.invisible { - visibility: hidden; -} diff --git a/org.tizen.common.verrari.server/WebContent/css/jasny-bootstrap.css b/org.tizen.common.verrari.server/WebContent/css/jasny-bootstrap.css deleted file mode 100755 index 7a702fc..0000000 --- a/org.tizen.common.verrari.server/WebContent/css/jasny-bootstrap.css +++ /dev/null @@ -1,1450 +0,0 @@ -/*! - * Jasny Bootstrap Extensions j2 - * - * Copyright 2012 Jasny BV - * Licensed under the Apache License v2.0 - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Extended with pride by @ArnoldDaniels of jasny.net - */ - -.clearfix { - *zoom: 1; -} - -.clearfix:before, -.clearfix:after { - display: table; - line-height: 0; - content: ""; -} - -.clearfix:after { - clear: both; -} - -.hide-text { - font: 0/0 a; - color: transparent; - text-shadow: none; - background-color: transparent; - border: 0; -} - -.input-block-level { - display: block; - width: 100%; - min-height: 30px; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -.container-semifluid { - max-width: 940px; - padding-right: 20px; - padding-left: 20px; - margin-right: auto; - margin-left: auto; - *zoom: 1; -} - -.container-semifluid:before, -.container-semifluid:after { - display: table; - line-height: 0; - content: ""; -} - -.container-semifluid:after { - clear: both; -} - -form > *:last-child { - margin-bottom: 0; -} - -label input[type="image"], -label input[type="checkbox"], -label input[type="radio"] { - vertical-align: middle; -} - -.small-labels .control-group > label { - width: 70px; -} - -.small-labels .controls { - margin-left: 80px; -} - -.small-labels .form-actions { - padding-left: 80px; -} - -.form-vertical .form-horizontal .control-group > label { - text-align: left; -} - -.form-horizontal .form-vertical .control-group > label { - float: none; - padding-top: 0; - text-align: left; -} - -.form-horizontal .form-vertical .controls { - margin-left: 0; -} - -.form-horizontal .form-vertical.form-actions, -.form-horizontal .form-vertical .form-actions { - padding-left: 20px; -} - -.control-group .control-group { - margin-bottom: 0; -} - -.form-horizontal .well .control-label { - width: 120px; -} - -.form-horizontal .well .controls { - margin-left: 140px; -} - -form .well > *:last-child { - margin-bottom: 0; -} - -.editor { - width: 100%; - height: 100px; - padding: 5px; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -.uneditable-textarea.editor-html { - padding: 5px 3px 5px 5px; - white-space: normal; -} - -textarea.editor-html { - visibility: hidden; -} - -.uneditable-input, -.uneditable-textarea { - display: inline-block; - padding: 4px 3px 4px 5px; - font-size: 14px; - line-height: 20px; - color: #555555; - cursor: not-allowed; - background-color: #ffffff; - border: 1px solid #eee; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; - -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025); - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -} - -.uneditable-input { - height: 20px; - overflow: hidden; - white-space: pre; -} - -.uneditable-textarea { - overflow-x: hidden; - overflow-y: auto; - white-space: pre-wrap; -} - -select[disabled], -textarea[disabled], -input[type="text"][disabled], -input[type="password"][disabled], -input[type="datetime"][disabled], -input[type="datetime-local"][disabled], -input[type="date"][disabled], -input[type="month"][disabled], -input[type="time"][disabled], -input[type="week"][disabled], -input[type="number"][disabled], -input[type="email"][disabled], -input[type="url"][disabled], -input[type="search"][disabled] { - color: #999; -} - -.uneditable-input.disabled, -.uneditable-textarea.disabled { - color: #999; - cursor: not-allowed; - background-color: #f5f5f5; - border-color: #ddd; -} - -textarea, -.uneditable-textarea { - height: 60px; -} - -textarea[rows="1"], -.uneditable-textarea[rows="1"] { - height: 40px; -} - -textarea[rows="2"], -.uneditable-textarea[rows="2"] { - height: 60px; -} - -textarea[rows="3"], -.uneditable-textarea[rows="3"] { - height: 80px; -} - -textarea[rows="4"], -.uneditable-textarea[rows="4"] { - height: 100px; -} - -textarea[rows="5"], -.uneditable-textarea[rows="5"] { - height: 120px; -} - -textarea[rows="6"], -.uneditable-textarea[rows="6"] { - height: 140px; -} - -textarea[rows="7"], -.uneditable-textarea[rows="7"] { - height: 160px; -} - -textarea[rows="8"], -.uneditable-textarea[rows="8"] { - height: 180px; -} - -textarea[rows="9"], -.uneditable-textarea[rows="9"] { - height: 200px; -} - -textarea[rows="10"], -.uneditable-textarea[rows="10"] { - height: 220px; -} - -textarea[rows="11"], -.uneditable-textarea[rows="11"] { - height: 240px; -} - -textarea[rows="12"], -.uneditable-textarea[rows="12"] { - height: 260px; -} - -textarea[rows="13"], -.uneditable-textarea[rows="13"] { - height: 280px; -} - -textarea[rows="14"], -.uneditable-textarea[rows="14"] { - height: 300px; -} - -textarea[rows="15"], -.uneditable-textarea[rows="15"] { - height: 320px; -} - -textarea[rows="16"], -.uneditable-textarea[rows="16"] { - height: 340px; -} - -textarea[rows="17"], -.uneditable-textarea[rows="17"] { - height: 360px; -} - -textarea[rows="18"], -.uneditable-textarea[rows="18"] { - height: 380px; -} - -textarea[rows="19"], -.uneditable-textarea[rows="19"] { - height: 400px; -} - -textarea[rows="20"], -.uneditable-textarea[rows="20"] { - height: 420px; -} - -textarea[rows="21"], -.uneditable-textarea[rows="21"] { - height: 440px; -} - -textarea[rows="22"], -.uneditable-textarea[rows="22"] { - height: 460px; -} - -textarea[rows="23"], -.uneditable-textarea[rows="23"] { - height: 480px; -} - -textarea[rows="24"], -.uneditable-textarea[rows="24"] { - height: 500px; -} - -textarea[rows="25"], -.uneditable-textarea[rows="25"] { - height: 520px; -} - -textarea[rows="26"], -.uneditable-textarea[rows="26"] { - height: 540px; -} - -textarea[rows="27"], -.uneditable-textarea[rows="27"] { - height: 560px; -} - -textarea[rows="28"], -.uneditable-textarea[rows="28"] { - height: 580px; -} - -textarea[rows="29"], -.uneditable-textarea[rows="29"] { - height: 600px; -} - -textarea[rows="30"], -.uneditable-textarea[rows="30"] { - height: 620px; -} - -textarea[rows="35"], -.uneditable-textarea[rows="35"] { - height: 720px; -} - -textarea[rows="40"], -.uneditable-textarea[rows="40"] { - height: 820px; -} - -textarea[rows="45"], -.uneditable-textarea[rows="45"] { - height: 920px; -} - -textarea[rows="50"], -.uneditable-textarea[rows="50"] { - height: 1020px; -} - -textarea[rows="55"], -.uneditable-textarea[rows="55"] { - height: 1120px; -} - -textarea[rows="60"], -.uneditable-textarea[rows="60"] { - height: 1220px; -} - -textarea[rows="65"], -.uneditable-textarea[rows="65"] { - height: 1320px; -} - -textarea[rows="70"], -.uneditable-textarea[rows="70"] { - height: 1420px; -} - -textarea[rows="75"], -.uneditable-textarea[rows="75"] { - height: 1520px; -} - -textarea[rows="80"], -.uneditable-textarea[rows="80"] { - height: 1620px; -} - -textarea[rows="85"], -.uneditable-textarea[rows="85"] { - height: 1720px; -} - -textarea[rows="90"], -.uneditable-textarea[rows="90"] { - height: 1820px; -} - -textarea[rows="95"], -.uneditable-textarea[rows="95"] { - height: 1920px; -} - -textarea[rows="100"], -.uneditable-textarea[rows="100"] { - height: 2020px; -} - -.uneditable-textarea { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -.uneditable-input[class*="span"], -.uneditable-textarea[class*="span"], -.row-fluid .uneditable-input[class*="span"], -.row-fluid .uneditable-textarea[class*="span"] { - float: none; - margin-left: 0; -} - -.input-append .uneditable-input, -.input-prepend .uneditable-input { - vertical-align: top; -} - -.input-append .uneditable-input[class*="span"], -.input-prepend .uneditable-input[class*="span"] { - display: inline-block; -} - -.uneditable-form input[disabled], -.uneditable-form textarea[disabled], -.uneditable-form select[disabled] { - cursor: auto; -} - -.uneditable-form .uneditable-input, -.uneditable-form .uneditable-textarea { - cursor: text; -} - -.uneditable-form .form-actions { - background-color: transparent; -} - -.header-actions { - padding: 0 20px; - line-height: 36px; -} - -.table-actions { - padding-bottom: 20px; - *zoom: 1; -} - -.table-actions:before, -.table-actions:after { - display: table; - line-height: 0; - content: ""; -} - -.table-actions:after { - clear: both; -} - -tr.rowlink td { - cursor: pointer; -} - -tr.rowlink td.nolink { - cursor: auto; -} - -.table tbody tr.rowlink:hover td { - background-color: #cfcfcf; -} - -a.rowlink { - font: inherit; - color: inherit; - text-decoration: inherit; -} - -.act { - display: inline; - padding: 0; - font-weight: bold; - color: #555555; - background: inherit; - border: none; - -webkit-transition: text-shadow 0.1s linear; - -moz-transition: text-shadow 0.1s linear; - -o-transition: text-shadow 0.1s linear; - transition: text-shadow 0.1s linear; -} - -.act:hover { - color: #333333; - text-decoration: none; - text-shadow: 1px 1px 3px rgba(85, 85, 85, 0.5); -} - -.act-primary { - color: #006dcc; -} - -.act-primary:hover { - color: #0044cc; - text-shadow: 1px 1px 3px rgba(0, 109, 204, 0.5); -} - -.act-info { - color: #49afcd; -} - -.act-info:hover { - color: #2f96b4; - text-shadow: 1px 1px 3px rgba(75, 175, 206, 0.5); -} - -.act-success { - color: #51a351; -} - -.act-success:hover { - color: #468847; - text-shadow: 1px 1px 3px rgba(81, 164, 81, 0.5); -} - -.act-warning { - color: #c09853; -} - -.act-warning:hover { - color: #f89406; - text-shadow: 1px 1px 3px rgba(192, 152, 84, 0.5); -} - -.act-danger { - color: #b94a48; -} - -.act-danger:hover { - color: #bd362f; - text-shadow: 1px 1px 3px rgba(185, 72, 70, 0.5); -} - -.act.disabled, -.act[disabled] { - color: #AAAAAA; - cursor: not-allowed; -} - -.act.disabled:hover, -.act[disabled]:hover { - color: #AAAAAA; - text-shadow: none; -} - -.form-actions .act { - line-height: 30px; -} - -@font-face { - font-family: IconicStroke; - font-weight: normal; - src: url('../fonts/iconic_stroke.eot'); - src: local('IconicStroke'), url('iconic_stroke.eot?#iefix') format('../fonts/embedded-opentype'), url('../fonts/iconic_stroke.woff') format('woff'), url('../fonts/iconic_stroke.ttf') format('truetype'), url('iconic_stroke.svg#iconic') format('svg'), url('../fonts/iconic_stroke.otf') format('opentype'); -} - -@font-face { - font-family: IconicFill; - font-weight: normal; - src: url('../fonts/iconic_fill.eot'); - src: local('IconicFill'), url('../fonts/iconic_fill.eot?#iefix') format('embedded-opentype'), url('../fonts/iconic_fill.woff') format('woff'), url('../fonts/iconic_fill.ttf') format('truetype'), url('iconic_fill.svg#iconic') format('svg'), url('../fonts/iconic_fill.otf') format('opentype'); -} - -@media screen, print { - [class*="iconic-"] { - font-style: inherit; - font-weight: normal; - vertical-align: bottom; - } - [class*="iconic-"]:before { - display: inline-block; - width: 1em; - font-family: IconicFill; - font-size: 0.9em; - text-align: center; - vertical-align: middle; - content: ""; - } - .iconic-stroke:before { - font-family: IconicStroke; - } - .iconic-hash:before { - content: '\23'; - } - .iconic-question-mark:before { - content: '\3f'; - } - .iconic-at:before { - content: '\40'; - } - .iconic-pilcrow:before { - content: '\b6'; - } - .iconic-info:before { - content: '\2139'; - } - .iconic-arrow-left:before { - content: '\2190'; - } - .iconic-arrow-up:before { - content: '\2191'; - } - .iconic-arrow-right:before { - content: '\2192'; - } - .iconic-arrow-down:before { - content: '\2193'; - } - .iconic-home:before { - content: '\2302'; - } - .iconic-sun:before { - content: '\2600'; - } - .iconic-cloud:before { - content: '\2601'; - } - .iconic-umbrella:before { - content: '\2602'; - } - .iconic-star:before { - content: '\2605'; - } - .iconic-moon:before { - content: '\263e'; - } - .iconic-heart:before { - content: '\2764'; - } - .iconic-cog:before { - content: '\2699'; - } - .iconic-bolt:before { - content: '\26a1'; - } - .iconic-key:before { - content: '\26bf'; - } - .iconic-rain:before { - content: '\26c6'; - } - .iconic-denied:before { - content: '\26d4'; - } - .iconic-mail:before { - content: '\2709'; - } - .iconic-pen:before { - content: '\270e'; - } - .iconic-x:before { - content: '\2717'; - } - .iconic-o-x:before { - content: '\2718'; - } - .iconic-check:before { - content: '\2713'; - } - .iconic-o-check:before { - content: '\2714'; - } - .iconic-left-quote:before { - content: '\275d'; - } - .iconic-right-quote:before { - content: '\275e'; - } - .iconic-plus:before { - content: '\2795'; - } - .iconic-minus:before { - content: '\2796'; - } - .iconic-curved-arrow:before { - content: '\2935'; - } - .iconic-document-alt:before { - content: '\e000'; - } - .iconic-calendar:before { - content: '\e001'; - } - .iconic-map-pin-alt:before { - content: '\e002'; - } - .iconic-comment-alt1:before { - content: '\e003'; - } - .iconic-comment-alt2:before { - content: '\e004'; - } - .iconic-pen-alt:before { - content: '\e005'; - } - .iconic-pen-alt2:before { - content: '\e006'; - } - .iconic-chat-alt:before { - content: '\e007'; - } - .iconic-o-plus:before { - content: '\e008'; - } - .iconic-o-minus:before { - content: '\e009'; - } - .iconic-bars-alt:before { - content: '\e00a'; - } - .iconic-book-alt:before { - content: '\e00b'; - } - .iconic-aperture-alt:before { - content: '\e00c'; - } - .iconic-beaker-alt:before { - content: '\e010'; - } - .iconic-left-quote-alt:before { - content: '\e011'; - } - .iconic-right-quote-alt:before { - content: '\e012'; - } - .iconic-o-arrow-left:before { - content: '\e013'; - } - .iconic-o-arrow-up:before { - content: '\e014'; - } - .iconic-o-arrow-right:before { - content: '\e015'; - } - .iconic-o-arrow-down:before { - content: '\e016'; - } - .iconic-o-arrow-left-alt:before { - content: '\e017'; - } - .iconic-o-arrow-up-alt:before { - content: '\e018'; - } - .iconic-o-arrow-right-alt:before { - content: '\e019'; - } - .iconic-o-arrow-down-alt:before { - content: '\e01a'; - } - .iconic-brush:before { - content: '\e01b'; - } - .iconic-brush-alt:before { - content: '\e01c'; - } - .iconic-eyedropper:before { - content: '\e01e'; - } - .iconic-layers:before { - content: '\e01f'; - } - .iconic-layers-alt:before { - content: '\e020'; - } - .iconic-compass:before { - content: '\e021'; - } - .iconic-award:before { - content: '\e022'; - } - .iconic-beaker:before { - content: '\e023'; - } - .iconic-steering-wheel:before { - content: '\e024'; - } - .iconic-eye:before { - content: '\e025'; - } - .iconic-aperture:before { - content: '\e026'; - } - .iconic-image:before { - content: '\e027'; - } - .iconic-chart:before { - content: '\e028'; - } - .iconic-chart-alt:before { - content: '\e029'; - } - .iconic-target:before { - content: '\e02a'; - } - .iconic-tag:before { - content: '\e02b'; - } - .iconic-rss:before { - content: '\e02c'; - } - .iconic-rss-alt:before { - content: '\e02d'; - } - .iconic-share:before { - content: '\e02e'; - } - .iconic-undo:before { - content: '\e02f'; - } - .iconic-reload:before { - content: '\e030'; - } - .iconic-reload-alt:before { - content: '\e031'; - } - .iconic-loop:before { - content: '\e032'; - } - .iconic-loop-alt:before { - content: '\e033'; - } - .iconic-back-forth:before { - content: '\e034'; - } - .iconic-back-forth-alt:before { - content: '\e035'; - } - .iconic-spin:before { - content: '\e036'; - } - .iconic-spin-alt:before { - content: '\e037'; - } - .iconic-move-horizontal:before { - content: '\e038'; - } - .iconic-move-horizontal-alt:before { - content: '\e039'; - } - .iconic-o-move-horizontal:before { - content: '\e03a'; - } - .iconic-move-vertical:before { - content: '\e03b'; - } - .iconic-move-vertical-alt:before { - content: '\e03c'; - } - .iconic-o-move-vertical:before { - content: '\e03d'; - } - .iconic-move:before { - content: '\e03e'; - } - .iconic-move-alt:before { - content: '\e03f'; - } - .iconic-o-move:before { - content: '\e040'; - } - .iconic-transfer:before { - content: '\e041'; - } - .iconic-download:before { - content: '\e042'; - } - .iconic-upload:before { - content: '\e043'; - } - .iconic-cloud-download:before { - content: '\e044'; - } - .iconic-cloud-upload:before { - content: '\e045'; - } - .iconic-fork:before { - content: '\e046'; - } - .iconic-play:before { - content: '\e047'; - } - .iconic-o-play:before { - content: '\e048'; - } - .iconic-pause:before { - content: '\e049'; - } - .iconic-stop:before { - content: '\e04a'; - } - .iconic-eject:before { - content: '\e04b'; - } - .iconic-first:before { - content: '\e04c'; - } - .iconic-last:before { - content: '\e04d'; - } - .iconic-fullscreen:before { - content: '\e04e'; - } - .iconic-fullscreen-alt:before { - content: '\e04f'; - } - .iconic-fullscreen-exit:before { - content: '\e050'; - } - .iconic-fullscreen-exit-alt:before { - content: '\e051'; - } - .iconic-equalizer:before { - content: '\e052'; - } - .iconic-article:before { - content: '\e053'; - } - .iconic-read-more:before { - content: '\e054'; - } - .iconic-list:before { - content: '\e055'; - } - .iconic-list-nested:before { - content: '\e056'; - } - .iconic-cursor:before { - content: '\e057'; - } - .iconic-dial:before { - content: '\e058'; - } - .iconic-new-window:before { - content: '\e059'; - } - .iconic-trash:before { - content: '\e05a'; - } - .iconic-battery-half:before { - content: '\e05b'; - } - .iconic-battery-empty:before { - content: '\e05c'; - } - .iconic-battery-charging:before { - content: '\e05d'; - } - .iconic-chat:before { - content: '\e05e'; - } - .iconic-mic:before { - content: '\e05f'; - } - .iconic-movie:before { - content: '\e060'; - } - .iconic-headphones:before { - content: '\e061'; - } - .iconic-user:before { - content: '\e062'; - } - .iconic-lightbulb:before { - content: '\e063'; - } - .iconic-cd:before { - content: '\e064'; - } - .iconic-folder:before { - content: '\e065'; - } - .iconic-document:before { - content: '\e066'; - } - .iconic-pin:before { - content: '\e067'; - } - .iconic-map-pin:before { - content: '\e068'; - } - .iconic-book:before { - content: '\e069'; - } - .iconic-book-alt2:before { - content: '\e06a'; - } - .iconic-box:before { - content: '\e06b'; - } - .iconic-calendar-alt:before { - content: '\e06c'; - } - .iconic-comment:before { - content: '\e06d'; - } - .iconic-iphone:before { - content: '\e06e'; - } - .iconic-bars:before { - content: '\e06f'; - } - .iconic-camera:before { - content: '\e070'; - } - .iconic-volume-mute:before { - content: '\e071'; - } - .iconic-volume:before { - content: '\e072'; - } - .iconic-battery-full:before { - content: '\e073'; - } - .iconic-magnifying-glass:before { - content: '\e074'; - } - .iconic-lock:before { - content: '\e075'; - } - .iconic-unlock:before { - content: '\e076'; - } - .iconic-link:before { - content: '\e077'; - } - .iconic-wrench:before { - content: '\e078'; - } - .iconic-clock:before { - content: '\e079'; - } - .iconic-sun-stroke:before { - font-family: IconicStroke; - content: '\2600'; - } - .iconic-moon-stroke:before { - font-family: IconicStroke; - content: '\263e'; - } - .iconic-star-stroke:before { - font-family: IconicStroke; - content: '\2605'; - } - .iconic-heart-stroke:before { - font-family: IconicStroke; - content: '\2764'; - } - .iconic-key-stroke:before { - font-family: IconicStroke; - content: '\26bf'; - } - .iconic-document-alt-stroke:before { - font-family: IconicStroke; - content: '\e000'; - } - .iconic-comment-alt1-stroke:before { - font-family: IconicStroke; - content: '\e003'; - } - .iconic-comment-alt2-stroke:before { - font-family: IconicStroke; - content: '\e004'; - } - .iconic-pen-alt-stroke:before { - font-family: IconicStroke; - content: '\e005'; - } - .iconic-chat-alt-stroke:before { - font-family: IconicStroke; - content: '\e007'; - } - .iconic-award-stroke:before { - font-family: IconicStroke; - content: '\e022'; - } - .iconic-tag-stroke:before { - font-family: IconicStroke; - content: '\e02b'; - } - .iconic-trash-stroke:before { - font-family: IconicStroke; - content: '\e05a'; - } - .iconic-folder-stroke:before { - font-family: IconicStroke; - content: '\e065'; - } - .iconic-document-stroke:before { - font-family: IconicStroke; - content: '\e066'; - } - .iconic-map-pin-stroke:before { - font-family: IconicStroke; - content: '\e068'; - } - .iconic-calendar-alt-stroke:before { - font-family: IconicStroke; - content: '\e06c'; - } - .iconic-comment-stroke:before { - font-family: IconicStroke; - content: '\e06d'; - } - .iconic-lock-stroke:before { - font-family: IconicStroke; - content: '\e075'; - } - .iconic-unlock-stroke:before { - font-family: IconicStroke; - content: '\e076'; - } -} - -.page-alert { - position: absolute; - top: 0; - left: 50%; - z-index: 1020; - width: 0; -} - -.page-alert .alert { - width: 550px; - margin-left: -300px; - border-top-width: 0; - -webkit-border-radius: 0 0 4px 4px; - -moz-border-radius: 0 0 4px 4px; - border-radius: 0 0 4px 4px; -} - -.navbar-fixed-top + .page-alert { - top: 40px; -} - -body > .page-alert { - position: fixed; -} - -.btn-file { - position: relative; - overflow: hidden; - vertical-align: middle; -} - -.btn-file > input { - position: absolute; - top: 0; - right: 0; - margin: 0; - cursor: pointer; - border: solid transparent; - border-width: 0 0 100px 200px; - opacity: 0; - filter: alpha(opacity=0); - -moz-transform: translate(-300px, 0) scale(4); - direction: ltr; -} - -.fileupload { - margin-bottom: 9px; -} - -.fileupload .uneditable-input { - display: inline-block; - margin-bottom: 0; - vertical-align: middle; - cursor: text; -} - -.fileupload .thumbnail { - display: inline-block; - margin-bottom: 5px; - overflow: hidden; - text-align: center; - vertical-align: middle; -} - -.fileupload .thumbnail > img { - display: inline-block; - max-height: 100%; - vertical-align: middle; -} - -.fileupload .btn { - vertical-align: middle; -} - -.fileupload-exists .fileupload-new, -.fileupload-new .fileupload-exists { - display: none; -} - -.fileupload-inline .fileupload-controls { - display: inline; -} - -.fileupload-new .input-append .btn-file { - -webkit-border-radius: 0 3px 3px 0; - -moz-border-radius: 0 3px 3px 0; - border-radius: 0 3px 3px 0; -} - -.thumbnail-borderless .thumbnail { - padding: 0; - border: none; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} - -.fileupload-new.thumbnail-borderless .thumbnail { - border: 1px solid #ddd; -} - -.control-group.warning .fileupload .uneditable-input { - color: #a47e3c; - border-color: #a47e3c; -} - -.control-group.warning .fileupload .fileupload-preview { - color: #a47e3c; -} - -.control-group.warning .fileupload .thumbnail { - border-color: #a47e3c; -} - -.control-group.error .fileupload .uneditable-input { - color: #b94a48; - border-color: #b94a48; -} - -.control-group.error .fileupload .fileupload-preview { - color: #b94a48; -} - -.control-group.error .fileupload .thumbnail { - border-color: #b94a48; -} - -.control-group.success .fileupload .uneditable-input { - color: #468847; - border-color: #468847; -} - -.control-group.success .fileupload .fileupload-preview { - color: #468847; -} - -.control-group.success .fileupload .thumbnail { - border-color: #468847; -} - -.nav-tabs > li > a, -.nav-pills > li > a { - outline: none; -} - -.nav-tabs > li.disabled > a { - color: #CCCCCC; - cursor: not-allowed; -} - -.tabbable { - border-color: #ddd; - border-style: solid; - border-width: 0; - *zoom: 1; -} - -.tabbable:before, -.tabbable:after { - display: table; - line-height: 0; - content: ""; -} - -.tabbable:after { - clear: both; -} - -.tabbable > .nav-tabs { - margin: 0; -} - -.tab-content { - padding: 18px 0 0 0; - overflow: auto; - border-color: #ddd; - border-style: solid; - border-width: 0; -} - -.tabbable-bordered { - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} - -.tabbable-bordered > .tab-content { - padding: 20px 20px 10px 20px; - border-width: 0 1px 1px 1px; - -webkit-border-radius: 0 0 4px 4px; - -moz-border-radius: 0 0 4px 4px; - border-radius: 0 0 4px 4px; -} - -body > .container.tabbable > .nav-tabs { - padding-top: 15px; -} - -.tabs-below > .tab-content { - padding: 0 0 10px 0; -} - -.tabs-below.tabbable-bordered > .tab-content { - padding: 20px 20px 10px 20px; - border-width: 1px 1px 0 1px; - -webkit-border-radius: 4px 4px 0 0; - -moz-border-radius: 4px 4px 0 0; - border-radius: 4px 4px 0 0; -} - -body > .container.tabs-below.tabbable-bodered > .tab-content { - border-top-width: 0; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} - -.tabs-left, -.tabs-right { - margin-bottom: 20px; -} - -.tabs-left > .nav-tabs, -.tabs-right > .nav-tabs { - position: relative; - z-index: 1; - margin-bottom: 0; -} - -.tabs-left > .tab-content, -.tabs-right > .tab-content { - overflow: hidden; -} - -.tabs-left > .nav-tabs { - left: 1px; -} - -.tabs-left > .nav-tabs > .active > a, -.tabs-left > .nav-tabs > .active > a:hover { - border-color: #ddd transparent #ddd #ddd; - *border-right-color: #ffffff; -} - -.tabs-left > .tab-content { - padding: 0 0 0 19px; - border-left-width: 1px; -} - -.tabs-left.tabbable-bordered { - border-width: 0 1px 0 0; -} - -.tabs-left.tabbable-bordered > .tab-content { - padding: 20px 20px 10px 20px; - border-width: 1px 0 1px 1px; - -webkit-border-radius: 0 4px 4px 0; - -moz-border-radius: 0 4px 4px 0; - border-radius: 0 4px 4px 0; -} - -body > .container.tabs-left.tabbable-bodered > .tab-content { - border-top-width: 0; - -webkit-border-radius: 0 0 4px 0; - -moz-border-radius: 0 0 4px 0; - border-radius: 0 0 4px 0; -} - -.tabs-right > .nav-tabs { - right: 1px; -} - -.tabs-right > .nav-tabs > .active > a, -.tabs-right > .nav-tabs > .active > a:hover { - border-color: #ddd #ddd #ddd transparent; - *border-left-color: #ffffff; -} - -.tabs-right > .tab-content { - padding: 0 19px 0 0; - border-right-width: 1px; -} - -.tabs-right.tabbable-bordered { - border-width: 0 0 0 1px; -} - -.tabs-right.tabbable-bordered > .tab-content { - padding: 20px 20px 10px 20px; - border-width: 1px 1px 1px 0; - -webkit-border-radius: 4px 0 0 4px; - -moz-border-radius: 4px 0 0 4px; - border-radius: 4px 0 0 4px; -} - -body > .container.tabs-right.tabbable-bodered > .tab-content { - border-top-width: 0; - -webkit-border-radius: 0 0 0 4px; - -moz-border-radius: 0 0 0 4px; - border-radius: 0 0 0 4px; -} - -.modal form { - margin-bottom: 0; -} diff --git a/org.tizen.common.verrari.server/WebContent/css/main.css b/org.tizen.common.verrari.server/WebContent/css/main.css deleted file mode 100755 index 00a34cc..0000000 --- a/org.tizen.common.verrari.server/WebContent/css/main.css +++ /dev/null @@ -1,21 +0,0 @@ -.fileupload input[type=text]{ - float: left -} - -.fileupload div { - position: relative; - overflow: hidden; -} - -.fileupload div input[type=file] { - display: none; - font-size: 45px; - position: absolute; - right: 0px; - top: 0px; - opacity: 0; - filter: alpha(opacity = 0); - -ms-filter: "alpha(opacity=0)"; - -khtml-opacity: 0; - -moz-opacity: 0; -} \ No newline at end of file diff --git a/org.tizen.common.verrari.server/WebContent/css/themes/base/default.advanced.css b/org.tizen.common.verrari.server/WebContent/css/themes/base/default.advanced.css deleted file mode 100755 index b2be76c..0000000 --- a/org.tizen.common.verrari.server/WebContent/css/themes/base/default.advanced.css +++ /dev/null @@ -1,69 +0,0 @@ -@charset "UTF-8"; - -/** - * NVIDIA Advanced CSS Drop-Down Menu Theme - * - * @file default.advanced.css - * @name NVIDIA - * @version 0.1 - * @type transitional - * @browsers Windows: IE7+, Opera7+, Firefox3+ - * Mac OS: Safari2+, Firefox3+ - * - * @link http://www.lwis.net/free-css-drop-down-menu - * @copyright 2008-2012 Live Web Initiatives, http://www.lwis.net - * - */ - -@import "default.css"; - - -/* -- Base style extension -- */ - -ul.dropdown li a { - display: block; - padding: 7px 14px; -} - - -/* -- Base style override -- */ - -ul.dropdown li { - padding: 0; -} - - -/* -- Base style reinitiate: post-override activities -- */ - -ul.dropdown li.dir { - padding: 7px 20px 7px 14px; -} - -ul.dropdown ul li.dir { - padding-right: 15px; -} - - -/* -- Custom -- */ - -ul.dropdown ul a { - padding: 4px 5px 4px 14px; - width: 151px; /* Especially for IE */ -} - -ul.dropdown ul a:hover { - background-color: #76b900; -} - - -/* -- Drop-down open -- */ - -ul.dropdown li:hover > a.dir { - background-color: #2e2e2e; - color: #76b900; -} - -ul.dropdown ul li:hover > a.dir { - background-color: #76b900; - color: #fff; -} \ No newline at end of file diff --git a/org.tizen.common.verrari.server/WebContent/css/themes/base/default.css b/org.tizen.common.verrari.server/WebContent/css/themes/base/default.css deleted file mode 100755 index 9e6552a..0000000 --- a/org.tizen.common.verrari.server/WebContent/css/themes/base/default.css +++ /dev/null @@ -1,76 +0,0 @@ -@charset "UTF-8"; - -/** - * NVIDIA CSS Drop-Down Menu Theme - * - * @file default.css - * @name NVIDIA - * @version 0.1 - * @type transitional - * @browsers Windows: IE6+, Opera7+, Firefox3+ - * Mac OS: Safari2+, Firefox3+ - * - * @link http://www.lwis.net/free-css-drop-down-menu - * @copyright 2008-2012 Live Web Initiatives, http://www.lwis.net - * - */ - - -/* -- Base drop-down styling -- */ - -ul.dropdown { - font: normal 12px "Trebuchet MS", Arial, Helvetica, sans-serif; - text-transform: uppercase; -} - - ul.dropdown li { - padding: 7px 0; - background-color: #000; - color: #fff; - line-height: normal; - } - - ul.dropdown a:link, - ul.dropdown a:visited { color: #fff; text-decoration: none; } - ul.dropdown a:hover { color: #76b900; text-decoration: none; } - ul.dropdown a:active { color: #fff; } - - /* -- level mark -- */ - - ul.dropdown ul { - width: 170px; - background-color: #333; - color: #fff; - font-size: 11px; - text-transform: none; - filter: alpha(opacity=90); - -moz-opacity: .9; - KhtmlOpacity: .9; - opacity: .9; - } - - ul.dropdown ul li { - background-color: transparent; - color: #000; - filter: none; - } - - ul.dropdown ul li.hover, - ul.dropdown ul li:hover { - background-color: transparent; - } - - ul.dropdown ul a:link, - ul.dropdown ul a:visited { color: #fff; } - ul.dropdown ul a:hover { color: #fff; text-decoration: none; } - ul.dropdown ul a:active { color: #fff; } - - -/* -- Supporting class `dir` -- */ - -ul.dropdown *.dir { - padding-right: 12px; - background-image: none; - background-position: 100% 50%; - background-repeat: no-repeat; -} \ No newline at end of file diff --git a/org.tizen.common.verrari.server/WebContent/css/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png b/org.tizen.common.verrari.server/WebContent/css/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png deleted file mode 100755 index 5b5dab2..0000000 Binary files a/org.tizen.common.verrari.server/WebContent/css/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png and /dev/null differ diff --git a/org.tizen.common.verrari.server/WebContent/css/themes/base/images/ui-bg_flat_75_ffffff_40x100.png b/org.tizen.common.verrari.server/WebContent/css/themes/base/images/ui-bg_flat_75_ffffff_40x100.png deleted file mode 100755 index ac8b229..0000000 Binary files a/org.tizen.common.verrari.server/WebContent/css/themes/base/images/ui-bg_flat_75_ffffff_40x100.png and /dev/null differ diff --git a/org.tizen.common.verrari.server/WebContent/css/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png b/org.tizen.common.verrari.server/WebContent/css/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png deleted file mode 100755 index ad3d634..0000000 Binary files a/org.tizen.common.verrari.server/WebContent/css/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png and /dev/null differ diff --git a/org.tizen.common.verrari.server/WebContent/css/themes/base/images/ui-bg_glass_65_ffffff_1x400.png b/org.tizen.common.verrari.server/WebContent/css/themes/base/images/ui-bg_glass_65_ffffff_1x400.png deleted file mode 100755 index 42ccba2..0000000 Binary files a/org.tizen.common.verrari.server/WebContent/css/themes/base/images/ui-bg_glass_65_ffffff_1x400.png and /dev/null differ diff --git a/org.tizen.common.verrari.server/WebContent/css/themes/base/images/ui-bg_glass_75_dadada_1x400.png b/org.tizen.common.verrari.server/WebContent/css/themes/base/images/ui-bg_glass_75_dadada_1x400.png deleted file mode 100755 index 5a46b47..0000000 Binary files a/org.tizen.common.verrari.server/WebContent/css/themes/base/images/ui-bg_glass_75_dadada_1x400.png and /dev/null differ diff --git a/org.tizen.common.verrari.server/WebContent/css/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png b/org.tizen.common.verrari.server/WebContent/css/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png deleted file mode 100755 index 86c2baa..0000000 Binary files a/org.tizen.common.verrari.server/WebContent/css/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png and /dev/null differ diff --git a/org.tizen.common.verrari.server/WebContent/css/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png b/org.tizen.common.verrari.server/WebContent/css/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png deleted file mode 100755 index 4443fdc..0000000 Binary files a/org.tizen.common.verrari.server/WebContent/css/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png and /dev/null differ diff --git a/org.tizen.common.verrari.server/WebContent/css/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png b/org.tizen.common.verrari.server/WebContent/css/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png deleted file mode 100755 index 7c9fa6c..0000000 Binary files a/org.tizen.common.verrari.server/WebContent/css/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png and /dev/null differ diff --git a/org.tizen.common.verrari.server/WebContent/css/themes/base/images/ui-icons_222222_256x240.png b/org.tizen.common.verrari.server/WebContent/css/themes/base/images/ui-icons_222222_256x240.png deleted file mode 100755 index ee039dc..0000000 Binary files a/org.tizen.common.verrari.server/WebContent/css/themes/base/images/ui-icons_222222_256x240.png and /dev/null differ diff --git a/org.tizen.common.verrari.server/WebContent/css/themes/base/images/ui-icons_2e83ff_256x240.png b/org.tizen.common.verrari.server/WebContent/css/themes/base/images/ui-icons_2e83ff_256x240.png deleted file mode 100755 index 45e8928..0000000 Binary files a/org.tizen.common.verrari.server/WebContent/css/themes/base/images/ui-icons_2e83ff_256x240.png and /dev/null differ diff --git a/org.tizen.common.verrari.server/WebContent/css/themes/base/images/ui-icons_454545_256x240.png b/org.tizen.common.verrari.server/WebContent/css/themes/base/images/ui-icons_454545_256x240.png deleted file mode 100755 index 7ec70d1..0000000 Binary files a/org.tizen.common.verrari.server/WebContent/css/themes/base/images/ui-icons_454545_256x240.png and /dev/null differ diff --git a/org.tizen.common.verrari.server/WebContent/css/themes/base/images/ui-icons_888888_256x240.png b/org.tizen.common.verrari.server/WebContent/css/themes/base/images/ui-icons_888888_256x240.png deleted file mode 100755 index 5ba708c..0000000 Binary files a/org.tizen.common.verrari.server/WebContent/css/themes/base/images/ui-icons_888888_256x240.png and /dev/null differ diff --git a/org.tizen.common.verrari.server/WebContent/css/themes/base/images/ui-icons_cd0a0a_256x240.png b/org.tizen.common.verrari.server/WebContent/css/themes/base/images/ui-icons_cd0a0a_256x240.png deleted file mode 100755 index 7930a55..0000000 Binary files a/org.tizen.common.verrari.server/WebContent/css/themes/base/images/ui-icons_cd0a0a_256x240.png and /dev/null differ diff --git a/org.tizen.common.verrari.server/WebContent/css/themes/base/jquery.ui.accordion.css b/org.tizen.common.verrari.server/WebContent/css/themes/base/jquery.ui.accordion.css deleted file mode 100755 index 0470632..0000000 --- a/org.tizen.common.verrari.server/WebContent/css/themes/base/jquery.ui.accordion.css +++ /dev/null @@ -1,19 +0,0 @@ -/*! - * jQuery UI Accordion @VERSION - * - * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Accordion#theming - */ -/* IE/Win - Fix animation bug - #4615 */ -.ui-accordion { width: 100%; } -.ui-accordion .ui-accordion-header { cursor: pointer; position: relative; margin-top: 1px; zoom: 1; } -.ui-accordion .ui-accordion-li-fix { display: inline; } -.ui-accordion .ui-accordion-header-active { border-bottom: 0 !important; } -.ui-accordion .ui-accordion-header a { display: block; font-size: 1em; padding: .5em .5em .5em .7em; } -.ui-accordion-icons .ui-accordion-header a { padding-left: 2.2em; } -.ui-accordion .ui-accordion-header .ui-icon { position: absolute; left: .5em; top: 50%; margin-top: -8px; } -.ui-accordion .ui-accordion-content { padding: 1em 2.2em; border-top: 0; margin-top: -2px; position: relative; top: 1px; margin-bottom: 2px; overflow: auto; display: none; zoom: 1; } -.ui-accordion .ui-accordion-content-active { display: block; } diff --git a/org.tizen.common.verrari.server/WebContent/css/themes/base/jquery.ui.all.css b/org.tizen.common.verrari.server/WebContent/css/themes/base/jquery.ui.all.css deleted file mode 100755 index e231097..0000000 --- a/org.tizen.common.verrari.server/WebContent/css/themes/base/jquery.ui.all.css +++ /dev/null @@ -1,11 +0,0 @@ -/*! - * jQuery UI CSS Framework @VERSION - * - * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Theming - */ -@import "jquery.ui.base.css"; -@import "jquery.ui.theme.css"; diff --git a/org.tizen.common.verrari.server/WebContent/css/themes/base/jquery.ui.autocomplete.css b/org.tizen.common.verrari.server/WebContent/css/themes/base/jquery.ui.autocomplete.css deleted file mode 100755 index 23683b3..0000000 --- a/org.tizen.common.verrari.server/WebContent/css/themes/base/jquery.ui.autocomplete.css +++ /dev/null @@ -1,53 +0,0 @@ -/*! - * jQuery UI Autocomplete @VERSION - * - * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Autocomplete#theming - */ -.ui-autocomplete { position: absolute; cursor: default; } - -/* workarounds */ -* html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */ - -/* - * jQuery UI Menu @VERSION - * - * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Menu#theming - */ -.ui-menu { - list-style:none; - padding: 2px; - margin: 0; - display:block; - float: left; -} -.ui-menu .ui-menu { - margin-top: -3px; -} -.ui-menu .ui-menu-item { - margin:0; - padding: 0; - zoom: 1; - float: left; - clear: left; - width: 100%; -} -.ui-menu .ui-menu-item a { - text-decoration:none; - display:block; - padding:.2em .4em; - line-height:1.5; - zoom:1; -} -.ui-menu .ui-menu-item a.ui-state-hover, -.ui-menu .ui-menu-item a.ui-state-active { - font-weight: normal; - margin: -1px; -} diff --git a/org.tizen.common.verrari.server/WebContent/css/themes/base/jquery.ui.base.css b/org.tizen.common.verrari.server/WebContent/css/themes/base/jquery.ui.base.css deleted file mode 100755 index 07adfa1..0000000 --- a/org.tizen.common.verrari.server/WebContent/css/themes/base/jquery.ui.base.css +++ /dev/null @@ -1,21 +0,0 @@ -/*! - * jQuery UI CSS Framework @VERSION - * - * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Theming - */ -@import url("jquery.ui.core.css"); - -@import url("jquery.ui.accordion.css"); -@import url("jquery.ui.autocomplete.css"); -@import url("jquery.ui.button.css"); -@import url("jquery.ui.datepicker.css"); -@import url("jquery.ui.dialog.css"); -@import url("jquery.ui.progressbar.css"); -@import url("jquery.ui.resizable.css"); -@import url("jquery.ui.selectable.css"); -@import url("jquery.ui.slider.css"); -@import url("jquery.ui.tabs.css"); diff --git a/org.tizen.common.verrari.server/WebContent/css/themes/base/jquery.ui.button.css b/org.tizen.common.verrari.server/WebContent/css/themes/base/jquery.ui.button.css deleted file mode 100755 index 8734065..0000000 --- a/org.tizen.common.verrari.server/WebContent/css/themes/base/jquery.ui.button.css +++ /dev/null @@ -1,38 +0,0 @@ -/*! - * jQuery UI Button @VERSION - * - * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Button#theming - */ -.ui-button { display: inline-block; position: relative; padding: 0; margin-right: .1em; text-decoration: none !important; cursor: pointer; text-align: center; zoom: 1; overflow: visible; } /* the overflow property removes extra width in IE */ -.ui-button-icon-only { width: 2.2em; } /* to make room for the icon, a width needs to be set here */ -button.ui-button-icon-only { width: 2.4em; } /* button elements seem to need a little more width */ -.ui-button-icons-only { width: 3.4em; } -button.ui-button-icons-only { width: 3.7em; } - -/*button text element */ -.ui-button .ui-button-text { display: block; line-height: 1.4; } -.ui-button-text-only .ui-button-text { padding: .4em 1em; } -.ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text { padding: .4em; text-indent: -9999999px; } -.ui-button-text-icon-primary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 1em .4em 2.1em; } -.ui-button-text-icon-secondary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 2.1em .4em 1em; } -.ui-button-text-icons .ui-button-text { padding-left: 2.1em; padding-right: 2.1em; } -/* no icon support for input elements, provide padding by default */ -input.ui-button { padding: .4em 1em; } - -/*button icon element(s) */ -.ui-button-icon-only .ui-icon, .ui-button-text-icon-primary .ui-icon, .ui-button-text-icon-secondary .ui-icon, .ui-button-text-icons .ui-icon, .ui-button-icons-only .ui-icon { position: absolute; top: 50%; margin-top: -8px; } -.ui-button-icon-only .ui-icon { left: 50%; margin-left: -8px; } -.ui-button-text-icon-primary .ui-button-icon-primary, .ui-button-text-icons .ui-button-icon-primary, .ui-button-icons-only .ui-button-icon-primary { left: .5em; } -.ui-button-text-icon-secondary .ui-button-icon-secondary, .ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; } -.ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; } - -/*button sets*/ -.ui-buttonset { margin-right: 7px; } -.ui-buttonset .ui-button { margin-left: 0; margin-right: -.3em; } - -/* workarounds */ -button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra padding in Firefox */ diff --git a/org.tizen.common.verrari.server/WebContent/css/themes/base/jquery.ui.core.css b/org.tizen.common.verrari.server/WebContent/css/themes/base/jquery.ui.core.css deleted file mode 100755 index dc27c56..0000000 --- a/org.tizen.common.verrari.server/WebContent/css/themes/base/jquery.ui.core.css +++ /dev/null @@ -1,38 +0,0 @@ -/*! - * jQuery UI CSS Framework @VERSION - * - * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Theming/API - */ - -/* Layout helpers -----------------------------------*/ -.ui-helper-hidden { display: none; } -.ui-helper-hidden-accessible { position: absolute !important; clip: rect(1px 1px 1px 1px); clip: rect(1px,1px,1px,1px); } -.ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; } -.ui-helper-clearfix:before, .ui-helper-clearfix:after { content: ""; display: table; } -.ui-helper-clearfix:after { clear: both; } -.ui-helper-clearfix { zoom: 1; } -.ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); } - - -/* Interaction Cues -----------------------------------*/ -.ui-state-disabled { cursor: default !important; } - - -/* Icons -----------------------------------*/ - -/* states and images */ -.ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; } - - -/* Misc visuals -----------------------------------*/ - -/* Overlays */ -.ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } diff --git a/org.tizen.common.verrari.server/WebContent/css/themes/base/jquery.ui.datepicker.css b/org.tizen.common.verrari.server/WebContent/css/themes/base/jquery.ui.datepicker.css deleted file mode 100755 index 60ed0c8..0000000 --- a/org.tizen.common.verrari.server/WebContent/css/themes/base/jquery.ui.datepicker.css +++ /dev/null @@ -1,66 +0,0 @@ -/*! - * jQuery UI Datepicker @VERSION - * - * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Datepicker#theming - */ -.ui-datepicker { width: 17em; padding: .2em .2em 0; display: none; } -.ui-datepicker .ui-datepicker-header { position:relative; padding:.2em 0; } -.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 2px; width: 1.8em; height: 1.8em; } -.ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { top: 1px; } -.ui-datepicker .ui-datepicker-prev { left:2px; } -.ui-datepicker .ui-datepicker-next { right:2px; } -.ui-datepicker .ui-datepicker-prev-hover { left:1px; } -.ui-datepicker .ui-datepicker-next-hover { right:1px; } -.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px; } -.ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; } -.ui-datepicker .ui-datepicker-title select { font-size:1em; margin:1px 0; } -.ui-datepicker select.ui-datepicker-month-year {width: 100%;} -.ui-datepicker select.ui-datepicker-month, -.ui-datepicker select.ui-datepicker-year { width: 49%;} -.ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; } -.ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0; } -.ui-datepicker td { border: 0; padding: 1px; } -.ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: right; text-decoration: none; } -.ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; } -.ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; } -.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; } - -/* with multiple calendars */ -.ui-datepicker.ui-datepicker-multi { width:auto; } -.ui-datepicker-multi .ui-datepicker-group { float:left; } -.ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; } -.ui-datepicker-multi-2 .ui-datepicker-group { width:50%; } -.ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; } -.ui-datepicker-multi-4 .ui-datepicker-group { width:25%; } -.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; } -.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; } -.ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; } -.ui-datepicker-row-break { clear:both; width:100%; font-size:0em; } - -/* RTL support */ -.ui-datepicker-rtl { direction: rtl; } -.ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; } -.ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; } -.ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; } -.ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; } -.ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; } -.ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; } -.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; } -.ui-datepicker-rtl .ui-datepicker-group { float:right; } -.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; } -.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; } - -/* IE6 IFRAME FIX (taken from datepicker 1.5.3 */ -.ui-datepicker-cover { - position: absolute; /*must have*/ - z-index: -1; /*must have*/ - filter: mask(); /*must have*/ - top: -4px; /*must have*/ - left: -4px; /*must have*/ - width: 200px; /*must have*/ - height: 200px; /*must have*/ -} \ No newline at end of file diff --git a/org.tizen.common.verrari.server/WebContent/css/themes/base/jquery.ui.dialog.css b/org.tizen.common.verrari.server/WebContent/css/themes/base/jquery.ui.dialog.css deleted file mode 100755 index 17100ae..0000000 --- a/org.tizen.common.verrari.server/WebContent/css/themes/base/jquery.ui.dialog.css +++ /dev/null @@ -1,21 +0,0 @@ -/*! - * jQuery UI Dialog @VERSION - * - * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Dialog#theming - */ -.ui-dialog { position: absolute; padding: .2em; width: 300px; overflow: hidden; } -.ui-dialog .ui-dialog-titlebar { padding: .4em 1em; position: relative; } -.ui-dialog .ui-dialog-title { float: left; margin: .1em 16px .1em 0; } -.ui-dialog .ui-dialog-titlebar-close { position: absolute; right: .3em; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; } -.ui-dialog .ui-dialog-titlebar-close span { display: block; margin: 1px; } -.ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { padding: 0; } -.ui-dialog .ui-dialog-content { position: relative; border: 0; padding: .5em 1em; background: none; overflow: auto; zoom: 1; } -.ui-dialog .ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background-image: none; margin: .5em 0 0 0; padding: .3em 1em .5em .4em; } -.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { float: right; } -.ui-dialog .ui-dialog-buttonpane button { margin: .5em .4em .5em 0; cursor: pointer; } -.ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; } -.ui-draggable .ui-dialog-titlebar { cursor: move; } diff --git a/org.tizen.common.verrari.server/WebContent/css/themes/base/jquery.ui.progressbar.css b/org.tizen.common.verrari.server/WebContent/css/themes/base/jquery.ui.progressbar.css deleted file mode 100755 index d198bb4..0000000 --- a/org.tizen.common.verrari.server/WebContent/css/themes/base/jquery.ui.progressbar.css +++ /dev/null @@ -1,11 +0,0 @@ -/*! - * jQuery UI Progressbar @VERSION - * - * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Progressbar#theming - */ -.ui-progressbar { height:2em; text-align: left; overflow: hidden; } -.ui-progressbar .ui-progressbar-value {margin: -1px; height:100%; } \ No newline at end of file diff --git a/org.tizen.common.verrari.server/WebContent/css/themes/base/jquery.ui.resizable.css b/org.tizen.common.verrari.server/WebContent/css/themes/base/jquery.ui.resizable.css deleted file mode 100755 index 0bb688d..0000000 --- a/org.tizen.common.verrari.server/WebContent/css/themes/base/jquery.ui.resizable.css +++ /dev/null @@ -1,20 +0,0 @@ -/*! - * jQuery UI Resizable @VERSION - * - * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Resizable#theming - */ -.ui-resizable { position: relative;} -.ui-resizable-handle { position: absolute;font-size: 0.1px; display: block; } -.ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; } -.ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0; } -.ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0; } -.ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0; height: 100%; } -.ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0; height: 100%; } -.ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; } -.ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; } -.ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; } -.ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;} \ No newline at end of file diff --git a/org.tizen.common.verrari.server/WebContent/css/themes/base/jquery.ui.selectable.css b/org.tizen.common.verrari.server/WebContent/css/themes/base/jquery.ui.selectable.css deleted file mode 100755 index 2aa7319..0000000 --- a/org.tizen.common.verrari.server/WebContent/css/themes/base/jquery.ui.selectable.css +++ /dev/null @@ -1,10 +0,0 @@ -/*! - * jQuery UI Selectable @VERSION - * - * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Selectable#theming - */ -.ui-selectable-helper { position: absolute; z-index: 100; border:1px dotted black; } diff --git a/org.tizen.common.verrari.server/WebContent/css/themes/base/jquery.ui.slider.css b/org.tizen.common.verrari.server/WebContent/css/themes/base/jquery.ui.slider.css deleted file mode 100755 index 94d883a..0000000 --- a/org.tizen.common.verrari.server/WebContent/css/themes/base/jquery.ui.slider.css +++ /dev/null @@ -1,24 +0,0 @@ -/*! - * jQuery UI Slider @VERSION - * - * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Slider#theming - */ -.ui-slider { position: relative; text-align: left; } -.ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 1.2em; height: 1.2em; cursor: default; } -.ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; background-position: 0 0; } - -.ui-slider-horizontal { height: .8em; } -.ui-slider-horizontal .ui-slider-handle { top: -.3em; margin-left: -.6em; } -.ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; } -.ui-slider-horizontal .ui-slider-range-min { left: 0; } -.ui-slider-horizontal .ui-slider-range-max { right: 0; } - -.ui-slider-vertical { width: .8em; height: 100px; } -.ui-slider-vertical .ui-slider-handle { left: -.3em; margin-left: 0; margin-bottom: -.6em; } -.ui-slider-vertical .ui-slider-range { left: 0; width: 100%; } -.ui-slider-vertical .ui-slider-range-min { bottom: 0; } -.ui-slider-vertical .ui-slider-range-max { top: 0; } \ No newline at end of file diff --git a/org.tizen.common.verrari.server/WebContent/css/themes/base/jquery.ui.tabs.css b/org.tizen.common.verrari.server/WebContent/css/themes/base/jquery.ui.tabs.css deleted file mode 100755 index b28f500..0000000 --- a/org.tizen.common.verrari.server/WebContent/css/themes/base/jquery.ui.tabs.css +++ /dev/null @@ -1,18 +0,0 @@ -/*! - * jQuery UI Tabs @VERSION - * - * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Tabs#theming - */ -.ui-tabs { position: relative; padding: .2em; zoom: 1; } /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */ -.ui-tabs .ui-tabs-nav { margin: 0; padding: .2em .2em 0; } -.ui-tabs .ui-tabs-nav li { list-style: none; float: left; position: relative; top: 1px; margin: 0 .2em 1px 0; border-bottom: 0 !important; padding: 0; white-space: nowrap; } -.ui-tabs .ui-tabs-nav li a { float: left; padding: .5em 1em; text-decoration: none; } -.ui-tabs .ui-tabs-nav li.ui-tabs-selected { margin-bottom: 0; padding-bottom: 1px; } -.ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; } -.ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */ -.ui-tabs .ui-tabs-panel { display: block; border-width: 0; padding: 1em 1.4em; background: none; } -.ui-tabs .ui-tabs-hide { display: none !important; } diff --git a/org.tizen.common.verrari.server/WebContent/css/themes/base/jquery.ui.theme.css b/org.tizen.common.verrari.server/WebContent/css/themes/base/jquery.ui.theme.css deleted file mode 100755 index 6c31d7d..0000000 --- a/org.tizen.common.verrari.server/WebContent/css/themes/base/jquery.ui.theme.css +++ /dev/null @@ -1,247 +0,0 @@ -/*! - * jQuery UI CSS Framework @VERSION - * - * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Theming/API - * - * To view and modify this theme, visit http://jqueryui.com/themeroller/ - */ - - -/* Component containers -----------------------------------*/ -.ui-widget { font-family: Verdana,Arial,sans-serif/*{ffDefault}*/; font-size: 1.1em/*{fsDefault}*/; } -.ui-widget .ui-widget { font-size: 1em; } -.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Verdana,Arial,sans-serif/*{ffDefault}*/; font-size: 1em; } -.ui-widget-content { border: 1px solid #aaaaaa/*{borderColorContent}*/; background: #ffffff/*{bgColorContent}*/ url(images/ui-bg_flat_75_ffffff_40x100.png)/*{bgImgUrlContent}*/ 50%/*{bgContentXPos}*/ 50%/*{bgContentYPos}*/ repeat-x/*{bgContentRepeat}*/; color: #222222/*{fcContent}*/; } -.ui-widget-content a { color: #222222/*{fcContent}*/; } -.ui-widget-header { border: 1px solid #aaaaaa/*{borderColorHeader}*/; background: #cccccc/*{bgColorHeader}*/ url(images/ui-bg_highlight-soft_75_cccccc_1x100.png)/*{bgImgUrlHeader}*/ 50%/*{bgHeaderXPos}*/ 50%/*{bgHeaderYPos}*/ repeat-x/*{bgHeaderRepeat}*/; color: #222222/*{fcHeader}*/; font-weight: bold; } -.ui-widget-header a { color: #222222/*{fcHeader}*/; } - -/* Interaction states -----------------------------------*/ -.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { border: 1px solid #d3d3d3/*{borderColorDefault}*/; background: #e6e6e6/*{bgColorDefault}*/ url(images/ui-bg_glass_75_e6e6e6_1x400.png)/*{bgImgUrlDefault}*/ 50%/*{bgDefaultXPos}*/ 50%/*{bgDefaultYPos}*/ repeat-x/*{bgDefaultRepeat}*/; font-weight: normal/*{fwDefault}*/; color: #555555/*{fcDefault}*/; } -.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #555555/*{fcDefault}*/; text-decoration: none; } -.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: 1px solid #999999/*{borderColorHover}*/; background: #dadada/*{bgColorHover}*/ url(images/ui-bg_glass_75_dadada_1x400.png)/*{bgImgUrlHover}*/ 50%/*{bgHoverXPos}*/ 50%/*{bgHoverYPos}*/ repeat-x/*{bgHoverRepeat}*/; font-weight: normal/*{fwDefault}*/; color: #212121/*{fcHover}*/; } -.ui-state-hover a, .ui-state-hover a:hover { color: #212121/*{fcHover}*/; text-decoration: none; } -.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: 1px solid #aaaaaa/*{borderColorActive}*/; background: #ffffff/*{bgColorActive}*/ url(images/ui-bg_glass_65_ffffff_1x400.png)/*{bgImgUrlActive}*/ 50%/*{bgActiveXPos}*/ 50%/*{bgActiveYPos}*/ repeat-x/*{bgActiveRepeat}*/; font-weight: normal/*{fwDefault}*/; color: #212121/*{fcActive}*/; } -.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #212121/*{fcActive}*/; text-decoration: none; } -.ui-widget :active { outline: none; } - -/* Interaction Cues -----------------------------------*/ -.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {border: 1px solid #fcefa1/*{borderColorHighlight}*/; background: #fbf9ee/*{bgColorHighlight}*/ url(images/ui-bg_glass_55_fbf9ee_1x400.png)/*{bgImgUrlHighlight}*/ 50%/*{bgHighlightXPos}*/ 50%/*{bgHighlightYPos}*/ repeat-x/*{bgHighlightRepeat}*/; color: #363636/*{fcHighlight}*/; } -.ui-state-highlight a, .ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a { color: #363636/*{fcHighlight}*/; } -.ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error {border: 1px solid #cd0a0a/*{borderColorError}*/; background: #fef1ec/*{bgColorError}*/ url(images/ui-bg_glass_95_fef1ec_1x400.png)/*{bgImgUrlError}*/ 50%/*{bgErrorXPos}*/ 50%/*{bgErrorYPos}*/ repeat-x/*{bgErrorRepeat}*/; color: #cd0a0a/*{fcError}*/; } -.ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a { color: #cd0a0a/*{fcError}*/; } -.ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { color: #cd0a0a/*{fcError}*/; } -.ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary { font-weight: bold; } -.ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; } -.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; } - -/* Icons -----------------------------------*/ - -/* states and images */ -.ui-icon { width: 16px; height: 16px; background-image: url(images/ui-icons_222222_256x240.png)/*{iconsContent}*/; } -.ui-widget-content .ui-icon {background-image: url(images/ui-icons_222222_256x240.png)/*{iconsContent}*/; } -.ui-widget-header .ui-icon {background-image: url(images/ui-icons_222222_256x240.png)/*{iconsHeader}*/; } -.ui-state-default .ui-icon { background-image: url(images/ui-icons_888888_256x240.png)/*{iconsDefault}*/; } -.ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(images/ui-icons_454545_256x240.png)/*{iconsHover}*/; } -.ui-state-active .ui-icon {background-image: url(images/ui-icons_454545_256x240.png)/*{iconsActive}*/; } -.ui-state-highlight .ui-icon {background-image: url(images/ui-icons_2e83ff_256x240.png)/*{iconsHighlight}*/; } -.ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(images/ui-icons_cd0a0a_256x240.png)/*{iconsError}*/; } - -/* positioning */ -.ui-icon-carat-1-n { background-position: 0 0; } -.ui-icon-carat-1-ne { background-position: -16px 0; } -.ui-icon-carat-1-e { background-position: -32px 0; } -.ui-icon-carat-1-se { background-position: -48px 0; } -.ui-icon-carat-1-s { background-position: -64px 0; } -.ui-icon-carat-1-sw { background-position: -80px 0; } -.ui-icon-carat-1-w { background-position: -96px 0; } -.ui-icon-carat-1-nw { background-position: -112px 0; } -.ui-icon-carat-2-n-s { background-position: -128px 0; } -.ui-icon-carat-2-e-w { background-position: -144px 0; } -.ui-icon-triangle-1-n { background-position: 0 -16px; } -.ui-icon-triangle-1-ne { background-position: -16px -16px; } -.ui-icon-triangle-1-e { background-position: -32px -16px; } -.ui-icon-triangle-1-se { background-position: -48px -16px; } -.ui-icon-triangle-1-s { background-position: -64px -16px; } -.ui-icon-triangle-1-sw { background-position: -80px -16px; } -.ui-icon-triangle-1-w { background-position: -96px -16px; } -.ui-icon-triangle-1-nw { background-position: -112px -16px; } -.ui-icon-triangle-2-n-s { background-position: -128px -16px; } -.ui-icon-triangle-2-e-w { background-position: -144px -16px; } -.ui-icon-arrow-1-n { background-position: 0 -32px; } -.ui-icon-arrow-1-ne { background-position: -16px -32px; } -.ui-icon-arrow-1-e { background-position: -32px -32px; } -.ui-icon-arrow-1-se { background-position: -48px -32px; } -.ui-icon-arrow-1-s { background-position: -64px -32px; } -.ui-icon-arrow-1-sw { background-position: -80px -32px; } -.ui-icon-arrow-1-w { background-position: -96px -32px; } -.ui-icon-arrow-1-nw { background-position: -112px -32px; } -.ui-icon-arrow-2-n-s { background-position: -128px -32px; } -.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; } -.ui-icon-arrow-2-e-w { background-position: -160px -32px; } -.ui-icon-arrow-2-se-nw { background-position: -176px -32px; } -.ui-icon-arrowstop-1-n { background-position: -192px -32px; } -.ui-icon-arrowstop-1-e { background-position: -208px -32px; } -.ui-icon-arrowstop-1-s { background-position: -224px -32px; } -.ui-icon-arrowstop-1-w { background-position: -240px -32px; } -.ui-icon-arrowthick-1-n { background-position: 0 -48px; } -.ui-icon-arrowthick-1-ne { background-position: -16px -48px; } -.ui-icon-arrowthick-1-e { background-position: -32px -48px; } -.ui-icon-arrowthick-1-se { background-position: -48px -48px; } -.ui-icon-arrowthick-1-s { background-position: -64px -48px; } -.ui-icon-arrowthick-1-sw { background-position: -80px -48px; } -.ui-icon-arrowthick-1-w { background-position: -96px -48px; } -.ui-icon-arrowthick-1-nw { background-position: -112px -48px; } -.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; } -.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; } -.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; } -.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; } -.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; } -.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; } -.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; } -.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; } -.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; } -.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; } -.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; } -.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; } -.ui-icon-arrowreturn-1-w { background-position: -64px -64px; } -.ui-icon-arrowreturn-1-n { background-position: -80px -64px; } -.ui-icon-arrowreturn-1-e { background-position: -96px -64px; } -.ui-icon-arrowreturn-1-s { background-position: -112px -64px; } -.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; } -.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; } -.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; } -.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; } -.ui-icon-arrow-4 { background-position: 0 -80px; } -.ui-icon-arrow-4-diag { background-position: -16px -80px; } -.ui-icon-extlink { background-position: -32px -80px; } -.ui-icon-newwin { background-position: -48px -80px; } -.ui-icon-refresh { background-position: -64px -80px; } -.ui-icon-shuffle { background-position: -80px -80px; } -.ui-icon-transfer-e-w { background-position: -96px -80px; } -.ui-icon-transferthick-e-w { background-position: -112px -80px; } -.ui-icon-folder-collapsed { background-position: 0 -96px; } -.ui-icon-folder-open { background-position: -16px -96px; } -.ui-icon-document { background-position: -32px -96px; } -.ui-icon-document-b { background-position: -48px -96px; } -.ui-icon-note { background-position: -64px -96px; } -.ui-icon-mail-closed { background-position: -80px -96px; } -.ui-icon-mail-open { background-position: -96px -96px; } -.ui-icon-suitcase { background-position: -112px -96px; } -.ui-icon-comment { background-position: -128px -96px; } -.ui-icon-person { background-position: -144px -96px; } -.ui-icon-print { background-position: -160px -96px; } -.ui-icon-trash { background-position: -176px -96px; } -.ui-icon-locked { background-position: -192px -96px; } -.ui-icon-unlocked { background-position: -208px -96px; } -.ui-icon-bookmark { background-position: -224px -96px; } -.ui-icon-tag { background-position: -240px -96px; } -.ui-icon-home { background-position: 0 -112px; } -.ui-icon-flag { background-position: -16px -112px; } -.ui-icon-calendar { background-position: -32px -112px; } -.ui-icon-cart { background-position: -48px -112px; } -.ui-icon-pencil { background-position: -64px -112px; } -.ui-icon-clock { background-position: -80px -112px; } -.ui-icon-disk { background-position: -96px -112px; } -.ui-icon-calculator { background-position: -112px -112px; } -.ui-icon-zoomin { background-position: -128px -112px; } -.ui-icon-zoomout { background-position: -144px -112px; } -.ui-icon-search { background-position: -160px -112px; } -.ui-icon-wrench { background-position: -176px -112px; } -.ui-icon-gear { background-position: -192px -112px; } -.ui-icon-heart { background-position: -208px -112px; } -.ui-icon-star { background-position: -224px -112px; } -.ui-icon-link { background-position: -240px -112px; } -.ui-icon-cancel { background-position: 0 -128px; } -.ui-icon-plus { background-position: -16px -128px; } -.ui-icon-plusthick { background-position: -32px -128px; } -.ui-icon-minus { background-position: -48px -128px; } -.ui-icon-minusthick { background-position: -64px -128px; } -.ui-icon-close { background-position: -80px -128px; } -.ui-icon-closethick { background-position: -96px -128px; } -.ui-icon-key { background-position: -112px -128px; } -.ui-icon-lightbulb { background-position: -128px -128px; } -.ui-icon-scissors { background-position: -144px -128px; } -.ui-icon-clipboard { background-position: -160px -128px; } -.ui-icon-copy { background-position: -176px -128px; } -.ui-icon-contact { background-position: -192px -128px; } -.ui-icon-image { background-position: -208px -128px; } -.ui-icon-video { background-position: -224px -128px; } -.ui-icon-script { background-position: -240px -128px; } -.ui-icon-alert { background-position: 0 -144px; } -.ui-icon-info { background-position: -16px -144px; } -.ui-icon-notice { background-position: -32px -144px; } -.ui-icon-help { background-position: -48px -144px; } -.ui-icon-check { background-position: -64px -144px; } -.ui-icon-bullet { background-position: -80px -144px; } -.ui-icon-radio-off { background-position: -96px -144px; } -.ui-icon-radio-on { background-position: -112px -144px; } -.ui-icon-pin-w { background-position: -128px -144px; } -.ui-icon-pin-s { background-position: -144px -144px; } -.ui-icon-play { background-position: 0 -160px; } -.ui-icon-pause { background-position: -16px -160px; } -.ui-icon-seek-next { background-position: -32px -160px; } -.ui-icon-seek-prev { background-position: -48px -160px; } -.ui-icon-seek-end { background-position: -64px -160px; } -.ui-icon-seek-start { background-position: -80px -160px; } -/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */ -.ui-icon-seek-first { background-position: -80px -160px; } -.ui-icon-stop { background-position: -96px -160px; } -.ui-icon-eject { background-position: -112px -160px; } -.ui-icon-volume-off { background-position: -128px -160px; } -.ui-icon-volume-on { background-position: -144px -160px; } -.ui-icon-power { background-position: 0 -176px; } -.ui-icon-signal-diag { background-position: -16px -176px; } -.ui-icon-signal { background-position: -32px -176px; } -.ui-icon-battery-0 { background-position: -48px -176px; } -.ui-icon-battery-1 { background-position: -64px -176px; } -.ui-icon-battery-2 { background-position: -80px -176px; } -.ui-icon-battery-3 { background-position: -96px -176px; } -.ui-icon-circle-plus { background-position: 0 -192px; } -.ui-icon-circle-minus { background-position: -16px -192px; } -.ui-icon-circle-close { background-position: -32px -192px; } -.ui-icon-circle-triangle-e { background-position: -48px -192px; } -.ui-icon-circle-triangle-s { background-position: -64px -192px; } -.ui-icon-circle-triangle-w { background-position: -80px -192px; } -.ui-icon-circle-triangle-n { background-position: -96px -192px; } -.ui-icon-circle-arrow-e { background-position: -112px -192px; } -.ui-icon-circle-arrow-s { background-position: -128px -192px; } -.ui-icon-circle-arrow-w { background-position: -144px -192px; } -.ui-icon-circle-arrow-n { background-position: -160px -192px; } -.ui-icon-circle-zoomin { background-position: -176px -192px; } -.ui-icon-circle-zoomout { background-position: -192px -192px; } -.ui-icon-circle-check { background-position: -208px -192px; } -.ui-icon-circlesmall-plus { background-position: 0 -208px; } -.ui-icon-circlesmall-minus { background-position: -16px -208px; } -.ui-icon-circlesmall-close { background-position: -32px -208px; } -.ui-icon-squaresmall-plus { background-position: -48px -208px; } -.ui-icon-squaresmall-minus { background-position: -64px -208px; } -.ui-icon-squaresmall-close { background-position: -80px -208px; } -.ui-icon-grip-dotted-vertical { background-position: 0 -224px; } -.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; } -.ui-icon-grip-solid-vertical { background-position: -32px -224px; } -.ui-icon-grip-solid-horizontal { background-position: -48px -224px; } -.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; } -.ui-icon-grip-diagonal-se { background-position: -80px -224px; } - - -/* Misc visuals -----------------------------------*/ - -/* Corner radius */ -.ui-corner-all, .ui-corner-top, .ui-corner-left, .ui-corner-tl { -moz-border-radius-topleft: 4px/*{cornerRadius}*/; -webkit-border-top-left-radius: 4px/*{cornerRadius}*/; -khtml-border-top-left-radius: 4px/*{cornerRadius}*/; border-top-left-radius: 4px/*{cornerRadius}*/; } -.ui-corner-all, .ui-corner-top, .ui-corner-right, .ui-corner-tr { -moz-border-radius-topright: 4px/*{cornerRadius}*/; -webkit-border-top-right-radius: 4px/*{cornerRadius}*/; -khtml-border-top-right-radius: 4px/*{cornerRadius}*/; border-top-right-radius: 4px/*{cornerRadius}*/; } -.ui-corner-all, .ui-corner-bottom, .ui-corner-left, .ui-corner-bl { -moz-border-radius-bottomleft: 4px/*{cornerRadius}*/; -webkit-border-bottom-left-radius: 4px/*{cornerRadius}*/; -khtml-border-bottom-left-radius: 4px/*{cornerRadius}*/; border-bottom-left-radius: 4px/*{cornerRadius}*/; } -.ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-br { -moz-border-radius-bottomright: 4px/*{cornerRadius}*/; -webkit-border-bottom-right-radius: 4px/*{cornerRadius}*/; -khtml-border-bottom-right-radius: 4px/*{cornerRadius}*/; border-bottom-right-radius: 4px/*{cornerRadius}*/; } - -/* Overlays */ -.ui-widget-overlay { background: #aaaaaa/*{bgColorOverlay}*/ url(images/ui-bg_flat_0_aaaaaa_40x100.png)/*{bgImgUrlOverlay}*/ 50%/*{bgOverlayXPos}*/ 50%/*{bgOverlayYPos}*/ repeat-x/*{bgOverlayRepeat}*/; opacity: .3;filter:Alpha(Opacity=30)/*{opacityOverlay}*/; } -.ui-widget-shadow { margin: -8px/*{offsetTopShadow}*/ 0 0 -8px/*{offsetLeftShadow}*/; padding: 8px/*{thicknessShadow}*/; background: #aaaaaa/*{bgColorShadow}*/ url(images/ui-bg_flat_0_aaaaaa_40x100.png)/*{bgImgUrlShadow}*/ 50%/*{bgShadowXPos}*/ 50%/*{bgShadowYPos}*/ repeat-x/*{bgShadowRepeat}*/; opacity: .3;filter:Alpha(Opacity=30)/*{opacityShadow}*/; -moz-border-radius: 8px/*{cornerRadiusShadow}*/; -khtml-border-radius: 8px/*{cornerRadiusShadow}*/; -webkit-border-radius: 8px/*{cornerRadiusShadow}*/; border-radius: 8px/*{cornerRadiusShadow}*/; } \ No newline at end of file diff --git a/org.tizen.common.verrari.server/WebContent/html/main.html b/org.tizen.common.verrari.server/WebContent/html/main.html deleted file mode 100755 index be69b36..0000000 --- a/org.tizen.common.verrari.server/WebContent/html/main.html +++ /dev/null @@ -1,192 +0,0 @@ - - - - -Main - - - - - - - - - - -
-
-
-
-
- - - -
- - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/org.tizen.common.verrari.server/WebContent/html/popular.html b/org.tizen.common.verrari.server/WebContent/html/popular.html deleted file mode 100755 index d840aeb..0000000 --- a/org.tizen.common.verrari.server/WebContent/html/popular.html +++ /dev/null @@ -1,12 +0,0 @@ - - - - -Main - - - - - World - - \ No newline at end of file diff --git a/org.tizen.common.verrari.server/WebContent/html/recent.html b/org.tizen.common.verrari.server/WebContent/html/recent.html deleted file mode 100755 index eaff15d..0000000 --- a/org.tizen.common.verrari.server/WebContent/html/recent.html +++ /dev/null @@ -1,49 +0,0 @@ - - - - -Main - - - - -
-
-
-
- - - - - - - \ No newline at end of file diff --git a/org.tizen.common.verrari.server/WebContent/html/template.html b/org.tizen.common.verrari.server/WebContent/html/template.html deleted file mode 100755 index e090a04..0000000 --- a/org.tizen.common.verrari.server/WebContent/html/template.html +++ /dev/null @@ -1,44 +0,0 @@ - - - - -Template - - - - -
-
- - - - - - \ No newline at end of file diff --git a/org.tizen.common.verrari.server/WebContent/img/bg.gif b/org.tizen.common.verrari.server/WebContent/img/bg.gif deleted file mode 100755 index 1ae9884..0000000 Binary files a/org.tizen.common.verrari.server/WebContent/img/bg.gif and /dev/null differ diff --git a/org.tizen.common.verrari.server/WebContent/img/favicon.ico b/org.tizen.common.verrari.server/WebContent/img/favicon.ico deleted file mode 100755 index 02c8aed..0000000 Binary files a/org.tizen.common.verrari.server/WebContent/img/favicon.ico and /dev/null differ diff --git a/org.tizen.common.verrari.server/WebContent/img/glyphicons-halflings-white.png b/org.tizen.common.verrari.server/WebContent/img/glyphicons-halflings-white.png deleted file mode 100755 index 3bf6484..0000000 Binary files a/org.tizen.common.verrari.server/WebContent/img/glyphicons-halflings-white.png and /dev/null differ diff --git a/org.tizen.common.verrari.server/WebContent/img/glyphicons-halflings.png b/org.tizen.common.verrari.server/WebContent/img/glyphicons-halflings.png deleted file mode 100755 index a996999..0000000 Binary files a/org.tizen.common.verrari.server/WebContent/img/glyphicons-halflings.png and /dev/null differ diff --git a/org.tizen.common.verrari.server/WebContent/img/tizen-logo-white-mascot.png b/org.tizen.common.verrari.server/WebContent/img/tizen-logo-white-mascot.png deleted file mode 100755 index eb64a0d..0000000 Binary files a/org.tizen.common.verrari.server/WebContent/img/tizen-logo-white-mascot.png and /dev/null differ diff --git a/org.tizen.common.verrari.server/WebContent/js/backbone.js b/org.tizen.common.verrari.server/WebContent/js/backbone.js deleted file mode 100755 index 3373c95..0000000 --- a/org.tizen.common.verrari.server/WebContent/js/backbone.js +++ /dev/null @@ -1,1431 +0,0 @@ -// Backbone.js 0.9.2 - -// (c) 2010-2012 Jeremy Ashkenas, DocumentCloud Inc. -// Backbone may be freely distributed under the MIT license. -// For all details and documentation: -// http://backbonejs.org - -(function(){ - - // Initial Setup - // ------------- - - // Save a reference to the global object (`window` in the browser, `global` - // on the server). - var root = this; - - // Save the previous value of the `Backbone` variable, so that it can be - // restored later on, if `noConflict` is used. - var previousBackbone = root.Backbone; - - // Create a local reference to slice/splice. - var slice = Array.prototype.slice; - var splice = Array.prototype.splice; - - // The top-level namespace. All public Backbone classes and modules will - // be attached to this. Exported for both CommonJS and the browser. - var Backbone; - if (typeof exports !== 'undefined') { - Backbone = exports; - } else { - Backbone = root.Backbone = {}; - } - - // Current version of the library. Keep in sync with `package.json`. - Backbone.VERSION = '0.9.2'; - - // Require Underscore, if we're on the server, and it's not already present. - var _ = root._; - if (!_ && (typeof require !== 'undefined')) _ = require('underscore'); - - // For Backbone's purposes, jQuery, Zepto, or Ender owns the `$` variable. - var $ = root.jQuery || root.Zepto || root.ender; - - // Set the JavaScript library that will be used for DOM manipulation and - // Ajax calls (a.k.a. the `$` variable). By default Backbone will use: jQuery, - // Zepto, or Ender; but the `setDomLibrary()` method lets you inject an - // alternate JavaScript library (or a mock library for testing your views - // outside of a browser). - Backbone.setDomLibrary = function(lib) { - $ = lib; - }; - - // Runs Backbone.js in *noConflict* mode, returning the `Backbone` variable - // to its previous owner. Returns a reference to this Backbone object. - Backbone.noConflict = function() { - root.Backbone = previousBackbone; - return this; - }; - - // Turn on `emulateHTTP` to support legacy HTTP servers. Setting this option - // will fake `"PUT"` and `"DELETE"` requests via the `_method` parameter and - // set a `X-Http-Method-Override` header. - Backbone.emulateHTTP = false; - - // Turn on `emulateJSON` to support legacy servers that can't deal with direct - // `application/json` requests ... will encode the body as - // `application/x-www-form-urlencoded` instead and will send the model in a - // form param named `model`. - Backbone.emulateJSON = false; - - // Backbone.Events - // ----------------- - - // Regular expression used to split event strings - var eventSplitter = /\s+/; - - // A module that can be mixed in to *any object* in order to provide it with - // custom events. You may bind with `on` or remove with `off` callback functions - // to an event; trigger`-ing an event fires all callbacks in succession. - // - // var object = {}; - // _.extend(object, Backbone.Events); - // object.on('expand', function(){ alert('expanded'); }); - // object.trigger('expand'); - // - var Events = Backbone.Events = { - - // Bind one or more space separated events, `events`, to a `callback` - // function. Passing `"all"` will bind the callback to all events fired. - on: function(events, callback, context) { - - var calls, event, node, tail, list; - if (!callback) return this; - events = events.split(eventSplitter); - calls = this._callbacks || (this._callbacks = {}); - - // Create an immutable callback list, allowing traversal during - // modification. The tail is an empty object that will always be used - // as the next node. - while (event = events.shift()) { - list = calls[event]; - node = list ? list.tail : {}; - node.next = tail = {}; - node.context = context; - node.callback = callback; - calls[event] = {tail: tail, next: list ? list.next : node}; - } - - return this; - }, - - // Remove one or many callbacks. If `context` is null, removes all callbacks - // with that function. If `callback` is null, removes all callbacks for the - // event. If `events` is null, removes all bound callbacks for all events. - off: function(events, callback, context) { - var event, calls, node, tail, cb, ctx; - - // No events, or removing *all* events. - if (!(calls = this._callbacks)) return; - if (!(events || callback || context)) { - delete this._callbacks; - return this; - } - - // Loop through the listed events and contexts, splicing them out of the - // linked list of callbacks if appropriate. - events = events ? events.split(eventSplitter) : _.keys(calls); - while (event = events.shift()) { - node = calls[event]; - delete calls[event]; - if (!node || !(callback || context)) continue; - // Create a new list, omitting the indicated callbacks. - tail = node.tail; - while ((node = node.next) !== tail) { - cb = node.callback; - ctx = node.context; - if ((callback && cb !== callback) || (context && ctx !== context)) { - this.on(event, cb, ctx); - } - } - } - - return this; - }, - - // Trigger one or many events, firing all bound callbacks. Callbacks are - // passed the same arguments as `trigger` is, apart from the event name - // (unless you're listening on `"all"`, which will cause your callback to - // receive the true name of the event as the first argument). - trigger: function(events) { - var event, node, calls, tail, args, all, rest; - if (!(calls = this._callbacks)) return this; - all = calls.all; - events = events.split(eventSplitter); - rest = slice.call(arguments, 1); - - // For each event, walk through the linked list of callbacks twice, - // first to trigger the event, then to trigger any `"all"` callbacks. - while (event = events.shift()) { - if (node = calls[event]) { - tail = node.tail; - while ((node = node.next) !== tail) { - node.callback.apply(node.context || this, rest); - } - } - if (node = all) { - tail = node.tail; - args = [event].concat(rest); - while ((node = node.next) !== tail) { - node.callback.apply(node.context || this, args); - } - } - } - - return this; - } - - }; - - // Aliases for backwards compatibility. - Events.bind = Events.on; - Events.unbind = Events.off; - - // Backbone.Model - // -------------- - - // Create a new model, with defined attributes. A client id (`cid`) - // is automatically generated and assigned for you. - var Model = Backbone.Model = function(attributes, options) { - var defaults; - attributes || (attributes = {}); - if (options && options.parse) attributes = this.parse(attributes); - if (defaults = getValue(this, 'defaults')) { - attributes = _.extend({}, defaults, attributes); - } - if (options && options.collection) this.collection = options.collection; - this.attributes = {}; - this._escapedAttributes = {}; - this.cid = _.uniqueId('c'); - this.changed = {}; - this._silent = {}; - this._pending = {}; - this.set(attributes, {silent: true}); - // Reset change tracking. - this.changed = {}; - this._silent = {}; - this._pending = {}; - this._previousAttributes = _.clone(this.attributes); - this.initialize.apply(this, arguments); - }; - - // Attach all inheritable methods to the Model prototype. - _.extend(Model.prototype, Events, { - - // A hash of attributes whose current and previous value differ. - changed: null, - - // A hash of attributes that have silently changed since the last time - // `change` was called. Will become pending attributes on the next call. - _silent: null, - - // A hash of attributes that have changed since the last `'change'` event - // began. - _pending: null, - - // The default name for the JSON `id` attribute is `"id"`. MongoDB and - // CouchDB users may want to set this to `"_id"`. - idAttribute: 'id', - - // Initialize is an empty function by default. Override it with your own - // initialization logic. - initialize: function(){}, - - // Return a copy of the model's `attributes` object. - toJSON: function(options) { - return _.clone(this.attributes); - }, - - // Get the value of an attribute. - get: function(attr) { - return this.attributes[attr]; - }, - - // Get the HTML-escaped value of an attribute. - escape: function(attr) { - var html; - if (html = this._escapedAttributes[attr]) return html; - var val = this.get(attr); - return this._escapedAttributes[attr] = _.escape(val == null ? '' : '' + val); - }, - - // Returns `true` if the attribute contains a value that is not null - // or undefined. - has: function(attr) { - return this.get(attr) != null; - }, - - // Set a hash of model attributes on the object, firing `"change"` unless - // you choose to silence it. - set: function(key, value, options) { - var attrs, attr, val; - - // Handle both `"key", value` and `{key: value}` -style arguments. - if (_.isObject(key) || key == null) { - attrs = key; - options = value; - } else { - attrs = {}; - attrs[key] = value; - } - - // Extract attributes and options. - options || (options = {}); - if (!attrs) return this; - if (attrs instanceof Model) attrs = attrs.attributes; - if (options.unset) for (attr in attrs) attrs[attr] = void 0; - - // Run validation. - if (!this._validate(attrs, options)) return false; - - // Check for changes of `id`. - if (this.idAttribute in attrs) this.id = attrs[this.idAttribute]; - - var changes = options.changes = {}; - var now = this.attributes; - var escaped = this._escapedAttributes; - var prev = this._previousAttributes || {}; - - // For each `set` attribute... - for (attr in attrs) { - val = attrs[attr]; - - // If the new and current value differ, record the change. - if (!_.isEqual(now[attr], val) || (options.unset && _.has(now, attr))) { - delete escaped[attr]; - (options.silent ? this._silent : changes)[attr] = true; - } - - // Update or delete the current value. - options.unset ? delete now[attr] : now[attr] = val; - - // If the new and previous value differ, record the change. If not, - // then remove changes for this attribute. - if (!_.isEqual(prev[attr], val) || (_.has(now, attr) != _.has(prev, attr))) { - this.changed[attr] = val; - if (!options.silent) this._pending[attr] = true; - } else { - delete this.changed[attr]; - delete this._pending[attr]; - } - } - - // Fire the `"change"` events. - if (!options.silent) this.change(options); - return this; - }, - - // Remove an attribute from the model, firing `"change"` unless you choose - // to silence it. `unset` is a noop if the attribute doesn't exist. - unset: function(attr, options) { - (options || (options = {})).unset = true; - return this.set(attr, null, options); - }, - - // Clear all attributes on the model, firing `"change"` unless you choose - // to silence it. - clear: function(options) { - (options || (options = {})).unset = true; - return this.set(_.clone(this.attributes), options); - }, - - // Fetch the model from the server. If the server's representation of the - // model differs from its current attributes, they will be overriden, - // triggering a `"change"` event. - fetch: function(options) { - options = options ? _.clone(options) : {}; - var model = this; - var success = options.success; - options.success = function(resp, status, xhr) { - if (!model.set(model.parse(resp, xhr), options)) return false; - if (success) success(model, resp); - }; - options.error = Backbone.wrapError(options.error, model, options); - return (this.sync || Backbone.sync).call(this, 'read', this, options); - }, - - // Set a hash of model attributes, and sync the model to the server. - // If the server returns an attributes hash that differs, the model's - // state will be `set` again. - save: function(key, value, options) { - var attrs, current; - - // Handle both `("key", value)` and `({key: value})` -style calls. - if (_.isObject(key) || key == null) { - attrs = key; - options = value; - } else { - attrs = {}; - attrs[key] = value; - } - options = options ? _.clone(options) : {}; - - // If we're "wait"-ing to set changed attributes, validate early. - if (options.wait) { - if (!this._validate(attrs, options)) return false; - current = _.clone(this.attributes); - } - - // Regular saves `set` attributes before persisting to the server. - var silentOptions = _.extend({}, options, {silent: true}); - if (attrs && !this.set(attrs, options.wait ? silentOptions : options)) { - return false; - } - - // After a successful server-side save, the client is (optionally) - // updated with the server-side state. - var model = this; - var success = options.success; - options.success = function(resp, status, xhr) { - var serverAttrs = model.parse(resp, xhr); - if (options.wait) { - delete options.wait; - serverAttrs = _.extend(attrs || {}, serverAttrs); - } - if (!model.set(serverAttrs, options)) return false; - if (success) { - success(model, resp); - } else { - model.trigger('sync', model, resp, options); - } - }; - - // Finish configuring and sending the Ajax request. - options.error = Backbone.wrapError(options.error, model, options); - var method = this.isNew() ? 'create' : 'update'; - var xhr = (this.sync || Backbone.sync).call(this, method, this, options); - if (options.wait) this.set(current, silentOptions); - return xhr; - }, - - // Destroy this model on the server if it was already persisted. - // Optimistically removes the model from its collection, if it has one. - // If `wait: true` is passed, waits for the server to respond before removal. - destroy: function(options) { - options = options ? _.clone(options) : {}; - var model = this; - var success = options.success; - - var triggerDestroy = function() { - model.trigger('destroy', model, model.collection, options); - }; - - if (this.isNew()) { - triggerDestroy(); - return false; - } - - options.success = function(resp) { - if (options.wait) triggerDestroy(); - if (success) { - success(model, resp); - } else { - model.trigger('sync', model, resp, options); - } - }; - - options.error = Backbone.wrapError(options.error, model, options); - var xhr = (this.sync || Backbone.sync).call(this, 'delete', this, options); - if (!options.wait) triggerDestroy(); - return xhr; - }, - - // Default URL for the model's representation on the server -- if you're - // using Backbone's restful methods, override this to change the endpoint - // that will be called. - url: function() { - var base = getValue(this, 'urlRoot') || getValue(this.collection, 'url') || urlError(); - if (this.isNew()) return base; - return base + (base.charAt(base.length - 1) == '/' ? '' : '/') + encodeURIComponent(this.id); - }, - - // **parse** converts a response into the hash of attributes to be `set` on - // the model. The default implementation is just to pass the response along. - parse: function(resp, xhr) { - return resp; - }, - - // Create a new model with identical attributes to this one. - clone: function() { - return new this.constructor(this.attributes); - }, - - // A model is new if it has never been saved to the server, and lacks an id. - isNew: function() { - return this.id == null; - }, - - // Call this method to manually fire a `"change"` event for this model and - // a `"change:attribute"` event for each changed attribute. - // Calling this will cause all objects observing the model to update. - change: function(options) { - options || (options = {}); - var changing = this._changing; - this._changing = true; - - // Silent changes become pending changes. - for (var attr in this._silent) this._pending[attr] = true; - - // Silent changes are triggered. - var changes = _.extend({}, options.changes, this._silent); - this._silent = {}; - for (var attr in changes) { - this.trigger('change:' + attr, this, this.get(attr), options); - } - if (changing) return this; - - // Continue firing `"change"` events while there are pending changes. - while (!_.isEmpty(this._pending)) { - this._pending = {}; - this.trigger('change', this, options); - // Pending and silent changes still remain. - for (var attr in this.changed) { - if (this._pending[attr] || this._silent[attr]) continue; - delete this.changed[attr]; - } - this._previousAttributes = _.clone(this.attributes); - } - - this._changing = false; - return this; - }, - - // Determine if the model has changed since the last `"change"` event. - // If you specify an attribute name, determine if that attribute has changed. - hasChanged: function(attr) { - if (!arguments.length) return !_.isEmpty(this.changed); - return _.has(this.changed, attr); - }, - - // Return an object containing all the attributes that have changed, or - // false if there are no changed attributes. Useful for determining what - // parts of a view need to be updated and/or what attributes need to be - // persisted to the server. Unset attributes will be set to undefined. - // You can also pass an attributes object to diff against the model, - // determining if there *would be* a change. - changedAttributes: function(diff) { - if (!diff) return this.hasChanged() ? _.clone(this.changed) : false; - var val, changed = false, old = this._previousAttributes; - for (var attr in diff) { - if (_.isEqual(old[attr], (val = diff[attr]))) continue; - (changed || (changed = {}))[attr] = val; - } - return changed; - }, - - // Get the previous value of an attribute, recorded at the time the last - // `"change"` event was fired. - previous: function(attr) { - if (!arguments.length || !this._previousAttributes) return null; - return this._previousAttributes[attr]; - }, - - // Get all of the attributes of the model at the time of the previous - // `"change"` event. - previousAttributes: function() { - return _.clone(this._previousAttributes); - }, - - // Check if the model is currently in a valid state. It's only possible to - // get into an *invalid* state if you're using silent changes. - isValid: function() { - return !this.validate(this.attributes); - }, - - // Run validation against the next complete set of model attributes, - // returning `true` if all is well. If a specific `error` callback has - // been passed, call that instead of firing the general `"error"` event. - _validate: function(attrs, options) { - if (options.silent || !this.validate) return true; - attrs = _.extend({}, this.attributes, attrs); - var error = this.validate(attrs, options); - if (!error) return true; - if (options && options.error) { - options.error(this, error, options); - } else { - this.trigger('error', this, error, options); - } - return false; - } - - }); - - // Backbone.Collection - // ------------------- - - // Provides a standard collection class for our sets of models, ordered - // or unordered. If a `comparator` is specified, the Collection will maintain - // its models in sort order, as they're added and removed. - var Collection = Backbone.Collection = function(models, options) { - options || (options = {}); - if (options.model) this.model = options.model; - if (options.comparator) this.comparator = options.comparator; - this._reset(); - this.initialize.apply(this, arguments); - if (models) this.reset(models, {silent: true, parse: options.parse}); - }; - - // Define the Collection's inheritable methods. - _.extend(Collection.prototype, Events, { - - // The default model for a collection is just a **Backbone.Model**. - // This should be overridden in most cases. - model: Model, - - // Initialize is an empty function by default. Override it with your own - // initialization logic. - initialize: function(){}, - - // The JSON representation of a Collection is an array of the - // models' attributes. - toJSON: function(options) { - return this.map(function(model){ return model.toJSON(options); }); - }, - - // Add a model, or list of models to the set. Pass **silent** to avoid - // firing the `add` event for every new model. - add: function(models, options) { - var i, index, length, model, cid, id, cids = {}, ids = {}, dups = []; - options || (options = {}); - models = _.isArray(models) ? models.slice() : [models]; - - // Begin by turning bare objects into model references, and preventing - // invalid models or duplicate models from being added. - for (i = 0, length = models.length; i < length; i++) { - if (!(model = models[i] = this._prepareModel(models[i], options))) { - throw new Error("Can't add an invalid model to a collection"); - } - cid = model.cid; - id = model.id; - if (cids[cid] || this._byCid[cid] || ((id != null) && (ids[id] || this._byId[id]))) { - dups.push(i); - continue; - } - cids[cid] = ids[id] = model; - } - - // Remove duplicates. - i = dups.length; - while (i--) { - models.splice(dups[i], 1); - } - - // Listen to added models' events, and index models for lookup by - // `id` and by `cid`. - for (i = 0, length = models.length; i < length; i++) { - (model = models[i]).on('all', this._onModelEvent, this); - this._byCid[model.cid] = model; - if (model.id != null) this._byId[model.id] = model; - } - - // Insert models into the collection, re-sorting if needed, and triggering - // `add` events unless silenced. - this.length += length; - index = options.at != null ? options.at : this.models.length; - splice.apply(this.models, [index, 0].concat(models)); - if (this.comparator) this.sort({silent: true}); - if (options.silent) return this; - for (i = 0, length = this.models.length; i < length; i++) { - if (!cids[(model = this.models[i]).cid]) continue; - options.index = i; - model.trigger('add', model, this, options); - } - return this; - }, - - // Remove a model, or a list of models from the set. Pass silent to avoid - // firing the `remove` event for every model removed. - remove: function(models, options) { - var i, l, index, model; - options || (options = {}); - models = _.isArray(models) ? models.slice() : [models]; - for (i = 0, l = models.length; i < l; i++) { - model = this.getByCid(models[i]) || this.get(models[i]); - if (!model) continue; - delete this._byId[model.id]; - delete this._byCid[model.cid]; - index = this.indexOf(model); - this.models.splice(index, 1); - this.length--; - if (!options.silent) { - options.index = index; - model.trigger('remove', model, this, options); - } - this._removeReference(model); - } - return this; - }, - - // Add a model to the end of the collection. - push: function(model, options) { - model = this._prepareModel(model, options); - this.add(model, options); - return model; - }, - - // Remove a model from the end of the collection. - pop: function(options) { - var model = this.at(this.length - 1); - this.remove(model, options); - return model; - }, - - // Add a model to the beginning of the collection. - unshift: function(model, options) { - model = this._prepareModel(model, options); - this.add(model, _.extend({at: 0}, options)); - return model; - }, - - // Remove a model from the beginning of the collection. - shift: function(options) { - var model = this.at(0); - this.remove(model, options); - return model; - }, - - // Get a model from the set by id. - get: function(id) { - if (id == null) return void 0; - return this._byId[id.id != null ? id.id : id]; - }, - - // Get a model from the set by client id. - getByCid: function(cid) { - return cid && this._byCid[cid.cid || cid]; - }, - - // Get the model at the given index. - at: function(index) { - return this.models[index]; - }, - - // Return models with matching attributes. Useful for simple cases of `filter`. - where: function(attrs) { - if (_.isEmpty(attrs)) return []; - return this.filter(function(model) { - for (var key in attrs) { - if (attrs[key] !== model.get(key)) return false; - } - return true; - }); - }, - - // Force the collection to re-sort itself. You don't need to call this under - // normal circumstances, as the set will maintain sort order as each item - // is added. - sort: function(options) { - options || (options = {}); - if (!this.comparator) throw new Error('Cannot sort a set without a comparator'); - var boundComparator = _.bind(this.comparator, this); - if (this.comparator.length == 1) { - this.models = this.sortBy(boundComparator); - } else { - this.models.sort(boundComparator); - } - if (!options.silent) this.trigger('reset', this, options); - return this; - }, - - // Pluck an attribute from each model in the collection. - pluck: function(attr) { - return _.map(this.models, function(model){ return model.get(attr); }); - }, - - // When you have more items than you want to add or remove individually, - // you can reset the entire set with a new list of models, without firing - // any `add` or `remove` events. Fires `reset` when finished. - reset: function(models, options) { - models || (models = []); - options || (options = {}); - for (var i = 0, l = this.models.length; i < l; i++) { - this._removeReference(this.models[i]); - } - this._reset(); - this.add(models, _.extend({silent: true}, options)); - if (!options.silent) this.trigger('reset', this, options); - return this; - }, - - // Fetch the default set of models for this collection, resetting the - // collection when they arrive. If `add: true` is passed, appends the - // models to the collection instead of resetting. - fetch: function(options) { - options = options ? _.clone(options) : {}; - if (options.parse === undefined) options.parse = true; - var collection = this; - var success = options.success; - options.success = function(resp, status, xhr) { - collection[options.add ? 'add' : 'reset'](collection.parse(resp, xhr), options); - if (success) success(collection, resp); - }; - options.error = Backbone.wrapError(options.error, collection, options); - return (this.sync || Backbone.sync).call(this, 'read', this, options); - }, - - // Create a new instance of a model in this collection. Add the model to the - // collection immediately, unless `wait: true` is passed, in which case we - // wait for the server to agree. - create: function(model, options) { - var coll = this; - options = options ? _.clone(options) : {}; - model = this._prepareModel(model, options); - if (!model) return false; - if (!options.wait) coll.add(model, options); - var success = options.success; - options.success = function(nextModel, resp, xhr) { - if (options.wait) coll.add(nextModel, options); - if (success) { - success(nextModel, resp); - } else { - nextModel.trigger('sync', model, resp, options); - } - }; - model.save(null, options); - return model; - }, - - // **parse** converts a response into a list of models to be added to the - // collection. The default implementation is just to pass it through. - parse: function(resp, xhr) { - return resp; - }, - - // Proxy to _'s chain. Can't be proxied the same way the rest of the - // underscore methods are proxied because it relies on the underscore - // constructor. - chain: function () { - return _(this.models).chain(); - }, - - // Reset all internal state. Called when the collection is reset. - _reset: function(options) { - this.length = 0; - this.models = []; - this._byId = {}; - this._byCid = {}; - }, - - // Prepare a model or hash of attributes to be added to this collection. - _prepareModel: function(model, options) { - options || (options = {}); - if (!(model instanceof Model)) { - var attrs = model; - options.collection = this; - model = new this.model(attrs, options); - if (!model._validate(model.attributes, options)) model = false; - } else if (!model.collection) { - model.collection = this; - } - return model; - }, - - // Internal method to remove a model's ties to a collection. - _removeReference: function(model) { - if (this == model.collection) { - delete model.collection; - } - model.off('all', this._onModelEvent, this); - }, - - // Internal method called every time a model in the set fires an event. - // Sets need to update their indexes when models change ids. All other - // events simply proxy through. "add" and "remove" events that originate - // in other collections are ignored. - _onModelEvent: function(event, model, collection, options) { - if ((event == 'add' || event == 'remove') && collection != this) return; - if (event == 'destroy') { - this.remove(model, options); - } - if (model && event === 'change:' + model.idAttribute) { - delete this._byId[model.previous(model.idAttribute)]; - this._byId[model.id] = model; - } - this.trigger.apply(this, arguments); - } - - }); - - // Underscore methods that we want to implement on the Collection. - var methods = ['forEach', 'each', 'map', 'reduce', 'reduceRight', 'find', - 'detect', 'filter', 'select', 'reject', 'every', 'all', 'some', 'any', - 'include', 'contains', 'invoke', 'max', 'min', 'sortBy', 'sortedIndex', - 'toArray', 'size', 'first', 'initial', 'rest', 'last', 'without', 'indexOf', - 'shuffle', 'lastIndexOf', 'isEmpty', 'groupBy']; - - // Mix in each Underscore method as a proxy to `Collection#models`. - _.each(methods, function(method) { - Collection.prototype[method] = function() { - return _[method].apply(_, [this.models].concat(_.toArray(arguments))); - }; - }); - - // Backbone.Router - // ------------------- - - // Routers map faux-URLs to actions, and fire events when routes are - // matched. Creating a new one sets its `routes` hash, if not set statically. - var Router = Backbone.Router = function(options) { - options || (options = {}); - if (options.routes) this.routes = options.routes; - this._bindRoutes(); - this.initialize.apply(this, arguments); - }; - - // Cached regular expressions for matching named param parts and splatted - // parts of route strings. - var namedParam = /:\w+/g; - var splatParam = /\*\w+/g; - var escapeRegExp = /[-[\]{}()+?.,\\^$|#\s]/g; - - // Set up all inheritable **Backbone.Router** properties and methods. - _.extend(Router.prototype, Events, { - - // Initialize is an empty function by default. Override it with your own - // initialization logic. - initialize: function(){}, - - // Manually bind a single named route to a callback. For example: - // - // this.route('search/:query/p:num', 'search', function(query, num) { - // ... - // }); - // - route: function(route, name, callback) { - Backbone.history || (Backbone.history = new History); - if (!_.isRegExp(route)) route = this._routeToRegExp(route); - if (!callback) callback = this[name]; - Backbone.history.route(route, _.bind(function(fragment) { - var args = this._extractParameters(route, fragment); - callback && callback.apply(this, args); - this.trigger.apply(this, ['route:' + name].concat(args)); - Backbone.history.trigger('route', this, name, args); - }, this)); - return this; - }, - - // Simple proxy to `Backbone.history` to save a fragment into the history. - navigate: function(fragment, options) { - Backbone.history.navigate(fragment, options); - }, - - // Bind all defined routes to `Backbone.history`. We have to reverse the - // order of the routes here to support behavior where the most general - // routes can be defined at the bottom of the route map. - _bindRoutes: function() { - if (!this.routes) return; - var routes = []; - for (var route in this.routes) { - routes.unshift([route, this.routes[route]]); - } - for (var i = 0, l = routes.length; i < l; i++) { - this.route(routes[i][0], routes[i][1], this[routes[i][1]]); - } - }, - - // Convert a route string into a regular expression, suitable for matching - // against the current location hash. - _routeToRegExp: function(route) { - route = route.replace(escapeRegExp, '\\$&') - .replace(namedParam, '([^\/]+)') - .replace(splatParam, '(.*?)'); - return new RegExp('^' + route + '$'); - }, - - // Given a route, and a URL fragment that it matches, return the array of - // extracted parameters. - _extractParameters: function(route, fragment) { - return route.exec(fragment).slice(1); - } - - }); - - // Backbone.History - // ---------------- - - // Handles cross-browser history management, based on URL fragments. If the - // browser does not support `onhashchange`, falls back to polling. - var History = Backbone.History = function() { - this.handlers = []; - _.bindAll(this, 'checkUrl'); - }; - - // Cached regex for cleaning leading hashes and slashes . - var routeStripper = /^[#\/]/; - - // Cached regex for detecting MSIE. - var isExplorer = /msie [\w.]+/; - - // Has the history handling already been started? - History.started = false; - - // Set up all inheritable **Backbone.History** properties and methods. - _.extend(History.prototype, Events, { - - // The default interval to poll for hash changes, if necessary, is - // twenty times a second. - interval: 50, - - // Gets the true hash value. Cannot use location.hash directly due to bug - // in Firefox where location.hash will always be decoded. - getHash: function(windowOverride) { - var loc = windowOverride ? windowOverride.location : window.location; - var match = loc.href.match(/#(.*)$/); - return match ? match[1] : ''; - }, - - // Get the cross-browser normalized URL fragment, either from the URL, - // the hash, or the override. - getFragment: function(fragment, forcePushState) { - if (fragment == null) { - if (this._hasPushState || forcePushState) { - fragment = window.location.pathname; - var search = window.location.search; - if (search) fragment += search; - } else { - fragment = this.getHash(); - } - } - if (!fragment.indexOf(this.options.root)) fragment = fragment.substr(this.options.root.length); - return fragment.replace(routeStripper, ''); - }, - - // Start the hash change handling, returning `true` if the current URL matches - // an existing route, and `false` otherwise. - start: function(options) { - if (History.started) throw new Error("Backbone.history has already been started"); - History.started = true; - - // Figure out the initial configuration. Do we need an iframe? - // Is pushState desired ... is it available? - this.options = _.extend({}, {root: '/'}, this.options, options); - this._wantsHashChange = this.options.hashChange !== false; - this._wantsPushState = !!this.options.pushState; - this._hasPushState = !!(this.options.pushState && window.history && window.history.pushState); - var fragment = this.getFragment(); - var docMode = document.documentMode; - var oldIE = (isExplorer.exec(navigator.userAgent.toLowerCase()) && (!docMode || docMode <= 7)); - - if (oldIE) { - this.iframe = $('