##// END OF EJS Templates
comments: remove helper to render a comment object....
comments: remove helper to render a comment object. - we always use helper renderer, and for consistency we should stick with that. It makes refactoring, and general use much harder. DB objects should have least possible logic inside.

File last commit:

r821:618c046d default
r1673:e3526633 default
Show More
deform.less
139 lines | 2.3 KiB | text/x-less | LessCssLexer
dan
forms: add deform for integration settings forms
r518 .deform {
* {
box-sizing: border-box;
}
.required:after {
color: #e32;
content: '*';
display:inline;
}
.control-label {
width: 200px;
dan
account: convert change password form to colander schema and fix bug...
r665 padding: 10px;
dan
forms: add deform for integration settings forms
r518 float: left;
}
.control-inputs {
width: 400px;
float: left;
}
.form-group .radio, .form-group .checkbox {
position: relative;
display: block;
/* margin-bottom: 10px; */
}
.form-group {
clear: left;
dan
account: convert change password form to colander schema and fix bug...
r665 margin-bottom: 20px;
&:after { /* clear fix */
content: " ";
display: block;
clear: left;
}
dan
forms: add deform for integration settings forms
r518 }
.form-control {
width: 100%;
dan
integrations: refactor/cleanup + features, fixes #4181...
r731 padding: 0.9em;
border: 1px solid #979797;
border-radius: 2px;
}
.form-control.select2-container {
padding: 0; /* padding already applied in .drop-menu a */
}
.form-control.readonly {
background: #eeeeee;
cursor: not-allowed;
dan
forms: add deform for integration settings forms
r518 }
.error-block {
color: red;
dan
account: convert change password form to colander schema and fix bug...
r665 margin: 0;
}
.help-block {
margin: 0;
dan
forms: add deform for integration settings forms
r518 }
.deform-seq-container .control-inputs {
width: 100%;
}
.deform-seq-container .deform-seq-item-handle {
width: 8.3%;
float: left;
}
.deform-seq-container .deform-seq-item-group {
width: 91.6%;
float: left;
}
.form-control {
input {
height: 40px;
}
input[type=checkbox], input[type=radio] {
height: auto;
}
select {
height: 40px;
}
}
dan
account: convert change password form to colander schema and fix bug...
r665 .form-control.select2-container {
height: 40px;
}
dan
forms: add deform for integration settings forms
r518
dan
reviewers: add repo review rule models and expose default...
r821 .deform-full-field-sequence.control-inputs {
width: 100%;
dan
forms: add deform for integration settings forms
r518 }
dan
reviewers: add repo review rule models and expose default...
r821 .deform-table-sequence {
.deform-seq-container {
.deform-seq-item {
margin: 0;
label {
display: none;
}
.panel-heading {
display: none;
}
.deform-seq-item-group > .panel {
padding: 0;
margin: 5px 0;
border: none;
&> .panel-body {
padding: 0;
}
}
&:first-child label {
display: block;
}
}
}
}
.deform-table-2-sequence {
.deform-seq-container {
.deform-seq-item {
.form-group {
width: 45% !important; padding: 0 2px; float: left; clear: none;
}
}
}
}
.deform-table-3-sequence {
.deform-seq-container {
.deform-seq-item {
.form-group {
width: 30% !important; padding: 0 2px; float: left; clear: none;
}
}
}
}
dan
forms: add deform for integration settings forms
r518 }