Commit 8abf93cc by Tom Giannattasio

search and upload button added to widget

parent 9613f92f
...@@ -108,13 +108,44 @@ ...@@ -108,13 +108,44 @@
.asset-library { .asset-library {
@include clearfix; @include clearfix;
display: block;
&.widget { &.widget {
position: absolute; position: absolute;
left: 50%; left: 50%;
z-index: 99999;
width: 900px; width: 900px;
padding: 20px;
margin-left: -450px; margin-left: -450px;
z-index: 99999; border-radius: 3px;
background: $lightGrey;
header {
height: 40px;
margin-bottom: 20px;
}
.close-button {
@include white-button;
width: 29px;
height: 29px;
padding: 0;
border-radius: 29px;
text-align: center;
.close-icon {
margin-top: 8px;
}
}
.search {
width: 400px;
height: 38px;
padding-left: 36px;
background-color: #fff;
background-position: 12px 10px;
font-size: 14px;
}
.thumb-col { .thumb-col {
width: 50px; width: 50px;
...@@ -124,6 +155,13 @@ ...@@ -124,6 +155,13 @@
width: 50px; width: 50px;
max-height: 50px; max-height: 50px;
} }
.upload-button {
@include blue-button;
float: right;
padding: 8px 30px 10px;
font-size: 12px;
}
} }
table { table {
......
...@@ -55,6 +55,13 @@ ...@@ -55,6 +55,13 @@
<script type="text/template" id="asset-library-widget"> <script type="text/template" id="asset-library-widget">
<article class="asset-library widget"> <article class="asset-library widget">
<a href="#" class="close-button">
<span class="close-icon"></span>
</a>
<header>
<input type="text" class="search">
<a href="#" class="upload-button">Upload New File</a>
</header>
<table> <table>
<thead> <thead>
<tr> <tr>
...@@ -72,11 +79,11 @@ ...@@ -72,11 +79,11 @@
</div> </div>
</td> </td>
<td class="name-col"> <td class="name-col">
<a href="#" class="filename">my-image.jpg</a> <a href="#" class="filename">ut-logo-350-150.png</a>
<div class="embeddable-xml"></div> <div class="embeddable-xml"></div>
</td> </td>
<td class="date-col"> <td class="date-col">
date 30 October, 2012 at 07:17 PM
</td> </td>
<td class="insert-col"> <td class="insert-col">
<a href="#" class="insert-asset-button" data-markup="<img src='/c4x/Giannattasio/313/asset/ut-logo-350-150.png'/>">Insert</a> <a href="#" class="insert-asset-button" data-markup="<img src='/c4x/Giannattasio/313/asset/ut-logo-350-150.png'/>">Insert</a>
...@@ -89,14 +96,14 @@ ...@@ -89,14 +96,14 @@
</div> </div>
</td> </td>
<td class="name-col"> <td class="name-col">
<a href="#" class="filename">asset name</a> <a href="#" class="filename">ut-logo-350-150.png</a>
<div class="embeddable-xml"></div> <div class="embeddable-xml"></div>
</td> </td>
<td class="date-col"> <td class="date-col">
date 30 October, 2012 at 07:17 PM
</td> </td>
<td class="insert-col"> <td class="insert-col">
<a href="#" class="insert-asset-button">Insert</a> <a href="#" class="insert-asset-button" data-markup="<img src='/c4x/Giannattasio/313/asset/ut-logo-350-150.png'/>">Insert</a>
</td> </td>
</tr> </tr>
<tr data-id="id"> <tr data-id="id">
...@@ -106,14 +113,14 @@ ...@@ -106,14 +113,14 @@
</div> </div>
</td> </td>
<td class="name-col"> <td class="name-col">
<a href="#" class="filename">asset name</a> <a href="#" class="filename">ut-logo-350-150.png</a>
<div class="embeddable-xml"></div> <div class="embeddable-xml"></div>
</td> </td>
<td class="date-col"> <td class="date-col">
date 30 October, 2012 at 07:17 PM
</td> </td>
<td class="insert-col"> <td class="insert-col">
<a href="#" class="insert-asset-button">Insert</a> <a href="#" class="insert-asset-button" data-markup="<img src='/c4x/Giannattasio/313/asset/ut-logo-350-150.png'/>">Insert</a>
</td> </td>
</tr> </tr>
</tbody> </tbody>
......
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