Added line numbers to text area.
This commit is contained in:
parent
41660a58fc
commit
1a9277b17c
|
@ -3,7 +3,9 @@
|
||||||
<title>Turtle validator</title>
|
<title>Turtle validator</title>
|
||||||
<script src="https://code.jquery.com/jquery-2.1.4.min.js"></script>
|
<script src="https://code.jquery.com/jquery-2.1.4.min.js"></script>
|
||||||
<script src="js/ttl.js"></script>
|
<script src="js/ttl.js"></script>
|
||||||
|
<script src="js/lined-textarea.js"></script>
|
||||||
<link rel="stylesheet" href="css/style.css">
|
<link rel="stylesheet" href="css/style.css">
|
||||||
|
<link rel="stylesheet" href="css/lined-textarea.css">
|
||||||
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" rel="stylesheet">
|
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" rel="stylesheet">
|
||||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
|
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
|
||||||
</head>
|
</head>
|
||||||
|
@ -15,7 +17,7 @@
|
||||||
<h2>Paste your turtle file in here and press validate</h2>
|
<h2>Paste your turtle file in here and press validate</h2>
|
||||||
<form>
|
<form>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<textarea class="area" id="ta_turtle"></textarea>
|
<textarea class="area lined" id="ta_turtle"></textarea>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<input type="button" id="btn_validate" class="btn btn-default" value="Validate!"/>
|
<input type="button" id="btn_validate" class="btn btn-default" value="Validate!"/>
|
||||||
|
|
|
@ -17,3 +17,5 @@ $("#btn_validate").click( function () {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$(".lined").linedtextarea();
|
||||||
|
|
Loading…
Reference in New Issue