Commit f24da223 authored by Yann Mombrun's avatar Yann Mombrun

Minor fix of the CSS

git-svn-id: svn://svn.forge.objectweb.org/svnroot/weblab/trunk/WebLabServices/Portlets/metadata-portlet@4398 a803c184-d8de-4a0e-a52b-d3eef88212b6
parent 68c8f0f7
......@@ -92,7 +92,6 @@ public class RestResourceSaverService implements ResourceSaverService {
@Override
public boolean saveResource(final Resource resource) throws IOException, WebLabCheckedException {
final DefaultHttpClient httpClient = new DefaultHttpClient(this.cm, this.httpParams);
......@@ -119,5 +118,4 @@ public class RestResourceSaverService implements ResourceSaverService {
}
}
/* EDIT VIEW */
#editView {
margin-top: 25px;
}
......@@ -19,7 +17,7 @@
vertical-align: top;
}
.rating>span, .displayStar>span{
.rating>span, .displayStar>span {
display: inline-block;
position: relative;
width: 1.1em;
......@@ -55,21 +53,25 @@
display: inline-block;
}
.locationDiv{
.locationDiv {
display: flex;
align-items: center;
}
#cancelButton {
border: solid;
background-color: #AAB2B6;
color: white;
border-radius: 2px;
padding: 4px 24px 4px 24px;
.actionButton {
text-align: right;
}
#cancelButton:hover {
background-color: #0379B2 !important;
color: white !important;
text-decoration: none;
}
\ No newline at end of file
/* #cancelButton { */
/* border: solid; */
/* background-color: #AAB2B6; */
/* color: white; */
/* border-radius: 2px; */
/* padding: 4px 24px 4px 24px; */
/* } */
/* #cancelButton:hover { */
/* background-color: #0379B2 !important; */
/* color: white !important; */
/* text-decoration: none; */
/* } */
\ No newline at end of file
......@@ -377,7 +377,7 @@
<div class="addMetaDiv">
<select id="addMeta">
<option value="None" selected>None</option>
<option value="None" selected="selected">None</option>
<option value="${rate}">Data Rating</option>
<option value="${commented}">Comment</option>
<option value="${credibility}">Credibility</option>
......@@ -385,7 +385,8 @@
<option value="${subject}">Subject</option>
<option value="${toKeep}">ToKeep</option>
<option value="${lat}">Document Location</option>
</select> <input id="addMetaButton" class="addButton" type="button" value="Add MetaData">
</select>
<input id="addMetaButton" class="addButton" type="button" value="Add MetaData">
</div>
<div class="actionButton">
......@@ -462,10 +463,8 @@ function validateForm(theForm){
if ((typeof jQuery('#title').val() != 'undefined')){
if (!jQuery('#title').val()){
jQuery('.error').show();
console.log('on est entré dans le if : ' + jQuery('#title').val() );
return false;
}
}
alert("This document will be saved, changes will appear in a little while in database.");
}
</script>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment