Просмотр исходного кода

[ui cleanup] [minor]

version-14
Rushabh Mehta 11 лет назад
Родитель
Сommit
f18ba49a00
3 измененных файлов: 12 добавлений и 10 удалений
  1. +5
    -5
      public/css/common.css
  2. +1
    -0
      public/js/wn/views/communication.js
  3. +6
    -5
      public/js/wn/views/listview.js

+ 5
- 5
public/css/common.css Просмотреть файл

@@ -95,7 +95,7 @@ div#freeze {

.form-headline {
margin-bottom: 10px;
font-size: 130%;
font-size: 120%;
}

.form-dashboard {
@@ -134,7 +134,7 @@ div#freeze {
.list-timestamp {
position: absolute;
right: 5px;
bottom: -2px;
bottom: 2px;
font-size: 70%;
color: #888;
}
@@ -264,7 +264,7 @@ div#freeze {
margin-top: -15px;
font-size: 24px;
text-align: center;
width: 40px;
width: 27px;
}

.appframe .title-text {
@@ -274,8 +274,8 @@ div#freeze {
}

.appframe .sub-title-area {
margin-top: -24px;
margin-left: 48px;
margin-top: -20px;
margin-left: 37px;
font-size: 100%;
}



+ 1
- 0
public/js/wn/views/communication.js Просмотреть файл

@@ -53,6 +53,7 @@ wn.views.CommunicationList = Class.extend({
.appendTo(this.parent);
this.body = $('<div class="list-group">')
.css({"border":"1px solid #dddddd", "border-radius":"4px"})
.appendTo(this.wrapper);
},


+ 6
- 5
public/js/wn/views/listview.js Просмотреть файл

@@ -102,7 +102,7 @@ wn.views.ListView = Class.extend({
} else if(d.fieldtype=="Check") {
colspan = "1";
} else if(in_list(["name", "subject", "title"], d.fieldname)) { // subjects are longer
colspan = "3";
colspan = "4";
} else if(d.fieldtype=="Text Editor" || d.fieldtype=="Text") {
colspan = "4";
}
@@ -138,10 +138,11 @@ wn.views.ListView = Class.extend({
this.id_list.push(data.name);
var body = $('<div class="doclist-row" style="display: table; width: 100%;">\
<div class="list-row-id-area" style="width: 200px; display: table-cell; "></div>\
var body = $('<div class="doclist-row" style="display: table; width: 100%; table-layout: fixed">\
<div class="list-row-id-area" style="width: 200px; display: table-cell; white-space:nowrap;\
text-overflow: ellipsis; max-height: 30px"></div>\
<div class="list-row-content-area row" style="display: table-cell"></div>\
</div>').appendTo(row),
</div>').appendTo($(row).css({"position":"relative"})),
colspans = 0,
me = this;
@@ -159,7 +160,7 @@ wn.views.ListView = Class.extend({
});
var timestamp = $('<div class="list-timestamp">').appendTo(body).html(comment_when(data.modified));
var timestamp = $('<div class="list-timestamp">').appendTo(row).html(comment_when(data.modified));
// row #2
var row2 = $('<div class="row tag-row">\


Загрузка…
Отмена
Сохранить