-
Notifications
You must be signed in to change notification settings - Fork 868
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8839 from brave/peers-edit
Allow users to add IPFS peer servers
- Loading branch information
Showing
27 changed files
with
1,222 additions
and
64 deletions.
There are no files selected for viewing
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
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
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
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
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
25 changes: 25 additions & 0 deletions
25
browser/resources/settings/brave_ipfs_page/add_ipfs_peer_dialog.html
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<script type="module" src="brave_ipfs_browser_proxy.js"></script> | ||
<script type="module" src="../settings_shared_css.js"></script> | ||
|
||
<style include="settings-shared"> | ||
#submit { | ||
margin-left : 10px; | ||
} | ||
</style> | ||
<cr-dialog show-close-button show-on-attach> | ||
<div slot="title">$i18n{ipfsAddPeerDialogTitle}</div> | ||
<div slot="body"> | ||
<cr-input id="peer" label="" | ||
type="text" placeholder="$i18n{ipfsAddPeerDialogPlacehodler}" invalid="[[!validValue_]]" | ||
error-message="$i18n{ipfsAddPeerDialogError}" spellcheck="false" | ||
on-input=nameChanged_ | ||
autofocus> | ||
</cr-input> | ||
</div> | ||
<div slot="button-container"> | ||
<cr-button class="action-button" id="submit" on-click="handleSubmit_" | ||
disabled="[[!isSubmitButtonEnabled_]]"> | ||
Submit | ||
</cr-button> | ||
</div> | ||
</cr-dialog> |
Oops, something went wrong.