Skip to content

Commit 6bc3fe5

Browse files
committed
redisgning welcome page
1 parent 884fc8e commit 6bc3fe5

2 files changed

Lines changed: 43 additions & 16 deletions

File tree

assets/app/css/main.css

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,29 @@ body {
279279
background: rgba(255, 255, 255, 0.12);
280280
}
281281

282+
/*---------------------------------------
283+
Welcome Page
284+
-----------------------------------------*/
285+
286+
#import-json, #open-file, #save-file{
287+
border: 2px dashed skyblue;
288+
display: inline-block;
289+
width: 25%;
290+
text-align: center;
291+
margin: 6rem 2rem;
292+
padding: 1rem;
293+
cursor: pointer;
294+
}
295+
296+
#welcomepage-view i{
297+
font-size: 10rem;
298+
}
299+
300+
#welcomepage-title , .icons{
301+
text-align: center;
302+
}
303+
304+
282305
/*---------------------------------------
283306
DataTables custom
284307
-----------------------------------------*/

index.html

Lines changed: 20 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -118,26 +118,30 @@
118118
<!-- Welcome Page -->
119119
<div class="tab-pane container" id="tab-welcomepage">
120120
<div id="welcomepage-container">
121-
<div id="wecomepage-title">
121+
<div id="welcomepage-title">
122122
<h1>Welcome to ScanCode Workbench</h1>
123123
</div>
124124
<div id="welcomepage-view">
125-
<div class="row">
126-
<div class="col-sm-4">
127-
<h3>Start:</h3>
128-
<div class="btn-group-vertical" role="group" aria-label="...">
129-
<button id="import-json" class="btn btn-lg btn-default"><i class="fa fa-cogs"></i> Import ScanCode JSON</button>
130-
<button id="open-file" class="btn btn-lg btn-default"><i class="fa fa-folder"></i> Open SQLite File</button>
131-
<button id="save-file" class="btn btn-lg btn-default"><i class="fa fa-floppy-o"></i> Save SQLite File</button>
132-
</div>
125+
<div class="col icons">
126+
<div id="import-json">
127+
<i class="fa fa-cogs"></i>
128+
<h4>Import ScanCode JSON</h4>
133129
</div>
134-
<div class="col-sm-8">
135-
<h3>Learn and Contribute:</h3>
136-
<div class="btn-group-vertical" role="group" aria-label="...">
137-
<a href="https://github.com/nexB/scancode-workbench/" class="btn btn-lg btn-default">GitHub Repository</a>
138-
<a href="https://scancode-workbench.readthedocs.io" class="btn btn-lg btn-default">Documentation</a>
139-
<a href="https://github.com/nexB/scancode-workbench/issues" class="btn btn-lg btn-default">Report a Bug or Request a Feature</a>
140-
</div>
130+
<div id="open-file">
131+
<i class="fa fa-folder"></i>
132+
<h4>Open SQLite File</h4>
133+
</div>
134+
<div id="save-file">
135+
<i class="fa fa-floppy-o"></i>
136+
<h4>Save SQLite File</h4>
137+
</div>
138+
</div>
139+
<div class="col">
140+
<h3>Quick Links: </h3>
141+
<div class="btn-group-horizontal" role="group" aria-label="...">
142+
<a href="https://github.com/nexB/scancode-workbench/" class="btn btn-lg btn-default">GitHub Repository</a>
143+
<a href="https://scancode-workbench.readthedocs.io/" class="btn btn-lg btn-default">Documentation</a>
144+
<a href="https://github.com/nexB/scancode-workbench/issues" class="btn btn-lg btn-default">Report a Bug or Request a Feature</a>
141145
</div>
142146
</div>
143147
</div>

0 commit comments

Comments
 (0)