Compare commits

...

3 Commits

Author SHA1 Message Date
Chris Cromer c4ce87cbc2
fix deprecated align attributes 2020-06-10 12:17:30 -04:00
Chris Cromer 29f78a97dd
fix spacing 2020-06-10 11:35:53 -04:00
Chris Cromer 88714e3a1d
fix square root of 0 2020-06-10 11:26:17 -04:00
2 changed files with 112 additions and 113 deletions

View File

@ -42,10 +42,9 @@
<table class="title_table">
<tr>
<td class="blank_title_cell"><img src="ubblogo.png" /></td>
<td class="project_name"><label for="project_name">{{strings.project_name}} </label><input type="text"
id="project_name"
name="project_name"
value=""/></td>
<td class="project_name">
<label for="project_name">{{strings.project_name}} </label><input type="text" id="project_name" name="project_name" value=""/>
</td>
<td class="options">
<input ng-click="show_help();" type="button" value="{{strings.help}}" />
<label>
@ -63,7 +62,7 @@
<td class="main_td">
{{strings.code}}<hr />
<div class="scrollcode">
<table align="center" class="table_background">
<table style="margin: 0 auto;" class="table_background">
<tr ng-repeat="(key, line) in code_lines">
<td id="line1_{{key}}" ng-click="select_line(key, false);" class="table_cell line_number_td" >{{line.line}}</td>
<td id="line2_{{key}}" class="table_cell">
@ -92,10 +91,10 @@
{{strings.result}}
<hr />
<div class="scrollresult">
<table align="center">
<table style="margin: 0 auto;">
<tr>
<td class="result_table">
<table align="center" class="table_background">
<table style="margin: 0 auto;" class="table_background">
<tr>
<td class="title_td">Ln</td>
<td class="title_td">Ac</td>
@ -121,7 +120,7 @@
</table>
</td>
<td class="result_table">
<table align="center" class="table_background">
<table style="margin: 0 auto;" class="table_background">
<tr>
<td class="title_td">{{strings.screen}}</td>
</tr>
@ -152,11 +151,11 @@
</tr>
</table>
<div class="credits">
<b>JVON Web</b><br/>
<b>JVON Web 1.1.2</b><br/>
{{strings.credits_description}}&nbsp;<b>{{strings.credits_john}}</b><br/>
{{strings.credits_cromer}}<br/>
Ingeniería Civil en Informática, Universidad del Bío Bío, 2015<br/>
<a target="_blank" href="jvon-1.1.1.apk">Version android</a>
Ingeniería Civil en Informática, Universidad del Bío Bío, 2015-2020<br/>
<!--<a target="_blank" href="jvon-1.1.1.apk">Version android</a>-->
</div>
</body>
</html>

View File

@ -678,7 +678,7 @@ document.addEventListener('DOMContentLoaded', function () {
var syntax = $scope.check_syntax(value);
var sqr;
if (syntax.type == "blank") {
if ($scope.ac == "") {
if (typeof $scope.ac != 'number') {
alert($scope.strings.error_ac);
$scope.stop_code();
}