Commit 52ef23ea authored by root's avatar root

the commit message is now done in a text area

parent 23c574f4
......@@ -297,6 +297,10 @@ input[type="radio"], input[type="checkbox"]{
margin-bottom:10px;
}
#commitmsg {
width:95%;
}
.message {
color:#FF5500;
line-height:21px;
......
......@@ -167,7 +167,7 @@ $(document).ready(function () {
$.ajax({
type: "POST",
url: $SCRIPT_ROOT + '/pushProjectFiles',
data: {project: $("input#workdir").val() + "/" + project};
data: {project: $("input#workdir").val() + "/" + project},
success: function(data) {
if (data.code === 1) {
if (data.result !== "") {
......@@ -184,7 +184,7 @@ $(document).ready(function () {
}
});
return false;
)};
});
/*
$("#pullbranch").click(function (){
if (send){
......
......@@ -44,7 +44,8 @@
<h2>Commit All your changes (On active branch)</h2>
<div style="margin-left:15px;">
<label for='commitmsg'>Commit message: </label>
<input type="text" name="commitmsg" id="commitmsg" size='40' value="Enter message..." />
<textarea name="commitmsg" id="commitmsg" cols="40" rows="3">
</textarea>
<input type="submit" name="commit" id ="commit" value="Commit" class="button"/>
<img class="waitting" id="imgwaitting" src="{{ url_for('static', filename='images/waiting.gif') }}" alt="" />
</div>
......
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