mirror of
https://github.com/samsonjs/samhuri.net.git
synced 2026-04-18 12:45:52 +00:00
minor improvements, update TODO
This commit is contained in:
parent
7073eb7b96
commit
c5a663549a
6 changed files with 10 additions and 10 deletions
4
TODO
4
TODO
|
|
@ -3,14 +3,10 @@ TODO
|
|||
|
||||
* promote JS links on project pages (the only ones that mention javascript so far!)
|
||||
|
||||
* link to github finder on project pages
|
||||
|
||||
* last commit date
|
||||
|
||||
* svg commit graph
|
||||
|
||||
* favicon
|
||||
|
||||
* fix display issues in ie6
|
||||
|
||||
* semantic markup (section, nav, header, footer, etc)
|
||||
|
|
|
|||
|
|
@ -69,6 +69,7 @@
|
|||
comment.body = comment.body || ''
|
||||
if (!comment.body) {
|
||||
alert("is that all you have to say?")
|
||||
document.getElementById('thoughts').focus()
|
||||
return false
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -80,7 +80,8 @@
|
|||
commit: function(repo, sha, cb) {
|
||||
return new Commit(repo, sha, cb)
|
||||
},
|
||||
raw: function(repo, sha, cb) {
|
||||
// raw doesn't work with jsonp in the browser ... cors?
|
||||
raw: isBrowser ? undefined : function(repo, sha, cb) {
|
||||
return new Raw(repo, sha, cb)
|
||||
},
|
||||
repo: function(repo, cb) {
|
||||
|
|
@ -143,7 +144,8 @@
|
|||
has: [ ['commits', 'commits/list/:repo/:branch'] ]
|
||||
})
|
||||
Commit = createResource('commits/show/:repo/:sha')
|
||||
Raw = createResource('blob/show/:repo/:sha')
|
||||
// raw doesn't work with jsonp ... cors?
|
||||
if (!isBrowser) Raw = createResource('blob/show/:repo/:sha')
|
||||
Repo = createResource('repos/show/:repo', {
|
||||
has: [ 'branches'
|
||||
, 'collaborators'
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
/* iPhone and iPad */
|
||||
|
||||
@media only screen and (orientation:portrait) and (device-height:1024px),
|
||||
only screen and (max-device-width:480px)
|
||||
only screen and (device-width:320px)
|
||||
{
|
||||
ul.nav { padding: 0.5em
|
||||
; width: 80%
|
||||
|
|
@ -134,7 +134,8 @@
|
|||
|
||||
/* iPhone and iPad landscape */
|
||||
|
||||
@media only screen and (orientation: landscape) {
|
||||
@media only screen and (orientation: landscape) and (device-width:768px),
|
||||
only screen and (orientation: landscape) and (device-width:320px) {
|
||||
body { font-size: 0.7em }
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -83,7 +83,7 @@ SJS.filename = "{{filename}}"
|
|||
<p><input name=name type=text placeholder=name></p>
|
||||
<p><input name=email type=text placeholder=email></p>
|
||||
<p><input name=url type=text placeholder=url></p>
|
||||
<p><textarea name=body placeholder=thoughts></textarea></p>
|
||||
<p><textarea id=thoughts name=body placeholder=thoughts></textarea></p>
|
||||
<p align=center><input type=submit value='so there'></p>
|
||||
</form>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@ SJS.filename = "{{filename}}"
|
|||
<p><input name=name type=text placeholder=name></p>
|
||||
<p><input name=email type=text placeholder=email></p>
|
||||
<p><input name=url type=text placeholder=url></p>
|
||||
<p><textarea name=body placeholder=thoughts></textarea></p>
|
||||
<p><textarea id=thoughts name=body placeholder=thoughts></textarea></p>
|
||||
<p align=center><input type=submit value='so there'></p>
|
||||
</form>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue