-
-
Save whardier/6b29d57ba2768bee81ad to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Navigation() { | |
var self = riot.observable(this) | |
self.update_content_section_name = function(name_singular, name_plural) { | |
content_section_name_singular = name_singular | |
content_section_name_plural = name_plural | |
self.trigger('update_content_section_name') | |
} | |
} | |
var navigation = new Navigation() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<record> | |
<div class="container"> | |
<div class="row"> | |
<div class="col-md-6 col-md-offset-3"> | |
<button class="btn btn-primary btn-lg btn-block btn-rounded"> | |
<i class="fa fa-file-video-o"></i> <strong>Import Video</strong> | |
</button> | |
</div> | |
</div> | |
</div> | |
<style scoped="scoped"> | |
.btn-rounded { | |
border-radius: 60px; | |
} | |
</style> | |
<script> | |
//<![CDATA[ | |
this.on('mount', function() { | |
navigation.update_content_section_name('Record Note', 'Record Notes') | |
$('#loading').fadeOut(); | |
}) | |
//]]> | |
</script> | |
</record> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment