Skip to content

Commit 080b8be

Browse files
Merge pull request #37 from pebble-dev/timeline_checkbox
Enable timeline option
2 parents 75e593d + 672de39 commit 080b8be

File tree

4 files changed

+24
-11
lines changed

4 files changed

+24
-11
lines changed

html/index.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1231,7 +1231,7 @@ <h1 class="lite"> Submit a new app or face </h1>
12311231
<br>
12321232
<div class="small">For a description of each category, <a class="pointer underline"
12331233
onclick="$('#categoryExplainModal').modal()">click here</a>.</div>
1234-
<div class="input-group mb-3">
1234+
<div class="input-group mb-3 clickable">
12351235
<select class="custom-select niceInput" id="i-appCat">
12361236
<option selected value="">Choose...</option>
12371237
<option value="Daily">Daily</option>
@@ -1244,6 +1244,13 @@ <h1 class="lite"> Submit a new app or face </h1>
12441244
</div>
12451245
</div>
12461246

1247+
<div class="mt-4 ml-2 animated fadeIn hidden" id="uses-timeline">
1248+
Special Permissions
1249+
<div class="ml-4 mt-2">
1250+
<input id="i-timeline" type="checkbox" style="line-height: 20px" class="clickable"> <img class="small" src="./res/img/timeline-pin.svg" /> My app uses timeline</input>
1251+
</div>
1252+
</div>
1253+
12471254
<div class="mt-4 ml-2">
12481255
Description*
12491256
<br>
@@ -1358,13 +1365,6 @@ <h1 class="lite"> Submit a new app or face </h1>
13581365
<textarea class="niceInput mt-2" id="i-releaseNotes"></textarea>
13591366
</div>
13601367

1361-
<div class="mt-4 ml-2 hidden" id="uses_timeline">
1362-
Special Permissions
1363-
<div class="ml-4 mt-2">
1364-
<input id="i-timeline" type="checkbox" style="line-height: 20px"> <img class="small" src="./res/img/timeline-pin.svg" /> My app uses timeline</input>
1365-
</div>
1366-
</div>
1367-
13681368
<div class="mt-4 ml-2">
13691369
App Binary
13701370
<div class="small">Last but not least, your built pbw file.</div>

html/res/css/devPortal.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -423,6 +423,9 @@ input[type="checkbox"] {
423423
cursor: pointer;
424424
text-decoration: underline;
425425
}
426+
.clickable {
427+
cursor: pointer;
428+
}
426429

427430

428431
.largeText {

html/res/img/timeline-pin.svg

Lines changed: 11 additions & 0 deletions
Loading

html/res/js/devPortal.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1837,13 +1837,12 @@ function initDevPortal() {
18371837
$('.rbtype').on('click', function(e) {
18381838
if ($('#i-iswatchface').prop("checked")) {
18391839
$('#appCategory').addClass("hidden");
1840-
$('#uses_timeline').addClass("hidden")
1840+
$('#uses-timeline').addClass("hidden")
18411841
$('#appIconContainer').addClass("hidden");
18421842
$('.newappOrFace').text("Watchface");
18431843
} else {
18441844
$('#appCategory').removeClass("hidden");
1845-
//Hidden until feature is ready for launch
1846-
//$('#uses_timeline').removeClass("hidden")
1845+
$('#uses-timeline').removeClass("hidden")
18471846
$('#appIconContainer').removeClass("hidden");
18481847
$('.newappOrFace').text("App")
18491848
}

0 commit comments

Comments
 (0)