aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Alex Bitney2016-02-07 21:54:55 +0200
committerGravatar Alex Bitney2016-02-07 21:54:55 +0200
commit45b3e65ac62a030f997a4cc5131c424e643d7722 (patch)
tree7d1344129cb017f92ee1b74af036b3710bb6a427
parentfce485dcdd3918f1319979505002a156a8b3dd07 (diff)
fixed tags display
m---------deps/com.juick.server0
-rw-r--r--src/main/resources/templates/parts/post_form.html13
2 files changed, 7 insertions, 6 deletions
diff --git a/deps/com.juick.server b/deps/com.juick.server
-Subproject 164b17fa61f049ea1ffab155f3dffd0c7ba9f03
+Subproject 322b18df46eb596ac8db8dc6fd6c544ddf69f8f
diff --git a/src/main/resources/templates/parts/post_form.html b/src/main/resources/templates/parts/post_form.html
index 56184f55..c81152c7 100644
--- a/src/main/resources/templates/parts/post_form.html
+++ b/src/main/resources/templates/parts/post_form.html
@@ -11,8 +11,8 @@
<input type="text" class="tags" name="tags" id="post_tags"/><br/>
<input type="submit" class="subm" value="Отправить"/>
</div>
- <div id="newmessage_tags" style="padding-top: 10pt">
- <span style="display: none; border: 1px solid black; background-color: #1277aa; color: white; padding: 2pt 2pt; font-size: 9pt; margin: 2pt 2pt">
+ <div id="newmessage_tags" style="padding-top: 10pt; line-height: 170%;">
+ <span style="display: none; background-color: #ddddd5; color: black; padding: 4pt; font-size: 9pt; cursor: pointer">
sample
</span>
</div>
@@ -45,16 +45,17 @@
}, 50)
};
item.onmouseover = function() {
- item.style.fontStyle = "bold";
- item.style.backgroundColor = "#2ba4e3";
+ item.style.textDecoration = "underline";
+ //item.style.backgroundColor = "#2ba4e3";
};
item.onmouseout = function() {
- item.style.fontStyle = "";
- item.style.backgroundColor = template.style.backgroundColor;
+ item.style.textDecoration = "";
+ //item.style.backgroundColor = template.style.backgroundColor;
};
};
q(nextItem);
mtags.appendChild(nextItem);
+ mtags.appendChild(document.createTextNode(" "));
}
});
newmessage_toggleOpen = function() {}