Commit 47a4b061 authored by Pedro Eduardo Trujillo's avatar Pedro Eduardo Trujillo
Browse files

Mejora visualmente favoritos y dominios

Aplica muchos cambios de estilo y retoca estructura de cajas de
dominios.
parent d07d802a
Loading
Loading
Loading
Loading
+3 −6
Original line number Diff line number Diff line
@@ -33,17 +33,14 @@ define([
		// 	Url del módulo
		url: null,

		// cols: String
		// 	Clases correspondientes al griding por columnas
		cols: "col-xs-12 col-sm-6 col-md-4 col-lg-4",

		constructor: function(args){

			lang.mixin(this, args);

			if(this.domain) {
				this.templateString = "<a class='" + this.cols + " boxButton' href='" + this.url +
					"' d-state-url=true>" + "<div class='name mediumTexturedContainer colorWhite'>" + this.name + "</div></a>";
				this.templateString = "<a class='boxButton' href='" + this.url +
					"' d-state-url=true>" + "<div class='name mediumTexturedContainer colorWhite'><span>" +
					this.name + "</span></div></a>";
			} else {
				this.templateString = "<a title='" + this.name +
					"' class='module' href='" + this.url + "' d-state-url=true>" +
+2 −1
Original line number Diff line number Diff line
@@ -95,9 +95,10 @@ define([
		_createStructure: function() {

			this.containerNode = put(this.domNode, "div.domains.hardTexturedContainer");
			this.contentNode = put(this.containerNode, "div.domainsBox");

			for (var i = 0; i < this.items.modules.length; i++) {
				this.items.modules[i].placeAt(this.containerNode);
				this.items.modules[i].placeAt(this.contentNode);
			}
		},

+0 −36
Original line number Diff line number Diff line
define([
	"dojo/_base/declare"
	, "dojo/_base/lang"
	, "put-selector/put"
	, "redmic/modules/base/_Module"
], function(
	declare
	, lang
	, put
	, _Module
){
	return declare(_Module, {
		//	summary:
		//		Vista base de Profile User.
		//	description:
		//		Muestra la información.


		constructor: function (args) {

			this.config = {
				icon: "fa-cog",
				type: null
			};

			lang.mixin(this, this.config, args);
		},

		postCreate: function() {

			var title = put(this.domNode, "div.titleProfile.fWidth");
			put(title, "i.fa." + this.icon + ".iconUser");
			put(title, "span.titleWindows", this.i18n[this.type]);
		}
	});
});
Compare 74c2be9d to 8c87cfa6
Original line number Diff line number Diff line
Subproject commit 74c2be9dfa1a98bd75e2bb55a467f16c4b917c76
Subproject commit 8c87cfa646e6e9e5a4d3db4ed85ad6616eba9efc