Fixed img in card in schedule.html

parent b3e7901b
...@@ -87,8 +87,18 @@ nav a:first-child { ...@@ -87,8 +87,18 @@ nav a:first-child {
left: 0; left: 0;
} }
.row {
position: relative;
}
.card .img-placeholder {
position: absolute;
top: 0;
}
.card form { .card form {
display: inline-block; display: inline-block;
margin-left: 80px;
width: calc(100% - 80px); width: calc(100% - 80px);
} }
......
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
<title>uBus | Bus Schedules</title> <title>uBus | Bus Schedules</title>
<link rel="stylesheet" type="text/css" href="css/font-awesome.min.css"> <link rel="stylesheet" type="text/css" href="css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="css/style.css"> <link rel="stylesheet" type="text/css" href="css/style.css">
<link rel="icon" type="image/x-icon" href="img/favicon.ico">
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.4.js"></script> <script type="text/javascript" src="https://code.jquery.com/jquery-2.1.4.js"></script>
<script src="http://www.parsecdn.com/js/parse-1.6.6.min.js"></script> <script src="http://www.parsecdn.com/js/parse-1.6.6.min.js"></script>
</head> </head>
...@@ -25,15 +26,15 @@ ...@@ -25,15 +26,15 @@
</div> </div>
<div class="card"> <div class="card">
<div class="row"> <div class="row">
<img src="img/scheduling.png" width="60px"> <img class="img-placeholder" src="img/scheduling.png" width="60px">
<form method="post" class="card_schedule" id="create_schedule"> <form method="post" class="card_schedule" id="create_schedule">
<fieldset> <fieldset>
<label for="etd" style="display:block;">Starting Terminal</label> <label for="etd" style="display:block;">Starting Terminal</label>
<input type="text" id="initial" placeholder="hello"> <input type="text" id="initial" placeholder="Current Terminal">
</fieldset> </fieldset>
<fieldset> <fieldset>
<label for="etd" style="display:block;">Destination</label> <label for="etd" style="display:block;">Destination</label>
<input type="text" id="destination" placeholder="hello"> <input type="text" id="destination" placeholder="End Terminal">
</fieldset> </fieldset>
<fieldset> <fieldset>
<label for="etd" style="display:block;">ETD</label> <label for="etd" style="display:block;">ETD</label>
......
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