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 { ...@@ -92,7 +92,6 @@ public class RestResourceSaverService implements ResourceSaverService {
@Override @Override
public boolean saveResource(final Resource resource) throws IOException, WebLabCheckedException { public boolean saveResource(final Resource resource) throws IOException, WebLabCheckedException {
final DefaultHttpClient httpClient = new DefaultHttpClient(this.cm, this.httpParams); final DefaultHttpClient httpClient = new DefaultHttpClient(this.cm, this.httpParams);
...@@ -119,5 +118,4 @@ public class RestResourceSaverService implements ResourceSaverService { ...@@ -119,5 +118,4 @@ public class RestResourceSaverService implements ResourceSaverService {
} }
} }
/* EDIT VIEW */ /* EDIT VIEW */
#editView { #editView {
margin-top: 25px; margin-top: 25px;
} }
...@@ -19,7 +17,7 @@ ...@@ -19,7 +17,7 @@
vertical-align: top; vertical-align: top;
} }
.rating>span, .displayStar>span{ .rating>span, .displayStar>span {
display: inline-block; display: inline-block;
position: relative; position: relative;
width: 1.1em; width: 1.1em;
...@@ -52,24 +50,28 @@ ...@@ -52,24 +50,28 @@
} }
.error { .error {
display: inline-block; display: inline-block;
} }
.locationDiv{ .locationDiv {
display: flex; display: flex;
align-items: center; align-items: center;
} }
#cancelButton { .actionButton {
border: solid; text-align: right;
background-color: #AAB2B6;
color: white;
border-radius: 2px;
padding: 4px 24px 4px 24px;
} }
#cancelButton:hover { /* #cancelButton { */
background-color: #0379B2 !important; /* border: solid; */
color: white !important; /* background-color: #AAB2B6; */
text-decoration: none; /* color: white; */
} /* border-radius: 2px; */
\ No newline at end of file /* 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 @@ ...@@ -377,7 +377,7 @@
<div class="addMetaDiv"> <div class="addMetaDiv">
<select id="addMeta"> <select id="addMeta">
<option value="None" selected>None</option> <option value="None" selected="selected">None</option>
<option value="${rate}">Data Rating</option> <option value="${rate}">Data Rating</option>
<option value="${commented}">Comment</option> <option value="${commented}">Comment</option>
<option value="${credibility}">Credibility</option> <option value="${credibility}">Credibility</option>
...@@ -385,7 +385,8 @@ ...@@ -385,7 +385,8 @@
<option value="${subject}">Subject</option> <option value="${subject}">Subject</option>
<option value="${toKeep}">ToKeep</option> <option value="${toKeep}">ToKeep</option>
<option value="${lat}">Document Location</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>
<div class="actionButton"> <div class="actionButton">
...@@ -462,10 +463,8 @@ function validateForm(theForm){ ...@@ -462,10 +463,8 @@ function validateForm(theForm){
if ((typeof jQuery('#title').val() != 'undefined')){ if ((typeof jQuery('#title').val() != 'undefined')){
if (!jQuery('#title').val()){ if (!jQuery('#title').val()){
jQuery('.error').show(); jQuery('.error').show();
console.log('on est entré dans le if : ' + jQuery('#title').val() );
return false; return false;
} }
} }
alert("This document will be saved, changes will appear in a little while in database.");
} }
</script> </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