Commit b01bd0e7 authored by Otto Zaiser's avatar Otto Zaiser

Makeup y deprecated code

parent 54cb378e
......@@ -190,3 +190,8 @@ button.toggle-button{
height: 10px;
width: 10px;
}
.hash {
word-wrap: break-word;
}
\ No newline at end of file
......@@ -30,6 +30,10 @@
.navbar-vote.navbar-fondo {
.vote-status {
margin-top: 8px;
@media (max-width: 375px){
margin-top: 15px;
}
}
}
......
This diff is collapsed.
......@@ -33,24 +33,24 @@
<div id="voterow" class="row hide">
<section>
<h1 class="page-header">Votación</h1>
<a class="btn-default btn btn-lg btn-header btn-new" aria-label="Crear nueva votación" href="smartNewvote.html">
<a class="btn-default btn btn-lg btn-header btn-new" aria-label="Crear nueva votación" href="./nueva/">
<span class="hidden-xs">Crear nueva votación</span>
<span class="visible-xs">
<i class="fas fa-plus" aria-hidden="true"></i>
</span>
</a>
<form action="smartVotar.html">
<div class="alert alert-danger" role="alert" id="errorForm">
<form action="./votar/">
<div class="alert alert-danger" style="display: none" role="alert" id="errorForm">
<p>Comprobá los siguientes errores del formulario:</p>
<ul></ul>
</div>
<div class="form-group form-group-lg col-sm-12">
<label for="input_address" class="form-required">Dirección de la votación</label>
<input class="form-control" type="text" id="input_address" name="input_address" value="" size="40"
<label for="vote_address" class="form-required">Dirección de la votación</label>
<input class="form-control" type="text" id="vote_address" name="vote_address" value="" size="40"
minlength="42" maxlength="42" required="required" aria-required="true" placeholder="42 caracteres hex (debe empezar con 0x)">
</div>
<div class="form-group col-sm-6 col-sm-push-6">
<button class="btn-primary btn btn-block" type="submit" id="submit">Ver votación</button>
<button class="btn-primary btn btn-lg btn-block" type="submit" id="submit">Ver votación</button>
</div>
</form>
</section>
......@@ -66,8 +66,6 @@
<h2>Redes Sociales</h2>
<div class="field field--name-body field--type-text-with-summary field--label-hidden field--item">
<ul>
<li><a href="https://www.facebook.com/bfa.ar" target="_blank"><i class="fab fa-facebook-f fa-2x"
aria-hidden="true"></i><span class="sr-only">Facebook</span></a></li>
<li><a href="https://www.twitter.com/bfa_ar" target="_blank"><i class="fab fa-twitter fa-2x"
aria-hidden="true"></i><span class="sr-only">Twitter</span></a></li>
<li><a href="https://www.instagram.com/bfa_ar" target="_blank"><i class="fab fa-instagram fa-2x"
......@@ -109,20 +107,20 @@
unhighlight: function (element) {
$(element).closest('.form-group').removeClass('has-error');
},
submitHandler: function (form) {
// do other things for a valid form
form.submit();
//ver_votacion('');
},
// submitHandler: function (form) {
// // do other things for a valid form
// form.submit();
// //ver_votacion2('');
// },
messages: {
input_address: {
vote_address: {
required: "Ingresá una dirección válida",
minlength: "La dirección debe tener 42 caractéres incluidos el 0x.",
maxlength: "La dirección debe tener 42 caractéres incluidos el 0x."
}
},
rules: {
input_address: {
vote_address: {
required: true,
minlength: 42,
maxlength: 42
......
This diff is collapsed.
......@@ -5,12 +5,12 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Nueva Votación | Blockchain Federal Argentina</title>
<link rel="shortcut icon" href="favicon.ico" />
<link rel="shortcut icon" href="../favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u"
crossorigin="anonymous">
<link rel="stylesheet" type="text/css" media="screen" href="css/vendor.css" />
<link rel="stylesheet" type="text/css" media="screen" href="css/main.css" />
<link rel="stylesheet" type="text/css" media="screen" href="../css/vendor.css" />
<link rel="stylesheet" type="text/css" media="screen" href="../css/main.css" />
</head>
<body>
......@@ -20,7 +20,7 @@
<div class="navbar-header">
<div class="region region-navigation">
<a class="logo navbar-btn pull-left" href="https://bfa.ar/" rel="home">
<img id="logo" src="./images/logo.svg" alt="Blockchain Federal Argentina">
<img id="logo" src="../images/logo.svg" alt="Blockchain Federal Argentina">
</a>
<div class="vote-status hide" id="status"></div>
</div>
......@@ -34,7 +34,7 @@
<section>
<h1 class="page-header">Nueva Votación</h1>
<form action="" id="form_create_new_ballot">
<div class="alert alert-danger" role="alert" id="errorForm">
<div class="alert alert-danger" style="display: none" role="alert" id="errorForm">
<p>Comprobá los siguientes errores del formulario:</p>
<ul></ul>
</div>
......@@ -160,10 +160,10 @@
</div>
<div class="row">
<div class="form-group col-sm-6 col-sm-push-6 form-footer">
<button class="btn-primary btn btn-block" type="submit" id="submit">Crear votación</button>
<button class="btn-primary btn btn-lg btn-block" type="submit" id="submit">Crear votación</button>
</div>
<div class="form-group form-group-lg col-sm-6 col-sm-pull-6 font_small form-footer">
<a class="btn-default btn btn-lg btn-block" href="smartVote.html">Cancelar</a>
<a class="btn-default btn btn-lg btn-block" href="../">Cancelar</a>
</div>
</div>
</form>
......@@ -180,8 +180,6 @@
<h2>Redes Sociales</h2>
<div class="field field--name-body field--type-text-with-summary field--label-hidden field--item">
<ul>
<li><a href="https://www.facebook.com/bfa.ar" target="_blank"><i class="fab fa-facebook-f fa-2x"
aria-hidden="true"></i><span class="sr-only">Facebook</span></a></li>
<li><a href="https://www.twitter.com/bfa_ar" target="_blank"><i class="fab fa-twitter fa-2x"
aria-hidden="true"></i><span class="sr-only">Twitter</span></a></li>
<li><a href="https://www.instagram.com/bfa_ar" target="_blank"><i class="fab fa-instagram fa-2x"
......@@ -201,12 +199,12 @@
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa"
crossorigin="anonymous"></script>
<script src="js/vendor/font-awesome531.js"></script>
<script src="js/vendor/jquery.validate.js"></script>
<script src="js/main.js"></script>
<script src="js/vendor/web3.js"></script>
<script src="js/vendor/abi.js"></script>
<script src="js/vendor/ballot.js"></script>
<script src="../js/vendor/font-awesome531.js"></script>
<script src="../js/vendor/jquery.validate.js"></script>
<script src="../js/main.js"></script>
<script src="../js/vendor/web3.js"></script>
<script src="../js/vendor/abi.js"></script>
<script src="../js/vendor/ballot.js"></script>
<script>
......
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